/* ═══════════════════════════════════════════════════════════
   MEDUTI v3 — agency energy, white + dark + lime
   Space Grotesk + Plus Jakarta Sans + JetBrains Mono
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Dark surfaces */
  --bg: #0A0A0A;
  --bg-elev: #141414;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222220;
  --border: #2A2A2A;
  --border-light: #3A3A3A;
  --text: #F5F1EC;
  --text-dim: #A8A8A0;
  --text-mute: #6B6B62;

  /* Light surfaces (white not cream) */
  --light-bg: #FFFFFF;
  --light-elev: #F8F8F7;
  --light-card: #FFFFFF;
  --light-border: #E8E8E6;
  --light-border-strong: #C0C0BE;
  --light-text: #0A0A0A;
  --light-text-dim: #4A4A45;
  --light-text-mute: #888884;

  /* Accents */
  --accent: #C8FF00;
  --accent-deep: #6B8C00;
  --accent-glow: rgba(200, 255, 0, 0.4);
  --accent-soft: rgba(200, 255, 0, 0.12);

  --danger: #FF5C4D;
  --warn: #FFB547;
  --ok: #4FE1A4;

  /* Type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Geometry */
  --max-w: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --nav-h: 76px;
  --rad: 14px;
  --rad-sm: 8px;
  --pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent); color: var(--bg); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.875rem); letter-spacing: -0.02em; }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.eyebrow--accent { color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 56ch;
}

/* ═══ LAYOUT ═══ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
section { padding: clamp(80px, 12vh, 130px) 0; position: relative; z-index: 2; }

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
}
.nav__logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.78); }
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--pill);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: var(--bg-elev); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__lang {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
}
.nav__lang:hover { color: var(--text); border-color: var(--border-light); }
.nav__burger {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 11px; }
.nav__burger span:nth-child(2) { bottom: 11px; }
.nav.open .nav__burger span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { bottom: 14px; transform: rotate(-45deg); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--bg-card);
  border-color: var(--border-light);
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--accent);
  box-shadow: 0 12px 32px var(--accent-glow);
  transform: translateY(-2px);
}
.btn--ghost { background: transparent; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn__arrow { transition: transform 0.2s; display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ═══ HERO — full-bleed showreel + overlay ═══ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.hero__showreel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
}
.hero__showreel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Hero overlay — top-left intro + bottom CTA + side stats */
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  padding: calc(var(--nav-h) + 24px) var(--pad-x) clamp(28px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__overlay > * { pointer-events: auto; }

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__intro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 241, 236, 0.1);
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
}
.hero__intro::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 241, 236, 0.08);
  border-radius: var(--pill);
}
.hero__quick-stats {
  display: flex;
  gap: 24px;
  padding: 14px 22px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 241, 236, 0.08);
  border-radius: 14px;
  flex-wrap: wrap;
}
.hero__quick-stat { display: flex; flex-direction: column; gap: 2px; }
.hero__quick-stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}
.hero__quick-stat-num em {
  color: var(--accent);
  font-style: normal;
}
.hero__quick-stat-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

@media (max-width: 760px) {
  .hero { min-height: 620px; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero__quick-stats { justify-content: space-between; }
  .hero__cta-row { flex-direction: column; padding: 14px; border-radius: var(--rad); }
  .hero__cta-row .btn { width: 100%; justify-content: center; }
}

/* ═══ TRUST BAR ═══ */
.trust {
  background: var(--bg);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust__inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trust__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
}
.trust__items {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust__item {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.trust__item:hover { color: var(--text); }

/* ═══ STATS COUNTER STRIP ═══ */
.stats-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.stat-counter {
  text-align: left;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.stat-counter:first-child { border-left: none; padding-left: 0; }
.stat-counter__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-counter__num em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.7em;
  margin-left: 2px;
}
.stat-counter__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
@media (max-width: 760px) {
  .stats-strip__inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .stat-counter { border-left: none; padding-left: 0; }
}

/* ═══ LIGHT ZONE ═══ */
.light-zone {
  background: var(--light-bg);
  color: var(--light-text);
  position: relative;
  z-index: 2;
}
.light-zone .eyebrow { color: var(--light-text-mute); }
.light-zone p, .light-zone .lead { color: var(--light-text-dim); }
.light-zone h1, .light-zone h2, .light-zone h3, .light-zone h4 { color: var(--light-text); }

/* ═══ SERVICES — lifted two-tone cards ═══ */
.services__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.services__title { max-width: 22ch; }
.services__intro { max-width: 38ch; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  border-radius: var(--rad);
  overflow: hidden;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
  cursor: default;
  isolation: isolate;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px -24px rgba(10, 10, 10, 0.22), 0 8px 16px -8px var(--card-shadow, rgba(10, 10, 10, 0.1));
}

/* Top half: colored gradient with big icon */
.service-card__visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.15) 49%, rgba(255, 255, 255, 0.15) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.08) 49%, rgba(255, 255, 255, 0.08) 51%, transparent 52%);
  background-size: 36px 36px;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}
.service-card__visual::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.18));
  z-index: 1;
  pointer-events: none;
}
.service-card__visual--web { background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #3B82F6 100%); --card-shadow: rgba(59, 130, 246, 0.25); }
.service-card__visual--config { background: linear-gradient(135deg, #1A1A2E 0%, #2D1B4E 50%, #6B46C1 100%); --card-shadow: rgba(107, 70, 193, 0.3); }
.service-card__visual--ads { background: linear-gradient(135deg, #4A1D1D 0%, #B45309 50%, #F59E0B 100%); --card-shadow: rgba(245, 158, 11, 0.25); }
.service-card__visual--seo {
  background: linear-gradient(135deg, #064E3B 0%, #0F766E 50%, #C8FF00 100%);
  --card-shadow: rgba(200, 255, 0, 0.3);
}
.service-card[data-card="web"] { --card-shadow: rgba(59, 130, 246, 0.25); }
.service-card[data-card="config"] { --card-shadow: rgba(107, 70, 193, 0.3); }
.service-card[data-card="ads"] { --card-shadow: rgba(245, 158, 11, 0.25); }
.service-card[data-card="seo"] { --card-shadow: rgba(200, 255, 0, 0.4); }

.service-card__icon {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-3deg); }
.service-card__icon svg { width: 38px; height: 38px; stroke-width: 1.5; }

.service-card__num {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}
.service-card__visual-tag {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card__visual-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* Bottom half: white content */
.service-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card__title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--light-text);
}
.service-card__desc {
  font-size: 0.95rem;
  color: var(--light-text-dim);
  margin-bottom: 24px;
  line-height: 1.55;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--light-text-mute);
}
.service-card__list li::before { content: "→  "; color: var(--accent-deep); font-weight: 500; }

.service-card__result {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.service-card__result-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.625rem;
  letter-spacing: -0.025em;
  color: var(--light-text);
}
.service-card__result-num em {
  color: var(--accent-deep);
  font-style: normal;
}
.service-card__result-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--light-text-mute);
  text-align: right;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ═══ WHY US — 4-block grid ═══ */
.why {
  background: var(--bg);
  padding: clamp(80px, 12vh, 130px) 0;
  position: relative;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 80% 20%, var(--accent-soft), transparent 50%),
    radial-gradient(ellipse 600px 300px at 10% 80%, rgba(122, 154, 0, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.why__inner { position: relative; z-index: 2; }
.why__head { margin-bottom: 64px; max-width: 36ch; }
.why__head h2 { margin-bottom: 16px; }
.why__head h2 em { color: var(--accent); font-style: normal; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-tile {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.why-tile:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--accent);
}
.why-tile__icon {
  width: 44px; height: 44px;
  border-radius: var(--rad-sm);
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.why-tile__icon svg { width: 20px; height: 20px; }
.why-tile__title {
  font-size: 1.125rem;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.why-tile__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ═══ WORK — featured cards with real photo + depth ═══ */
.work__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.work-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  background: var(--bg-elev);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow:
    0 40px 100px -28px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--accent-soft),
    0 0 80px -10px var(--accent-glow);
}
.work-card__visual {
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}
.work-card__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(0.95) brightness(0.92);
}
.work-card:hover .work-card__visual-img {
  transform: scale(1.05);
  filter: saturate(1.05) brightness(1);
}
.work-card__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.0) 30%, rgba(10, 10, 10, 0.85) 100%),
    linear-gradient(45deg, rgba(10, 10, 10, 0.45) 0%, transparent 60%);
  pointer-events: none;
}
.work-card__visual-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(245, 241, 236, 0.18);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}
.work-card__badge {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 241, 236, 0.14);
  border-radius: var(--pill);
  color: var(--text);
}
.work-card__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 1.6s ease-in-out infinite;
}
.work-card__metric {
  position: absolute;
  bottom: 22px; right: 22px;
  z-index: 3;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: var(--rad-sm);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  box-shadow: 0 12px 32px -8px var(--accent-glow);
}
.work-card__metric em {
  font-style: normal;
  font-size: 0.7em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.work-card__visual-info {
  position: absolute;
  bottom: 22px; left: 22px;
  z-index: 3;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 60%;
}
.work-card__body { padding: 28px 32px 32px; }
.work-card__client {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.work-card__title {
  font-size: 1.625rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.work-card__desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.55;
}
.work-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.work-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 760px) { .work__grid { grid-template-columns: 1fr; } }

/* Featured work strip — used directly under hero */
.featured-work {
  background: var(--bg);
  padding: clamp(60px, 8vh, 100px) 0;
  position: relative;
}
.featured-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 500px at 50% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.featured-work__inner { position: relative; z-index: 2; }
.featured-work__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.featured-work__head h2 { max-width: 18ch; }
.featured-work__head h2 em { color: var(--accent); font-style: normal; }

/* ═══ INLINE SEO SCANNER ═══ */
.scanner__shell {
  border: 1px solid var(--light-border);
  border-radius: var(--rad);
  background: var(--light-bg);
  padding: clamp(36px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(10, 10, 10, 0.12);
}
.scanner__shell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-deep));
}
.scanner__head { margin-bottom: 32px; max-width: 50ch; }
.scanner__title { margin-bottom: 12px; }
.scanner__form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.scanner__input {
  flex: 1;
  min-width: 240px;
  padding: 16px 20px;
  background: var(--light-elev);
  border: 1px solid var(--light-border);
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--light-text);
  transition: border-color 0.2s, background 0.2s;
}
.scanner__input:focus { outline: none; border-color: var(--light-text); background: var(--light-bg); }
.scanner__input::placeholder { color: var(--light-text-mute); }
.scanner__hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--light-text-mute);
}

.scanner__loading {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 24px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--light-text-dim);
}
.scanner__loading.show { display: flex; }
.scanner__spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--light-border-strong);
  border-top-color: var(--light-text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scanner__results {
  margin-top: 28px;
  display: none;
  animation: fade-up 0.6s var(--ease);
}
.scanner__results.show { display: block; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.scanner__scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.scanner__score {
  background: var(--light-elev);
  border: 1px solid var(--light-border);
  border-radius: var(--rad-sm);
  padding: 22px 18px;
}
.scanner__score-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--light-text);
}
.scanner__score-value.good { color: var(--ok); }
.scanner__score-value.warn { color: var(--warn); }
.scanner__score-value.bad { color: var(--danger); }
.scanner__score-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--light-text-mute);
}
.scanner__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 18px;
  background: var(--light-elev);
  border: 1px solid var(--light-border);
  border-radius: var(--rad-sm);
  margin-bottom: 20px;
}
.scanner__metric-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-text-mute);
  margin-bottom: 4px;
}
.scanner__metric-value {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--light-text);
}
.scanner__cta {
  margin-top: 16px;
  padding: 22px;
  background: var(--bg);
  color: var(--text);
  border-radius: var(--rad-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.scanner__cta-text { font-size: 0.95rem; max-width: 50ch; color: var(--text); }
.scanner__error {
  padding: 18px 20px;
  background: rgba(255, 92, 77, 0.08);
  border: 1px solid rgba(255, 92, 77, 0.3);
  border-radius: var(--rad-sm);
  color: var(--danger);
  font-size: 0.95rem;
  line-height: 1.5;
}
.scanner__error strong { color: var(--light-text); }
@media (max-width: 640px) {
  .scanner__scores { grid-template-columns: 1fr 1fr; }
  .scanner__metrics { grid-template-columns: 1fr; }
}

/* ═══ PROCESS ═══ */
.process__head { margin-bottom: 56px; max-width: 30ch; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process__step {
  padding: 44px 28px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.process__step:last-child { border-right: none; }
.process__step:hover { background: rgba(200, 255, 0, 0.03); }
.process__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1;
}
.process__title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.process__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
}
@media (max-width: 880px) {
  .process__grid { grid-template-columns: 1fr 1fr; }
  .process__step:nth-child(2n) { border-right: none; }
  .process__step:nth-child(1), .process__step:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 540px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__step { border-right: none; border-bottom: 1px solid var(--border); }
  .process__step:last-child { border-bottom: none; }
}

/* ═══ TESTIMONIALS — with avatar + result chip ═══ */
.testi__head { margin-bottom: 56px; }
.testi__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.testi-card {
  padding: 36px;
  border: 1px solid var(--light-border);
  border-radius: var(--rad);
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -28px rgba(10, 10, 10, 0.18);
}
.testi-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
  color: var(--accent-deep);
  font-size: 16px;
  letter-spacing: 2px;
}
.testi-card__quote {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--light-text);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  font-weight: 500;
}
.testi-card__foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--light-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--light-elev);
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  color: var(--light-text);
  font-size: 15px;
  letter-spacing: -0.02em;
}
.testi-card__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--light-text);
  letter-spacing: -0.01em;
}
.testi-card__role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--light-text-mute);
  letter-spacing: 0.04em;
}
.testi-card__metric {
  background: var(--bg);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: var(--pill);
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .testi__grid { grid-template-columns: 1fr; }
  .testi-card__foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ═══ PACKAGES ═══ */
.pkg__head { margin-bottom: 56px; max-width: 36ch; }
.pkg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pkg-card {
  padding: 36px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.pkg-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card);
  border-color: var(--border-light);
}
.pkg-card--featured {
  background:
    radial-gradient(ellipse 400px 200px at 50% 0%, var(--accent-soft), transparent 70%),
    var(--bg-card);
  border-color: var(--accent);
  position: relative;
}
.pkg-card--featured::before {
  content: "Most popular";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--pill);
}
.pkg-card__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.pkg-card--featured .pkg-card__name { color: var(--accent); }
.pkg-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  font-family: var(--display);
}
.pkg-card__price-num {
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pkg-card__price-suf {
  font-size: 0.95rem;
  color: var(--text-mute);
}
.pkg-card__desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.pkg-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.pkg-card__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pkg-card__list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
}
.pkg-card .btn { width: 100%; justify-content: center; margin-top: auto; }
@media (max-width: 880px) {
  .pkg__grid { grid-template-columns: 1fr; }
}

/* ═══ FAQ ═══ */
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(40px, 6vw, 100px);
}
.faq__head h2 { max-width: 14ch; }
.faq__list { display: flex; flex-direction: column; }
.faq__item {
  border-top: 1px solid var(--light-border);
}
.light-zone .faq__item { border-color: var(--light-border); }
.faq__item:last-child { border-bottom: 1px solid var(--light-border); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
}
.faq__q-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq__q-icon::before, .faq__q-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq__q-icon::before { top: 10px; left: 0; right: 0; height: 1.5px; }
.faq__q-icon::after { top: 0; bottom: 0; left: 10px; width: 1.5px; }
.faq__item.open .faq__q-icon::after { transform: scaleY(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq__a-inner { overflow: hidden; }
.faq__a-text {
  padding: 0 0 28px;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.6;
}
.faq__item.open .faq__a { grid-template-rows: 1fr; }
@media (max-width: 760px) { .faq__inner { grid-template-columns: 1fr; } }

/* ═══ CTA + FOOTER (dark) ═══ */
.dark-zone {
  background: #060606;
  position: relative;
  z-index: 2;
}
.cta {
  padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 100px);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 2; }
.cta__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.cta__sub {
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.footer { padding: 60px 0 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.footer__brand-tag {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 32ch;
}
.footer__col-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-bottom: 20px;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer__list a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ═══ COOKIE BANNER ═══ */
.cookies {
  position: fixed;
  bottom: 20px; left: 20px;
  max-width: 380px;
  padding: 20px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border-light);
  border-radius: var(--rad);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  z-index: 200;
  font-size: 13px;
  color: var(--text-dim);
  transform: translateY(150%);
  transition: transform 0.5s var(--ease);
}
.cookies.show { transform: translateY(0); }
.cookies p { margin-bottom: 14px; font-size: 13px; line-height: 1.5; }
.cookies__actions { display: flex; gap: 8px; }
.cookies__btn {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-dim);
  font-family: var(--display);
  cursor: pointer;
  transition: all 0.2s;
}
.cookies__btn:hover { border-color: var(--border-light); color: var(--text); }
.cookies__btn--primary { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }

/* ═══ CHATBOT — prominent ═══ */
.chatbot-toggle {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  cursor: pointer;
  box-shadow:
    0 18px 48px -8px rgba(200, 255, 0, 0.45),
    0 8px 16px -4px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.chatbot-toggle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.6;
  animation: chat-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
.chatbot-toggle::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: chat-pulse 2.4s ease-in-out infinite;
  animation-delay: 0.6s;
  pointer-events: none;
}
@keyframes chat-pulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}
.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow:
    0 24px 60px -8px rgba(200, 255, 0, 0.6),
    0 12px 24px -4px rgba(0, 0, 0, 0.4);
}
.chatbot-toggle.open-state::before,
.chatbot-toggle.open-state::after { display: none; }
.chatbot-toggle svg { width: 28px; height: 28px; position: relative; z-index: 1; stroke-width: 2.2; }
.chatbot-toggle__dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 14px; height: 14px;
  background: #FF3B3B;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s, transform 0.3s;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.chatbot-toggle.notify .chatbot-toggle__dot { opacity: 1; transform: scale(1); }

/* Floating speech bubble */
.chatbot-bubble {
  position: fixed;
  bottom: 102px;
  right: 24px;
  z-index: 89;
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 16px 16px 4px 16px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  max-width: 240px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.chatbot-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chatbot-bubble__close {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-mute);
  cursor: pointer;
  background: none;
  border: none;
}
.chatbot-bubble__close:hover { color: var(--text); }
.chatbot-bubble__title { margin-bottom: 2px; padding-right: 18px; }
.chatbot-bubble__sub { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--text-dim); padding-right: 18px; }

.chatbot-panel {
  position: fixed;
  bottom: 104px; right: 24px;
  width: 380px;
  max-height: 580px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  z-index: 91;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.65);
}
.chatbot-panel.open { display: flex; animation: panel-rise 0.35s var(--ease); }
@keyframes panel-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chatbot-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}
.chatbot-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-header__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.chatbot-header__title { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.2; }
.chatbot-header__status { font-family: var(--mono); font-size: 10px; color: var(--accent); display: flex; align-items: center; gap: 5px; }
.chatbot-header__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.chatbot-header__close { width: 24px; height: 24px; color: var(--text-mute); cursor: pointer; }
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbot-msg {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  max-width: 85%;
  line-height: 1.45;
}
.chatbot-msg.bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chatbot-msg.user {
  background: var(--accent);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px 16px;
}
.chatbot-chip {
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.chatbot-chip:hover { border-color: var(--accent); color: var(--text); background: var(--bg-card); }
.chatbot-input-row {
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  font-size: 14px;
  outline: none;
}
.chatbot-input:focus { border-color: var(--accent); }
.chatbot-send {
  width: 36px; height: 36px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 540px) {
  .chatbot-toggle { width: 60px; height: 60px; bottom: 18px; right: 18px; }
  .chatbot-toggle svg { width: 24px; height: 24px; }
  .chatbot-bubble { right: 18px; bottom: 90px; max-width: 220px; }
  .chatbot-panel { bottom: 92px; right: 16px; left: 16px; width: auto; }
}

/* ═══ REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ═══ SUBHEAD ═══ */
.subhead {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.subhead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 80% 20%, var(--accent-soft), transparent 50%);
  pointer-events: none;
}
.subhead__inner { position: relative; z-index: 2; }
.subhead__title { max-width: 18ch; }
.subhead__intro { max-width: 56ch; color: var(--text-dim); margin-top: 20px; font-size: 1.15rem; }

/* ═══ CONTACT FORM ═══ */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__field { display: flex; flex-direction: column; gap: 8px; }
.contact-form__field--full { grid-column: 1 / -1; }
.contact-form__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--light-text-mute);
}
.contact-form__input,
.contact-form__textarea {
  padding: 14px 16px;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--rad-sm);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--light-text);
  transition: border-color 0.2s;
}
.contact-form__input:focus,
.contact-form__textarea:focus { outline: none; border-color: var(--light-text); }
.contact-form__textarea { min-height: 140px; resize: vertical; }
.contact-form__msg {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--rad-sm);
  display: none;
}
.contact-form__msg.show { display: block; }
.contact-form__msg.ok { background: rgba(79, 225, 164, 0.1); border: 1px solid rgba(79, 225, 164, 0.3); color: var(--ok); }
.contact-form__msg.err { background: rgba(255, 92, 77, 0.1); border: 1px solid rgba(255, 92, 77, 0.3); color: var(--danger); }
@media (max-width: 540px) { .contact-form { grid-template-columns: 1fr; } }

/* ═══ MOBILE NAV ═══ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 24px var(--pad-x);
    gap: 0;
  }
  .nav.open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav.open .nav__links a:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   v3.1 ADDITIONS
   ═══════════════════════════════════════════════════════════ */

/* ═══ WORK SHOWCASE — featured + grid layout ═══ */
.work-showcase {
  padding: clamp(80px, 12vh, 130px) 0;
  background: var(--bg);
  position: relative;
}
.work-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 500px at 50% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.work-showcase__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Featured (BIG) case */
.case-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
  cursor: pointer;
}
.case-feature:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px var(--accent-soft),
    0 0 80px -20px var(--accent-glow);
}
.case-feature__media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--bg);
}
.case-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: brightness(0.85) contrast(1.05);
}
.case-feature:hover .case-feature__media img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.05);
}
.case-feature__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 60%, rgba(10, 10, 10, 0.4)),
    linear-gradient(to bottom, transparent 60%, rgba(10, 10, 10, 0.5));
  pointer-events: none;
}
.case-feature__media-tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px var(--accent-glow);
}
.case-feature__media-tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg);
  animation: pulse 1.6s ease-in-out infinite;
}
.case-feature__body {
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.case-feature__client {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.case-feature__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.case-feature__title em {
  font-style: italic;
  color: var(--text-dim);
}
.case-feature__desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 50ch;
}
.case-feature__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.case-feature__stat {
  padding: 18px 0;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}
.case-feature__stat:last-child { border-right: none; padding-right: 0; padding-left: 16px; }
.case-feature__stat:nth-child(2) { padding-left: 16px; }
.case-feature__stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.case-feature__stat-num em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
  font-size: 0.7em;
  margin-left: 2px;
  letter-spacing: 0;
}
.case-feature__stat-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.case-feature__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.case-feature__tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.case-feature__cta {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s var(--ease);
}
.case-feature:hover .case-feature__cta { gap: 14px; }

@media (max-width: 880px) {
  .case-feature { grid-template-columns: 1fr; }
  .case-feature__media { min-height: 320px; aspect-ratio: 16 / 10; }
}

/* Secondary grid: case tiles */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}
.case-tile {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.case-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.case-tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.case-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: brightness(0.9);
}
.case-tile:hover .case-tile__media img { transform: scale(1.04); filter: brightness(1); }
.case-tile__media--tandenbleker {
  background: linear-gradient(135deg, #B8DDD4 0%, #2F4156 100%);
}
.case-tile__media--laminaatkamer {
  background: repeating-linear-gradient(
    135deg,
    #C4A574 0px, #C4A574 12px,
    #B89867 12px, #B89867 24px,
    #C4A574 24px, #C4A574 36px,
    #A8865A 36px, #A8865A 48px
  );
}
.case-tile__media-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 11px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 241, 236, 0.12);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: var(--pill);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-tile__media-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 1.8s ease-in-out infinite;
}
.case-tile__metric {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: var(--rad-sm);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
}
.case-tile__metric em {
  font-style: normal;
  font-size: 0.7em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.case-tile__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-tile__client {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.case-tile__title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.case-tile__desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.case-tile__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.case-tile__tag {
  font-family: var(--mono);
  font-size: 9px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }


/* ═══ SERVICE CARDS — LIFTED ═══ */
/* Override v1.1 service cards with deep shadow + 3D feel + per-card gradient bloom */

.service-card {
  position: relative;
  padding: 40px 36px 32px;
  border: 1px solid var(--light-border);
  border-radius: var(--rad);
  background: var(--light-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s,
    box-shadow 0.5s;
  /* Default rest state — ALREADY visible depth, not just on hover */
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 8px 20px -8px rgba(10, 10, 10, 0.06),
    0 24px 60px -30px rgba(10, 10, 10, 0.1);
}

/* Per-card colored bloom in the background — always visible, intensifies on hover */
.service-card__bloom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  transition: opacity 0.6s, transform 0.6s var(--ease);
}
.service-card--web .service-card__bloom {
  background:
    radial-gradient(ellipse 380px 280px at 90% 10%, rgba(124, 58, 237, 0.10), transparent 65%),
    radial-gradient(ellipse 240px 200px at 5% 95%, rgba(59, 130, 246, 0.06), transparent 70%);
}
.service-card--config .service-card__bloom {
  background:
    radial-gradient(ellipse 380px 280px at 90% 10%, rgba(200, 255, 0, 0.18), transparent 60%),
    radial-gradient(ellipse 240px 200px at 5% 95%, rgba(122, 154, 0, 0.08), transparent 70%);
}
.service-card--ads .service-card__bloom {
  background:
    radial-gradient(ellipse 380px 280px at 90% 10%, rgba(251, 113, 133, 0.10), transparent 65%),
    radial-gradient(ellipse 240px 200px at 5% 95%, rgba(245, 158, 11, 0.08), transparent 70%);
}
.service-card--seo .service-card__bloom {
  background:
    radial-gradient(ellipse 380px 280px at 90% 10%, rgba(20, 184, 166, 0.10), transparent 65%),
    radial-gradient(ellipse 240px 200px at 5% 95%, rgba(34, 197, 94, 0.08), transparent 70%);
}
.service-card:hover .service-card__bloom {
  opacity: 1;
  transform: scale(1.1);
}

/* Top accent line — slides in on hover */
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  z-index: 2;
}
.service-card:hover::after { transform: scaleX(1); }

/* Lifted hover state — deeper shadow, slight rotate */
.service-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  border-color: var(--accent);
  box-shadow:
    0 4px 12px rgba(10, 10, 10, 0.06),
    0 24px 50px -16px rgba(10, 10, 10, 0.18),
    0 60px 120px -40px rgba(10, 10, 10, 0.25),
    0 0 0 1px var(--accent-soft);
}

.service-card > *:not(.service-card__bloom) { position: relative; z-index: 2; }

.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.service-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--light-text-mute);
  font-weight: 500;
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition:
    background 0.4s,
    color 0.4s,
    border-color 0.4s,
    transform 0.4s var(--ease),
    box-shadow 0.4s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 3px rgba(10, 10, 10, 0.06),
    0 8px 16px -8px rgba(10, 10, 10, 0.08);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: scale(1.08) rotate(-4deg);
  box-shadow:
    0 4px 12px rgba(200, 255, 0, 0.3),
    0 16px 40px -10px rgba(200, 255, 0, 0.4);
}

.service-card__title {
  font-size: 1.75rem;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--light-text);
}
.service-card__desc {
  font-size: 0.95rem;
  color: var(--light-text-dim);
  margin-bottom: 28px;
  line-height: 1.55;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--light-text-mute);
}
.service-card__list li::before { content: "→  "; color: var(--accent-deep); font-weight: 500; }

.service-card__result {
  margin-top: auto;
  padding: 18px;
  background: var(--light-elev);
  border: 1px solid var(--light-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.3s, border-color 0.3s;
}
.service-card:hover .service-card__result {
  background: var(--bg);
  border-color: var(--bg);
}
.service-card__result-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--light-text);
  line-height: 1;
  transition: color 0.3s;
}
.service-card:hover .service-card__result-num { color: var(--accent); }
.service-card__result-num em {
  color: var(--accent-deep);
  font-style: normal;
  font-size: 0.7em;
  font-weight: 500;
  margin-left: 2px;
  transition: color 0.3s;
}
.service-card:hover .service-card__result-num em { color: var(--accent); }
.service-card__result-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--light-text-mute);
  text-align: right;
  line-height: 1.4;
  transition: color 0.3s;
}
.service-card:hover .service-card__result-label {
  color: var(--text-on-ink, #A8A8A0);
}


/* ═══ CHATBOT — BIGGER, LIME, PULSING RING ═══ */
.chatbot-toggle {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(200, 255, 0, 0.4),
    0 24px 60px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow:
    0 16px 40px rgba(200, 255, 0, 0.55),
    0 32px 70px -10px rgba(0, 0, 0, 0.55);
}
.chatbot-toggle svg {
  width: 28px;
  height: 28px;
  color: var(--bg);
  position: relative;
  z-index: 2;
}

/* Pulsing ring */
.chatbot-toggle__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.7;
  animation: chatbot-ring-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.chatbot-toggle__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: chatbot-ring-pulse 2.4s ease-out infinite;
  animation-delay: 1.2s;
}
@keyframes chatbot-ring-pulse {
  0%   { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

.chatbot-toggle__dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 14px; height: 14px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.chatbot-toggle.notify .chatbot-toggle__dot { opacity: 1; }

/* Tooltip near toggle */
.chatbot-tooltip {
  position: fixed;
  bottom: 36px;
  right: 110px;
  background: var(--bg-elev);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 12px 18px;
  border-radius: var(--pill);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 89;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  animation: tooltip-in 0.5s var(--ease) both;
}
.chatbot-tooltip.show { display: inline-flex; }
.chatbot-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--bg-elev);
  border-right: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}
.chatbot-tooltip__x {
  background: none;
  border: none;
  color: var(--text-mute);
  font-size: 18px;
  line-height: 1;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
}
.chatbot-tooltip__x:hover { color: var(--text); }
@keyframes tooltip-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 540px) {
  .chatbot-tooltip { display: none !important; }
}

/* When chat panel is open, move ring + dim glow */
.chatbot-toggle.open {
  background: var(--bg-elev);
}
.chatbot-toggle.open svg { color: var(--accent); }
.chatbot-toggle.open .chatbot-toggle__ring { display: none; }

/* Adjust panel for taller toggle */
.chatbot-panel {
  bottom: 110px;
}

/* ═══════════════════════════════════════════════════════════
   v3.2 — WHITE NAV, DECLUTTER, SHOWREEL FADE, SERVICES RESTRUCTURE
   ═══════════════════════════════════════════════════════════ */

/* ═══ NAV: WHITE/LIGHT ═══ */
.nav {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--light-border);
}
.nav.scrolled {
  background: #FFFFFF;
  border-bottom-color: var(--light-border);
  box-shadow: 0 1px 24px -8px rgba(10, 10, 10, 0.08);
}
.nav__logo { color: var(--light-text); }
.nav__logo-dot {
  background: var(--accent-deep);
  box-shadow: 0 0 8px rgba(122, 154, 0, 0.3);
}
.nav__links a { color: var(--light-text-dim); }
.nav__links a:hover { color: var(--light-text); background: var(--light-elev); }
.nav__lang {
  color: var(--light-text-mute);
  border-color: var(--light-border);
}
.nav__lang:hover { color: var(--light-text); border-color: var(--light-text); }
.nav__burger span { background: var(--light-text); }
@media (max-width: 960px) {
  .nav.open .nav__links {
    background: var(--light-bg);
    border-bottom-color: var(--light-border);
  }
  .nav.open .nav__links a { border-bottom-color: var(--light-border); }
}

/* Top accent line — keeps lime brand presence on white nav */
.nav::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.nav.scrolled::before { opacity: 0.6; }


/* ═══ HERO: BOTTOM FADE TO BLACK (masks ticker) ═══ */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 10, 0.55) 50%, var(--bg) 100%);
  pointer-events: none;
  z-index: 4;
}
/* Hero overlay sits ABOVE the fade */
.hero__overlay { z-index: 6; }

/* Hero bottom now lighter (no quick stats) */
.hero__bottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.hero__cta-row {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(245, 241, 236, 0.12);
}


/* ═══ SERVICES: 3 PILLARS + COMBINED TILE ═══ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.services__combined {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* Combined tile — full-width, dark, lime accent */
.combined-tile {
  position: relative;
  padding: 48px;
  border-radius: var(--rad);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  border: 1px solid var(--bg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.combined-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 300px at 80% 50%, rgba(200, 255, 0, 0.16), transparent 60%),
    radial-gradient(ellipse 500px 250px at 10% 100%, rgba(122, 154, 0, 0.10), transparent 70%);
  pointer-events: none;
}
.combined-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 70px -20px rgba(0, 0, 0, 0.3);
}
.combined-tile > * { position: relative; z-index: 2; }
.combined-tile__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.combined-tile__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.combined-tile__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.combined-tile__chip {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text-dim);
}
.combined-tile__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.combined-tile__title em { font-style: italic; color: var(--accent); }
.combined-tile__desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: 20px;
}
.combined-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--pill);
  transition: background 0.25s, color 0.25s;
}
.combined-tile__cta:hover { background: var(--accent); color: var(--bg); }

@media (max-width: 760px) {
  .combined-tile { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; }
}


/* ═══ TIERS BLOCK (per service, 3 packages, no prices) ═══ */
.tiers {
  background: var(--bg);
  padding: clamp(80px, 12vh, 130px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tiers__head { margin-bottom: 56px; max-width: 36ch; }
.tiers__group { margin-bottom: 56px; }
.tiers__group:last-child { margin-bottom: 0; }
.tiers__group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.tiers__group-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tiers__group-icon svg { width: 18px; height: 18px; }
.tiers__group-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  flex: 1;
}
.tiers__group-sub {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 880px) {
  .tiers__grid { grid-template-columns: 1fr; }
}

.tier {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.tier:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--bg-card);
}
.tier__name {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.tier__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tier__lead {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.tier__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.tier__meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--accent-deep); border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.tier__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.45;
}
.tier__list li { display: flex; gap: 8px; align-items: flex-start; }
.tier__list li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
}
.tier__list li::after { content: ""; }
.tier__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  transition: all 0.25s var(--ease);
}
.tier__cta:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.tier--featured { border-color: var(--accent); background: var(--bg-card); position: relative; }
.tier--featured::before {
  content: "Most asked";
  position: absolute;
  top: -10px; left: 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--pill);
}
.tier--featured .tier__cta { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.tier--featured .tier__cta:hover { background: var(--bg); color: var(--accent); }


/* ═══ SCANNER FALLBACK MESSAGE (manual audit pitch) ═══ */
.scanner__manual {
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(200, 255, 0, 0.05);
  border: 1px solid rgba(200, 255, 0, 0.25);
  border-radius: var(--rad-sm);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--light-text-dim);
}
.scanner__manual strong { color: var(--light-text); }
.scanner__manual a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.scanner__manual a:hover { text-decoration-thickness: 2px; }


/* ═══ TANDENBLEKER REAL PHOTO MEDIA ═══ */
.case-tile__media--tandenbleker {
  background: var(--bg);
}
.case-tile__media--tandenbleker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.case-tile:hover .case-tile__media--tandenbleker img { transform: scale(1.04); filter: brightness(1.05); }


/* ═══════════════════════════════════════════════════════════
   MOBILE PASS — break < 760px
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 760px) {

  /* Hero */
  .hero { min-height: 580px; }
  .hero__overlay {
    padding: calc(var(--nav-h) + 16px) 16px 24px;
  }
  .hero__top { padding-top: 8px; }
  .hero__intro {
    font-size: 10px;
    padding: 8px 14px;
  }
  .hero__cta-row {
    padding: 14px;
    border-radius: var(--rad);
    flex-direction: column;
    width: 100%;
  }
  .hero__cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .hero::after { height: 100px; }

  /* Trust bar — vertical stack */
  .trust { padding: 24px 0; }
  .trust__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .trust__items {
    gap: 18px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .trust__items::-webkit-scrollbar { display: none; }
  .trust__item { white-space: nowrap; font-size: 14px; }

  /* Work showcase */
  .work-showcase__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .case-feature__body { padding: 28px 24px; }
  .case-feature__title { font-size: 1.75rem; }
  .case-feature__stats {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .case-feature__stat {
    padding: 14px 0;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .case-feature__stat:last-child { border-bottom: none; }

  /* Stats strip */
  .stats-strip { padding: 36px 0 !important; }
  .stats-strip__inner { gap: 24px 16px; }
  .stat-counter__num { font-size: 2.25rem; }

  /* Services */
  .services__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }
  .service-card { padding: 28px 24px; min-height: 0; }
  .service-card__title { font-size: 1.4rem; }
  .service-card__icon { width: 48px; height: 48px; }
  .service-card__icon svg { width: 22px; height: 22px; }

  /* Combined tile */
  .combined-tile { padding: 28px 24px; }
  .combined-tile__title { font-size: 1.5rem; }

  /* Why */
  .why__head { margin-bottom: 36px; }
  .why-tile { padding: 24px; }

  /* Scanner */
  .scanner__shell { padding: 28px 24px; }
  .scanner__title { font-size: 1.5rem; }
  .scanner__form { flex-direction: column; }
  .scanner__form .btn { width: 100%; justify-content: center; }
  .scanner__cta { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .scanner__cta .btn { width: 100%; justify-content: center; }

  /* Process */
  .process__head { margin-bottom: 36px; }

  /* Tiers */
  .tiers__group-head {
    flex-wrap: wrap;
    gap: 10px;
  }
  .tiers__group-title { font-size: 1.25rem; flex-basis: 70%; }
  .tier { padding: 24px; }

  /* Testimonials */
  .testi-card { padding: 28px 24px; }
  .testi-card__quote { font-size: 1rem; }
  .testi-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* FAQ */
  .faq__inner { gap: 24px; }

  /* CTA */
  .cta { padding: 64px 0 56px; }
  .cta__title { font-size: 2.25rem; }

  /* Footer */
  .footer__grid { gap: 32px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Chatbot — smaller on mobile, no tooltip */
  .chatbot-toggle {
    width: 60px;
    height: 60px;
    bottom: 16px;
    right: 16px;
  }
  .chatbot-toggle svg { width: 24px; height: 24px; }
  .chatbot-panel {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 88px;
    max-height: calc(100vh - 110px);
  }

  /* Cookie banner full width on mobile */
  .cookies {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 16px 18px;
  }
}

/* Tighter for very small phones */
@media (max-width: 400px) {
  .hero__quick-stat-num { font-size: 1.25rem; }
  .nav__lang { display: none; }
  .nav__right .btn--sm { padding: 8px 12px; font-size: 12px; }
}

/* Laminaatkamer tile — now uses real photo, override gradient */
.case-tile__media--laminaatkamer {
  background: var(--bg);
}
.case-tile__media--laminaatkamer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.case-tile:hover .case-tile__media--laminaatkamer img { transform: scale(1.04); filter: brightness(1.05); }

/* ═══════════════════════════════════════════════════════════
   v3.4 — DEVICE FRAMES, SCANNER FIX, MINI-DEMO
   ═══════════════════════════════════════════════════════════ */

/* ═══ DEVICE FRAME for case visuals ═══
   Replaces the "zoomed-in cropped photo" look with a proper
   browser-window display: dotted chrome bar on top, screenshot
   shown CONTAINED (not cover) on a dark background.
*/
.case-feature__media,
.case-tile__media {
  background:
    linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

/* Browser chrome: dots + mock URL bar */
.case-feature__media::before,
.case-tile__media::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: rgba(20, 20, 20, 0.95);
  border-bottom: 1px solid rgba(245, 241, 236, 0.06);
  z-index: 1;
  pointer-events: none;
}
.case-tile__media::before { height: 24px; }

/* Three traffic-light dots */
.case-feature__media::after,
.case-tile__media::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5F56;
  box-shadow:
    14px 0 0 #FFBD2E,
    28px 0 0 #27C93F;
  z-index: 2;
  pointer-events: none;
}
.case-tile__media::after {
  top: 9px;
  left: 11px;
  width: 6px; height: 6px;
  box-shadow:
    11px 0 0 #FFBD2E,
    22px 0 0 #27C93F;
}

/* Image now CONTAINED, not cover — full screenshot visible */
.case-feature__media img,
.case-tile__media img,
.case-tile__media--tandenbleker img,
.case-tile__media--laminaatkamer img {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 32px);
  object-fit: cover;
  object-position: top center;
  filter: none;
  transition: transform 0.6s var(--ease);
}
.case-tile__media img,
.case-tile__media--tandenbleker img,
.case-tile__media--laminaatkamer img {
  top: 24px;
  height: calc(100% - 24px);
}

/* Disable old hover brightness filter — clean image now */
.case-feature:hover .case-feature__media img,
.case-tile:hover .case-tile__media img,
.case-tile:hover .case-tile__media--tandenbleker img,
.case-tile:hover .case-tile__media--laminaatkamer img {
  transform: scale(1.02);
  filter: none;
}

/* Move metric badge OUT of image overlay — sits in a clean strip below chrome */
.case-feature__media-tag {
  top: 8px;
  right: 14px;
  left: auto;
  z-index: 5;
  font-size: 9px;
  padding: 4px 10px;
  background: var(--accent);
  box-shadow: none;
}
.case-feature__media-tag::before { display: none; }

.case-tile__media-tag {
  top: 4px;
  right: 10px;
  left: auto;
  font-size: 9px;
  padding: 3px 8px;
  background: rgba(20, 20, 20, 0.85);
}

/* Metric badge stays bottom-right but cleaner */
.case-feature__media-overlay { display: none; }


/* ═══ SCANNER MANUAL BOX — only show on demand ═══
   Hide by default, JS will reveal when needed.
*/
.scanner__manual { display: none; }
.scanner__manual.show { display: block; }


/* ═══ MINI-DEMO: LIVE WEBSITE BUILDER ═══ */
.minidemo {
  background: var(--bg);
  padding: clamp(80px, 12vh, 130px) 0;
  position: relative;
  overflow: hidden;
}
.minidemo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 500px at 30% 0%, rgba(200, 255, 0, 0.06), transparent 60%),
    radial-gradient(ellipse 700px 400px at 90% 100%, rgba(122, 154, 0, 0.05), transparent 70%);
  pointer-events: none;
}
.minidemo__inner { position: relative; z-index: 2; }
.minidemo__head {
  margin-bottom: 48px;
  max-width: 56ch;
}
.minidemo__head h2 em { color: var(--accent); font-style: normal; }

.minidemo__body {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 880px) {
  .minidemo__body { grid-template-columns: 1fr; }
}

/* Control panel */
.minidemo__panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
@media (max-width: 880px) { .minidemo__panel { position: static; } }

.minidemo__group { }
.minidemo__group-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.minidemo__group-label::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.minidemo__options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.minidemo__option {
  padding: 12px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
  letter-spacing: -0.005em;
}
.minidemo__option:hover {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-light);
}
.minidemo__option.is-active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}

/* Color swatches */
.minidemo__swatches {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.minidemo__swatch {
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  transition: all 0.2s;
}
.minidemo__swatch:hover { border-color: var(--border-light); }
.minidemo__swatch.is-active { border-color: var(--accent); }
.minidemo__swatch-dots {
  display: flex;
  gap: 3px;
}
.minidemo__swatch-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 236, 0.1);
}
.minidemo__swatch-name {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}
.minidemo__swatch.is-active .minidemo__swatch-name { color: var(--accent); }

.minidemo__cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.minidemo__cta .btn { width: 100%; justify-content: center; }

/* Preview area */
.minidemo__preview {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
  min-height: 580px;
  position: relative;
}
.minidemo__preview-chrome {
  height: 36px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.minidemo__preview-dots {
  display: flex;
  gap: 6px;
}
.minidemo__preview-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-light);
}
.minidemo__preview-url {
  flex: 1;
  background: var(--bg);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.minidemo__preview-url::before {
  content: "🔒 ";
  margin-right: 4px;
  opacity: 0.6;
}
.minidemo__preview-status {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.minidemo__preview-status::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 1.6s ease-in-out infinite;
}

.minidemo__preview-canvas {
  position: relative;
  width: 100%;
  height: calc(100% - 36px);
  min-height: 540px;
}
.minidemo__preview-canvas svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.4s var(--ease);
}

/* Brand row above preview */
.minidemo__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.minidemo__meta-tag { color: var(--accent); }
.minidemo__meta-tag::before {
  content: "↻ ";
}

@media (max-width: 760px) {
  .minidemo__preview { min-height: 480px; }
  .minidemo__preview-canvas { min-height: 444px; }
}

/* ═══════════════════════════════════════════════════════════
   v3.5 — MINI-DEMO EXPANDED
   ═══════════════════════════════════════════════════════════ */

/* Section feels louder — gradient bg + border accents */
.minidemo {
  background:
    radial-gradient(ellipse 1200px 600px at 30% 0%, rgba(200, 255, 0, 0.10), transparent 60%),
    radial-gradient(ellipse 800px 500px at 90% 100%, rgba(122, 154, 0, 0.08), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.minidemo__hero {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.minidemo__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.3);
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 24px;
}
.minidemo__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 1.6s ease-in-out infinite;
}
.minidemo__h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.minidemo__h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.minidemo__intro {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-dim);
}

/* Swatch grid 3 → 2 cols (since now 6 themes) */
.minidemo__swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* Cycle button */
.minidemo__cycle {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s var(--ease);
}
.minidemo__cycle:hover {
  border-color: var(--accent);
  color: var(--text);
}
.minidemo__cycle.is-playing {
  background: rgba(200, 255, 0, 0.06);
  border-color: var(--accent);
  color: var(--accent);
}
.minidemo__cycle-icon {
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  line-height: 1;
}

/* Viewer container (right side) */
.minidemo__viewer { display: flex; flex-direction: column; gap: 10px; }

.minidemo__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-wrap: wrap;
}

.minidemo__device {
  display: flex;
  gap: 2px;
  background: var(--bg);
  padding: 4px;
  border-radius: 8px;
}
.minidemo__device-btn {
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-mute);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.minidemo__device-btn:hover { color: var(--text-dim); background: var(--bg-elev); }
.minidemo__device-btn.is-active {
  background: var(--accent);
  color: var(--bg);
}

.minidemo__tabs {
  display: flex;
  gap: 2px;
  background: var(--bg);
  padding: 4px;
  border-radius: 8px;
}
.minidemo__tab {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.minidemo__tab:hover { color: var(--text-dim); }
.minidemo__tab.is-active {
  background: var(--accent);
  color: var(--bg);
}

/* Preview container — centered, responsive to device width */
.minidemo__preview {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
  position: relative;
  transition: max-width 0.35s var(--ease);
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}
.minidemo__preview[data-device="tablet"] { max-width: 640px; }
.minidemo__preview[data-device="mobile"] { max-width: 380px; }

.minidemo__preview-canvas {
  position: relative;
  width: 100%;
  min-height: 540px;
  height: auto;
}
.minidemo__preview-canvas svg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}
.minidemo__preview-canvas.is-fresh svg {
  opacity: 1;
}

/* Code tab panel */
.minidemo__code {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.minidemo__code[hidden] { display: none; }
.minidemo__code-head {
  padding: 12px 18px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
}
.minidemo__code-filename {
  color: var(--text);
  font-weight: 500;
}
.minidemo__code-meta {
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 9px;
}
.minidemo__code-pre {
  padding: 20px 24px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: #B8C0AA;
  overflow-x: auto;
  max-height: 540px;
}
.minidemo__code-pre code {
  font-family: inherit;
  white-space: pre;
}

.minidemo__preview[hidden] { display: none; }

/* Legend below preview */
.minidemo__legend {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.minidemo__legend-item strong {
  color: var(--accent);
  font-weight: 500;
}
.minidemo__legend-sep {
  opacity: 0.4;
}

/* Mobile pass for new elements */
@media (max-width: 880px) {
  .minidemo__hero { margin-bottom: 36px; }
  .minidemo__toolbar {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .minidemo__device,
  .minidemo__tabs {
    width: 100%;
    justify-content: center;
  }
  .minidemo__device-btn,
  .minidemo__tab {
    flex: 1;
  }
  .minidemo__legend { font-size: 9px; padding: 10px 12px; }
}
@media (max-width: 540px) {
  .minidemo__swatches { grid-template-columns: 1fr 1fr 1fr; }
  .minidemo__preview-canvas { min-height: 380px; }
  .minidemo__legend {
    justify-content: center;
    text-align: center;
  }
}

/* Section spacing polish */
.minidemo { padding: clamp(80px, 14vh, 150px) 0; }

/* ═══════════════════════════════════════════════════════════
   v3.7 — MINI-DEMO WHITE, SCANNER HIGH-TECH DARK
   ═══════════════════════════════════════════════════════════ */

/* ─── MINI-DEMO ON WHITE ─── */
.light-zone .minidemo {
  background:
    radial-gradient(ellipse 1200px 600px at 30% 0%, rgba(200, 255, 0, 0.07), transparent 60%),
    radial-gradient(ellipse 800px 500px at 90% 100%, rgba(122, 154, 0, 0.04), transparent 70%),
    var(--light-bg);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}
.light-zone .minidemo__h2 { color: var(--light-text); }
.light-zone .minidemo__intro { color: var(--light-text-dim); }
.light-zone .minidemo__badge {
  background: rgba(122, 154, 0, 0.08);
  border-color: rgba(122, 154, 0, 0.3);
  color: var(--accent-deep);
}
.light-zone .minidemo__badge-dot {
  background: var(--accent-deep);
  box-shadow: 0 0 12px rgba(122, 154, 0, 0.4);
}

.light-zone .minidemo__panel {
  background: var(--light-bg);
  border-color: var(--light-border);
  box-shadow: 0 1px 2px rgba(10,10,10,0.04), 0 12px 32px -16px rgba(10,10,10,0.08);
}
.light-zone .minidemo__group-label {
  color: var(--light-text-mute);
}
.light-zone .minidemo__group-label::before {
  background: var(--accent-deep);
}

.light-zone .minidemo__option {
  background: var(--light-elev);
  border-color: var(--light-border);
  color: var(--light-text-dim);
}
.light-zone .minidemo__option:hover {
  background: var(--light-bg);
  color: var(--light-text);
  border-color: var(--light-border-strong);
}
.light-zone .minidemo__option.is-active {
  background: var(--light-text);
  color: var(--light-bg);
  border-color: var(--light-text);
}

.light-zone .minidemo__swatch {
  background: var(--light-elev);
  border-color: var(--light-border);
}
.light-zone .minidemo__swatch:hover { border-color: var(--light-border-strong); }
.light-zone .minidemo__swatch.is-active {
  border-color: var(--light-text);
  background: var(--light-bg);
  box-shadow: 0 0 0 1px var(--light-text) inset;
}
.light-zone .minidemo__swatch-name { color: var(--light-text-mute); }
.light-zone .minidemo__swatch.is-active .minidemo__swatch-name { color: var(--light-text); }
.light-zone .minidemo__swatch-dot { border-color: var(--light-border); }

.light-zone .minidemo__cycle {
  background: var(--light-elev);
  border-color: var(--light-border);
  color: var(--light-text-dim);
}
.light-zone .minidemo__cycle:hover {
  border-color: var(--light-text);
  color: var(--light-text);
}
.light-zone .minidemo__cycle.is-playing {
  background: rgba(122, 154, 0, 0.06);
  border-color: var(--accent-deep);
  color: var(--accent-deep);
}
.light-zone .minidemo__cycle-icon {
  background: var(--light-text);
  color: var(--light-bg);
}
.light-zone .minidemo__cycle.is-playing .minidemo__cycle-icon {
  background: var(--accent-deep);
  color: var(--light-bg);
}

.light-zone .minidemo__cta {
  border-top-color: var(--light-border);
}

/* Toolbar (device + tabs) on white */
.light-zone .minidemo__toolbar {
  background: var(--light-elev);
  border-color: var(--light-border);
}
.light-zone .minidemo__device,
.light-zone .minidemo__tabs {
  background: var(--light-bg);
}
.light-zone .minidemo__device-btn {
  color: var(--light-text-mute);
}
.light-zone .minidemo__device-btn:hover {
  background: var(--light-elev);
  color: var(--light-text-dim);
}
.light-zone .minidemo__device-btn.is-active {
  background: var(--light-text);
  color: var(--light-bg);
}
.light-zone .minidemo__tab {
  color: var(--light-text-mute);
}
.light-zone .minidemo__tab:hover { color: var(--light-text-dim); }
.light-zone .minidemo__tab.is-active {
  background: var(--light-text);
  color: var(--light-bg);
}

/* Preview shell on white — keep the device frame look but lighter */
.light-zone .minidemo__preview {
  background: var(--light-elev);
  border-color: var(--light-border);
  box-shadow: 0 24px 60px -28px rgba(10, 10, 10, 0.18);
}

/* Code panel stays dark — looks more like a code editor */
.light-zone .minidemo__code {
  background: #0d0d0d;
  border-color: var(--light-border);
  box-shadow: 0 24px 60px -28px rgba(10, 10, 10, 0.18);
}
.light-zone .minidemo__code-head {
  background: #1a1a1a;
  border-bottom-color: #2a2a2a;
}
.light-zone .minidemo__code-filename { color: #f5f1ec; }
.light-zone .minidemo__code-meta { color: #6b6b62; }

.light-zone .minidemo__legend {
  background: var(--light-elev);
  border-color: var(--light-border);
  color: var(--light-text-mute);
}
.light-zone .minidemo__legend-item strong { color: var(--accent-deep); }


/* ─── SCANNER: HIGH-TECH DARK ─── */
/* Scanner section on dark with grid + scan-line motif */
#scanner {
  background:
    radial-gradient(ellipse 1000px 500px at 50% 0%, rgba(200, 255, 0, 0.08), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Subtle grid backdrop */
#scanner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent 90%);
}

/* Scan-line animation */
#scanner::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
  filter: blur(1px);
  animation: scan-line 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes scan-line {
  0%   { top: 0%; opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

#scanner .wrap { position: relative; z-index: 2; }

#scanner .scanner__shell {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 255, 0, 0.18);
  box-shadow:
    0 1px 0 rgba(245, 241, 236, 0.05) inset,
    0 0 0 1px rgba(200, 255, 0, 0.06),
    0 40px 100px -30px rgba(0, 0, 0, 0.8),
    0 0 80px -20px rgba(200, 255, 0, 0.18);
}
#scanner .scanner__shell::before {
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  height: 2px;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Corner brackets — high-tech feel */
#scanner .scanner__shell {
  position: relative;
}
#scanner .scanner__shell > .scanner__head::before,
#scanner .scanner__shell > .scanner__head::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
  pointer-events: none;
}
#scanner .scanner__shell > .scanner__head::before {
  top: 14px;
  left: 14px;
  border-right: none;
  border-bottom: none;
}
#scanner .scanner__shell > .scanner__head::after {
  bottom: 14px;
  right: 14px;
  border-left: none;
  border-top: none;
}

#scanner .eyebrow {
  color: var(--accent);
}
#scanner .eyebrow::before {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
#scanner .scanner__title {
  color: var(--text);
  position: relative;
}
#scanner .scanner__title::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 6px;
  vertical-align: -2px;
  animation: scanner-cursor 1.06s step-end infinite;
}
@keyframes scanner-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
#scanner .scanner__intro,
#scanner p,
#scanner .lead {
  color: var(--text-dim);
}

/* Input field — terminal style */
#scanner .scanner__input {
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(200, 255, 0, 0.2);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
}
#scanner .scanner__input::placeholder {
  color: var(--text-mute);
  font-family: var(--mono);
}
#scanner .scanner__input:focus {
  outline: none;
  background: rgba(10, 10, 10, 0.95);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.12), 0 0 20px -5px var(--accent-glow);
}
#scanner .scanner__hint {
  color: var(--text-mute);
  font-family: var(--mono);
}
#scanner .scanner__hint::before {
  content: "▸ ";
  color: var(--accent);
}

/* Loading state — terminal feel */
#scanner .scanner__loading {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
#scanner .scanner__spinner {
  border-color: rgba(200, 255, 0, 0.2);
  border-top-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Score cards — neon high-tech panels */
#scanner .scanner__scores {
  gap: 12px;
}
#scanner .scanner__score {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(200, 255, 0, 0.15);
  border-radius: var(--rad-sm);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
}
#scanner .scanner__score::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.5;
}
#scanner .scanner__score-value {
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  text-shadow: 0 0 24px rgba(245, 241, 236, 0.1);
}
#scanner .scanner__score-value.good {
  color: #4FE1A4;
  text-shadow: 0 0 24px rgba(79, 225, 164, 0.4);
}
#scanner .scanner__score-value.warn {
  color: #FFB547;
  text-shadow: 0 0 24px rgba(255, 181, 71, 0.4);
}
#scanner .scanner__score-value.bad {
  color: #FF5C4D;
  text-shadow: 0 0 24px rgba(255, 92, 77, 0.4);
}
#scanner .scanner__score-label {
  color: var(--text-mute);
  font-family: var(--mono);
}

#scanner .scanner__metrics {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border);
}
#scanner .scanner__metric-label {
  color: var(--text-mute);
  font-family: var(--mono);
}
#scanner .scanner__metric-value {
  color: var(--text);
  font-family: var(--mono);
}

/* Run scan button — heavy lime glow */
#scanner .btn--primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  box-shadow: 0 0 24px -4px var(--accent-glow);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}
#scanner .btn--primary:hover {
  box-shadow: 0 0 32px -2px var(--accent-glow), 0 0 60px -10px var(--accent-glow);
  transform: translateY(-1px);
}

/* Error state on dark */
#scanner .scanner__error {
  background: rgba(184, 58, 46, 0.12);
  border: 1px solid rgba(184, 58, 46, 0.4);
  color: var(--text);
  border-radius: var(--rad-sm);
}
#scanner .scanner__error strong { color: var(--text); }
#scanner .scanner__highdemand {
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.10), rgba(122, 154, 0, 0.04)) !important;
  border: 1px solid rgba(200, 255, 0, 0.25) !important;
  color: var(--text) !important;
}
#scanner .scanner__highdemand strong { color: var(--text) !important; }
#scanner .scanner__highdemand span { color: var(--text-dim) !important; }
