/* georincon.com — Bosque Vivo (v2 — landing con vida)
 * Paleta + tipografía alineadas con manual-marca/georincon_marca_01_bosque.html
 * y con AppColors / AppTypography del cliente Flutter.
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,700;9..144,900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --forest-900: #0F2419;
  --forest-700: #1F4A37;
  --forest-500: #2D6A4F;
  --forest-300: #52B788;
  --forest-100: #B7E4C7;
  --coral-500: #FF7A45;
  --coral-300: #FFA47A;
  --amber: #E9B44C;
  --lake: #1B98A2;
  --sand: #FAF7F2;
  --cream: #F1ECE2;
  --charcoal-900: #1B2B23;
  --charcoal-700: #344538;
  --charcoal-500: #5A6B61;
  --white: #FFFFFF;
  --danger: #C9462C;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--forest-500); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--coral-500); }
img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Wordmark + brand (igual que v1) ────────────────────── */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
  white-space: nowrap;
  line-height: 1;
}
.wordmark .accent {
  color: var(--forest-500);
  font-style: italic;
  font-weight: 400;
}
.wordmark--dark { color: var(--cream); }
.wordmark--dark .accent { color: var(--forest-300); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(15, 36, 25, 0.18);
  /* Brújula que rota muy sutilmente cada 8s para dar vida sin distraer */
  animation: compassDrift 14s ease-in-out infinite;
}
@keyframes compassDrift {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(241, 236, 226, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(15, 36, 25, 0.06);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-700);
}
.nav-links a {
  color: var(--charcoal-700);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--forest-500); }

/* ─── HERO con vida ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 24px 24px 32px;
  background:
    radial-gradient(1400px 700px at 75% -10%, rgba(82, 183, 136, 0.30), transparent 60%),
    radial-gradient(1000px 600px at -10% 110%, rgba(255, 122, 69, 0.22), transparent 60%),
    radial-gradient(800px 500px at 50% 50%, rgba(233, 180, 76, 0.10), transparent 70%),
    var(--cream);
  overflow: hidden;
  isolation: isolate;
}

/* Líneas topográficas (curvas de nivel tipo mapa) detrás de todo
 * el hero. SVG inline en data URI — sin assets externos. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%232D6A4F' stroke-width='1.2' opacity='0.12'><path d='M-20,400 Q200,300 400,380 T800,360 T1220,340'/><path d='M-20,460 Q200,360 400,440 T800,420 T1220,400'/><path d='M-20,520 Q200,420 400,500 T800,480 T1220,460'/><path d='M-20,580 Q200,480 400,560 T800,540 T1220,520'/><path d='M-20,640 Q200,540 400,620 T800,600 T1220,580'/><path d='M-20,700 Q200,600 400,680 T800,660 T1220,640'/><path d='M-20,760 Q200,660 400,740 T800,720 T1220,700'/><path d='M-20,220 Q200,140 400,200 T800,180 T1220,160'/><path d='M-20,160 Q200,80 400,140 T800,120 T1220,100'/><path d='M-20,100 Q200,20 400,80 T800,60 T1220,40'/></g></svg>");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

/* Rosa de los vientos translúcida detrás del icono — refuerza la
 * "atmósfera de exploración" sin competir con el headline. */
.hero::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, 0);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%232D6A4F' stroke-width='0.8' opacity='0.18'><circle cx='100' cy='100' r='95'/><circle cx='100' cy='100' r='75'/><circle cx='100' cy='100' r='55'/><circle cx='100' cy='100' r='35'/><line x1='100' y1='5' x2='100' y2='195'/><line x1='5' y1='100' x2='195' y2='100'/><line x1='32' y1='32' x2='168' y2='168'/><line x1='168' y1='32' x2='32' y2='168'/></g><g fill='%232D6A4F' opacity='0.25'><polygon points='100,15 105,100 100,95 95,100'/><text x='100' y='12' text-anchor='middle' font-family='monospace' font-size='10' font-weight='700'>N</text><text x='100' y='198' text-anchor='middle' font-family='monospace' font-size='10' font-weight='700'>S</text><text x='5' y='104' text-anchor='start' font-family='monospace' font-size='10' font-weight='700'>W</text><text x='195' y='104' text-anchor='end' font-family='monospace' font-size='10' font-weight='700'>E</text></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  animation: roseSlow 60s linear infinite;
}
@keyframes roseSlow {
  from { transform: translate(-50%, 0) rotate(0deg); }
  to   { transform: translate(-50%, 0) rotate(360deg); }
}
@media (max-width: 768px) {
  .hero::after { width: 340px; height: 340px; top: 12%; }
}

/* Chips de coordenadas que flotan en el background del hero.
 * No interactivas. Solo decorativas para dar "atmósfera de mapa". */
.coord-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--forest-700);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(45, 106, 79, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 36, 25, 0.06);
  z-index: 0;
  animation: chipFloat 7s ease-in-out infinite;
  pointer-events: none;
}
/* Chips posicionados SIEMPRE fuera del headline central (max-width
 * 900px). Pegados a los bordes laterales del viewport para que
 * decoren sin solaparse con el texto del hero. */
.coord-chip:nth-child(1) { top:  8%;  left:  2%; animation-delay: 0s;   }
.coord-chip:nth-child(2) { top: 14%;  right: 2%; animation-delay: 1.2s; }
.coord-chip:nth-child(3) { top: 56%;  left:  1%; animation-delay: 2.4s; }
.coord-chip:nth-child(4) { top: 62%;  right: 1%; animation-delay: 0.8s; }
.coord-chip:nth-child(5) { top: 88%;  left:  6%; animation-delay: 3s;   }
.coord-chip:nth-child(6) { top: 90%;  right: 6%; animation-delay: 4s;   }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.7; }
  50%      { transform: translateY(-12px) translateX(4px); opacity: 1; }
}
@media (max-width: 768px) {
  .coord-chip:nth-child(n+5) { display: none; }
  .coord-chip { font-size: 10px; padding: 4px 10px; }
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.app-icon-hero {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 4px auto 14px;
  display: block;
  box-shadow:
    0 32px 64px rgba(15, 36, 25, 0.22),
    0 12px 24px rgba(15, 36, 25, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  animation: gentleFloat 6s ease-in-out infinite;
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-10px) rotate(1deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--forest-500);
  background: rgba(82, 183, 136, 0.14);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral-500);
  box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255, 122, 69, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 122, 69, 0); }
  100% { box-shadow: 0 0 0 0   rgba(255, 122, 69, 0); }
}

h1.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
  color: var(--charcoal-900);
  letter-spacing: -0.03em;
  margin: 0 auto 14px;
  max-width: 880px;
}
h1.hero-title .accent {
  color: var(--forest-500);
  font-style: italic;
  font-weight: 400;
}
h1.hero-title .strike {
  position: relative;
  display: inline-block;
  color: var(--charcoal-500);
}
h1.hero-title .strike::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  height: 4px;
  background: var(--coral-500);
  border-radius: 2px;
  transform-origin: left;
  animation: strikeDraw 1.2s ease-out 0.6s both;
}
@keyframes strikeDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--forest-700);
  margin: 0 auto 12px;
  max-width: 720px;
  line-height: 1.4;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 8px;
  font-size: 15px;
  color: var(--charcoal-700);
  line-height: 1.5;
}
.hero-sub strong { color: var(--charcoal-900); font-weight: 600; }

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ── Compat badges (CarPlay + Android Auto en el hero) ────── */
.compat-badges {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.compat-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--charcoal-500);
}
.compat-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.compat-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 36, 25, 0.08);
  font-weight: 600;
  font-size: 15px;
  color: var(--charcoal-900);
  box-shadow: 0 4px 14px rgba(15, 36, 25, 0.06);
}
.compat-badge svg {
  color: var(--charcoal-900);
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-primary {
  background: var(--forest-500);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(45, 106, 79, 0.36);
}
.btn-primary:hover {
  background: var(--forest-700);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(45, 106, 79, 0.44);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: var(--forest-700);
  border: 1.5px solid var(--forest-300);
}
.btn-secondary:hover {
  background: var(--forest-100);
  color: var(--forest-900);
  transform: translateY(-2px);
}

/* ─── STAT COUNTER ───────────────────────────────────────── */
.stats-strip {
  background: var(--charcoal-900);
  color: var(--cream);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 50%, rgba(82, 183, 136, 0.18), transparent 60%),
    radial-gradient(600px 300px at 80% 50%, rgba(255, 122, 69, 0.12), transparent 60%);
  pointer-events: none;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 8px;
  font-feature-settings: 'tnum';
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--forest-100);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── SECTIONS GENERAL ───────────────────────────────────── */
section {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* La sección "Cómo es" tiene 3 stories — su altura natural es 3×100vh.
 * Cancelamos el min-height del padre para que sea solo el contenedor;
 * las stories internas son cada una full-screen abajo. */
section#asi-funciona {
  min-height: auto;
  display: block;
  padding-top: 120px;
  padding-bottom: 0;
}
/* Stats strip más pequeño — no necesita ser pantalla completa */
.stats-strip { min-height: auto !important; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--forest-500);
  margin-bottom: 16px;
  text-align: center;
}
h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--charcoal-900);
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 20px;
}
h2.section-title .accent {
  color: var(--forest-500);
  font-style: italic;
  font-weight: 400;
}
.section-sub {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  font-size: 18px;
  color: var(--charcoal-700);
  line-height: 1.6;
}

/* ─── STORIES (cada story = una pantalla completa) ──────── */
.stories {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: 100vh;
  padding: 60px 0;
}
.story.reverse { direction: rtl; }
.story.reverse > * { direction: ltr; }
.story-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  color: var(--charcoal-900);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.story-text p {
  font-size: 17px;
  color: var(--charcoal-700);
  margin-bottom: 14px;
  line-height: 1.7;
}
.story-text p .accent {
  color: var(--forest-500);
  font-style: italic;
  font-weight: 600;
  font-family: var(--font-display);
}
.story-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--forest-700);
  margin-top: 18px;
  padding: 14px 0 14px 18px;
  border-left: 3px solid var(--forest-300);
  line-height: 1.6;
}
.story-visual {
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--forest-100), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 36, 25, 0.06);
  box-shadow: 0 20px 50px rgba(15, 36, 25, 0.08);
  position: relative;
  overflow: hidden;
}
.story-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.18), transparent 70%);
  top: -50px;
  right: -50px;
}
.story-visual svg {
  width: 55%;
  height: 55%;
  color: var(--forest-700);
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

/* ─── MOCKUP IPHONE CSS (puro CSS, sin assets) ───────────── */
.app-showcase {
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}
.app-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(82, 183, 136, 0.14), transparent 60%);
  pointer-events: none;
}
.app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.app-showcase-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.app-showcase-text h2 .accent {
  color: var(--forest-500);
  font-style: italic;
  font-weight: 400;
}
.app-showcase-text p {
  font-size: 18px;
  color: var(--charcoal-700);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* iPhone frame */
.iphone {
  width: 320px;
  height: 660px;
  background: var(--charcoal-900);
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    0 40px 80px rgba(15, 36, 25, 0.28),
    0 20px 40px rgba(15, 36, 25, 0.16),
    0 0 0 2px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  flex-shrink: 0;
  animation: phoneFloat 8s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-16px) rotate(2deg); }
}
.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: var(--charcoal-900);
  border-radius: 18px;
  z-index: 10;
}
.iphone-statusbar {
  padding: 18px 28px 4px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal-900);
}
.iphone-content {
  flex: 1;
  padding: 36px 18px 18px;
  overflow: hidden;
}
.iphone-content .app-header {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
  margin-bottom: 16px;
  padding: 0 6px;
}
.iphone-content .app-header .accent {
  color: var(--forest-500);
  font-style: italic;
  font-weight: 400;
}
.iphone-card {
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(15, 36, 25, 0.06);
  border: 1px solid rgba(15, 36, 25, 0.05);
}
.iphone-card .photo {
  width: 100%;
  height: 110px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.iphone-card .photo.green {
  background: linear-gradient(135deg, #52B788 0%, #2D6A4F 60%, #1F4A37 100%);
  position: relative;
}
.iphone-card .photo.green::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 80%, rgba(255,255,255,0.4), transparent 50%);
  border-radius: 10px;
}
.iphone-card .photo.coral {
  background: linear-gradient(135deg, #FFA47A 0%, #FF7A45 50%, #C9462C 100%);
}
.iphone-card .photo.lake {
  background: linear-gradient(180deg, #B7E4C7 0%, #1B98A2 70%, #1F4A37 100%);
}
.iphone-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.iphone-card .row .title {
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal-900);
}
.iphone-card .row .loc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--charcoal-500);
}
.iphone-card .row .chip {
  font-size: 9px;
  font-weight: 600;
  background: var(--forest-100);
  color: var(--forest-700);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── MOCKUP CARPLAY / ANDROID AUTO ──────────────────────── */

/* Story con visual de carplay: la columna del visual ocupa más
 * porque el dashboard es horizontal — no encaja en 4:3. */
.story.story--car { grid-template-columns: 1fr 1.2fr; }
.story.story--car .story-visual {
  aspect-ratio: auto;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.story.story--car .story-visual::before { display: none; }

.story-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--forest-500);
  background: rgba(82, 183, 136, 0.16);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Dashboard del coche: rectángulo horizontal con marco oscuro */
.carplay {
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(180deg, #0a1612 0%, #0F2419 100%);
  padding: 14px 14px 18px;
  box-shadow:
    0 30px 60px rgba(15, 36, 25, 0.32),
    0 14px 28px rgba(15, 36, 25, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  animation: phoneFloat 9s ease-in-out infinite;
}
.carplay-screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F2EFE9;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, var(--font-body);
}

/* ── CPListTemplate split: sidebar + lista + mapa ────────
 * Layout fiel a la pantalla real de CarPlay cuando una app de
 * navegación muestra POIs: sidebar oscuro con tabs (16%) +
 * lista vertical (44%) + mapa con pin y ruta (40%).
 * ──────────────────────────────────────────────────────── */
.cp-sidebar {
  width: 16%;
  min-width: 70px;
  background: #1A1A1A;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 10px 0;
  gap: 4px;
  color: rgba(255, 255, 255, 0.55);
}
.cp-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  cursor: default;
  transition: color 0.2s, background 0.2s;
}
.cp-tab svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}
.cp-tab span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cp-tab.is-active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}
.cp-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
}

/* ── Panel central: header + lista ──────────────────────── */
.cp-main {
  width: 44%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(15, 36, 25, 0.08);
}
.cp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal-700);
  border-bottom: 1px solid rgba(15, 36, 25, 0.06);
  background: rgba(255, 255, 255, 0.5);
}
.cp-time {
  font-variant-numeric: tabular-nums;
}
.cp-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal-900);
  letter-spacing: -0.01em;
}
.cp-dots {
  color: var(--charcoal-500);
  letter-spacing: 0.1em;
}
.cp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}
.cp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 36, 25, 0.06);
}
.cp-row:last-child { border-bottom: 0; }
.cp-row.is-selected {
  background: rgba(45, 106, 79, 0.08);
  position: relative;
}
.cp-row.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--forest-500);
}
.cp-thumb {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 36, 25, 0.08);
}
.cp-thumb.green  { background: linear-gradient(135deg, #52B788, #2D6A4F 60%, #1F4A37); }
.cp-thumb.coral  { background: linear-gradient(135deg, #FFA47A, #FF7A45 50%, #C9462C); }
.cp-thumb.lake   { background: linear-gradient(180deg, #B7E4C7, #1B98A2 70%, #1F4A37); }
.cp-thumb.amber  { background: linear-gradient(135deg, #FFD27A, #E9B44C 60%, #8B6B1E); }
.cp-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cp-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cp-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--charcoal-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cp-km {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal-700);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ── Panel derecho: mapa esquemático con pin y ruta ─────── */
.cp-map {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.cp-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cp-map-card {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15, 36, 25, 0.18);
  white-space: nowrap;
}
.cp-map-card-eta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--forest-500);
  font-variant-numeric: tabular-nums;
}
.cp-map-card-dest {
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal-900);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .carplay-screen { aspect-ratio: 16 / 10; }
  .cp-sidebar { width: 18%; min-width: 56px; }
  .cp-tab svg { width: 16px; height: 16px; }
  .cp-tab span { font-size: 8px; }
  .cp-main { width: 46%; }
  .cp-row { padding: 8px 10px; gap: 8px; }
  .cp-thumb { width: 30px; height: 30px; border-radius: 6px; }
  .cp-name { font-size: 11px; }
  .cp-sub { font-size: 9px; }
  .cp-km { font-size: 10px; }
  .cp-header { padding: 7px 10px; }
  .cp-title { font-size: 11px; }
  .cp-map-card-eta, .cp-map-card-dest { font-size: 10px; }
}

/* ─── PRIVACY STRIPE ─────────────────────────────────────── */
.privacy-stripe {
  background: var(--forest-900);
  color: var(--cream);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.privacy-stripe::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 90% 50%, rgba(82, 183, 136, 0.18), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(255, 122, 69, 0.10), transparent 60%);
  pointer-events: none;
}
.privacy-stripe .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.privacy-stripe .section-eyebrow {
  color: var(--forest-300);
  text-align: left;
  margin-bottom: 16px;
}
.privacy-stripe h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 52px);
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.1;
  text-align: left;
  letter-spacing: -0.025em;
}
.privacy-stripe p {
  color: var(--forest-100);
  font-size: 17px;
  margin-bottom: 18px;
  line-height: 1.7;
}
.privacy-stripe a {
  color: var(--forest-300);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.privacy-stripe a:hover { color: var(--coral-300); }

/* ─── MARQUEE COORDENADAS (footer banner) ────────────────── */
.marquee-strip {
  background: var(--charcoal-900);
  color: var(--forest-300);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(82, 183, 136, 0.18);
  border-bottom: 1px solid rgba(82, 183, 136, 0.18);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marqueeScroll 60s linear infinite;
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.marquee-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-500);
  display: inline-block;
  flex-shrink: 0;
}
.marquee-track .place {
  color: var(--cream);
  font-family: var(--font-body);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--charcoal-900);
  color: rgba(241, 236, 226, 0.65);
  padding: 56px 24px 40px;
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.footer-brand { margin-bottom: 6px; display: inline-block; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(241, 236, 226, 0.7); }
.footer-links a:hover { color: var(--cream); }
.footer-meta {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(241, 236, 226, 0.45);
  text-align: center;
  border-top: 1px solid rgba(241, 236, 226, 0.1);
  padding-top: 24px;
}

/* ─── STICKY CTA flotante ────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--charcoal-900);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 20px 50px rgba(15, 36, 25, 0.30);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  white-space: nowrap;
}
.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
}
.sticky-cta .chip {
  background: var(--forest-500);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 480px) {
  .sticky-cta { font-size: 13px; padding: 12px 18px; }
  .sticky-cta .chip { display: none; }
}

/* ─── SCROLL-REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1),
              transform .8s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .app-icon-hero, .brand-mark, .iphone, .coord-chip { animation: none !important; }
}

/* ─── LEGAL PAGES (privacy, terms) ───────────────────────── */
.legal { padding: 80px 24px 120px; background: var(--cream); }
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 56px 56px;
  border: 1px solid rgba(15, 36, 25, 0.06);
  box-shadow: 0 16px 40px rgba(15, 36, 25, 0.04);
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--charcoal-900);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.legal .updated {
  color: var(--charcoal-500);
  font-size: 14px;
  margin-bottom: 32px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--forest-700);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--charcoal-900);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal p, .legal li {
  font-size: 16px;
  color: var(--charcoal-700);
  margin-bottom: 12px;
  line-height: 1.65;
}
.legal ul, .legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal strong { color: var(--charcoal-900); }
.legal code {
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, 'SF Mono', Monaco, monospace;
}

/* ─── 404 ────────────────────────────────────────────────── */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}
.notfound .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 14vw, 160px);
  color: var(--forest-300);
  line-height: 1;
}
.notfound h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--charcoal-900);
  margin: 16px 0 12px;
}
.notfound p { color: var(--charcoal-700); margin-bottom: 32px; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 880px) {
  .privacy-stripe .container { grid-template-columns: 1fr; gap: 32px; }
  .app-showcase-grid { grid-template-columns: 1fr; gap: 48px; }
  .iphone { margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { gap: 14px; font-size: 12px; }
  /* En móvil relajamos los 100vh — el contenido apilado no cabe y
   * un user con teclado virtual lo agradece. Vuelve al flujo natural
   * con padding cómodo. */
  .hero { min-height: auto; padding: 64px 24px 100px; }
  section { min-height: auto; padding: 72px 0; display: block; }
  section#asi-funciona { padding-top: 72px; }
  .stories { gap: 64px; }
  .story, .story.reverse, .story.story--car {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
    min-height: auto;
    padding: 0;
  }
  .story-visual { max-width: 380px; margin: 0 auto; }
  /* En móvil el mockup CarPlay (16:9 horizontal) cabe mejor un poco
   * más ancho y centrado. Sin esto queda demasiado pequeño respecto
   * al espacio disponible. */
  .story.story--car .story-visual { max-width: 100%; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .legal-inner { padding: 40px 28px; }
  .app-icon-hero { width: 88px; height: 88px; }
  .iphone { width: 260px; height: 540px; }
}
@media (max-width: 560px) {
  /* En móvil estrecho los 4 links del nav no caben junto al wordmark
   * y rompen en 2 líneas. Las secciones siguen accesibles via scroll
   * y los CTAs principales están en el hero — el menú deja de ser
   * imprescindible aquí. */
  .nav-links { display: none; }
}
