/* ============================================================
   AutomateIT — Design System
   Brutalist-minimal dark theme
   Primary: Orange #F76100
   Font: Bricolage Grotesque + DM Mono
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg:     #09090B;
  --bg1:    #0F0F12;
  --bg2:    #141417;
  --border: rgba(255,255,255,0.07);
  --text:   #FAFAFA;
  --sub:    rgba(250,250,250,0.45);
  --muted:  rgba(250,250,250,0.22);
  --orange: #F76100;
  --or2:    rgba(247,97,0,0.12);
  --or3:    rgba(247,97,0,0.06);
  --danger: #EF4444;
  --success: #10B981;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Bricolage Grotesque', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ============================================================
   NAV
   ============================================================ */

nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  height: 56px;
  width: calc(100% - 32px);
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border: 1px solid var(--orange);
  border-radius: 16px;
  background: rgba(9,9,11,0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 0 12px rgba(247,97,0,0.5), 0 0 32px rgba(247,97,0,0.2), 0 0 0 1px rgba(247,97,0,0.15) inset;
}

.logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo b { color: var(--orange); }

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

/* Mobile CTA — hidden on desktop */
.btn-nav-mobile {
  display: none;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(250,250,250,0.5);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  transition: color .2s, background .2s;
  letter-spacing: -0.01em;
  position: relative;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.nav-lang {
  display: flex;
  gap: 0;
  margin-left: 12px;
  padding: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

.nav-lang a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  letter-spacing: .04em;
}

.nav-lang a:hover {
  color: var(--sub);
}

.nav-lang a.active {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.btn-nav {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  background: var(--orange);
  border: none;
  padding: 8px 20px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s;
  box-shadow: 0 0 16px rgba(247,97,0,0.2);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(247,97,0,0.35);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger svg {
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s, transform .25s cubic-bezier(.16,1,.3,1);
  z-index: 210;
  padding: 6px;
  background: rgba(15,15,18,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.03) inset;
}
@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
  }
}
/* Invisible bridge between trigger and menu to prevent hover gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--sub);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-dropdown-item:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.nav-dropdown-item:first-child {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--sub);
  border-radius: 10px;
  transition: color .2s, background .2s;
}

.nav-toggle:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .2s;
}

@media (max-width: 768px) {
  nav {
    top: 8px;
    width: calc(100% - 20px);
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
  }

  .nav-mid { display: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; }

  /* Hide CTA in nav bar on mobile — it moves into the menu */
  nav > .btn-nav { display: none; }

  /* Hamburger → X animation */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile overlay backdrop */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 198;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile menu panel */
  .nav-mid.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 10px;
    right: 10px;
    background: rgba(9,9,11,0.96);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--orange);
    border-radius: 16px;
    padding: 12px;
    gap: 2px;
    z-index: 199;
    box-shadow: 0 0 12px rgba(247,97,0,0.5), 0 0 32px rgba(247,97,0,0.2), 0 0 0 1px rgba(247,97,0,0.15) inset, 0 16px 48px rgba(0,0,0,.5);
    animation: navSlideDown .25s cubic-bezier(.16,1,.3,1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav-mid.open .nav-link {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    color: var(--sub);
  }
  .nav-mid.open .nav-link:hover,
  .nav-mid.open .nav-link:active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
  }

  /* CTA inside mobile menu */
  .nav-mid .btn-nav-mobile {
    display: none;
  }
  .nav-mid.open .btn-nav-mobile {
    display: block;
    text-align: center;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    background: var(--orange);
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 8px;
    box-shadow: 0 0 16px rgba(247,97,0,0.3);
  }

  .nav-mid.open .nav-lang {
    display: flex;
    margin-left: 0;
    padding: 3px;
    margin-top: 4px;
    border: none;
    justify-content: center;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: none;
    padding-top: 12px;
  }
  .nav-mid.open .nav-lang a {
    padding: 6px 16px;
    font-size: 12px;
  }

  /* Hide dropdown submenu entirely on mobile */
  .nav-dropdown-trigger svg { display: none; }
  .nav-dropdown-menu { display: none; }

  /* Lock body scroll when menu open */
  body.nav-open {
    overflow: hidden;
  }
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(247,97,0,0.09) 0%, rgba(247,97,0,0.03) 40%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 20%, transparent 100%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--orange);
  border: 1px solid rgba(247,97,0,.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 40px;
  opacity: 0;
  animation: up .6s ease .1s both;
}

.badge-dot {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.8); }
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 1100px;
  opacity: 0;
  animation: up .7s ease .2s both;
}

.dim { color: var(--sub); font-weight: 600; }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  color: var(--sub);
  max-width: 460px;
  line-height: 1.65;
  margin-top: 28px;
  letter-spacing: -0.2px;
  opacity: 0;
  animation: up .7s ease .35s both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 44px;
  align-items: center;
  opacity: 0;
  animation: up .7s ease .5s both;
}

.hero-nums {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: up .7s ease .65s both;
}

.n-item { text-align: center; }

.n-val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.n-val b { color: var(--orange); }

.n-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.n-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero small (subpages) */
.hero--small {
  min-height: auto;
  padding: 140px 24px 64px;
}

.hero--small h1 {
  font-size: clamp(32px, 5vw, 56px);
  animation-delay: .1s;
}

.hero--small .hero-sub {
  animation-delay: .25s;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn-p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  background: var(--orange);
  padding: 11px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-p:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.btn-g {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--sub);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  padding: 11px 26px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-g:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
}


/* ============================================================
   MARQUEE
   ============================================================ */

.mbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}

.mtrack {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.mitem {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 36px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mitem::before {
  content: '';
  width: 3px;
  height: 3px;
  background: rgba(247,97,0,.5);
  border-radius: 50%;
}

@keyframes marquee { to { transform: translateX(-50%); } }


/* ============================================================
   SECTIONS
   ============================================================ */

.sec {
  padding: 96px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.slabel {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.stitle {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.sbody {
  font-size: 16px;
  color: var(--sub);
  line-height: 1.7;
  letter-spacing: -0.1px;
  max-width: 520px;
  margin-top: 20px;
}

.sdiv { border-top: 1px solid var(--border); }


/* ============================================================
   BENTO GRID
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.bc {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}

.bc:hover {
  border-color: rgba(255,255,255,.11);
  background: var(--bg2);
}

.s7 { grid-column: span 7; }
.s5 { grid-column: span 5; }
.s4 { grid-column: span 4; }
.s8 { grid-column: span 8; }
.s6 { grid-column: span 6; }
.s12 { grid-column: span 12; }

.cico {
  font-size: 22px;
  margin-bottom: 20px;
  display: block;
}

.cn {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .1em;
}

.ctitle {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cdesc {
  font-size: 13.5px;
  color: var(--sub);
  line-height: 1.65;
}

.ctags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.ctag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .05em;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 9px;
}

.bc.acc {
  background: var(--or2);
  border-color: rgba(247,97,0,.2);
}

.bc.acc .ctag {
  background: rgba(247,97,0,.1);
  border-color: rgba(247,97,0,.25);
  color: rgba(247,97,0,.85);
}

.bignum {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.bignum b { color: var(--orange); }

.bignumsub {
  font-size: 13px;
  color: var(--sub);
  margin-top: 12px;
  line-height: 1.5;
  max-width: 200px;
}


/* ============================================================
   MISSION BOX (about page)
   ============================================================ */

.mission-box {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 56px;
  overflow: hidden;
  position: relative;
}

.mission-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(247,97,0,.5) 50%, transparent 100%);
}

.mission-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.mission-text {
  padding: 48px 56px;
  font-size: 15px;
  color: var(--sub);
  line-height: 1.75;
  letter-spacing: -0.1px;
  border-right: 1px solid var(--border);
}

.mission-text p { margin-bottom: 20px; }
.mission-text p:last-child { margin-bottom: 0; }
.mission-text strong { color: var(--text); font-weight: 600; }

.mission-side {
  display: flex;
  flex-direction: column;
}

.mission-highlight {
  padding: 36px 40px;
  flex: 1;
  transition: background .2s;
}

.mission-highlight:first-child {
  border-bottom: 1px solid var(--border);
}

.mission-highlight:hover { background: rgba(255,255,255,.02); }

.mission-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--or2);
  border: 1px solid rgba(247,97,0,.2);
  color: var(--orange);
  margin-bottom: 20px;
}

.mission-highlight h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.mission-highlight p {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .mission-top { grid-template-columns: 1fr; }
  .mission-text { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 32px; }
  .mission-side { flex-direction: row; }
  .mission-highlight:first-child { border-bottom: none; border-right: 1px solid var(--border); }
  .mission-highlight { padding: 28px 32px; }
}

@media (max-width: 480px) {
  .mission-side { flex-direction: column; }
  .mission-highlight:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .mission-text { padding: 32px 24px; }
  .mission-highlight { padding: 24px; }
}


/* ============================================================
   STEPS
   ============================================================ */

.steps-box {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.scol {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  transition: background .2s;
  position: relative;
}

.scol:last-child { border-right: none; }
.scol:hover { background: rgba(255,255,255,.02); }

.snum {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: .1em;
  margin-bottom: 24px;
}

.stept {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.stepd {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.65;
}

.sarr {
  position: absolute;
  top: 40px;
  right: -8px;
  z-index: 1;
  font-size: 12px;
  color: var(--muted);
}

.scol:last-child .sarr { display: none; }


/* ============================================================
   PRODUCT / SERVICE CARDS
   ============================================================ */

.pgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.pgrid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.pgrid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Process steps (service detail) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.process-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}


/* ============================================================
   SERVICE DETAIL — Extended sections
   ============================================================ */

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pain-icon {
  flex-shrink: 0;
  color: var(--orange);
  opacity: .7;
}
.pain-card p {
  color: var(--sub);
  line-height: 1.6;
  font-size: .95rem;
}

/* Approach grid (extended steps) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.approach-step {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .2s, background .2s;
}
.approach-step:hover {
  border-color: rgba(255,255,255,.1);
  background: var(--bg2);
}
.approach-step .process-num {
  margin-top: 2px;
}

/* Mid-page CTA */
.ctabox--mid {
  background: var(--or3);
  border: 1px solid var(--orange);
  box-shadow: 0 0 12px rgba(247,97,0,0.5), 0 0 32px rgba(247,97,0,0.2), 0 0 0 1px rgba(247,97,0,0.15) inset;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] {
  border-color: rgba(247,97,0,0.25);
}
.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--orange);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .2s;
}
.faq-item[open] .faq-q::after {
  content: '−';
}
.faq-a {
  padding: 0 24px 20px;
  color: var(--sub);
  line-height: 1.7;
  font-size: .95rem;
}


.pcard {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color .2s, background .2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(247,97,0,.5) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
}

.pcard:hover {
  border-color: rgba(255,255,255,.1);
  background: var(--bg2);
}

.pcard:hover::before { opacity: 1; }

.pbadge {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--or2);
  border: 1px solid rgba(247,97,0,.2);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 20px;
}

.pname {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.pdesc {
  font-size: 13.5px;
  color: var(--sub);
  line-height: 1.65;
}

.plist {
  list-style: none;
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcard-btn {
  margin-top: 28px;
  align-self: flex-start;
  font-size: 13px;
}

.plist li {
  font-size: 12.5px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plist li::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--or2);
  border: 1px solid rgba(247,97,0,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M1 3l2 2 4-4' stroke='%23F76100' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}


/* ============================================================
   TESTIMONIAL
   ============================================================ */

.tbox {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 56px;
  overflow: hidden;
  position: relative;
}

.tbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(247,97,0,.5) 50%, transparent 100%);
}

.tbox-top {
  padding: 56px 64px 48px;
  position: relative;
}

.tbox-top::before {
  content: '\201C';
  position: absolute;
  top: 24px;
  left: 48px;
  font-size: 120px;
  font-weight: 800;
  color: rgba(247,97,0,.12);
  line-height: 1;
  pointer-events: none;
}

.tq {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.45;
  max-width: 720px;
  position: relative;
}

.tq .hl { color: var(--orange); font-weight: 700; }

.tau {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.tau-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--or2);
  border: 1px solid rgba(247,97,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}

.tau-info {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.8;
}

.tau-info strong {
  display: block;
  color: var(--sub);
  font-weight: 500;
}

.tstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.tstat {
  padding: 36px 40px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}

.tstat:last-child { border-right: none; }
.tstat:hover { background: rgba(255,255,255,.02); }

.tsn {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.tsn b { color: var(--orange); }

.tsl {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 10px;
  line-height: 1.5;
}


/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}

.faq[open] {
  border-color: rgba(255,255,255,.11);
  background: var(--bg2);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ''; }

.faq-q:hover { background: rgba(255,255,255,.02); }

.faq-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: .1em;
  flex-shrink: 0;
}

.faq-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color .2s, transform .3s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--sub);
  border-radius: 1px;
  transition: transform .3s, opacity .2s;
}

.faq-icon::before {
  width: 10px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq[open] .faq-icon {
  border-color: rgba(247,97,0,.3);
}

.faq[open] .faq-icon::before { background: var(--orange); }

.faq[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  padding: 0 32px 28px 76px;
}

.faq-a p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.7;
  max-width: 640px;
}


/* ============================================================
   CTA BOX
   ============================================================ */

.ctabox {
  background: var(--bg1);
  border: 1px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(247,97,0,0.5), 0 0 32px rgba(247,97,0,0.2), 0 0 0 1px rgba(247,97,0,0.15) inset;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}

.ctabox::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(247,97,0,.09) 0%, transparent 70%);
  pointer-events: none;
}

.ctah {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
}

.ctas {
  font-size: 15px;
  color: var(--sub);
  max-width: 420px;
  margin: 20px auto 0;
  line-height: 1.65;
  position: relative;
}

.ctabtns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
  position: relative;
}

.ctanote {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 24px;
  position: relative;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flogo {
  font-size: 14px;
  font-weight: 700;
  color: var(--sub);
}

.flogo b { color: var(--orange); }

.fcopy {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .06em;
}

.flinks {
  display: flex;
  gap: 24px;
}

.flinks a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

.flinks a:hover { color: var(--sub); }


/* ============================================================
   FLASH MESSAGES
   ============================================================ */

.flash {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  max-width: 400px;
}

.flash--success { border-color: rgba(16,185,129,.3); }
.flash--error { border-color: rgba(239,68,68,.3); }

.flash__icon { flex-shrink: 0; }
.flash__icon svg { width: 18px; height: 18px; }
.flash--success .flash__icon { color: var(--success); }
.flash--error .flash__icon { color: var(--danger); }

.flash__text { flex: 1; }

.flash__close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  transition: color .15s;
}

.flash__close:hover { color: var(--text); }
.flash__close svg { width: 14px; height: 14px; }


/* ============================================================
   FORMS
   ============================================================ */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sub);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 16px;
  transition: border-color .15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(247,97,0,.4);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.form-note a {
  color: var(--sub);
  text-decoration: underline;
}

.hp { display: none !important; }


/* ============================================================
   PROSE (privacy, blog articles)
   ============================================================ */

.sbody h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 36px;
  margin-bottom: 12px;
}

.sbody h2:first-child { margin-top: 0; }

.sbody p {
  margin-bottom: 16px;
}

.sbody ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.sbody ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.sbody ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.sbody a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity .15s;
}

.sbody a:hover { opacity: .8; }


/* ============================================================
   ROI CALCULATOR (Lead Magnet #1)
   ============================================================ */

.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
}

.calc-inputs {
  padding: 40px;
  border-right: 1px solid var(--border);
}

.calc-results {
  padding: 40px;
  background: linear-gradient(160deg, rgba(247,97,0,.04) 0%, transparent 60%);
}

.calc-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.calc-field { margin-bottom: 24px; }
.calc-field:last-child { margin-bottom: 0; }

.calc-label {
  display: block;
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 10px;
  font-weight: 500;
}

.calc-range-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 3px solid var(--bg1);
  box-shadow: 0 0 0 1px rgba(247,97,0,.3);
}

.calc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 3px solid var(--bg1);
  box-shadow: 0 0 0 1px rgba(247,97,0,.3);
}

.calc-range-val {
  min-width: 56px;
  text-align: right;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Results */
.calc-big {
  background: rgba(247,97,0,.08);
  border: 1px solid rgba(247,97,0,.2);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  margin-bottom: 20px;
}

.calc-big-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--sub);
  margin-bottom: 8px;
}

.calc-big-value {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}

.calc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.calc-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
}

.calc-stat-val {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.calc-stat-lbl {
  font-size: 11px;
  color: var(--sub);
  line-height: 1.3;
}

.calc-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-bottom: 12px;
}

.calc-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}


/* ============================================================
   LEAD MAGNET #2 — Automatisering Scan (Interactive Quiz)
   ============================================================ */

.scan-wrap {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.scan-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(247,97,0,.5) 50%, transparent 100%);
}

/* Progress bar */
.scan-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.scan-progress-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.scan-progress-bar {
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
  transition: width .4s cubic-bezier(.16,1,.3,1);
}

.scan-progress-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  white-space: nowrap;
  min-width: 100px;
  text-align: right;
}

/* Question slides */
.scan-questions {
  position: relative;
  min-height: 280px;
}

.scan-q {
  display: none;
  animation: scanFadeIn .35s ease;
}

.scan-q.active { display: block; }

@keyframes scanFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

.scan-q-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

/* Option cards */
.scan-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.scan-options--multi { grid-template-columns: repeat(3, 1fr); }

.scan-opt {
  cursor: pointer;
}

.scan-opt input { position: absolute; opacity: 0; pointer-events: none; }

.scan-opt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .2s, background .2s, transform .15s;
  text-align: center;
}

.scan-opt-box:hover {
  border-color: rgba(255,255,255,.12);
  background: var(--bg2);
  transform: translateY(-2px);
}

.scan-opt input:checked + .scan-opt-box {
  border-color: var(--orange);
  background: rgba(247,97,0,.06);
  box-shadow: 0 0 0 1px rgba(247,97,0,.2);
}

.scan-opt-icon {
  font-size: 28px;
  line-height: 1;
}

.scan-opt-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  line-height: 1.3;
}

.scan-opt input:checked + .scan-opt-box .scan-opt-text {
  color: var(--text);
}

.scan-multi-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
  font-style: italic;
}

/* Navigation */
.scan-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.scan-next:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ---- Results ---- */
.scan-results {
  animation: scanFadeIn .5s ease;
}

.scan-score-ring {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  position: relative;
}

.scan-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.scan-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.scan-ring-fill {
  fill: none;
  stroke: var(--orange);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.5s cubic-bezier(.16,1,.3,1);
}

.scan-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}

.scan-score-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--muted);
}

.scan-verdict {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* Recommendations */
.scan-recs {
  margin-bottom: 40px;
}

.scan-recs-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.scan-rec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scan-rec {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.scan-rec-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.scan-rec-content { flex: 1; }

.scan-rec-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.scan-rec-desc {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.5;
}

.scan-rec-impact {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  margin-top: 6px;
  letter-spacing: .02em;
}

/* CTA box in results */
.scan-cta-box {
  background: linear-gradient(160deg, rgba(247,97,0,.06) 0%, transparent 70%);
  border: 1px solid rgba(247,97,0,.15);
  border-radius: 12px;
  padding: 36px;
  text-align: center;
}

.scan-cta-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.scan-cta-desc {
  font-size: 14px;
  color: var(--sub);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.scan-cta-fields {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}

.scan-cta-input {
  flex: 1;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .15s;
}

.scan-cta-input:focus { border-color: rgba(247,97,0,.4); }
.scan-cta-input::placeholder { color: var(--muted); }

.scan-cta-btn { white-space: nowrap; flex-shrink: 0; }

.scan-cta-note {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 16px;
}


/* ============================================================
   COOKIE BANNER
   ============================================================ */

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 250;
  max-width: 520px;
  animation: cookieSlideUp .4s cubic-bezier(.16,1,.3,1);
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner__inner {
  background: rgba(15,15,18,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--orange);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 12px rgba(247,97,0,0.4), 0 0 32px rgba(247,97,0,0.15), 0 16px 48px rgba(0,0,0,.4);
}

.cookie-banner__text {
  font-size: 13.5px;
  color: var(--sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.cookie-banner__text a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner__accept,
.cookie-banner__prefs,
.cookie-banner__decline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
  border: none;
}
.cookie-banner__accept:hover,
.cookie-banner__prefs:hover,
.cookie-banner__decline:hover {
  transform: translateY(-1px);
}

.cookie-banner__accept {
  color: #000;
  background: var(--orange);
}

.cookie-banner__prefs {
  color: var(--text);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
}

.cookie-banner__decline {
  color: var(--muted);
  background: none;
  border: 1px solid rgba(255,255,255,.06);
}

/* Cookie Preference Center Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: cookieFadeIn .2s;
}
.cookie-modal-overlay[hidden] { display: none; }
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cookie-modal {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  animation: cookieModalIn .3s cubic-bezier(.16,1,.3,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Header */
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 0;
}
.cookie-modal__header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: var(--sub);
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: color .15s, background .15s;
  line-height: 1;
}
.cookie-modal__close:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

/* Intro text */
.cookie-modal__intro {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.7;
  padding: 14px 28px 0;
}

/* Tabs */
.cookie-modal__tabs {
  display: flex;
  gap: 0;
  padding: 18px 28px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-modal__tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 20px 14px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  margin-bottom: -1px;
}
.cookie-modal__tab:hover { color: var(--sub); }
.cookie-modal__tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Body & tab panels */
.cookie-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  -webkit-overflow-scrolling: touch;
}
.cookie-modal__body::-webkit-scrollbar { width: 5px; }
.cookie-modal__body::-webkit-scrollbar-track { background: transparent; }
.cookie-modal__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }

.cookie-tab-panel { display: none; }
.cookie-tab-panel.active { display: block; }

/* Footer */
.cookie-modal__footer {
  display: flex;
  gap: 8px;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
}
.cookie-modal__save,
.cookie-modal__decline,
.cookie-modal__accept-all {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .15s, opacity .15s, background .15s;
  border: 1px solid var(--border);
  text-align: center;
  flex: 1;
}
.cookie-modal__save {
  color: var(--text);
  background: transparent;
}
.cookie-modal__save:hover { background: rgba(255,255,255,.04); }

.cookie-modal__decline {
  color: #fff;
  background: rgba(247,97,0,.15);
  border-color: rgba(247,97,0,.3);
}
.cookie-modal__decline:hover { background: rgba(247,97,0,.25); }

.cookie-modal__accept-all {
  color: #000;
  background: var(--orange);
  border-color: var(--orange);
}
.cookie-modal__accept-all:hover { opacity: .9; }

/* ── Category view ─────────────────────────── */
.cookie-cat {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.cookie-cat:last-child { margin-bottom: 0; }

.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 14px;
}
.cookie-cat-info { flex: 1; min-width: 0; }

.cookie-cat-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.cookie-cat-count {
  color: var(--muted);
  font-weight: 400;
  font-size: 11.5px;
}
.cookie-cat-desc {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.55;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle input { display: none; }
.cookie-toggle-track {
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  position: relative;
  transition: background .2s;
}
.cookie-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--sub);
  border-radius: 10px;
  transition: transform .2s cubic-bezier(.16,1,.3,1), background .2s;
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--orange);
}
.cookie-toggle input:checked + .cookie-toggle-track .cookie-toggle-thumb {
  transform: translateX(20px);
  background: #000;
}
.cookie-toggle--disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* Chevron expand */
.cookie-cat-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  transition: transform .25s, color .15s;
  flex-shrink: 0;
}
.cookie-cat-chevron:hover { color: var(--sub); }
.cookie-cat-chevron.expanded { transform: rotate(180deg); }
.cookie-cat-chevron svg { width: 18px; height: 18px; }

/* Cookie details expand */
.cookie-cat-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.16,1,.3,1);
}
.cookie-cat-details.open {
  max-height: 800px;
}
.cookie-cat-list {
  padding: 4px 20px 16px;
  border-top: 1px solid var(--border);
}
.cookie-cat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.cookie-cat-item:last-child { border-bottom: none; }
.cookie-cat-item-name { flex-shrink: 0; max-width: 180px; }
.cookie-cat-item-name code {
  font-size: 11px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  display: inline-block;
  word-break: break-all;
  line-height: 1.4;
}
.cookie-cat-item-meta { flex: 1; min-width: 0; }
.cookie-cat-item-provider {
  font-size: 11.5px;
  color: var(--sub);
  margin-bottom: 2px;
}
.cookie-cat-item-provider span {
  color: var(--muted);
  margin-left: 8px;
}
.cookie-cat-item-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Services view ─────────────────────────── */
.cookie-svc {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
.cookie-svc:last-child { margin-bottom: 0; }

.cookie-svc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
}
.cookie-svc-info { flex: 1; min-width: 0; }

.cookie-svc-name {
  font-size: 13.5px;
  font-weight: 700;
}
.cookie-svc-category {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.cookie-svc-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Cookie widget — persistent bottom-left button */
.cookie-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  background: var(--bg1);
  color: var(--orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(247,97,0,.4), 0 0 24px rgba(247,97,0,.15);
  backdrop-filter: blur(12px);
  transition: transform .2s, box-shadow .2s;
}
.cookie-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(247,97,0,.6), 0 0 36px rgba(247,97,0,.25);
}
.cookie-widget[hidden] { display: none; }

/* Mobile adjustments */
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__inner { padding: 20px; }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-modal { max-height: 94vh; border-radius: 16px; }
  .cookie-modal-overlay { padding: 6px; }
  .cookie-modal__header { padding: 20px 20px 0; }
  .cookie-modal__header h2 { font-size: 1.05rem; }
  .cookie-modal__intro { padding: 12px 20px 0; font-size: 12.5px; }
  .cookie-modal__tabs { padding: 14px 20px 0; }
  .cookie-modal__tab { font-size: 12.5px; padding: 8px 14px 12px; }
  .cookie-modal__body { padding: 16px 20px; }
  .cookie-modal__footer { padding: 12px 20px 20px; }
  .cookie-modal__save, .cookie-modal__decline, .cookie-modal__accept-all { font-size: 12px; padding: 10px 0; }
  .cookie-cat-header { padding: 14px 16px; }
  .cookie-svc-header { padding: 12px 16px; }
  .cookie-cat-list { padding: 4px 16px 12px; }
  .cookie-cat-item { flex-direction: column; gap: 4px; }
  .cookie-cat-item-name { max-width: 100%; }
  .cookie-widget { bottom: 14px; left: 14px; width: 40px; height: 40px; }
}


/* ============================================================
   SKIP LINK
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--orange);
  color: #000;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 999;
  text-decoration: none;
}

.skip-link:focus { top: 0; }


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.rev {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}

.rev.in {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: .05s; }
.d2 { transition-delay: .12s; }
.d3 { transition-delay: .19s; }
.d4 { transition-delay: .26s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .s7, .s5, .s4, .s8, .s6 { grid-column: span 12; }

  .steps-row { grid-template-columns: 1fr 1fr; }
  .scol { border-right: none; border-bottom: 1px solid var(--border); }
  .scol:last-child { border-bottom: none; }
  .sarr { display: none; }

  .pgrid { grid-template-columns: 1fr; }
  .pgrid--2 { grid-template-columns: 1fr 1fr; }
  .pgrid--3 { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }

  .tbox-top { padding: 40px 32px 32px; }
  .tbox-top::before { left: 20px; font-size: 80px; }
  .tstats { grid-template-columns: repeat(2, 1fr); }
  .tstat:nth-child(2) { border-right: none; }
  .tstat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .calc-wrap { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--border); }
  .calc-stats { grid-template-columns: repeat(3, 1fr); }

  .scan-wrap { padding: 32px; }
  .scan-options { grid-template-columns: repeat(2, 1fr); }
  .scan-cta-fields { flex-direction: column; }

  .ctabox { padding: 48px 32px; }

  footer { flex-direction: column; gap: 20px; text-align: center; }
  .flinks { flex-wrap: wrap; justify-content: center; }

  .hero-nums { flex-wrap: wrap; gap: 20px; }
  .n-sep { display: none; }
}

@media (max-width: 480px) {
  nav { padding: 0 16px; }
  .sec { padding: 64px 16px; }

  .steps-row { grid-template-columns: 1fr; }

  .pgrid--2 { grid-template-columns: 1fr; }
  .pgrid--3 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .faq-q { padding: 16px 18px; font-size: .95rem; }
  .faq-a { padding: 0 18px 16px; }

  .calc-inputs, .calc-results { padding: 28px 20px; }
  .calc-big-value { font-size: 2.2rem; }
  .calc-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .calc-stat { padding: 12px 8px; }
  .calc-stat-val { font-size: 15px; }

  .scan-wrap { padding: 24px 16px; }
  .scan-options { grid-template-columns: 1fr 1fr; }
  .scan-q-title { font-size: 18px; }
  .scan-opt-box { padding: 14px 10px; }
  .scan-opt-icon { font-size: 22px; }
  .scan-opt-text { font-size: 12px; }
  .scan-cta-btn { width: 100%; justify-content: center; text-align: center; }

  .tstats { grid-template-columns: 1fr 1fr; }
  .tstat { padding: 24px 20px; }

  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn-p,
  .hero-btns .btn-g { width: 100%; justify-content: center; }

  .ctabtns { flex-direction: column; }
  .ctabtns .btn-p,
  .ctabtns .btn-g { width: 100%; justify-content: center; text-align: center; }

  footer { padding: 24px 16px; }
}


/* ============================================================
   PRINT
   ============================================================ */

@media print {
  nav, .mbar, .cookie-banner, .flash { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero::before, .hero::after { display: none; }
  .bc, .pcard, .tbox, .ctabox, .steps-box { border-color: #ddd; }
}
