/* ============================================
   Quantika AI — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #12121A;
  --bg-card: #1A1A28;
  --accent-purple: #7C3AED;
  --accent-violet: #A855F7;
  --accent-indigo: #4F46E5;
  --text-primary: #FFFFFF;
  --text-muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.08);
  --green: #009B3A;
  --wa-green: #25D366;
  --red: #CE1126;
  --dark: #1A1A2A;
  --white: #FFFFFF;
  --gray: #F5F5F5;
  --gray-text: #6B7280;
  --max-width: 1200px;
  --section-pad-v: 80px;
  --section-pad-h: 24px;
  --card-gap: 24px;
  --radius: 12px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-h);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
}

p { line-height: 1.6; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, #7C3AED, #4F46E5);
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: #A855F7;
  border-color: #7C3AED;
}
.btn-outline:hover { background: rgba(124,58,237,0.12); color: #A855F7; transform: translateY(-1px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--dark); }

.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 1px 3px rgba(0,0,0,0.4); }

.header-accent {
  height: 3px;
  background: var(--red);
  width: 100%;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--section-pad-h);
  max-width: var(--max-width);
  margin: 0 auto;
}

[data-anchor-offset] {
  scroll-margin-top: 110px;
}

.site-header .nav {
  margin-left: auto;
}



body.wa-popup-open {
  overflow: hidden;
}

.wa-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 2000;
}

.wa-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wa-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(12px);
}

.wa-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  background: rgba(18, 18, 26, 0.94);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  text-align: center;
}

.wa-popup-dialog h2 {
  margin-bottom: 14px;
}

.wa-popup-text {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.wa-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--wa-green);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.wa-popup-button:hover {
  opacity: 0.96;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,211,102,0.32);
}

.wa-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wa-popup-close:hover {
  background: rgba(255,255,255,0.14);
  transform: scale(1.04);
}

.wa-popup-close:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.85);
  outline-offset: 3px;
}

.wa-popup-button:focus-visible,
.float-wa:focus-visible {
  outline: 2px solid rgba(37,211,102,0.65);
  outline-offset: 3px;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 400;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent-violet); }

.nav-cta { padding: 8px 20px; font-size: 15px; }


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 16px var(--section-pad-h) 20px;
  gap: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 16px; padding: 4px 0; }


/* ============================================
   SECTION HERO
   ============================================ */
/* ============ HERO — FULLSCREEN ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('../assets/hero-control-room.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}




.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
  color: #fff;
}

.hero-tag {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.rotating-text {
  display: block;
  height: 1.2em;
  overflow: hidden;
  background: none;
  background-image: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #A855F7;
  background-clip: initial;
  color: #A855F7;
  white-space: nowrap;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
}

.rotating-word {
  display: none;
}

.rotating-word.active {
  display: inline;
  animation: heroFadeIn 0.4s ease;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
  color: #fff;
}

.btn-hero-primary {
  display: inline-block;
  background: linear-gradient(90deg, #7C3AED, #4F46E5);
  color: #fff;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s ease;
}

.btn-hero-primary:hover {
  opacity: 0.88;
  background: linear-gradient(90deg, #7C3AED, #4F46E5);
  transform: translateY(-1px);
}

.hero-micro {
  font-size: 12px;
  opacity: 0.55;
  margin-top: 12px;
  color: #fff;
}

.hero-trust span {
  white-space: nowrap;
}

.hero-trust {
  margin-top: 20px;
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 13px;
  opacity: 0.6;
  color: #fff;
}

/* ============================================
   SECTION: WE KNOW YOUR WORLD
   ============================================ */
#pain {
  background: var(--bg-secondary);
  padding: var(--section-pad-v) var(--section-pad-h);
}

#pain .section-title {
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
  max-width: var(--max-width);
  margin: 0 auto 32px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: var(--text-primary);
}
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(124,58,237,0.35);
  border-color: #A855F7;
}

.card-icon { font-size: 32px; margin-bottom: 12px; }

.card h3 { margin-bottom: 8px; }

.card p { font-size: 16px; color: var(--text-muted); }

.section-footnote {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   SECTION: WHAT WE BUILD
   ============================================ */
#services {
  background: var(--bg-primary);
  padding: var(--section-pad-v) var(--section-pad-h);
}

#services .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.service-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.service-icon {
  font-size: 44px;
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  margin-top: 2px;
}

.service-text h3 { margin-bottom: 8px; }
.service-text p { font-size: 17px; color: var(--text-muted); }

.services-tagline {
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================
   SECTION: HOW WE WORK + PROOF
   ============================================ */
#how {
  background: var(--bg-secondary);
  padding: var(--section-pad-v) var(--section-pad-h);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.how-mini-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-violet);
  margin-bottom: 24px;
}

.integrations-strip {
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
}

.integrations-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 18px;
}

.integrations-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 14px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}

.logo-svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.7;
  filter: none;
  transition: opacity 0.2s;
}

.logo-item:hover .logo-svg {
  opacity: 1;
}

.logo-item span {
  font-size: 14px;
  color: var(--text-primary);
}

.logo-icon-plus {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(168,85,247,0.14);
  color: #d8b4fe;
  font-weight: 700;
  font-size: 18px;
}

.integrations-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-violet);
  line-height: 1;
  min-width: 44px;
  flex-shrink: 0;
}

.step-content h3 { font-size: 18px; margin-bottom: 2px; }
.step-subtitle { font-size: 13px; color: var(--accent-violet); font-weight: 500; margin-bottom: 6px; }
.step-content p { font-size: 15px; color: var(--text-muted); }

/* Proof column */
.proof-quote {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--accent-purple);
}

.proof-quote blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.proof-attr {
  font-size: 14px;
  color: var(--gray-text);
}

.how-proof {
  display: flex;
  flex-direction: column;
  padding-top: 45px;
}

.how-proof .stats-row {
  margin-top: auto;
}

.stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-icon { font-size: 22px; margin-bottom: 4px; }
.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}
.stat-label {
  font-size: 12px;
  color: var(--gray-text);
  display: block;
}


/* ============================================
   SECTION: OUTCOMES
   ============================================ */
#outcomes {
  background: var(--bg-primary);
  padding: 40px var(--section-pad-h);
}

.outcomes-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.outcome-kicker {
  display: block;
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 8px;
}

.outcome-card strong {
  font-size: clamp(24px, 3vw, 32px);
  display: block;
}

.services-tools {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 760px;
  margin: 16px auto 0;
}

.gradient-text {
  background: linear-gradient(90deg, #A855F7 0%, #7C3AED 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   USE CASES — BA CARDS v3
   ============================================ */
#use-cases {
  background: var(--bg-secondary);
  padding: var(--section-pad-v) var(--section-pad-h);
}
#use-cases .section-title { text-align: center; margin-bottom: 56px; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.ba-card-wrapper {
  display: flex;
  flex-direction: column;
}

.ba-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 4px;
  color: var(--text-primary);
}

.ba-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  flex: 1;
}

.ba-split {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ba-before,
.ba-after {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ba-divider {
  display: flex;
  align-items: center;
  opacity: 0.25;
  font-size: 16px;
  padding-top: 24px;
  flex-shrink: 0;
}

.ba-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 700;
}

.ba-tag--red { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.ba-tag--green { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.2); }

.ba-time {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 4px 0;
  line-height: 1.2;
}

.ba-time--red { color: #ef4444; }
.ba-time--green { color: #10b981; }

.ba-desc {
  font-size: 14px;
  opacity: 0.75;
  margin: 0;
  line-height: 1.5;
}

.ba-card-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  border: 1.5px dashed rgba(124,58,237,0.4);
  min-height: 160px;
}

.ba-custom-text {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.5;
}

.btn-outline-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(168,85,247,0.45);
  background: rgba(168,85,247,0.08);
  color: #d8b4fe;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-purple:hover {
  background: rgba(168,85,247,0.16);
  border-color: rgba(168,85,247,0.7);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-split { flex-direction: column; gap: 16px; }
  .ba-divider { padding-top: 0; align-self: center; transform: rotate(90deg); }
}

/* ============================================
   SECTION: FAQ
   ============================================ */
#faq {
  background: var(--bg-secondary);
  padding: var(--section-pad-v) var(--section-pad-h);
}

#faq .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-icon {
  font-size: 22px;
  color: var(--accent-violet);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
}

.faq-item.open .faq-a {
  max-height: 320px;
}

.faq-a p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  padding: 0 0 20px;
}

.faq-cta {
  text-align: center;
  margin-top: 28px;
  font-size: 16px;
}

.faq-cta a {
  color: var(--accent-violet);
  font-weight: 600;
}

.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  animation: waPulse 2.5s infinite;
  text-decoration: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7); }
}

/* ============================================
   SECTION: FINAL CTA
   ============================================ */
#cta {
  background: var(--bg-secondary);
  color: var(--white);
  padding: var(--section-pad-v) var(--section-pad-h);
  text-align: center;
}

#cta h2 {
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.25;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cta-urgency {
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.cta-contact {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 48px;
}
.cta-contact a { color: var(--white); text-decoration: underline; }

.contact-form-wrap {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-wrap h3 {
  color: var(--white);
  text-align: center;
  margin-bottom: 24px;
  font-size: 20px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: #2A2A3A;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-violet);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-submit:hover,
.btn-hero-primary:hover,
.nav-cta:hover {
  opacity: 0.92;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-submit { width: 100%; margin-top: 8px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px var(--section-pad-h) 32px;
  color: var(--gray-text);
}

.footer-skyline {
  text-align: center;
  margin-bottom: 32px;
  opacity: 0.25;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
}

.footer-logo .logo-name { color: var(--white); font-size: 20px; }
.footer-logo .logo-tagline { color: var(--gray-text); margin-top: 4px; font-size: 12px; }
.footer-logo p { font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer-logo p, .footer-contact a, .footer-links a { color: var(--text-muted); }

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--gray-text);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a {
  color: var(--gray-text);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--gray-text); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

.footer-lang { font-size: 13px; color: var(--gray-text); }
.footer-lang a { color: var(--gray-text); margin-left: 8px; }
.footer-lang a:hover { color: var(--white); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ============================================
   BLOG
   ============================================ */
.blog-hero {
  padding: 60px var(--section-pad-h);
  text-align: center;
}
.blog-hero--bg {
  background: url('/blog/images/blog-hero.webp') center/cover no-repeat;
  padding: 0;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-hero-overlay {
  width: 100%;
  padding: 60px var(--section-pad-h);
  background: rgba(26, 26, 42, 0.7);
  text-align: center;
}
.blog-hero--bg h1 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 36px;
}
.blog-hero--bg p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
}
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { color: var(--gray-text); font-size: 18px; }

.blog-grid-section {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.blog-tag {
  display: inline-block;
  background: rgba(0,155,58,0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 { margin-bottom: 10px; line-height: 1.35; }
.blog-card p { font-size: 15px; color: var(--gray-text); margin-bottom: 16px; }
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-text);
}
.blog-read-link { color: var(--green); font-weight: 600; }

/* ============================================
   BLOG POST — READING PROGRESS BAR
   ============================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--green);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ============================================
   BLOG POST — HERO IMAGE
   ============================================ */
.post-hero-image {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 320px;
  background: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
}

/* ============================================
   BLOG POST — META BLOCK
   ============================================ */
.post-meta-block {
  padding: 40px var(--section-pad-h) 0;
}
.post-meta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.post-meta-inner h1 {
  margin-top: 12px;
  font-size: 36px;
  line-height: 1.2;
}
.post-lead {
  color: var(--gray-text);
  font-size: 18px;
  margin-top: 12px;
  line-height: 1.6;
}
.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 16px;
  flex-wrap: wrap;
}
.post-author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================
   BLOG POST — KEY TAKEAWAYS
   ============================================ */
.takeaways-box {
  max-width: 700px;
  margin: 32px auto;
  background: var(--gray);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 20px 24px;
}
.takeaways-box h4 {
  margin-bottom: 12px;
  font-size: 16px;
}
.takeaways-box ul {
  list-style: disc;
  margin: 0 0 0 20px;
}
.takeaways-box li {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ============================================
   BLOG POST — TABLE OF CONTENTS
   ============================================ */
.toc {
  max-width: 700px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  border: 1px solid #eee;
  border-radius: 8px;
}
.toc h4 {
  font-size: 14px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.toc ol {
  margin: 0 0 0 20px;
}
.toc li {
  margin-bottom: 6px;
}
.toc-link {
  font-size: 15px;
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.2s;
}
.toc-link:hover,
.toc-link.active {
  color: var(--green);
}

/* ============================================
   BLOG POST — BODY
   ============================================ */
.post-body-section {
  padding: 40px var(--section-pad-h) 60px;
}
.post-body {
  max-width: 700px;
  margin: 0 auto;
}
.post-body p { font-size: 18px; color: #333; margin-bottom: 20px; line-height: 1.7; }
.post-body h2 { margin: 48px 0 16px; font-size: 28px; }
.post-body h3 { margin: 32px 0 12px; font-size: 22px; }
.post-body ul, .post-body ol { margin: 0 0 20px 24px; }
.post-body li { margin-bottom: 8px; font-size: 17px; color: #333; line-height: 1.6; }

.post-inline-image {
  width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}

.post-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.post-table th,
.post-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.post-table th {
  background: var(--gray);
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}
.post-table td {
  color: #333;
}
.post-table tr:hover td {
  background: rgba(0,155,58,0.03);
}

.post-body blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 20px;
  color: var(--dark);
  background: var(--gray);
  border-radius: 0 8px 8px 0;
}

/* ============================================
   BLOG POST — SHARE BUTTONS
   ============================================ */
.share-buttons {
  max-width: 700px;
  margin: 40px auto;
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text);
  background: var(--gray);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}
.share-btn:hover {
  color: var(--green);
  background: rgba(0,155,58,0.08);
}

/* ============================================
   BLOG POST — AUTHOR BLOCK
   ============================================ */
.author-block {
  max-width: 700px;
  margin: 0 auto 48px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--gray);
  border-radius: 12px;
  padding: 24px;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.author-role {
  font-size: 14px;
  color: var(--gray-text);
}
.author-info p {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================
   BLOG POST — CTA BANNER (DARK)
   ============================================ */
.post-cta-banner {
  background: var(--dark);
  color: var(--white);
  padding: 60px var(--section-pad-h);
  text-align: center;
}
.post-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.post-cta-banner h3 { color: var(--white); margin-bottom: 24px; font-size: 24px; }
.post-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.related-posts {
  padding: 60px var(--section-pad-h);
  background: var(--gray);
}
.related-posts h2 { margin-bottom: 32px; }
.related-posts .blog-grid { grid-template-columns: repeat(2, 1fr); }
.related-grid { grid-template-columns: repeat(3, 1fr); }

/* ============================================
   ARTICLE DARK THEME
   ============================================ */
.article-dark {
  background: #0F1217;
}
.article-dark .post-hero-image {
  background: #0F1217;
}
.article-dark .post-meta-block {
  background: #0F1217;
}
.article-dark .post-meta-inner h1 {
  color: #F5F7FA;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
}
.article-dark .post-lead {
  color: #A9B4C0;
}
.article-dark .post-meta {
  color: #A9B4C0;
}
.article-dark .post-author-mini span {
  color: #A9B4C0;
}
.article-dark .blog-tag {
  background: rgba(95,179,255,0.12);
  color: #5FB3FF;
}

/* Dark — Key Takeaways */
.article-dark .takeaways-box {
  background: #171E27;
  border: 1px solid #35506B;
  border-left: 4px solid #5FB3FF;
  border-radius: 14px;
  padding: 20px 24px;
}
.article-dark .takeaways-box h4 {
  color: #5FB3FF;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.article-dark .takeaways-box li {
  color: #D5DDE6;
}

/* Dark — ToC */
.article-dark .toc {
  border-color: #2A3441;
  background: transparent;
}
.article-dark .toc h4 {
  color: #8FA0B2;
}
.article-dark .toc-link {
  color: #8FA0B2;
}
.article-dark .toc-link:hover,
.article-dark .toc-link.active {
  color: #5FB3FF;
}

/* Dark — Body */
.article-dark .post-body-section {
  background: #0F1217;
}
.article-dark .post-body p {
  color: #D5DDE6;
  font-size: 18px;
  line-height: 1.7;
}
.article-dark .post-body h2 {
  color: #F2F2F2;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 650;
}
.article-dark .post-body h3 {
  color: #F2F2F2;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
}
.article-dark .post-body li {
  color: #D5DDE6;
}
.article-dark .post-body strong {
  color: #F2F2F2;
}
.article-dark .post-body a {
  color: #5FB3FF;
}
.article-dark .post-body a:hover {
  color: #8FCAFF;
}

/* Dark — Blockquote / Callout */
.article-dark .post-body blockquote {
  background: #151A21;
  border: 1px solid #2A3441;
  border-left: 4px solid #5FB3FF;
  border-radius: 14px;
  color: #D5DDE6;
  padding: 20px 24px;
}

/* Dark — Table */
.article-dark .post-table th {
  background: #171E27;
  color: #F2F2F2;
  border-bottom-color: #2A3441;
}
.article-dark .post-table td {
  color: #D5DDE6;
  border-bottom-color: #2A3441;
}
.article-dark .post-table tr:hover td {
  background: rgba(95,179,255,0.04);
}

/* Dark — Share Buttons */
.article-dark .share-buttons {
  border-top-color: #2A3441;
}
.article-dark .share-btn {
  background: #151A21;
  color: #A9B4C0;
  border: 1px solid #2A3441;
}
.article-dark .share-btn:hover {
  color: #5FB3FF;
  background: rgba(95,179,255,0.08);
}

/* Dark — Author Block */
.article-dark .author-block {
  background: #151A21;
  border: 1px solid #2A3441;
  border-radius: 16px;
  padding: 20px 24px;
}
.article-dark .author-info strong {
  color: #E8EDF3;
  font-size: 18px;
}
.article-dark .author-role {
  color: #8FA0B2;
  font-size: 14px;
  font-weight: 500;
}
.article-dark .author-info p {
  color: #C9D2DC;
  font-size: 15px;
}

/* Dark — Related Posts */
.article-dark .related-posts {
  background: #0F1217;
  border-top: 1px solid #2A3441;
}
.article-dark .related-posts h2 {
  color: #F2F2F2;
}
.article-dark .blog-card {
  background: #151A21;
  border-color: #2A3441;
}
.article-dark .blog-card-content h3 a {
  color: #E8EDF3;
}
.article-dark .blog-card-content h3 a:hover {
  color: #5FB3FF;
}
.article-dark .blog-card-content p {
  color: #A9B4C0;
}
.article-dark .blog-card-meta {
  color: #8FA0B2;
}
.article-dark .blog-read-link {
  color: #5FB3FF;
}
.article-dark .blog-card-image {
  background: #1A2030;
  color: #556;
}

/* Dark — Inline Image */
.article-dark .post-inline-image {
  border-radius: 12px;
}

/* Dark — Header on article pages */
.article-dark .site-header {
  background: #0F1217;
}
.article-dark .site-header.scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.article-dark .logo-name {
  color: #F5F7FA;
}
.article-dark .logo-tagline {
  color: #8FA0B2;
}
.article-dark .nav-link {
  color: #D5DDE6;
}
.article-dark .nav-link:hover {
  color: #5FB3FF;
}

/* Dark — Footer on article pages */
.article-dark footer {
  border-top: 1px solid #2A3441;
}

/* ============================================
   BLOG LISTING — FILTER PILLS
   ============================================ */
.filter-pills-wrap {
  padding: 0 var(--section-pad-h);
  max-width: var(--max-width);
  margin: 0 auto;
}
.filter-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 24px 0 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-pill {
  background: var(--gray);
  color: var(--dark);
  border: none;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.filter-pill:hover {
  background: rgba(0,155,58,0.1);
  color: var(--green);
}
.filter-pill.active {
  background: var(--green);
  color: var(--white);
}

/* ============================================
   BLOG LISTING — FEATURED ARTICLE
   ============================================ */
.featured-section {
  padding: 0 var(--section-pad-h) 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}
.featured-image {
  min-height: 280px;
  background: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
}
.featured-content {
  padding: 32px 32px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-content h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 12px 0;
}
.featured-content h2 a {
  color: var(--dark);
  text-decoration: none;
}
.featured-content h2 a:hover {
  color: var(--green);
}
.featured-content p {
  color: var(--gray-text);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ============================================
   BLOG LISTING — POPULAR / MOST READ
   ============================================ */
.popular-block {
  background: var(--gray);
  padding: 40px var(--section-pad-h);
  margin-bottom: 0;
}
.popular-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--dark);
}
.popular-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.popular-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  overflow: hidden;
}
.popular-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.popular-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.popular-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.popular-headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}
.popular-meta {
  font-size: 13px;
  color: var(--gray-text);
}

/* ============================================
   BLOG LISTING — DARK EDITORIAL BLOCK
   ============================================ */
.editorial-block {
  background: var(--dark);
  padding: 60px var(--section-pad-h);
}
.editorial-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.editorial-label {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.editorial-block h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.editorial-block h2 a {
  color: var(--white);
  text-decoration: none;
}
.editorial-block h2 a:hover {
  color: var(--green);
}
.editorial-block p {
  color: var(--gray-text);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.editorial-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}
.editorial-link:hover {
  text-decoration: underline;
}
.editorial-quote {
  font-size: 24px;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin: 0 auto 16px;
  max-width: 640px;
  border: none;
  padding: 0;
  background: none;
}
.editorial-attribution {
  color: var(--gray-text);
  font-size: 15px;
  font-weight: 500;
}

/* ============================================
   BLOG LISTING — CARD IMAGE
   ============================================ */
.blog-card-image {
  min-height: 180px;
  background: #E0E0E0;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}
.blog-card-content {
  padding: 20px 24px 24px;
}
.blog-card-content h3 {
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-content h3 a {
  color: var(--dark);
  text-decoration: none;
}
.blog-card-content h3 a:hover {
  color: var(--green);
}
.blog-card-content p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 16px;
}

/* ============================================
   BLOG LISTING — SHOW MORE
   ============================================ */
.show-more-wrap {
  text-align: center;
  padding: 24px var(--section-pad-h) 60px;
}
.show-more-btn {
  border-color: var(--green);
  color: var(--green);
}
.show-more-btn:hover {
  background: rgba(0,155,58,0.08);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  :root { --section-pad-v: 56px; }

  .how-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad-v: 48px; }

  .nav { display: none; }
  .hamburger { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .outcomes-strip { grid-template-columns: 1fr; }

  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 200px; }
  .featured-content { padding: 24px; }

  .popular-cards { grid-template-columns: 1fr; }

  .editorial-block h2 { font-size: 22px; }

  .related-posts .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }

  .post-hero-image { min-height: 200px; }
  .post-meta-inner h1 { font-size: 28px; }
  .article-dark .post-meta-inner h1 { font-size: 32px; line-height: 1.2; }
  .article-dark .post-body h2 { font-size: 26px; }
  .article-dark .takeaways-box { padding: 16px; }
  .article-dark .author-block { padding: 16px; }
  .post-body h2 { font-size: 24px; }

  .author-block { flex-direction: column; align-items: center; text-align: center; }

  .share-buttons { flex-wrap: wrap; justify-content: center; }
  .post-cta-buttons { flex-direction: column; align-items: center; }
  .integrations-logos { grid-template-columns: repeat(2, 1fr); }

  .hero-title { font-size: 2rem; }
  .hero-trust { flex-direction: column; gap: 8px; }

  /* Fix: long rotating words must not overflow on mobile */
  .rotating-text {
    font-size: 1.6rem;
    white-space: normal;
    padding: 0 16px;
    height: auto;
  }

  .cta-buttons { flex-direction: column; align-items: center; }

  .stats-row { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .step { flex-direction: column; gap: 8px; }
  .step-num { font-size: 28px; }

  .service-block { flex-direction: column; gap: 12px; }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}
