/* ─── TOKENS ─── */
:root {
  --white:     #ffffff;
  --surface:   #FAFAF5;
  --surface-2: #EDEAE0;
  --blue:      #2340EA;
  --blue-d:    #1B33C4;
  --blue-l:    #E6EBFF;
  --blue-l2:   #C9D4FF;
  --verdure:      #1F9D72;
  --verdure-tint: #E0F2EA;
  --amber:        #E8A340;
  --amber-tint:   #FCEFD8;
  --alert:        #D83A2E;
  --alert-tint:   #FBDDD9;
  --red:       #FF5B49;
  --red-l:     #FFF1ED;
  --red-l2:    #FFE1DB;
  --yellow:    #fbbc04;
  --text:      #0A1338;
  --text-2:    #5C6580;
  --text-3:    #80869A;
  --border:    #DAD6C9;
  --border-2:  #EEEAE0;
  --shadow-sm: 0 1px 2px rgba(10,19,56,0.06), 0 1px 3px 1px rgba(10,19,56,0.05);
  --shadow:    0 2px 6px 2px rgba(10,19,56,0.08), 0 1px 2px rgba(10,19,56,0.05);
  --shadow-lg: 0 4px 12px 3px rgba(10,19,56,0.10), 0 1px 3px rgba(10,19,56,0.07);
  --r:         10px;
  --r-lg:      16px;
  --r-xl:      24px;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── SCROLL PROGRESS ─── */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--verdure), var(--yellow), var(--red));
  z-index: 999; transition: width 0.05s linear;
}

/* ─── NAV ─── */
header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
header.shadow { box-shadow: 0 1px 8px rgba(60,64,67,0.12); }

.nav {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 64px; gap: 8px;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  margin-right: 12px; flex-shrink: 0;
}
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--blue); display: flex;
  align-items: center; justify-content: center;
}
.logo-icon img { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.04em;
  color: var(--text);
}

.nav-divider {
  width: 1px; height: 24px; background: var(--border);
  margin: 0 12px; flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1;
}
.nav-link {
  padding: 8px 12px; border-radius: 4px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  cursor: pointer; border: none; background: none;
  font-family: var(--font);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--surface); color: var(--text); }
.nav-link.active { color: var(--blue); }

.nav-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  margin-left: auto;
}

/* Language dropdown */
.lang-wrap { position: relative; }
.lang-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 4px;
  border: none; background: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  font-family: var(--font);
  transition: background 0.15s, color 0.15s;
}
.lang-trigger:hover { background: var(--surface); color: var(--text); }
.lang-trigger svg { flex-shrink: 0; }
.lang-current { font-weight: 600; }
.lang-dropdown {
  position: absolute; top: calc(100% + 4px); right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  min-width: 160px; z-index: 300;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}
.lang-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  font-size: 0.875rem; color: var(--text);
  transition: background 0.1s;
}
.lang-option:hover { background: var(--surface); }
.lang-option.selected { color: var(--blue); font-weight: 600; }
.lang-option .lang-flag { font-size: 1rem; }

.nav-cta {
  padding: 8px 20px; border-radius: 4px;
  background: var(--blue); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  font-family: var(--font); border: none; cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--blue-d); box-shadow: var(--shadow); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-divider { display: none; }
}

/* ─── HERO ─── */
.hero-section {
  width: 100%;
  background: var(--surface);
  padding: 80px 0 72px;
}
.hero-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-l); border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.8rem; font-weight: 600; color: var(--blue);
  margin-bottom: 20px; letter-spacing: 0.01em;
}
.hero-eyebrow img { height: 14px; width: 14px; object-fit: contain; }

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: normal; color: var(--blue);
}

.hero-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.75; max-width: 500px; margin-bottom: 32px;
}

.hero-checks {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 36px;
}
.hcheck {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--text-2);
}
.hcheck-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--verdure); flex-shrink: 0;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  padding: 12px 24px; border-radius: var(--r);
  background: var(--blue); color: #fff;
  font-size: 0.925rem; font-weight: 600; font-family: var(--font);
  border: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { background: var(--blue-d); box-shadow: var(--shadow); }

.btn-ghost {
  padding: 12px 24px; border-radius: var(--r);
  background: var(--white); color: var(--blue);
  font-size: 0.925rem; font-weight: 600; font-family: var(--font);
  border: 1px solid var(--border); cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-ghost:hover { background: var(--blue-l); border-color: var(--blue-l2); }

/* ─── FLOOR PLAN WIDGET ─── */
.fp-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.fp-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.fp-topbar-left {
  display: flex; align-items: center; gap: 8px;
}
.fp-topbar-left img { height: 18px; width: 18px; object-fit: contain; }
.fp-topbar-left span {
  font-size: 0.8rem; font-weight: 500; color: var(--text-2);
}
.fp-floors {
  display: flex; gap: 4px;
}
.fp-floor-btn {
  padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  font-family: var(--font); cursor: pointer;
  border: 1px solid var(--border); background: var(--white); color: var(--text-2);
  transition: all 0.15s;
}
.fp-floor-btn.active {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.fp-floor-btn:hover:not(.active) { background: var(--blue-l); border-color: var(--blue-l2); color: var(--blue); }

.fp-body { background: #f8fbff; }

.fp-level { display: none; }
.fp-level.active { display: block; }

.fp-footer {
  padding: 10px 16px; background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.fp-footer-left { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-2); }
.fp-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verdure); animation: pulse 2s infinite; }
.fp-eta { font-size: 0.78rem; color: var(--blue); font-weight: 600; }

/* ─── PHONE HERO ─── */
.phone-hero {
  display: flex; align-items: center; justify-content: center;
  flex: 1; padding: 24px 0;
}
.phone-frame {
  position: relative;
  width: 280px; height: 560px;
  background: #0A1338;
  border-radius: 44px; padding: 14px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.12),
    0 0 0 3px #1A1F3A,
    0 32px 80px rgba(10,19,56,0.45),
    0 8px 24px rgba(10,19,56,0.25);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 130px; height: 26px;
  background: #0A1338;
  border-radius: 0 0 18px 18px; z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px; overflow: hidden; background: #000;
}
.phone-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-home-bar {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 4px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px; z-index: 10;
}
@media (max-width: 768px) {
  .phone-frame { width: 220px; height: 440px; border-radius: 36px; }
  .phone-notch { width: 100px; height: 20px; }
}

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

/* SVG animations */
.route-path { stroke-dasharray: 6 4; stroke-dashoffset: 0; animation: march 1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -20; } }
.you-are-here { animation: here-pulse 2s ease-in-out infinite; }
@keyframes here-pulse { 0%,100%{r:5;opacity:1} 50%{r:7;opacity:.7} }
.ping-ring { animation: ping 2s ease-out infinite; }
@keyframes ping { 0%{r:6;opacity:.6;stroke-width:2} 100%{r:20;opacity:0;stroke-width:.5} }

/* ─── REVEAL ─── */
.reveal { opacity:0; transform:translateY(56px) scale(0.96); transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity:1; transform:translateY(0) scale(1); }
.reveal.delay-1 { transition-delay:.08s; }
.reveal.delay-2 { transition-delay:.18s; }
.reveal.delay-3 { transition-delay:.28s; }
.reveal.delay-4 { transition-delay:.38s; }

/* ─── SECTIONS ─── */
.section { width:100%; padding: 72px 0; }
.section.surface { background: var(--surface-2); }
.section.white   { background: var(--white); }
.section-inner { max-width:1440px; margin:0 auto; padding:0 24px; }
.section-inner.narrow { max-width: 760px; }

.section-eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.15; color: var(--text);
  margin-bottom: 14px;
}
.section-title em { font-style:normal; color:var(--blue); }
.section-sub {
  font-size: 1rem; color: var(--text-2);
  line-height: 1.75; max-width: 560px;
}

/* ─── VIDEO SECTION ─── */
.video-section { width:100%; background: var(--white); padding: 72px 0; }
.video-section .section-inner { text-align: center; }
.video-section .section-sub { margin: 10px auto 0; }
.video-frame-wrap {
  margin-top: 40px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--text);
}
.video-chrome {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.chrome-dots { display:flex; gap:6px; flex-shrink:0; }
.chrome-dots span { width:11px; height:11px; border-radius:50%; }
.chrome-dots span:nth-child(1) { background:#ff5f57; }
.chrome-dots span:nth-child(2) { background:#febc2e; }
.chrome-dots span:nth-child(3) { background:#28c840; }
.chrome-bar {
  flex:1; background:var(--white);
  border:1px solid var(--border); border-radius:100px;
  padding:5px 14px;
  display:flex; align-items:center; gap:8px;
  font-size:0.78rem; color:var(--text-2);
}
.chrome-bar img { height:14px; width:14px; object-fit:contain; flex-shrink:0; }
.video-frame-wrap video { width:100%; display:block; max-height:580px; object-fit:cover; }

/* ─── HOW IT WORKS ─── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 40px;
}
@media (max-width:720px) { .steps-grid { grid-template-columns:1fr; } }

/* ─── PIPELINE ─── */
.pipeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; margin-top: 56px;
}

.pipeline-track {
  position: absolute;
  top: 200px; /* visual(148) + gap(24) + half-node(28) */
  left: 12.5%; right: 12.5%;
  height: 2px; background: var(--border-2);
  border-radius: 2px; z-index: 0; pointer-events: none;
}
.pipeline-track-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--blue);
  border-radius: 2px;
  transition: width 1.6s cubic-bezier(.22,1,.36,1) .5s;
}
.pipeline.visible .pipeline-track-fill { width: 100%; }

.pipeline-stage {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 12px; position: relative; z-index: 1;
}
.pipeline-visual {
  width: 100%; height: 148px;
  background: var(--white); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
  margin-bottom: 24px;
}
.pipeline-node {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--text-3);
  position: relative; z-index: 2; flex-shrink: 0;
  transition: border-color .5s ease, color .5s ease, background .5s ease;
}
.pipeline.visible .pipeline-node {
  border-color: var(--blue); color: var(--blue);
  background: var(--blue-l);
}
.pipeline-stage:nth-child(2) .pipeline-node { transition-delay: .35s; }
.pipeline-stage:nth-child(3) .pipeline-node { transition-delay: .7s; }
.pipeline-stage:nth-child(4) .pipeline-node { transition-delay: 1.05s; }
.pipeline.visible .pipeline-node-live {
  border-color: var(--verdure); color: var(--verdure);
  background: #e8f5ec; /* solid — rgba transparent shows the line behind */
}

.pipeline-stage-text { margin-top: 18px; padding: 0 4px; }
.pipeline-stage-text .step-h { font-size: 0.9rem; margin-bottom: 6px; }
.pipeline-stage-text .step-p { font-size: 0.8rem; margin-bottom: 10px; line-height: 1.6; }

.pipeline-chips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pchip {
  display: inline-block; padding: 2px 9px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}
.pchip-amber { background: rgba(251,188,4,.12); color: #9a6c00; border-color: rgba(251,188,4,.35); }
.pchip-green { background: rgba(31,157,114,.1); color: #11563F; border-color: rgba(31,157,114,.25); }
.pchip-blue  { background: var(--blue-l); color: var(--blue); border-color: var(--blue-l2); }

@media (max-width:900px) {
  .pipeline { grid-template-columns: repeat(2,1fr); gap: 36px 0; }
  .pipeline-track { display: none; }
}

/* ─── MOBILE: vertical timeline ─── */
@media (max-width:520px) {
  .pipeline {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative; /* needed for ::before line */
  }
  .pipeline-track { display: none; }
  .pipeline-visual { display: none; }

  /* Full-height vertical line behind all nodes */
  .pipeline::before {
    content: '';
    position: absolute;
    left: 13px;   /* center of 28px node */
    top: 14px;    /* half of first node */
    bottom: 14px; /* half of last node */
    width: 2px;
    background: var(--border);
    border-radius: 2px;
    z-index: 0;
  }

  .pipeline-stage {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 24px 0;
    position: relative;
    z-index: 1;
  }
  .pipeline-stage:last-child { padding-bottom: 0; }

  /* Small bullet node — stays in flex flow, solid bg covers line */
  .pipeline-node {
    width: 28px; height: 28px;
    font-size: 0.65rem;
    flex-shrink: 0;
    background: var(--white); /* solid fallback before activation */
    position: relative;
    z-index: 2;
  }
  /* Ensure active states stay solid on mobile too */
  .pipeline.visible .pipeline-node      { background: var(--blue-l); }
  .pipeline.visible .pipeline-node-live { background: #e8f5ec; }

  .pipeline-stage-text { margin-top: 3px; flex: 1; }
  .pipeline-stage-text .step-h { font-size: 0.95rem; }
  .pipeline-stage-text .step-p { font-size: 0.84rem; }
  .pipeline-chips { justify-content: flex-start; }
}

/* ─── VISUAL 1: FILES → BLUEPRINT ─── */
.pv-files { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

.pv-file-stack { position: absolute; animation: pv-stack-out 8s ease-in-out infinite; }
@keyframes pv-stack-out {
  0%, 42%  { opacity: 1; transform: scale(1) translateY(0); }
  55%, 100% { opacity: 0; transform: scale(.88) translateY(-10px); }
}

.pv-file {
  position: absolute; width: 44px; height: 56px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 4px 10px 10px 4px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px;
  box-shadow: var(--shadow-sm);
  transform: translate(calc(var(--fi) * 7px), calc(var(--fi) * -6px)) rotate(calc(var(--fi) * -4deg));
}
.pv-file::before { /* folded corner */
  content: ''; position: absolute; top: 0; right: 0; width: 12px; height: 12px;
  background: var(--surface); border-left: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border);
}
.pv-file::after { /* color stripe */
  content: ''; position: absolute; top: 12px; left: 0; right: 0; height: 2.5px;
}
.pv-file:nth-child(1)::after { background: var(--red); }
.pv-file:nth-child(2)::after { background: var(--blue); }
.pv-file:nth-child(3)::after { background: var(--verdure); }
.pv-file-label { font-size: 0.5rem; font-weight: 700; letter-spacing: .04em; color: var(--text-3); }

.pv-blueprint {
  position: absolute; width: calc(100% - 20px); height: calc(100% - 20px);
  background:
    linear-gradient(rgba(35,64,234,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,64,234,.1) 1px, transparent 1px),
    #eef2ff;
  background-size: 16px 16px; border-radius: var(--r); overflow: hidden;
  animation: pv-blueprint-in 8s ease-in-out infinite;
}
@keyframes pv-blueprint-in {
  0%, 45%  { opacity: 0; transform: scale(.93); }
  58%, 90% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(.93); }
}
.pv-bp-room {
  position: absolute; background: rgba(35,64,234,.14);
  border: 1.5px solid rgba(35,64,234,.55); border-radius: 2px;
}
.pv-bp-r1 { left:7%; top:10%; width:40%; height:45%; }
.pv-bp-r2 { right:7%; top:10%; width:30%; height:36%; }
.pv-bp-r3 { left:7%; bottom:10%; width:52%; height:30%; }
.pv-bp-corridor { right:7%; bottom:10%; width:18%; height:30%; background:rgba(35,64,234,.06); border:1.5px dashed rgba(35,64,234,.35); }
.pv-bp-poi { position:absolute; width:5px; height:5px; border-radius:50%; background:var(--yellow); }
.pv-bp-poi-1 { left:27%; top:33%; }
.pv-bp-poi-2 { right:22%; top:28%; }

/* ─── VISUAL 2: IMDF LAYERS ─── */
.pv-layers { display:flex; flex-direction:column; align-items:center; gap:10px; padding:14px; }
.pv-layer-map { width:68px; height:60px; position:relative; }
.pv-lmap-base { position:absolute; inset:0; border:1.5px solid var(--blue); border-radius:4px; background:var(--blue-l); }
.pv-lmap-room { position:absolute; border-radius:2px; background:rgba(35,64,234,.2); border:1px solid rgba(35,64,234,.5); }
.pv-lmap-r1 { left:10%; top:10%; width:40%; height:38%; }
.pv-lmap-r2 { right:10%; top:10%; width:28%; height:30%; }
.pv-lmap-r3 { left:10%; bottom:10%; width:70%; height:28%; }
.pv-lmap-poi { position:absolute; width:7px; height:7px; border-radius:50%; background:var(--yellow); border:1.5px solid white; }
.pv-lmap-poi-1 { left:28%; top:23%; }
.pv-lmap-poi-2 { right:22%; top:20%; }
.pv-layer-chips { display:flex; flex-wrap:wrap; gap:4px; justify-content:center; }
.pv-lchip {
  font-size: 0.62rem; font-weight: 600; padding: 2px 8px; border-radius: 100px;
  color: var(--blue); background: var(--blue-l); border: 1px solid var(--blue-l2);
  animation: pv-lchip-cycle 4s ease-in-out infinite; opacity: 0;
}
.pv-lchip:nth-child(1) { animation-delay: 0s; }
.pv-lchip:nth-child(2) { animation-delay: 1s; }
.pv-lchip:nth-child(3) { animation-delay: 2s; }
.pv-lchip:nth-child(4) { animation-delay: 3s; }
@keyframes pv-lchip-cycle {
  0%, 12%       { opacity: 0; transform: translateY(4px) scale(.8); }
  20%, 30%      { opacity: 1; transform: translateY(0) scale(1); }
  37%, 100%     { opacity: 0; transform: translateY(-4px) scale(.8); }
}

/* ─── VISUAL 3: VIEWER ─── */
.pv-viewer { position:relative; width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.pv-screen {
  width:74px; height:106px; border-radius:10px;
  background:#101c38; border:2px solid #2a3d6b;
  position:relative; overflow:hidden; box-shadow:var(--shadow);
}
.pv-screen-map {
  position:absolute; inset:0;
  background:linear-gradient(150deg,#142850 0%,#101c38 100%);
}
.pv-screen-map::before {
  content:''; position:absolute; inset:10px;
  border:1px solid rgba(255,255,255,.08); border-radius:4px;
  background:rgba(255,255,255,.04);
}
.pv-map-poi {
  position:absolute; left:var(--x); top:var(--y);
  width:7px; height:7px; border-radius:50%;
  background:var(--yellow); transform:translate(-50%,-50%);
  box-shadow:0 0 0 2px rgba(251,188,4,.25);
}
.pv-map-you {
  position:absolute; left:var(--x); top:var(--y);
  width:9px; height:9px; border-radius:50%;
  background:var(--blue); transform:translate(-50%,-50%);
  animation:pv-you-pulse 2s ease-in-out infinite;
}
@keyframes pv-you-pulse {
  0%,100% { box-shadow:0 0 0 2px rgba(35,64,234,.5); }
  50%     { box-shadow:0 0 0 5px rgba(35,64,234,.15); }
}
.pv-route-line {
  position:absolute; left:28%; top:50%; width:30%; height:2px;
  background:linear-gradient(90deg,var(--yellow),var(--blue)); border-radius:1px;
  transform-origin:left center; animation:pv-route-draw 3s ease-in-out infinite;
}
@keyframes pv-route-draw {
  0%,15%   { transform:scaleX(0); opacity:1; }
  50%,70%  { transform:scaleX(1); opacity:1; }
  85%,100% { transform:scaleX(0); opacity:0; }
}
.pv-viewer-chips {
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  display:flex; flex-direction:column; gap:5px;
}
.pv-vchip {
  font-size:0.52rem; font-weight:700; padding:2px 6px; border-radius:100px;
  background:var(--white); color:var(--blue); border:1px solid var(--blue-l2);
  box-shadow:var(--shadow-sm); animation:pv-lchip-cycle 3.5s ease-in-out infinite; opacity:0;
  white-space:nowrap;
}
.pv-vchip:nth-child(1) { animation-delay:0s; }
.pv-vchip:nth-child(2) { animation-delay:1.17s; }
.pv-vchip:nth-child(3) { animation-delay:2.33s; }

/* ─── VISUAL 4: LIVE ON MAPS ─── */
.pv-maps { display:flex; flex-direction:column; align-items:center; gap:12px; }
.pv-maps-icons { display:flex; gap:12px; align-items:center; }
.pv-maps-icons img, .pv-maps-icons svg { border-radius:9px; box-shadow:var(--shadow); }
.pv-live-badge {
  display:flex; align-items:center; gap:6px;
  font-size:0.72rem; font-weight:700; color:var(--verdure);
  background:rgba(31,157,114,.1); padding:4px 14px;
  border-radius:100px; border:1px solid rgba(31,157,114,.25);
  letter-spacing:.04em;
}
.pv-live-dot {
  width:7px; height:7px; border-radius:50%; background:var(--verdure); flex-shrink:0;
  animation:pv-live-pulse 1.5s ease-in-out infinite;
}
@keyframes pv-live-pulse {
  0%,100% { box-shadow:0 0 0 0 rgba(31,157,114,.5); }
  50%     { box-shadow:0 0 0 5px rgba(31,157,114,0); }
}

/* ─── WYG CARDS ─── */
.wyg-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.wyg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.wyg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--blue);
}
.wyg-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.wyg-card-illo { width: 72px; height: 72px; margin-bottom: 16px; flex-shrink: 0; }
.wyg-card-h { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.wyg-card-p {
  font-size: .82rem; color: var(--text-2); line-height: 1.65;
  margin-bottom: 14px; flex: 1;
}
.wyg-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.wyg-chip {
  font-size: .7rem; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
  border: 1px solid; letter-spacing: .01em;
  color: var(--blue); background: var(--blue-l); border-color: rgba(35,64,234,.2);
}
/* SVG micro-animations */
.wyg-pin-bounce { animation: pinBounce 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
.wyg-route-march { animation: marchRoute .8s linear infinite; }
.wyg-scan { animation: wygScan 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.wyg-ping { animation: wygPing 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.wyg-pulse-ring { animation: wygPulseRing 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@media (max-width: 900px) {
  .wyg-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wyg-cards { grid-template-columns: 1fr; gap: 12px; }
}

.step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.step-num {
  position: absolute; top: 20px; right: 20px;
  font-size: 2.5rem; font-weight: 800; color: var(--border);
  line-height:1;
}
.step-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-size: 20px; margin-bottom: 16px;
}
.step-icon.blue  { background: var(--blue-l); }
.step-icon.green { background: rgba(31,157,114,0.1); }
.step-icon.amber { background: rgba(251,188,4,0.12); }
.step-h { font-size: 1rem; font-weight: 700; color:var(--text); margin-bottom: 8px; }
.step-p { font-size: 0.875rem; color: var(--text-2); line-height:1.7; }

/* ─── CASES ─── */
.cases-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 16px; margin-top: 40px;
}
.case-card {
  background: var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.case-card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.case-icon { color: var(--blue); margin-bottom: 12px; }
.case-icon svg { width: 28px; height: 28px; display: block; }
.case-h { font-size: 0.95rem; font-weight: 700; color:var(--text); margin-bottom:6px; }
.case-p { font-size: 0.84rem; color:var(--text-2); line-height:1.65; margin-bottom:14px; }
.case-tag {
  display:inline-block; padding:3px 10px;
  border-radius:100px; font-size:0.75rem; font-weight:600;
  background:var(--blue-l); color:var(--blue);
  border:1px solid var(--blue-l2);
}

/* ─── USE CASE SWITCHER (pills + panel) ─── */
.usecase-switcher { margin-top: 40px; }
.usecase-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.usecase-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--font); font-size: 0.82rem; font-weight: 600; color: var(--text-2);
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.usecase-pill svg { width: 17px; height: 17px; flex-shrink: 0; }
.usecase-pill:hover { border-color: var(--blue-l2); background: var(--blue-l); color: var(--blue); }
.usecase-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.usecase-panel-wrap { position: relative; }
.usecase-panel {
  display: none;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  padding: 40px; align-items: center; gap: 40px;
  animation: usecaseFade .35s ease;
}
.usecase-panel.active { display: flex; }
@keyframes usecaseFade { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }

.usecase-panel-icon {
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--blue-l); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.usecase-panel-icon svg { width: 52px; height: 52px; }

.usecase-panel-body { flex: 1; min-width: 0; }
.usecase-panel-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.usecase-panel-body p { font-size: 0.92rem; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }

@media (max-width: 720px) {
  .usecase-panel { flex-direction: column; align-items: flex-start; padding: 28px; gap: 20px; }
  .usecase-panel-icon { width: 76px; height: 76px; }
  .usecase-panel-icon svg { width: 36px; height: 36px; }
}

/* ─── TWO-COL ─── */
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
@media (max-width:800px) { .two-col { grid-template-columns:1fr; gap:40px; } }

/* ─── TECH PILLS ─── */
.tech-pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.tech-pill {
  display:flex; align-items:center; gap:7px;
  background:var(--white); border:1px solid var(--border);
  border-radius:100px; padding:6px 14px;
  font-size:0.82rem; font-weight:500; color:var(--text-2);
  box-shadow:var(--shadow-sm);
  transition:all .15s;
}
.tech-pill:hover { border-color:var(--blue-l2); color:var(--blue); background:var(--blue-l); }
.tech-pill img { height:14px; width:14px; object-fit:contain; }

/* ─── CERT GRID ─── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 36px;
}
@media (max-width: 720px) { .cert-grid { grid-template-columns: 1fr; gap: 14px; } }
.cert-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 22px;
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.visible .cert-item               { opacity: 1; transform: translateY(0); }
.reveal.visible .cert-item:nth-child(2)  { transition-delay: .12s; }
.reveal.visible .cert-item:nth-child(3)  { transition-delay: .24s; }
.cert-icon { font-size: 1.5rem; margin-bottom: 12px; line-height: 1; }
.cert-h { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cert-p { font-size: 0.82rem; color: var(--text-2); line-height: 1.65; }

/* ─── MARKETS ─── */
.market-cards { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px) { .market-cards { grid-template-columns:1fr; } }

.market-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:22px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s, transform .2s;
}
.market-card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.market-flag { font-size:1.8rem; margin-bottom:10px; }
.market-h { font-size:0.95rem; font-weight:700; color:var(--text); margin-bottom:4px; }
.market-sub { font-size:0.75rem; color:var(--blue); font-weight:600; margin-bottom:12px; }
.market-card ul { list-style:none; }
.market-card li {
  font-size:0.82rem; color:var(--text-2); padding:3px 0 3px 14px;
  position:relative; line-height:1.5;
}
.market-card li::before { content:'›'; position:absolute; left:0; color:var(--blue); font-weight:700; }

/* ─── FAQ ─── */
.faq-list { margin-top:32px; max-width:720px; }
.faq-item { border-bottom:1px solid var(--border); cursor:pointer; }
.faq-item:first-child { border-top:1px solid var(--border); }
.faq-q {
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0; gap:16px;
  font-size:0.95rem; font-weight:600; color:var(--text);
}
.faq-icon {
  width:24px; height:24px; border-radius:50%; flex-shrink:0;
  border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:0.9rem; color:var(--blue);
  transition:all .25s;
}
.faq-item.open .faq-icon { background:var(--blue); color:#fff; border-color:var(--blue); transform:rotate(45deg); }
.faq-a {
  max-height:0; overflow:hidden;
  font-size:0.9rem; color:var(--text-2); line-height:1.75;
  transition:max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height:200px; padding-bottom:18px; }

/* ─── CTA SECTION ─── */
.cta-section {
  width:100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%);
  padding: 80px 0;
}
.cta-inner {
  max-width:1440px; margin:0 auto; padding:0 24px;
  text-align:center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600; letter-spacing:-0.03em;
  color:#fff; margin-bottom:14px;
}
.cta-inner p {
  font-size:1rem; color:rgba(255,255,255,0.85);
  line-height:1.75; max-width:480px; margin:0 auto 36px;
}
.cta-form { display:flex; flex-direction:column; gap:10px; max-width:420px; margin:0 auto; }
.cta-form .btn-white { width:100%; }
.cta-input {
  padding:12px 18px; border-radius:var(--r);
  background:rgba(255,255,255,0.15);
  border:1.5px solid rgba(255,255,255,0.35);
  color:#fff; font-size:0.95rem; font-family:var(--font);
  width:100%; max-width:100%; outline:none; box-sizing:border-box;
  transition:border-color .2s, background .2s;
}
.cta-input::placeholder { color:rgba(255,255,255,0.6); }
.cta-input:focus { border-color:#fff; background:rgba(255,255,255,0.2); }
textarea.cta-input { resize:none; height:90px; }
.btn-white {
  padding:12px 24px; border-radius:var(--r);
  background:#fff; color:var(--blue);
  font-size:0.925rem; font-weight:700; font-family:var(--font);
  border:none; cursor:pointer;
  box-shadow:0 1px 3px rgba(0,0,0,0.2);
  transition:box-shadow .15s, transform .15s;
}
.btn-white:hover { box-shadow:0 4px 12px rgba(0,0,0,0.2); transform:translateY(-1px); }
.cta-note { font-size:0.78rem; color:rgba(255,255,255,0.65); margin-top:14px; }
.hp-field { position:absolute; left:-9999px; top:-9999px; }

/* ─── FOOTER ─── */
footer {
  width:100%; background:var(--surface);
  border-top:1px solid var(--border);
  padding:24px;
}
.footer-inner {
  max-width:1440px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:16px;
}
.footer-brand {
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-display);
  font-weight:700; color:var(--text); font-size:1.05rem;
  letter-spacing: -0.04em;
}
.footer-links { display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.footer-links a {
  font-size:0.82rem; color:var(--text-2); transition:color .15s;
  padding: 6px 0; display: inline-block;
}
.footer-links a:hover { color:var(--blue); }
.footer-copy { font-size:0.8rem; color:var(--text-3); }
@media (max-width:600px) {
  .footer-inner { flex-wrap:wrap; align-items:center; gap:10px 16px; }
  .footer-brand { flex: 1 1 auto; }
  .footer-copy { flex: 0 0 auto; }
  .footer-links { order:3; width:100%; gap:20px; border-top:1px solid var(--border); padding-top:12px; }
  .footer-links a { padding: 6px 0; font-size:0.85rem; }
}

/* ─── TOAST ─── */
.toast {
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(60px);
  background:var(--text); color:#fff; border-radius:var(--r);
  padding:12px 20px; display:flex; align-items:center; gap:10px;
  font-size:0.88rem; font-weight:500;
  box-shadow:var(--shadow-lg); z-index:999; opacity:0;
  transition:all .35s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
.toast-icon { color:var(--verdure); }

/* ─── HERO BOTTOM CURVE ─── */
.hero-curve {
  width:100%; overflow:hidden; line-height:0;
  background:var(--surface);
}
.hero-curve svg { display:block; }

/* ─── LOGO ANIMATIONS ─── */
.anim-left     { animation: drawLeft  .35s ease .1s  forwards; clip-path: inset(100% 0 0 0); }
.anim-right    { animation: drawRight .35s ease .35s forwards; clip-path: inset(100% 0 0 0); }
.anim-corridor { animation: drawCorr  .25s ease .65s forwards; opacity: 0; transform-origin: left center; }
.anim-dot      { animation: popDot    .3s cubic-bezier(.34,1.56,.64,1) .85s forwards; transform: scale(0); opacity: 0; transform-origin: center; }
.anim-ring-el  { animation: pingRing  1.2s ease-out 1.3s forwards; }
.anim-route-el { animation: dashRoute .4s ease 1s forwards; stroke-dasharray: 28; stroke-dashoffset: 28; opacity: 0; }
.anim-pin      { animation: dropPin   .4s cubic-bezier(.34,1.56,.64,1) 1.1s forwards; transform: translateY(-8px) scale(0); opacity: 0; transform-origin: center bottom; }
@keyframes drawLeft  { to { clip-path: inset(0% 0 0 0); } }
@keyframes drawRight { to { clip-path: inset(0% 0 0 0); } }
@keyframes drawCorr  { to { opacity: 1; transform: scaleX(1); } }
@keyframes popDot    { 0%{transform:scale(0);opacity:0} 70%{transform:scale(1.3);opacity:1} 100%{transform:scale(1);opacity:1} }
@keyframes pingRing  { 0%{r:0;opacity:.6} 100%{r:9;opacity:0} }
@keyframes dashRoute { 0%{stroke-dashoffset:28;opacity:0} 30%{opacity:1} 100%{stroke-dashoffset:0;opacity:1} }
@keyframes dropPin   { 0%{transform:translateY(-8px) scale(0);opacity:0} 60%{transform:translateY(2px) scale(1.1);opacity:1} 100%{transform:translateY(0) scale(1);opacity:1} }

/* ─── IDLE LOOP ─── */
.idle-dot-outer { animation: idlePulse   2s   ease-in-out infinite; transform-origin: 10px 28px; }
.idle-dot-inner { animation: idlePulseIn 2s   ease-in-out infinite; transform-origin: 10px 28px; }
.idle-ring      { animation: idleRing    2s   ease-out    infinite; transform-origin: 10px 28px; }
.idle-route     { animation: idleMarch   1.2s linear      infinite; }
.idle-pin       { animation: idlePin     2.4s ease-in-out infinite; transform-origin: 29px 8px; }
@keyframes idlePulse   { 0%,100%{r:5;opacity:1}  50%{r:6;opacity:.85} }
@keyframes idlePulseIn { 0%,100%{r:2.2}           50%{r:1.8} }
@keyframes idleRing    { 0%{r:5;opacity:.5;stroke-width:1.2} 100%{r:14;opacity:0;stroke-width:.4} }
@keyframes idleMarch   { to{stroke-dashoffset:-20} }
@keyframes idlePin     { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

/* ── HERO WHY LINK ── */
.hero-why-link {
  display: inline-block;
  margin-top: 14px;
  font-size: .875rem;
  color: var(--text-2);
  text-decoration: none;
}
.hero-why-link:hover { text-decoration: underline; }

/* ── COMPARISON SECTION ── */
.compare-section {
  padding: 80px 24px;
  background: white;
}
.compare-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.compare-section .eyebrow {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
  text-align: center;
}
.compare-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600; letter-spacing: -.03em;
  line-height: 1.1; text-align: center;
  margin-bottom: 14px;
}
.compare-section .section-title em { font-style: normal; color: var(--blue); }
.compare-section .section-sub {
  font-size: 1rem; color: var(--text-2);
  line-height: 1.75; text-align: center;
  max-width: 580px; margin: 0 auto 52px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 721px) {
  .compare-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .compare-arrow { display: flex; }
}
.map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.map-chrome {
  background: #f1f3f4;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.chrome-dots { display: flex; gap: 5px; }
.chrome-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #febc2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }
.chrome-url {
  flex: 1; background: white;
  border: 1px solid var(--border); border-radius: 100px;
  padding: 4px 12px;
  display: flex; align-items: center; gap: 7px;
  font-size: .73rem; color: var(--text-2);
}
.chrome-url svg { flex-shrink: 0; }
.map-img-wrap {
  position: relative;
  overflow: hidden;
  background: #e8edf3;
}
.map-img-wrap img {
  width: 100%; height: auto;
  display: block;
}
.map-footer {
  padding: 16px 18px;
  background: white;
  border-top: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
}
.map-footer-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0; margin-top: 2px;
}
.map-footer-icon.bad  { background: #fff2f2; }
.map-footer-icon.good { background: #f0fdf4; }
.map-footer-title {
  font-size: .9rem; font-weight: 700;
  margin-bottom: 3px;
}
.map-footer-title.bad  { color: var(--red); }
.map-footer-title.good { color: var(--verdure); }
.map-footer-desc {
  font-size: .82rem; color: var(--text-2);
  line-height: 1.6;
}
.map-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 100px;
  font-size: .73rem; font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.map-badge.before {
  background: rgba(216,58,46,.92);
  color: white;
}
.map-badge.after {
  background: rgba(31,157,114,.92);
  color: white;
}
.compare-arrow {
  display: none;
  align-items: center; justify-content: center;
}
.arrow-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(35,64,234,.35);
  flex-shrink: 0;
}
.compare-callout {
  margin-top: 40px;
  background: var(--blue-l);
  border: 1px solid var(--blue-l2);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 14px;
}
.compare-callout-icon {
  font-size: 1.4rem; flex-shrink: 0; margin-top: 2px;
}
.compare-callout-title {
  font-size: .95rem; font-weight: 700;
  color: var(--text); margin-bottom: 5px;
}
.compare-callout-desc {
  font-size: .875rem; color: var(--text-2);
  line-height: 1.7;
}
.compare-callout-desc strong { color: var(--text); }
.detail-row {
  margin-top: 32px;
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: center;
}
.detail-col { flex: 1; min-width: 240px; }
.detail-col-title {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 10px;
}
.detail-col-title.bad  { color: var(--red); }
.detail-col-title.good { color: var(--verdure); }
.chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 4px 12px; border-radius: 100px;
  font-size: .78rem; font-weight: 500;
  border: 1px solid;
}
.chip.bad  { background: #fff2f2; color: var(--red); border-color: #fecaca; }
.chip.good { background: #f0fdf4; color: var(--verdure); border-color: #bbf7d0; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── HERO v2: interactive 3D route demo ─── */
.hero-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 30px; padding: 0; }
.hero-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text); font-weight: 500; }
.hero-steps .hs-n { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--blue-l); color: var(--blue); font-size: 0.78rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.hero-steps li:last-child .hs-n { background: var(--red); color: #fff; }
.hero-channels { margin-top: 18px; font-size: 0.8rem; color: var(--text-3); }
.hd { border-radius: var(--r-xl); background: linear-gradient(160deg, #0A1338 0%, #1F2647 130%); box-shadow: 0 40px 80px -40px rgba(10,19,56,0.55); overflow: hidden; color: #FAFAF5; min-width: 0; }
.hd-head { padding: 18px 22px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hd-eyebrow { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.hd-meta { font-size: 0.78rem; color: rgba(255,255,255,0.62); min-height: 1.3em; font-variant-numeric: tabular-nums; }
.hd-meta strong { color: #FAFAF5; font-weight: 600; }
.hd svg.hd-svg { display: block; width: 100%; height: auto; max-height: 430px; margin: 0 auto; }
.hd-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 18px 18px; -webkit-overflow-scrolling: touch; }
.hd-row::-webkit-scrollbar { display: none; }
.hd-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #FAFAF5; font: 600 0.84rem var(--font); cursor: pointer; transition: background .18s, transform .18s; -webkit-tap-highlight-color: transparent; }
.hd-btn:hover { background: rgba(255,255,255,0.13); }
.hd-btn:active { transform: scale(.96); }
.hd-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.hd-btn small { font-size: 0.66rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.hd-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.hd-btn[aria-pressed="true"] small { color: rgba(255,255,255,0.85); }
.hd-dots { stroke-linecap: round; fill: none; }
@keyframes hdPulse { 0% { r: 6; opacity: .55; } 100% { r: 20; opacity: 0; } }
.hd-pulse { animation: hdPulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite; }
@media (prefers-reduced-motion: reduce) { .hd-pulse { animation: none; } }

/* ─── DIFFERENCE: before/after stage ─── */
.df-stage { background: linear-gradient(180deg, #FAFAF5 0%, #EDEAE0 140%); line-height: 0; }
.df-svg { display: block; width: 100%; height: auto; max-height: 420px; margin: 0 auto; }
.df-dots { stroke-linecap: round; fill: none; }
@keyframes dfPulse { 0% { r: 6; opacity: .6; } 100% { r: 20; opacity: 0; } }
.df-pulse { animation: dfPulse 1.8s cubic-bezier(0.22,1,0.36,1) infinite; }
@media (prefers-reduced-motion: reduce) { .df-pulse { animation: none; } }

/* ——— HERO VIDEO BG (prueba): loop real de Oodi detrás del hero ——— */
.hero-vbg { position: relative; overflow: hidden; background: var(--paper); }
.hero-vbg .hero-inner { position: relative; z-index: 2; }
.hv-bg, .hv-scrim { display: none; }
@media (max-width: 960px) { .hv-bg, .hv-scrim { display: block; } }
.hv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; z-index: 0; }
.hv-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(250,250,245,.97) 0%, rgba(250,250,245,.92) 38%, rgba(250,250,245,.55) 56%, rgba(250,250,245,.15) 80%, rgba(250,250,245,.1) 100%); }
@media (max-width: 960px) {
  .hv-bg { object-position: 50% 100%; }
  .hv-scrim { background: linear-gradient(180deg, rgba(250,250,245,.96) 0%, rgba(250,250,245,.9) 55%, rgba(250,250,245,.4) 100%); }
}

/* ─── Home: trade shows teaser ─── */
.evt-teaser-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.evt-teaser-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.evt-teaser-shot { display: block; }
.evt-teaser-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); border: 1px solid var(--border); box-shadow: var(--shadow-lg); transition: transform .25s; }
.evt-teaser-shot:hover img { transform: translateY(-3px); }
@media (max-width: 900px) { .evt-teaser-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (prefers-reduced-motion: reduce) { .evt-teaser-shot img { transition: none; } }
