/* === SPEKANOMA.LV — Premium Stila lapa === */
:root {
  --red: #9E1C25;
  --red-dark: #7A151D;
  --red-light: #EFD7D5;
  --red-50: #F8EAE7;
  --wordmark-gray: #595959;
  --black: #0F0F10;
  --gray-950: #1A1815;
  --gray-900: #292621;
  --gray-800: #35312C;
  --gray-700: #4D4843;
  --gray-600: #6B655E;
  --gray-500: #8A857D;
  --gray-400: #B0AAA1;
  --gray-300: #CFC9BE;
  --gray-200: #E8E2D5;
  --gray-100: #F2EDDE;
  --gray-50: #F7F2E5;
  --white: #FFFFFF;
  --cream: #FAF6EC;
  --cream-dark: #F0E9D7;
  --paper: #FDFAF3;
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15,15,16,0.04), 0 1px 2px rgba(15,15,16,0.03);
  --shadow: 0 10px 30px -10px rgba(15,15,16,0.10), 0 4px 12px -4px rgba(15,15,16,0.06);
  --shadow-lg: 0 30px 60px -20px rgba(15,15,16,0.18), 0 12px 24px -8px rgba(15,15,16,0.08);
  --shadow-red: 0 12px 28px -8px rgba(158,28,37,0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Barlow', 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--gray-900);
  line-height: 1.6; background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-dark); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.fade-up { animation: fadeUp .8s var(--ease) both; }
.fade-up-delay-1 { animation: fadeUp .8s var(--ease) .1s both; }
.fade-up-delay-2 { animation: fadeUp .8s var(--ease) .2s both; }
.fade-up-delay-3 { animation: fadeUp .8s var(--ease) .3s both; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,236,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(15,15,16,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: inline-block; text-decoration: none; line-height: 0; }
.logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--gray-700); font-weight: 500; font-size: 15px;
  letter-spacing: -.005em; transition: color .15s var(--ease);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active, .nav-links a:hover { color: var(--gray-900); }
.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease);
}
.nav-cta:hover {
  background: var(--red-dark); color: #fff !important;
  transform: translateY(-1px); box-shadow: var(--shadow-red);
}
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-900); margin: 5px 0; transition: .2s; }

/* === Hero === */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 90px;
  background: var(--paper);
  border-bottom: 1px solid var(--gray-200);
}
.hero::before {
  content: ""; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red-50) 0%, transparent 70%);
  pointer-events: none;
  opacity: .8;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-50); color: var(--red-dark);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  margin-bottom: 24px;
  border: 1px solid rgba(158,28,37,0.12);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800; text-transform: uppercase;
  line-height: 1.0; letter-spacing: -.02em;
  margin-bottom: 24px; color: var(--black);
}
.hero h1 .accent { color: var(--red); }
.hero-lead {
  font-size: 20px; line-height: 1.55; color: var(--gray-600);
  margin-bottom: 32px; max-width: 560px;
}
.hero-bullets { list-style: none; margin-bottom: 36px; }
.hero-bullets li {
  padding-left: 32px; position: relative; margin-bottom: 12px;
  font-size: 16px; color: var(--gray-700); line-height: 1.5;
}
.hero-bullets li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
  box-shadow: 0 2px 6px rgba(158,28,37,0.3);
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 10px;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  transition: all .2s var(--ease);
  cursor: pointer; border: 0; font-family: inherit;
}
.btn-primary {
  background: var(--red); color: #fff !important;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark); color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(158,28,37,0.5);
}
.btn-primary::after {
  content: "→"; font-size: 18px;
  transition: transform .2s var(--ease);
}
.btn-primary:hover::after { transform: translateX(4px); }
.btn-secondary {
  background: transparent; color: var(--gray-900) !important;
  border: 1.5px solid var(--gray-400);
}
.btn-secondary:hover {
  border-color: var(--gray-900);
  background: var(--paper);
}
.btn-ghost {
  background: transparent; color: var(--gray-700) !important;
  padding: 16px 8px;
}
.btn-ghost:hover { color: var(--red) !important; }

/* === Hero image with floating badges === */
.hero-image {
  position: relative;
  perspective: 1000px;
}
.hero-image img,
.hero-image > svg,
.hero-image .img-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  transition: transform .4s var(--ease);
}
.hero-image:hover img { transform: scale(1.01); }
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--gray-100);
}
.hero-badge.bl { bottom: -24px; left: -24px; }
.hero-badge.tr { top: -16px; right: -20px; }
.hero-badge-num {
  font-family: var(--font-brand);
  font-size: 30px; font-weight: 800; color: var(--red);
  line-height: 1; letter-spacing: -.02em;
}
.hero-badge-label {
  font-size: 12px; color: var(--gray-700);
  line-height: 1.3; font-weight: 500;
}

/* === Trust bar (stats below hero) === */
.trust-bar {
  background: var(--cream-dark);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 36px 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  align-items: center;
}
.trust-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--gray-200);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-brand);
  font-size: 36px; font-weight: 800;
  color: var(--black); line-height: 1;
  letter-spacing: -.02em; margin-bottom: 6px;
}
.trust-num .plus { color: var(--red); }
.trust-label {
  font-size: 13px; color: var(--gray-600);
  font-weight: 500; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .04em;
}

/* === Sections === */
section { padding: 110px 0; }
section.tight { padding: 70px 0; }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--font-brand);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800; text-transform: uppercase;
  line-height: 1.05; letter-spacing: -.015em;
  margin-bottom: 18px; color: var(--black);
}
.section-head p {
  font-size: 19px; color: var(--gray-600);
  line-height: 1.55;
}

/* === Feature grid === */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--paper); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 36px 30px;
  transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.feature:hover {
  border-color: var(--gray-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--red-50); color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: all .3s var(--ease);
}
.feature:hover .feature-icon {
  background: var(--red); color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.feature h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 10px; color: var(--black);
  letter-spacing: -.005em;
}
.feature p {
  color: var(--gray-600); font-size: 15px;
  line-height: 1.6;
}

/* === Dual path / "Who we serve" === */
.dual-path { background: var(--gray-950); color: #fff; }
.dual-path .section-head h2 { color: #fff; }
.dual-path .section-head p { color: var(--gray-400); }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.path-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.path-card::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(158,28,37,0.15) 0%, transparent 70%);
  pointer-events: none; opacity: 0;
  transition: opacity .3s var(--ease);
}
.path-card:hover::after { opacity: 1; }
.path-card .num {
  font-family: var(--font-brand);
  font-size: 13px; font-weight: 700;
  color: var(--red); letter-spacing: .1em;
  margin-bottom: 18px;
}
.path-card h3 {
  font-family: var(--font-brand);
  font-size: 28px; font-weight: 800; text-transform: uppercase;
  margin-bottom: 14px; color: #fff;
  letter-spacing: -.01em;
}
.path-card p {
  color: var(--gray-400); font-size: 16px;
  line-height: 1.6; margin-bottom: 28px;
}
.path-card .arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 15px;
  transition: gap .2s var(--ease);
}
.path-card:hover .arrow-link { gap: 14px; color: var(--red-light); }

/* === Industries === */
.industries { background: var(--cream-dark); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
  background: var(--paper); border-radius: var(--radius); padding: 36px 24px;
  text-align: center; border: 1px solid var(--gray-200);
  transition: all .3s var(--ease); display: block;
  position: relative; overflow: hidden;
}
.industry-card::before {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 0; background: var(--red);
  transition: height .3s var(--ease);
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.industry-card:hover::before { height: 4px; }
.industry-icon { font-size: 44px; margin-bottom: 18px; }
.industry-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  color: var(--black);
}
.industry-card p { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* === Process — vertical timeline === */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative;
}
.process-grid::before {
  content: ""; position: absolute;
  top: 22px; left: 5%; right: 5%; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 100%);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-brand);
  font-weight: 800; font-size: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-red);
  border: 4px solid var(--white);
}
.step h3 {
  font-size: 19px; font-weight: 700;
  margin-bottom: 10px; color: var(--black);
}
.step p { font-size: 15px; color: var(--gray-600); line-height: 1.6; }

/* === Testimonial === */
.testimonial {
  background: var(--cream-dark);
  position: relative; overflow: hidden;
}
.testimonial-card {
  max-width: 880px; margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial-card::before {
  content: "\201C"; position: absolute;
  top: 24px; left: 36px;
  font-family: Georgia, serif;
  font-size: 120px; line-height: 1; color: var(--red-light);
  font-weight: 900;
}
.testimonial-quote {
  font-size: 22px; line-height: 1.5;
  color: var(--gray-800); font-weight: 500;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-brand);
  font-weight: 800; font-size: 18px;
}
.testimonial-author-info .name {
  font-weight: 700; color: var(--black);
  font-size: 16px;
}
.testimonial-author-info .role {
  font-size: 14px; color: var(--gray-500);
}

/* === Dark stats section === */
.stats { background: var(--black); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(158,28,37,0.15) 0%, transparent 70%);
}
.stats .section-head h2 { color: #fff; }
.stats .section-head p { color: var(--gray-400); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
  position: relative; z-index: 1;
}
.stat-num {
  font-family: var(--font-brand);
  font-size: 64px; font-weight: 800; color: #fff;
  line-height: 1; margin-bottom: 12px;
  letter-spacing: -.03em;
}
.stat-num .plus { color: var(--red); }
.stat-label {
  color: var(--gray-400); font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em;
  font-weight: 500;
}

/* === CTA Block === */
.cta-block {
  background: var(--red);
  color: #fff; border-radius: var(--radius-lg);
  padding: 72px 56px; text-align: center;
  margin: 0 auto; max-width: 1000px;
  position: relative; overflow: hidden;
}
.cta-block::before, .cta-block::after {
  content: ""; position: absolute;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-block::before {
  width: 300px; height: 300px;
  top: -150px; left: -100px;
}
.cta-block::after {
  width: 200px; height: 200px;
  bottom: -80px; right: -50px;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 {
  font-family: var(--font-brand);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800; text-transform: uppercase;
  margin-bottom: 16px; color: #fff;
  letter-spacing: -.015em; line-height: 1.05;
}
.cta-block p {
  font-size: 19px; opacity: .94; margin-bottom: 32px;
  max-width: 620px; margin-left: auto; margin-right: auto;
}
.cta-block .btn-primary {
  background: #fff; color: var(--red) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-block .btn-primary:hover {
  background: var(--gray-100); color: var(--red-dark) !important;
}

/* === FAQ === */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--paper); border: 1px solid var(--gray-200);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] {
  border-color: var(--red);
  box-shadow: 0 8px 24px -8px rgba(158,28,37,0.15);
}
.faq-item summary {
  padding: 24px 32px; cursor: pointer; font-weight: 600;
  font-size: 17px; color: var(--black); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 24px; height: 24px;
  border-radius: 50%; background: var(--red-50); color: var(--red);
  display: grid; place-items: center; font-size: 18px; font-weight: 400;
  transition: all .25s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E1C25' stroke-width='3'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.faq-item[open] summary::after {
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.faq-item .answer {
  padding: 0 32px 28px; color: var(--gray-600);
  font-size: 16px; line-height: 1.65;
}

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-info h3 {
  font-family: var(--font-brand);
  font-size: 26px; font-weight: 800; text-transform: uppercase;
  margin-bottom: 22px; color: var(--black);
  letter-spacing: -.01em;
}
.contact-info p, .contact-info > a {
  color: var(--gray-700); font-size: 16px;
  margin-bottom: 8px; display: block;
}
.contact-info > a:hover { color: var(--red); }
.contact-info .label {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gray-500);
  margin-top: 24px; margin-bottom: 6px; font-weight: 600;
}
form {
  background: var(--paper); padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--gray-700); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .04em;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 16px; font-size: 16px;
  border: 1.5px solid var(--gray-300); border-radius: 10px;
  font-family: var(--font); background: var(--cream);
  transition: all .15s var(--ease);
  color: var(--gray-900);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 0; border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-50);
}
.form-row textarea { min-height: 120px; resize: vertical; }
form .btn { width: 100%; justify-content: center; }

/* === Footer === */
.site-footer {
  background: var(--black); color: var(--gray-400);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-col h4 {
  color: #fff; font-size: 14px; margin-bottom: 18px;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col a, .footer-col p {
  color: var(--gray-400); font-size: 15px;
  display: block; margin-bottom: 10px;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--gray-500);
}

/* === Page hero (interior pages) === */
.page-hero {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
  padding: 80px 0 60px; text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; text-transform: uppercase;
  margin-bottom: 16px; color: var(--black);
  letter-spacing: -.02em; line-height: 1.05;
}
.page-hero p {
  font-size: 19px; color: var(--gray-600);
  max-width: 720px; margin: 0 auto; line-height: 1.55;
}

/* === Prose === */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-brand);
  font-size: 30px; font-weight: 800; text-transform: uppercase;
  margin: 44px 0 18px; color: var(--black);
  letter-spacing: -.01em;
}
.prose h3 { font-size: 22px; margin: 30px 0 14px; color: var(--black); font-weight: 700; }
.prose p { margin-bottom: 18px; font-size: 17px; color: var(--gray-700); line-height: 1.7; }
.prose ul { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 10px; color: var(--gray-700); font-size: 17px; line-height: 1.65; }

/* === Floating WhatsApp/Phone (always visible) === */
.float-stack {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 40; display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow);
  transition: all .25s var(--ease);
  color: #fff !important; text-decoration: none;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.whatsapp:hover { background: #1FBA57; }
.float-btn.phone { background: var(--red); box-shadow: var(--shadow-red); }
.float-btn.phone:hover { background: var(--red-dark); }
.float-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 640px) {
  .float-btn span.txt { display: none; }
  .float-btn { padding: 14px; width: 52px; height: 52px; justify-content: center; }
  .float-btn svg { width: 22px; height: 22px; }
}

/* === Language switcher === */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-500);
  padding: 6px 0;
}
.lang-switch a {
  color: var(--gray-500); padding: 4px 8px;
  border-radius: 6px; transition: all .15s var(--ease);
}
.lang-switch a:hover { background: var(--gray-100); color: var(--gray-900); }
.lang-switch a.current { color: var(--red); background: var(--red-50); }

/* === Contact link with icon === */
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--paper); color: var(--gray-900) !important;
  font-weight: 500; font-size: 16px;
  transition: all .2s var(--ease);
  margin-bottom: 10px;
  text-decoration: none;
  border: 1px solid var(--gray-200);
}
.contact-link:hover {
  background: var(--cream); border-color: var(--red);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
  color: var(--red) !important;
}
.contact-link svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red); }
.contact-link.whatsapp svg { color: #25D366; }

/* === Blog === */
.blog-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--paper); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
  transition: all .3s var(--ease);
  display: flex; flex-direction: column; text-decoration: none;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.blog-card-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 800; text-transform: uppercase;
  font-size: 22px;
  padding: 24px;
  text-align: center;
  letter-spacing: .02em;
}
.blog-card-cover.dark { background: linear-gradient(135deg, #2A2A2D 0%, #0F0F10 100%); }
.blog-card-cover.cream { background: linear-gradient(135deg, var(--cream-dark) 0%, var(--gray-200) 100%); color: var(--gray-900); }
.blog-card-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: 12px; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: .08em;
  font-weight: 600; margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--font-brand);
  font-size: 20px; font-weight: 700;
  color: var(--black); margin-bottom: 10px;
  line-height: 1.2; letter-spacing: -.005em;
}
.blog-card p { font-size: 15px; color: var(--gray-700); line-height: 1.5; flex: 1; }
.blog-card-link {
  margin-top: 14px;
  color: var(--red); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* Blog article */
.article-hero {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
  padding: 70px 0 50px; text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.article-hero .article-meta {
  font-size: 13px; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: .08em;
  font-weight: 600; margin-bottom: 18px;
}
.article-hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800; text-transform: uppercase;
  margin-bottom: 16px; color: var(--black);
  letter-spacing: -.02em; line-height: 1.1;
  max-width: 880px; margin-left: auto; margin-right: auto;
}
.article-hero .article-lead {
  font-size: 19px; color: var(--gray-700);
  max-width: 760px; margin: 0 auto; line-height: 1.55;
}
.article-body { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.article-body h2 {
  font-family: var(--font-brand);
  font-size: 28px; font-weight: 800; text-transform: uppercase;
  margin: 48px 0 18px; color: var(--black);
  letter-spacing: -.01em;
}
.article-body h3 { font-size: 22px; margin: 32px 0 14px; color: var(--black); font-weight: 700; }
.article-body p { margin-bottom: 18px; font-size: 17px; color: var(--gray-700); line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; }
.article-body li { margin-bottom: 10px; color: var(--gray-700); font-size: 17px; line-height: 1.7; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px; margin: 28px 0;
  background: var(--paper);
  font-style: italic; color: var(--gray-800);
  border-radius: 0 8px 8px 0;
}
.article-body strong { color: var(--gray-900); font-weight: 600; }
.article-cta-inline {
  margin: 36px 0; padding: 28px 32px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.article-cta-inline h3 { font-size: 19px; margin-bottom: 10px; color: var(--black); }
.article-cta-inline p { font-size: 15px; margin-bottom: 14px; color: var(--gray-700); }

@media (max-width: 900px) {
  .blog-hub-grid { grid-template-columns: 1fr; }
}

/* === Client logos band === */
.clients-band {
  background: var(--paper);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
}
.clients-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 24px;
}
.clients-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 36px;
}
.client-logo {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  color: var(--gray-500);
  letter-spacing: .02em;
  opacity: .7;
  transition: opacity .2s var(--ease);
  text-transform: uppercase;
}
.client-logo:hover { opacity: 1; color: var(--gray-700); }

/* === Cookie consent === */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  max-width: 540px;
  background: var(--black);
  color: #fff;
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.cookie-banner.show { display: block; animation: fadeUp .4s var(--ease); }
.cookie-banner p { margin-bottom: 14px; }
.cookie-banner a { color: var(--red-light); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; }
.cookie-banner button {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: all .2s var(--ease);
  font-family: inherit;
}
.cookie-banner .accept { background: var(--red); color: #fff; }
.cookie-banner .accept:hover { background: var(--red-dark); }
.cookie-banner .decline { background: rgba(255,255,255,0.1); color: #fff; }
.cookie-banner .decline:hover { background: rgba(255,255,255,0.18); }

/* === Industry icon — clean SVG replacement for emoji === */
.industry-icon-svg {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--red-50); color: var(--red);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  transition: all .3s var(--ease);
}
.industry-icon-svg svg { width: 34px; height: 34px; }
.industry-card:hover .industry-icon-svg {
  background: var(--red); color: #fff;
  transform: scale(1.05);
}

/* Sector hero (nozares page) — replace emoji block */
.sector-block {
  border-radius: 14px;
  padding: 40px;
  color: #fff;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sector-block .sector-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.sector-block .sector-icon svg { width: 38px; height: 38px; color: #fff; }
/* Brand-only sector palette — single accent (red) with grayscale depth */
.sector-block.green { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); }
.sector-block.orange { background: linear-gradient(135deg, #2A2A2D 0%, #0F0F10 100%); position: relative; }
.sector-block.orange::after { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--red); }
.sector-block.dark { background: linear-gradient(135deg, #3F3F46 0%, #1A1A1D 100%); position: relative; }
.sector-block.dark::after { content:""; position:absolute; bottom:0; left:0; right:0; height:3px; background: var(--red); }
.sector-block.blue { background: linear-gradient(135deg, var(--red-dark) 0%, #4A0E12 100%); }
.sector-block .sector-icon { background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); }

/* === Responsive === */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 70px 0 60px; }
  .feature-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .trust-item:nth-child(2) { border-right: none; }
  .nav-links {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 24px 28px; border-bottom: 1px solid var(--gray-100);
    gap: 20px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 80px 0; }
  .float-cta { display: inline-flex; }
}
@media (max-width: 640px) {
  .feature-grid, .industry-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 40px 28px; }
  .testimonial-card::before { left: 20px; font-size: 80px; }
  .testimonial-quote { font-size: 19px; }
  .cta-block { padding: 48px 28px; }
  form { padding: 28px; }
  section { padding: 60px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--gray-200); padding-bottom: 24px; }
  .trust-item:last-child { border-bottom: none; padding-bottom: 0; }
  .hero h1 { font-size: 38px; }
  .stat-num { font-size: 48px; }
  .hero-badge.bl { left: 16px; bottom: -16px; }
  .hero-badge.tr { right: 16px; top: -12px; }
}
