/* ============================================================
   QRdescubre · Web Corporativa
   Vanilla CSS · Mobile-first · Independiente de site.css
   ============================================================ */

:root {
  --c-dorado:        #edb956;
  --c-dorado-claro:  #f4cf85;
  --c-dorado-dark:   #d5993e;
  --c-dorado-suave:  #fcf7f0;

  --c-grafito:       #0f1419;
  --c-grafito-2:     #1c2530;
  --c-grafito-3:     #2a3340;
  --c-azul:          #2c5f7c;
  --c-azul-claro:    #6ba3c1;

  --c-texto:         #1a2129;
  --c-texto-suave:   #4a5560;
  --c-texto-mute:    #6b7480;
  --c-borde:         #e3e5e8;
  --c-borde-suave:   #eef0f3;
  --c-fondo:         #ffffff;
  --c-fondo-alt:     #f7f8fa;
  --c-fondo-dark:    var(--c-grafito);

  --grad-hero:       radial-gradient(ellipse at top left, #1c2530 0%, #0f1419 65%);
  --grad-dorado:     linear-gradient(135deg, #edb956 0%, #d5993e 100%);
  --grad-azul:       linear-gradient(135deg, #2c5f7c 0%, #1c2530 100%);

  --fuente-titulo:   'Playfair Display', Georgia, serif;
  --fuente-cuerpo:   'Inter', system-ui, -apple-system, sans-serif;
  /* Wordmark "QRdescubre": misma fuente que el logo/splash de atalaya-celeste
     y el visor — stack del sistema, sin webfont. NO usar Inter ni Playfair. */
  --fuente-marca:    system-ui, -apple-system, sans-serif;

  --fs-xs:    clamp(0.75rem, 1.4vw, 0.82rem);
  --fs-sm:    clamp(0.85rem, 1.8vw, 0.95rem);
  --fs-base:  clamp(1rem,    2.2vw, 1.08rem);
  --fs-md:    clamp(1.1rem,  2.6vw, 1.25rem);
  --fs-lg:    clamp(1.35rem, 3.2vw, 1.6rem);
  --fs-xl:    clamp(1.8rem,  4.8vw, 2.4rem);
  --fs-xxl:   clamp(2.4rem,  7vw,   4rem);
  --fs-hero:  clamp(2.8rem,  9vw,   5.4rem);

  --sp-xs:    0.4rem;
  --sp-sm:    0.8rem;
  --sp-md:    1.4rem;
  --sp-lg:    2.4rem;
  --sp-xl:    4rem;
  --sp-xxl:   6.5rem;

  --max-w:        1180px;
  --max-w-narrow: 860px;
  --radio:        0.625rem;
  --radio-lg:     1.25rem;
  --radio-xl:     2rem;

  --sombra-sm:  0 1px 3px rgba(15,20,25,0.06), 0 2px 8px rgba(15,20,25,0.04);
  --sombra:     0 4px 18px rgba(15,20,25,0.08), 0 2px 6px rgba(15,20,25,0.04);
  --sombra-lg:  0 18px 50px rgba(15,20,25,0.14), 0 6px 16px rgba(15,20,25,0.06);
  --sombra-dorado: 0 12px 32px rgba(237,185,86,0.35);

  --nav-h:    68px;
  --t:        0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fuente-cuerpo);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-texto);
  background: var(--c-fondo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--t); }

h1, h2, h3, h4 {
  font-family: var(--fuente-titulo);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-grafito);
}
h1 { font-size: var(--fs-xxl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin-block-end: var(--sp-sm); }
::selection { background: var(--c-dorado); color: var(--c-grafito); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow { max-width: var(--max-w-narrow); }

.eyebrow {
  display: inline-block;
  font-family: var(--fuente-cuerpo);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-dorado-dark);
  margin-bottom: var(--sp-sm);
}

.eyebrow--light { color: var(--c-dorado); }

/* ============================================================
   NAVBAR  (oscura para que el logo translúcido sea legible)
   ============================================================ */
.nav-corp {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
  transition: background var(--t), border-color var(--t);
}
.nav-corp.is-scrolled {
  background: rgba(15, 20, 25, 0.96);
}
.nav-corp__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  height: 100%;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-corp__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  /* Wordmark "QRdescubre": tipografía del logo (stack del sistema, QR en peso
     800 + descubre en normal, monocromo). Ver splash de atalaya-celeste / visor. */
  font-family: var(--fuente-marca);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
}
.nav-corp__brand img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-corp__brand-text { display: inline-block; }

/* Parte "QR" del wordmark en todos los puntos de marca de la corporativa:
   peso fuerte como en el logo (splash/visor: .at-qr / .vc-qr → 800). */
.nav-corp__brand b,
.footer-corp__brand b,
.app__brand b,
.qr-plate__brand b {
  font-weight: 800;
  font-style: normal;
}

.nav-corp__links {
  display: none;
  gap: 0.3rem;
  list-style: none;
}
.nav-corp__links a {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: #c8d0db;
  border-radius: 8px;
}
.nav-corp__links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-corp__links a.is-active { color: var(--c-dorado); }

.nav-corp__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--grad-dorado);
  color: var(--c-grafito);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform var(--t), box-shadow var(--t);
}
.nav-corp__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--sombra-dorado);
}

.nav-corp__burger {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  cursor: pointer;
}
.nav-corp__burger span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  position: relative;
  transition: transform var(--t);
}
.nav-corp__burger span::before,
.nav-corp__burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: #fff;
  transition: transform var(--t);
}
.nav-corp__burger span::before { top: -6px; }
.nav-corp__burger span::after  { top:  6px; }
.nav-corp.is-open .nav-corp__burger span { transform: rotate(45deg); }
.nav-corp.is-open .nav-corp__burger span::before { transform: rotate(90deg) translateX(-6px); opacity: 0; }
.nav-corp.is-open .nav-corp__burger span::after  { transform: rotate(-90deg) translateX(6px); }

.nav-corp__drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--c-grafito);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transform: translateY(-110%);
  transition: transform var(--t);
  z-index: 999;
  padding: 1rem 1.25rem 1.5rem;
  list-style: none;
  box-shadow: var(--sombra-lg);
}
.nav-corp.is-open + .nav-corp__drawer { transform: translateY(0); }
.nav-corp__drawer a {
  display: block;
  padding: 0.9rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #d2dae5;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-corp__drawer li:last-child a { border-bottom: 0; color: var(--c-dorado); }

@media (min-width: 880px) {
  .nav-corp__links  { display: flex; }
  .nav-corp__burger { display: none; }
  .nav-corp__drawer { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--sp-xl)) 0 var(--sp-xxl);
  background: var(--grad-hero);
  color: #f0f2f5;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,20,25,0.55) 0%, rgba(15,20,25,0.82) 100%),
    linear-gradient(120deg, rgba(15,20,25,0.85) 0%, rgba(15,20,25,0.25) 60%, rgba(15,20,25,0.7) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(237,185,86,0.22) 0%, transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(108,163,193,0.16) 0%, transparent 50%);
  pointer-events: none;
}
.hero--compact { padding-bottom: var(--sp-xl); }
.hero__grid {
  position: relative;
  display: grid;
  gap: var(--sp-lg);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: var(--sp-xl); }
}

.hero__titulo {
  color: #fff;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero__titulo em {
  font-style: normal;
  background: var(--grad-dorado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: var(--sp-md);
  font-size: var(--fs-md);
  color: #c0c8d2;
  max-width: 540px;
  line-height: 1.55;
}
.hero__cta {
  margin-top: var(--sp-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn--primary {
  background: var(--grad-dorado);
  color: var(--c-grafito);
  box-shadow: var(--sombra-dorado);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(237,185,86,0.45); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn--dark {
  background: var(--c-grafito);
  color: #fff;
}
.btn--dark:hover { background: var(--c-grafito-3); transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn__arrow {
  display: inline-block;
  transition: transform var(--t);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* mockup móvil dentro del hero */
.hero__mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.phone {
  position: relative;
  width: min(290px, 80vw);
  aspect-ratio: 9 / 18.5;
  background: #0a0d12;
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 12px 30px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform var(--t);
}
.phone:hover { transform: rotateY(-3deg) rotateX(1deg) translateY(-6px); }
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: #1c2530;
}
.phone__screen img.phone__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.phone__screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 70%, rgba(15,20,25,0.92) 100%);
  z-index: 1;
}
.phone__notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0a0d12;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone__content {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.3rem 1.5rem;
}
.phone__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-dorado);
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.phone__title {
  font-family: var(--fuente-titulo);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.55rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.phone__desc {
  font-size: 0.8rem;
  color: #e3e8ef;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* badge flotante encima del móvil */
.hero__badge {
  position: absolute;
  bottom: 16%;
  right: -16px;
  background: #fff;
  color: var(--c-grafito);
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  box-shadow: var(--sombra-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
}
.hero__badge strong {
  font-family: var(--fuente-titulo);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-dorado-dark);
  line-height: 1;
}

/* ============================================================
   STATS BAR (debajo del hero)
   ============================================================ */
.stats {
  background: var(--c-grafito-2);
  color: #f0f2f5;
  padding: var(--sp-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  text-align: center;
}
@media (min-width: 720px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}
.stat__num {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  background: var(--grad-dorado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #a3afbd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--sp-xxl) 0;
}
.section--alt { background: var(--c-fondo-alt); }
.section--dark { background: var(--c-grafito); color: #f0f2f5; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section__head {
  max-width: 720px;
  margin: 0 auto var(--sp-xl);
  text-align: center;
}
.section__head--left { margin-inline: 0; text-align: left; }
.section__head p {
  margin-top: var(--sp-sm);
  font-size: var(--fs-md);
  color: var(--c-texto-suave);
  line-height: 1.55;
}
.section--dark .section__head p { color: #b7c1cd; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: #fff;
  border: 1px solid var(--c-borde-suave);
  border-radius: var(--radio-lg);
  padding: 1.75rem 1.6rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-lg);
  border-color: transparent;
}
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--c-dorado-suave);
  color: var(--c-dorado-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.feature h3 {
  font-size: 1.2rem;
  font-family: var(--fuente-cuerpo);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}
.feature p {
  font-size: 0.95rem;
  color: var(--c-texto-suave);
  line-height: 1.6;
  margin: 0;
}

/* variante oscura para usarla sobre fondo grafito */
.section--dark .feature {
  background: var(--c-grafito-2);
  border-color: rgba(255,255,255,0.06);
}
.section--dark .feature h3 { color: #fff; }
.section--dark .feature p  { color: #b7c1cd; }
.section--dark .feature__icon {
  background: rgba(237,185,86,0.12);
  color: var(--c-dorado);
}

/* ============================================================
   STEPS (cómo funciona)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  counter-reset: paso;
}
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radio-lg);
  border: 1px solid var(--c-borde-suave);
  counter-increment: paso;
}
.step::before {
  content: counter(paso, decimal-leading-zero);
  position: absolute;
  top: -22px;
  left: 24px;
  font-family: var(--fuente-titulo);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad-dorado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-family: var(--fuente-cuerpo);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.6rem 0 0.5rem;
}
.step p { font-size: 0.93rem; color: var(--c-texto-suave); margin: 0; line-height: 1.6; }

/* ============================================================
   CASOS
   ============================================================ */
.case-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio-xl);
  background: var(--grad-azul);
  color: #fff;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  gap: var(--sp-lg);
}
@media (min-width: 880px) { .case-card { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(237,185,86,0.2) 0%, transparent 50%);
  pointer-events: none;
}
.case-card h3 { color: #fff; font-size: var(--fs-xl); }
.case-card p { color: #cfe0eb; font-size: 1.05rem; }

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  position: relative;
}
.case-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radio);
  padding: 1rem 1.2rem;
  backdrop-filter: blur(8px);
}
.case-stat strong {
  display: block;
  font-family: var(--fuente-titulo);
  font-size: 1.9rem;
  color: var(--c-dorado);
  line-height: 1;
}
.case-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b6c8d6;
}

/* lista de municipios chip */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--sp-md);
}
.chips span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  background: var(--c-fondo-alt);
  border: 1px solid var(--c-borde-suave);
  border-radius: 999px;
  color: var(--c-texto-suave);
}

/* ============================================================
   PLANES / PRECIOS
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.plan {
  background: #fff;
  border: 1px solid var(--c-borde);
  border-radius: var(--radio-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.plan--destacado {
  border-color: var(--c-dorado);
  box-shadow: var(--sombra-dorado);
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 50%);
}
.plan--destacado::before {
  content: 'Recomendado';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-grafito);
  color: var(--c-dorado);
  padding: 0.35rem 0.95rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}

.plan__nombre {
  font-family: var(--fuente-cuerpo);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-texto-suave);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan__precio {
  margin: 0.6rem 0 0.4rem;
  font-family: var(--fuente-titulo);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--c-grafito);
  line-height: 1;
}
.plan__precio small {
  font-family: var(--fuente-cuerpo);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-texto-mute);
  letter-spacing: 0;
}
.plan__detalle {
  font-size: 0.92rem;
  color: var(--c-texto-suave);
  margin-bottom: 1.25rem;
}
.plan ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--c-borde-suave);
  padding-top: 1.25rem;
  flex: 1;
}
.plan li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  font-size: 0.93rem;
  color: var(--c-texto);
}
.plan li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-dorado);
}
.plan .btn { width: 100%; justify-content: center; }

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 760px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value {
  padding: 1.5rem;
  border-left: 3px solid var(--c-dorado);
  background: var(--c-fondo-alt);
  border-radius: 0 var(--radio) var(--radio) 0;
}
.value h4 {
  font-family: var(--fuente-cuerpo);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.value p { font-size: 0.93rem; color: var(--c-texto-suave); margin: 0; }

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-md);
}
.team-tags span {
  padding: 0.45rem 0.95rem;
  background: #fff;
  border: 1px solid var(--c-borde);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--c-texto-suave);
  font-weight: 500;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--sp-xl); align-items: start; } }

.contact-info {
  background: var(--c-grafito);
  color: #f0f2f5;
  border-radius: var(--radio-lg);
  padding: 2rem 1.75rem;
}
.contact-info h3 { color: #fff; margin-bottom: 0.5rem; }
.contact-info p { color: #b7c1cd; margin-bottom: var(--sp-md); }
.contact-info dl { display: grid; gap: 1.1rem; }
.contact-info dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-dorado);
  margin-bottom: 0.25rem;
}
.contact-info dd {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 500;
}
.contact-info dd a:hover { color: var(--c-dorado); }

form.contact-form {
  background: #fff;
  border: 1px solid var(--c-borde-suave);
  border-radius: var(--radio-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--sombra-sm);
}
.contact-form .field {
  display: block;
  margin-bottom: 1.1rem;
}
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-texto-suave);
  margin-bottom: 0.45rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-borde);
  border-radius: var(--radio);
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-grafito);
  background: #fff;
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--c-dorado);
  box-shadow: 0 0 0 4px rgba(237,185,86,0.18);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  text-align: center;
  background: var(--grad-hero);
  color: #fff;
  padding: var(--sp-xxl) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(237,185,86,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-final h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-final p { color: #c0c8d2; max-width: 580px; margin: var(--sp-md) auto var(--sp-lg); font-size: var(--fs-md); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-corp {
  background: #08090b;
  color: #8a94a3;
  padding: var(--sp-xl) 0 var(--sp-md);
  font-size: 0.92rem;
}
.footer-corp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}
@media (min-width: 820px) {
  .footer-corp__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer-corp h5 {
  color: #fff;
  font-family: var(--fuente-cuerpo);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.footer-corp ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-corp a:hover { color: var(--c-dorado); }
.footer-corp__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--fuente-marca);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.6rem;
}
.footer-corp__brand .nav-corp__brand-q { box-shadow: none; }
.footer-corp__claim {
  max-width: 320px;
  line-height: 1.55;
}
.footer-corp__bottom {
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.83rem;
  color: #5e6873;
}

/* ============================================================
   PHOTO BAND (cabecera oscura en páginas secundarias)
   ============================================================ */
.photo-band {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-hero);
}
.photo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(237,185,86,0.18) 0%, transparent 50%),
    radial-gradient(circle at 15% 90%, rgba(108,163,193,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.photo-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.photo-band__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,0.65) 0%, rgba(15,20,25,0.85) 100%);
}
.photo-band h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
}
.photo-band h1 em {
  font-style: normal;
  background: var(--grad-dorado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.photo-band p {
  max-width: 660px;
  margin: 1rem auto 0;
  color: #d2dae5;
  font-size: var(--fs-md);
  line-height: 1.55;
}

/* ============================================================
   PHOTO MOSAIC (collage 8 fotos)
   ============================================================ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 140px;
  gap: 0.6rem;
  border-radius: var(--radio-lg);
  overflow: hidden;
}
@media (min-width: 700px) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 0.75rem;
  }
}
.mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio);
  background: #1c2530;
}
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__item--tall { grid-row: span 2; }
.mosaic__item--wide { grid-column: span 2; }
.mosaic__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   SPLIT SECTION (foto + texto al 50/50)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); } }
.split--reverse > :first-child { order: 1; }
@media (min-width: 880px) { .split--reverse > :first-child { order: 2; } }

.split__photo {
  position: relative;
  border-radius: var(--radio-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sombra-lg);
}
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.split__photo--tall { aspect-ratio: 3 / 4; }

.split__photo-badge {
  position: absolute;
  left: -10px;
  bottom: 20px;
  background: var(--c-grafito);
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--sombra-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.split__photo-badge strong {
  font-family: var(--fuente-titulo);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-dorado);
}

/* ============================================================
   PEEK GALLERY (preview en home con 3-4 fotos)
   ============================================================ */
.peek {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
@media (min-width: 720px) { .peek { grid-template-columns: repeat(4, 1fr); } }
.peek__item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radio-lg);
  overflow: hidden;
  background: #1c2530;
}
.peek__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.peek__item:hover img { transform: scale(1.05); }
.peek__item::after {
  content: attr(data-label);
  position: absolute;
  left: 0.85rem; bottom: 0.85rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.peek__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* logo en footer (img translúcida sobre fondo oscuro) */
.footer-corp__brand img {
  height: 42px;
  width: auto;
  display: block;
}

/* ============================================================
   APP MOCKUP — móvil navegando por la plataforma QRdescubre
   ============================================================ */
.app-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}
.device {
  position: relative;
  width: min(310px, 82vw);
  aspect-ratio: 9 / 19;
  background: #0a0d12;
  border-radius: 42px;
  padding: 11px;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.55),
    0 18px 40px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotateY(-9deg) rotateX(3deg);
  transition: transform var(--t);
}
.device:hover { transform: rotateY(-3deg) rotateX(1deg) translateY(-6px); }
.device__screen {
  width: 100%; height: 100%;
  background: #f7f8fa;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Captura real en vivo: iframe de la página pública escalado por JS (fit()).
   Decorativo (no interactivo) para que sea una "captura" como en el editor. */
.device__live {
  position: absolute;
  top: 0; left: 0;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
  background: #fff;
}
/* Captura real (imagen o vídeo) de la página: se ajusta al ANCHO del móvil
   (las capturas ya son 390px, formato móvil), alineada arriba. El alto sobrante
   lo recorta el overflow:hidden de .device__screen — nunca se recorta a lo ancho,
   así no se comen los botones. */
.device__shot {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  display: block;
}
/* Sin notch sobre las capturas reales: tapaba el título de la barra superior.
   Se deja un móvil de bordes redondeados sin muesca. */
.device__notch {
  display: none;
}

/* Barra de status del móvil (hora + iconos) */
.app__status {
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-grafito);
  background: #fff;
}
.app__status-icons { display: inline-flex; gap: 0.3rem; font-size: 0.65rem; }

/* Topbar de la app (logo + lang + back) */
.app__topbar {
  background: #fff;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e8eaee;
}
.app__back {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-grafito);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.app__brand {
  font-family: var(--fuente-marca);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--c-dorado-dark);
  letter-spacing: 0.01em;
}
.app__langs { display: inline-flex; gap: 4px; }
.app__lang {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #f0f2f5;
  font-size: 0.55rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-texto-suave);
  letter-spacing: 0;
}
.app__lang.is-active {
  background: var(--c-dorado);
  color: var(--c-grafito);
}

/* Hero ilustrado del POI (no es foto, es CSS) */
.app__poi-hero {
  position: relative;
  height: 130px;
  background:
    radial-gradient(circle at 28% 30%, #c8d8e4 0%, #8aa8bf 35%, transparent 55%),
    linear-gradient(180deg, #88b0d2 0%, #d4c19e 70%, #b8985f 100%);
  overflow: hidden;
}
.app__poi-hero::before {
  /* silueta de montaña + iglesia */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 75%;
  background:
    radial-gradient(ellipse 80% 60% at 30% 100%, #5a6f4f 0%, transparent 60%),
    radial-gradient(ellipse 80% 65% at 70% 100%, #4a5f44 0%, transparent 60%);
}
.app__poi-hero::after {
  /* "torre/campanario" */
  content: '';
  position: absolute;
  bottom: 0; left: 38%;
  width: 22px; height: 70px;
  background: linear-gradient(180deg, #6a4f30 0%, #5a4226 100%);
  border-radius: 4px 4px 0 0;
  box-shadow:
    -28px 18px 0 -6px #4a3a26,
    -28px 18px 0 -8px #5a4630;
}
.app__poi-hero-tag {
  position: absolute;
  top: 10px; left: 12px;
  padding: 4px 10px;
  background: rgba(15,20,25,0.7);
  color: #fff;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.app__poi-hero-dots {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 4px;
}
.app__poi-hero-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.app__poi-hero-dots span.is-on { background: #fff; width: 14px; border-radius: 3px; }

.app__body {
  background: #fff;
  padding: 0.9rem 1rem 1rem;
  flex: 1;
  overflow: hidden;
}
.app__breadcrumb {
  font-size: 0.62rem;
  color: var(--c-texto-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.app__title {
  font-family: var(--fuente-titulo);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-grafito);
  margin-bottom: 0.35rem;
}
.app__subtitle {
  font-size: 0.7rem;
  color: var(--c-texto-suave);
  margin-bottom: 0.6rem;
}

.app__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0.7rem;
}
.app__chip {
  padding: 4px 9px;
  background: var(--c-dorado-suave);
  color: var(--c-dorado-dark);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.app__chip--ghost {
  background: #f0f2f5;
  color: var(--c-texto-suave);
}

.app__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0.55rem 0;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
  margin-bottom: 0.7rem;
}
.app__action {
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--c-texto-suave);
}
.app__action-icon {
  display: block;
  width: 34px; height: 34px;
  background: #f0f2f5;
  border-radius: 10px;
  margin: 0 auto 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--c-grafito);
}
.app__action-icon--gold { background: var(--c-dorado); color: var(--c-grafito); }

.app__text-lines { display: grid; gap: 5px; }
.app__line {
  height: 6px;
  border-radius: 3px;
  background: #eef0f3;
}
.app__line--80 { width: 80%; }
.app__line--60 { width: 60%; }
.app__line--90 { width: 92%; }

.app__bottom-cta {
  margin-top: 0.7rem;
  background: var(--c-grafito);
  color: var(--c-dorado);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
}

/* Bottom tab bar */
.app__tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px 0 10px;
  background: #fff;
  border-top: 1px solid #eef0f3;
}
.app__tab {
  text-align: center;
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--c-texto-mute);
}
.app__tab.is-active { color: var(--c-dorado-dark); }
.app__tab-icon {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--c-texto-suave);
}
.app__tab.is-active .app__tab-icon { color: var(--c-dorado); }

/* ============================================================
   QR PLATE — placa física con código QR
   ============================================================ */
.qr-plate {
  position: relative;
  width: min(260px, 80vw);
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(135deg, #2a2724 0%, #15130f 100%);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.4),
    0 10px 20px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  color: #fff;
  text-align: center;
  transform: rotate(-2deg);
}
.qr-plate__brand {
  font-family: var(--fuente-marca);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-dorado);
  margin-bottom: 0.8rem;
}
.qr-plate__poi {
  font-family: var(--fuente-titulo);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}
.qr-plate__poi-sub {
  font-size: 0.75rem;
  color: #b0b7c0;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}
.qr-plate__qr {
  width: 130px; height: 130px;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto 1rem;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 1.5px;
}
.qr-plate__qr span {
  background: var(--c-grafito);
  border-radius: 1px;
}
.qr-plate__qr span:nth-child(odd) { background: transparent; }
.qr-plate__qr span:nth-child(7n)  { background: var(--c-grafito); }
.qr-plate__qr span:nth-child(11n) { background: transparent; }
.qr-plate__qr span:nth-child(3n+5) { background: var(--c-grafito); }
/* Esquinas tipo QR finder pattern */
.qr-plate__qr span:nth-child(-n+3),
.qr-plate__qr span:nth-child(9),
.qr-plate__qr span:nth-child(10),
.qr-plate__qr span:nth-child(11),
.qr-plate__qr span:nth-child(12),
.qr-plate__qr span:nth-child(13),
.qr-plate__qr span:nth-child(14),
.qr-plate__qr span:nth-child(20),
.qr-plate__qr span:nth-child(21),
.qr-plate__qr span:nth-child(22),
.qr-plate__qr span:nth-child(23),
.qr-plate__qr span:nth-child(24),
.qr-plate__qr span:nth-child(25) { background: var(--c-grafito); }
.qr-plate__hint {
  font-size: 0.68rem;
  color: var(--c-dorado);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.qr-plate::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 20px; right: 20px;
  height: 12px;
  background: rgba(0,0,0,0.4);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -1;
}

/* ============================================================
   MAP MOCKUP — mapa con puntos QR
   ============================================================ */
.map-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse 60% 40% at 30% 30%, #c8e0d0 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 60%, #e8e2c8 0%, transparent 60%),
    linear-gradient(135deg, #e8eef0 0%, #d4dde0 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sombra-lg);
}
/* "ríos" y "carreteras" */
.map-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 48%, #88a3bd 48.5%, #88a3bd 49.2%, transparent 49.7%),
    linear-gradient(60deg, transparent 30%, rgba(255,255,255,0.6) 30.3%, rgba(255,255,255,0.6) 30.8%, transparent 31.1%),
    linear-gradient(20deg, transparent 70%, rgba(255,255,255,0.5) 70.3%, rgba(255,255,255,0.5) 70.7%, transparent 71%);
  opacity: 0.7;
}
.map-mockup__pin {
  position: absolute;
  width: 28px; height: 28px;
  background: var(--c-dorado);
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--t);
}
.map-mockup__pin:hover {
  transform: rotate(-45deg) scale(1.18);
  z-index: 5;
}
.map-mockup__pin::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--c-grafito);
  border-radius: 50%;
  transform: rotate(45deg);
}
.map-mockup__pin::before {
  content: attr(data-tip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: rotate(45deg) translateX(-50%);
  transform-origin: top left;
  background: var(--c-grafito);
  color: #fff;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
  z-index: 6;
}
.map-mockup__pin:hover::before { opacity: 1; }
.map-mockup__pin--alt { background: var(--c-azul); }
.map-mockup__legend {
  position: absolute;
  bottom: 12px; left: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-grafito);
  box-shadow: var(--sombra-sm);
}
.map-mockup__legend strong { color: var(--c-dorado-dark); }

/* ============================================================
   THREE-STEP SHOWCASE (placa → móvil → mapa)
   ============================================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
  justify-items: center;
}
@media (min-width: 980px) { .showcase { grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); } }
.showcase__step { text-align: center; max-width: 320px; }
.showcase__step h4 {
  font-family: var(--fuente-cuerpo);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.2rem 0 0.4rem;
  color: var(--c-grafito);
}
.showcase__step p { font-size: 0.92rem; color: var(--c-texto-suave); margin: 0; line-height: 1.55; }
.showcase__step .eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

/* ============================================================
   ANIMACIONES SUAVES (reveal on scroll)
   Solo se ocultan elementos si la clase js-ready está presente
   en <body>. Así, si JS falla, el contenido se ve siempre.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  body.js-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  body.js-ready .reveal.is-in { opacity: 1; transform: none; }
}

/* ============================================================
   KEYFRAMES & ANIMACIONES DE DINAMISMO
   ============================================================ */
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotateY(-9deg) rotateX(3deg); }
  50%      { transform: translateY(-10px) rotateY(-9deg) rotateX(3deg); }
}
@keyframes float-y-flat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes tilt-soft {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-6px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(237,185,86,0.6),  0 4px 10px rgba(0,0,0,0.25); }
  70%  { box-shadow: 0 0 0 18px rgba(237,185,86,0),    0 4px 10px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 0   rgba(237,185,86,0),    0 4px 10px rgba(0,0,0,0.25); }
}
@keyframes shine {
  0%   { transform: translateX(-120%) skewX(-25deg); }
  100% { transform: translateX(220%)  skewX(-25deg); }
}
@keyframes gradient-shift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
@keyframes orbit {
  0%   { transform: rotate(0deg)   translateX(180px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}
@keyframes blob {
  0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  50%      { border-radius: 60% 40% 30% 70% / 60% 35% 65% 40%; }
}
@keyframes count-glow {
  0%   { text-shadow: 0 0 0 transparent; }
  50%  { text-shadow: 0 0 24px rgba(237,185,86,0.55); }
  100% { text-shadow: 0 0 0 transparent; }
}

/* Movimiento ambient en el móvil-mockup del hero */
@media (prefers-reduced-motion: no-preference) {
  .hero .device { animation: float-y 6.5s ease-in-out infinite; }
  .showcase__step .device { animation: float-y 7s ease-in-out infinite 0.5s; }
  .qr-plate { animation: tilt-soft 8s ease-in-out infinite; }
}

/* Pin pulsando en el mapa */
.map-mockup__pin--pulse {
  animation: pulse-ring 2.2s ease-out infinite;
}

/* Botón primary con barrido brillante al hover */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -120%;
  width: 50%; height: 200%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 1;
}
.btn--primary:hover::after { animation: shine 1.05s ease-out; }

/* Feature con borde top dorado al hover y elevación más viva */
.feature {
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-dorado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.feature:hover::before { transform: scaleX(1); }
.feature__icon {
  transition: transform var(--t), background var(--t), color var(--t);
}
.feature:hover .feature__icon {
  transform: rotate(-8deg) scale(1.1);
  background: var(--grad-dorado);
  color: var(--c-grafito);
}

/* Stats: número con glow al entrar */
body.js-ready .stats.is-in .stat__num {
  animation: count-glow 2.4s ease-out 0.2s;
}

/* Case-card con gradiente animado */
.case-card {
  background: linear-gradient(120deg, #1c2530 0%, #2c5f7c 50%, #1c2530 100%);
  background-size: 220% 220%;
  animation: gradient-shift 14s ease-in-out infinite;
}
.section--dark .case-card {
  background: linear-gradient(120deg, #0f1419 0%, #1c2530 50%, #0f1419 100%);
  background-size: 220% 220%;
  animation: gradient-shift 14s ease-in-out infinite;
}

/* CTA final: orbe de luz que se mueve */
.cta-final {
  position: relative;
  isolation: isolate;
}
.cta-final::after {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(237,185,86,0.5) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: -1;
  animation: orbit 16s linear infinite;
}

/* Blobs decorativos del hero */
.hero__blob {
  position: absolute;
  width: 320px; height: 320px;
  background: var(--grad-dorado);
  opacity: 0.12;
  filter: blur(50px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: blob 12s ease-in-out infinite alternate;
}
.hero__blob--1 { top: -80px; right: -60px; }
.hero__blob--2 {
  bottom: -120px; left: -80px;
  background: linear-gradient(135deg, #2c5f7c 0%, #6ba3c1 100%);
  opacity: 0.10;
  animation-delay: 4s;
}

/* Floating chips alrededor del móvil del hero */
.hero__float-chip {
  position: absolute;
  background: #fff;
  color: var(--c-grafito);
  padding: 0.65rem 1rem;
  border-radius: 12px;
  box-shadow: var(--sombra-lg);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 4;
  white-space: nowrap;
}
.hero__float-chip strong {
  color: var(--c-dorado-dark);
  font-family: var(--fuente-titulo);
}
.hero__float-chip--audio {
  top: 8%; left: -10px;
  animation: float-y-flat 5.5s ease-in-out infinite;
}
.hero__float-chip--lang {
  top: 38%; right: -20px;
  animation: float-y-flat 6.5s ease-in-out infinite 1s;
}
.hero__float-chip--ruta {
  bottom: 28%; left: -28px;
  animation: float-y-flat 6s ease-in-out infinite 2s;
}
.hero__float-chip-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--c-dorado-suave);
  color: var(--c-dorado-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
@media (max-width: 720px) {
  .hero__float-chip--audio,
  .hero__float-chip--ruta { display: none; }
  .hero__float-chip--lang { right: 6px; top: 30%; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad-dorado);
  width: 0;
  z-index: 1100;
  transition: width 0.1s linear;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(237,185,86,0.6);
}

/* Section title underline animado al entrar */
.section__head h2 {
  position: relative;
  display: inline-block;
}
body.js-ready .section__head.is-in h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60px; height: 3px;
  background: var(--grad-dorado);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: section-line 0.8s ease-out 0.3s forwards;
}
.section__head--left h2::after { left: 0; transform: translateX(0) scaleX(0); }
body.js-ready .section__head--left.is-in h2::after { animation: section-line-left 0.8s ease-out 0.3s forwards; }
@keyframes section-line {
  to { transform: translateX(-50%) scaleX(1); }
}
@keyframes section-line-left {
  to { transform: translateX(0) scaleX(1); }
}

/* Plan destacado con halo animado */
.plan--destacado {
  position: relative;
}
.plan--destacado::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radio-lg);
  background: var(--grad-dorado);
  filter: blur(14px);
  opacity: 0.35;
  z-index: -1;
  animation: gradient-shift 6s ease-in-out infinite;
  background-size: 220% 220%;
}
