/* =========================================================
   PROMO M&M x MUNDIAL 2026 — Estilos globales
   Variables editables al inicio.
   ========================================================= */
:root {
  /* Paleta M&M + Argentina */
  --mm-azul: #0a2540;        /* azul corporativo M&M */
  --mm-azul-2: #102b4f;
  --mm-dorado: #d4a647;      /* dorado M&M */
  --mm-dorado-claro: #f0c870;
  --arg-celeste: #75aadb;
  --arg-celeste-fuerte: #5b9bd1;
  --blanco: #ffffff;
  --gris: #e9eef5;
  --gris-2: #b9c4d3;
  --texto: #0a2540;
  --texto-suave: #4a5b73;
  --negro: #050b16;

  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(117,170,219,.35), transparent 60%),
               radial-gradient(900px 500px at -10% 110%, rgba(212,166,71,.25), transparent 60%),
               linear-gradient(135deg, #061a33 0%, #0a2540 60%, #102b4f 100%);
  --grad-dorado: linear-gradient(135deg, #f0c870 0%, #d4a647 50%, #a87a25 100%);
  --grad-celeste: linear-gradient(135deg, #ffffff 0%, #c8e0f4 50%, #75aadb 100%);

  --sombra-1: 0 10px 30px -10px rgba(5, 11, 22, .35);
  --sombra-glow: 0 0 0 4px rgba(212,166,71,.18), 0 14px 40px -10px rgba(212,166,71,.55);

  --radio: 14px;
  --radio-lg: 22px;
  --max: 1200px;

  --ff-display: "Anton", "Bebas Neue", Impact, sans-serif;
  --ff-body: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--texto);
  background: #f6f8fc;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

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

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 37, 64, .72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-logo { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 800; letter-spacing: .5px; }
.nav-logo img { height: 44px; width: auto; background: #fff; padding: 5px 10px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.nav-logo .sep { width: 1px; height: 30px; background: rgba(255,255,255,.25); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: #e6edf7; font-weight: 500; font-size: 14px; opacity: .9; transition: .2s; }
.nav-links a:hover { opacity: 1; color: var(--mm-dorado-claro); }
.nav .btn-cta { padding: 10px 18px; font-size: 14px; }
@media (max-width: 760px){
  .nav-links a:not(.btn-cta){ display:none; }
}

/* =================== BOTONES =================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .2s ease, box-shadow .25s ease, background .2s;
  white-space: nowrap;
}
.btn-cta {
  background: var(--grad-dorado);
  color: #1a1203;
  box-shadow: var(--sombra-glow);
}
.btn-cta:hover { transform: translateY(-2px) scale(1.02); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-dark { background: var(--mm-azul); color: #fff; }
.btn-dark:hover { background: var(--mm-azul-2); }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px 0 60px;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px);
  pointer-events: none;
}
.hero-flag {
  position: absolute; right: -120px; top: -80px; width: 520px; opacity: .07;
  transform: rotate(-12deg); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 2; width: 100%; }
.hero-grid > aside { justify-self: end; max-width: 520px; width: 100%; }
@media (max-width: 980px){ .hero-grid { grid-template-columns: 1fr; } .hero-grid > aside { justify-self: stretch; max-width: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(117,170,219,.15);
  border: 1px solid rgba(117,170,219,.4);
  color: #cfe3f6; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--arg-celeste); box-shadow: 0 0 0 4px rgba(117,170,219,.25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(117,170,219,0); } }

.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 > span { display: block; margin-bottom: 14px; }
.hero h1 > span:last-child { margin-bottom: 0; }
.hero h1 .destacado {
  background: var(--grad-dorado);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  position: relative;
}
.hero h1 .destacado::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: var(--grad-dorado); border-radius: 4px; opacity: .3;
}
.hero p.bajada {
  font-size: clamp(14px, 1.4vw, 17px);
  color: #cfdcee; max-width: 540px; margin: 0 0 22px;
}
.address-chip { margin: 6px 0 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mini { display: flex; gap: 24px; margin-top: 22px; flex-wrap: wrap; }
.hero-mini .item { display: flex; align-items: center; gap: 10px; color: #e6edf7; font-size: 14px; }
.hero-mini .item svg { color: var(--mm-dorado-claro); }

/* Card del premio */
.premio-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radio-lg);
  padding: 56px 40px;
  backdrop-filter: blur(8px);
  text-align: center;
  overflow: hidden;
}
.premio-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: conic-gradient(from 180deg, transparent, var(--mm-dorado), transparent 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
  animation: girar 6s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.premio-card .label { color: #cfdcee; font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; }
.premio-card .numero {
  font-family: var(--ff-display);
  font-size: clamp(110px, 15vw, 200px);
  line-height: 1;
  background: var(--grad-dorado);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 12px 0;
}
.premio-card .sufijo { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: 4px; }
.premio-card .pie { color: #cfdcee; margin-top: 18px; font-size: 16px; }

/* =================== CONTADOR =================== */
.contador {
  background: var(--mm-azul);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.contador h3 { font-family: var(--ff-display); font-size: clamp(24px, 3vw, 38px); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.contador .sub { color: #b9c4d3; margin-bottom: 28px; font-size: 14px; }
.contador-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 720px; margin: 0 auto;
}
.contador-box {
  background: linear-gradient(180deg, #143460, #0c2447);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radio);
  padding: 22px 8px;
}
.contador-box .num { font-family: var(--ff-display); font-size: clamp(32px, 5vw, 56px); color: var(--mm-dorado-claro); line-height: 1; }
.contador-box .lbl { font-size: 11px; letter-spacing: 2px; color: #b9c4d3; text-transform: uppercase; margin-top: 6px; }

/* =================== SECCIONES =================== */
section.bloque { padding: 90px 0; }
.titulo {
  text-align: center; margin-bottom: 50px;
}
.titulo h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1; letter-spacing: 1px; text-transform: uppercase;
  color: var(--mm-azul);
}
.titulo p { color: var(--texto-suave); margin-top: 12px; max-width: 620px; margin-inline: auto; }

/* Pasos */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px){ .pasos { grid-template-columns: 1fr; } }
.paso {
  position: relative;
  background: #fff;
  border-radius: var(--radio-lg);
  padding: 34px 28px;
  box-shadow: var(--sombra-1);
  border: 1px solid rgba(10,37,64,.06);
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.paso:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -15px rgba(10,37,64,.25); }
.paso .num {
  position: absolute; right: 18px; top: 14px;
  font-family: var(--ff-display); font-size: 80px; line-height: 1;
  color: rgba(10,37,64,.06);
}
.paso .ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-dorado); color: #1a1203; margin-bottom: 18px;
}
.paso h3 { font-size: 20px; margin-bottom: 8px; color: var(--mm-azul); }
.paso p { color: var(--texto-suave); font-size: 15px; }

/* Video */
.video-wrap {
  max-width: 920px; margin: 0 auto;
  background: var(--mm-azul);
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-1);
  position: relative;
  aspect-ratio: 16/9;
}
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--grad-hero);
  color: #fff; text-align: center;
}
.video-placeholder .play {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--grad-dorado); display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: var(--sombra-glow);
  animation: pulseGlow 2.4s infinite;
}
@keyframes pulseGlow { 50% { transform: scale(1.06); } }
.video-placeholder small { color: #cfdcee; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }

/* Lite video facade (carga liviana) */
.video-lite { cursor: pointer; }
.video-lite-btn {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer;
  background: var(--grad-hero); color: #fff;
  display: grid; place-items: center;
  overflow: hidden;
}
.video-lite-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .65; transition: opacity .3s, transform .6s;
}
.video-lite-btn:hover .video-lite-poster { opacity: .85; transform: scale(1.03); }
.video-lite-play {
  position: relative; z-index: 2;
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--grad-dorado); display: grid; place-items: center;
  box-shadow: var(--sombra-glow);
  animation: pulseGlow 2.4s infinite;
}
.video-lite-title {
  position: absolute; bottom: 18px; left: 0; right: 0; z-index: 2;
  font-family: var(--ff-display); letter-spacing: 2px; font-size: 18px;
  text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.6);
}


/* Emprendimiento */
.empre {
  background: linear-gradient(180deg, #f6f8fc, #ffffff);
}
.empre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 880px){ .empre-grid { grid-template-columns: 1fr; } }
.empre-img {
  border-radius: var(--radio-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--grad-hero); position: relative;
  box-shadow: var(--sombra-1);
  display: grid; place-items: center; color: #fff; font-family: var(--ff-display); font-size: 32px; letter-spacing: 2px;
}
.empre h2 { font-family: var(--ff-display); font-size: clamp(30px, 4.5vw, 50px); color: var(--mm-azul); text-transform: uppercase; line-height: 1; }
.empre ul { list-style: none; margin: 22px 0; }
.empre li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--texto); font-size: 16px; }
.empre li svg { color: var(--mm-dorado); flex-shrink: 0; margin-top: 3px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid rgba(10,37,64,.08);
  border-radius: var(--radio); margin-bottom: 12px; overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--sombra-1); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; color: var(--mm-azul); font-size: 16px;
}
.faq-q .ico { width: 28px; height: 28px; border-radius: 50%; background: var(--gris); display: grid; place-items: center; transition: transform .25s, background .2s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--mm-dorado); color: #fff; }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; color: var(--texto-suave); }
.faq-item.open .faq-a { padding: 0 22px 22px; max-height: 320px; }

/* CTA Final */
.cta-final {
  background: var(--grad-hero); color: #fff; text-align: center;
  padding: 90px 0; position: relative; overflow: hidden;
}
.cta-final h2 { font-family: var(--ff-display); font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.cta-final p { color: #cfdcee; max-width: 600px; margin: 0 auto 28px; }

/* Footer */
footer {
  background: var(--negro); color: #b9c4d3; padding: 40px 0; font-size: 14px;
}
footer .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer a:hover { color: var(--mm-dorado-claro); }

/* =================== FORMULARIO =================== */
.page-thin { background: #f6f8fc; min-height: 100vh; padding: 110px 0 80px; }
.form-wrap {
  max-width: 720px; margin: 0 auto;
  background: #fff; border-radius: var(--radio-lg);
  box-shadow: var(--sombra-1); overflow: hidden;
}
.form-head {
  background: var(--grad-hero); color: #fff; padding: 36px 32px;
}
.form-head .step { font-size: 12px; letter-spacing: 3px; color: var(--mm-dorado-claro); text-transform: uppercase; }
.form-head h1 { font-family: var(--ff-display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
.form-head p { color: #cfdcee; margin-top: 6px; font-size: 15px; }

.form { padding: 32px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px){ .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--mm-azul); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--gris); background: #fbfcfe;
  font-family: inherit; font-size: 15px; color: var(--texto);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--arg-celeste);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(117,170,219,.18);
}
.field .err { color: #c0392b; font-size: 12px; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select { border-color: #e07a6e; background: #fff5f3; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texto-suave); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--mm-dorado); }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.form-status { font-size: 14px; }
.form-status.ok { color: #2c7a3d; }
.form-status.error { color: #c0392b; }

.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* =================== PARTICIPANDO =================== */
.success {
  min-height: 100vh; display: grid; place-items: center;
  background: var(--grad-hero); color: #fff; padding: 110px 22px 60px;
  position: relative; overflow: hidden; text-align: center;
}
.check-anim {
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--grad-dorado);
  display: grid; place-items: center; margin: 0 auto 24px;
  box-shadow: var(--sombra-glow);
  animation: pop .5s cubic-bezier(.2,1.4,.5,1);
}
@keyframes pop { from { transform: scale(0); } }
.success h1 { font-family: var(--ff-display); font-size: clamp(36px, 6vw, 70px); text-transform: uppercase; letter-spacing: 1px; }
.success p.lead { color: #cfdcee; max-width: 560px; margin: 14px auto 28px; font-size: 17px; }
.success .acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.success .video-wrap { margin-top: 36px; }

/* Confeti */
.confetti { position: absolute; top: -10px; width: 8px; height: 14px; opacity: .9; animation: fall linear forwards; pointer-events: none; }
@keyframes fall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* =================== TÉRMINOS =================== */
.terms-hero { background: var(--mm-azul); color: #fff; padding: 110px 0 50px; }
.terms-hero h1 { font-family: var(--ff-display); font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; letter-spacing: 1px; }
.terms-hero p { color: #cfdcee; margin-top: 8px; }
.terms-body { padding: 60px 0 100px; background: #fff; }
.terms-body .grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
@media (max-width: 880px){ .terms-body .grid { grid-template-columns: 1fr; } }
.terms-toc { position: sticky; top: 90px; align-self: flex-start; }
.terms-toc a { display: block; padding: 8px 0; color: var(--texto-suave); font-size: 14px; border-left: 2px solid transparent; padding-left: 12px; }
.terms-toc a:hover, .terms-toc a.active { color: var(--mm-azul); border-color: var(--mm-dorado); }
.terms-content h2 { font-family: var(--ff-display); color: var(--mm-azul); margin: 28px 0 10px; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }
.terms-content p { color: var(--texto); margin-bottom: 12px; }
.terms-content ul { padding-left: 20px; margin-bottom: 12px; color: var(--texto); }

/* Reveal animado */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Banderita decorativa */
.flag-stripe {
  height: 6px; background: linear-gradient(90deg, var(--arg-celeste) 0 33%, #fff 33% 66%, var(--arg-celeste) 66% 100%);
}

/* =================== BANDERAS & BALONES MARQUEE =================== */
.flag-marquee {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #061a33, #0a2540);
  padding: 30px 0;
  border-top: 2px solid rgba(212,166,71,.4);
  border-bottom: 2px solid rgba(212,166,71,.4);
}
.flag-marquee .track {
  display: flex; gap: 0; align-items: center;
  width: max-content;
  animation: scroll-x 28s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.flag-marquee.is-paused .track,
.dev-marquee.is-paused .dev-track { animation-play-state: paused; }
.flag-marquee .item {
  display: flex; align-items: center; gap: 18px;
  color: #fff; font-family: var(--ff-display); font-size: 36px; letter-spacing: 3px;
  white-space: nowrap;
  padding-right: 40px;
}
.flag-marquee .flag {
  width: 84px; height: 56px; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.4);
  background:
    linear-gradient(180deg, #75aadb 0 33%, #fff 33% 66%, #75aadb 66% 100%);
  position: relative;
  flex-shrink: 0;
}
.flag-marquee .flag::after {
  content: "★ ★ ★"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #d4a647; font-size: 14px; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.flag-marquee .ball {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  border: 2px solid #0a2540;
  box-shadow: inset -6px -6px 0 rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.3);
  animation: spin 2s linear infinite;
  flex-shrink: 0;
  background-image:
    radial-gradient(circle at 30% 30%, #0a2540 8px, transparent 9px),
    radial-gradient(circle at 70% 30%, #0a2540 8px, transparent 9px),
    radial-gradient(circle at 50% 70%, #0a2540 8px, transparent 9px);
}
.flag-marquee .gold { color: var(--mm-dorado-claro); }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Banderas flotantes en hero */
.float-balls { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.float-balls span {
  position: absolute; bottom: -60px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff radial-gradient(circle at 30% 30%, #0a2540 5px, transparent 6px),
              radial-gradient(circle at 70% 30%, #0a2540 5px, transparent 6px),
              radial-gradient(circle at 50% 70%, #0a2540 5px, transparent 6px);
  border: 2px solid #0a2540;
  opacity: .35;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  to { transform: translateY(-110vh) rotate(720deg); }
}

/* Hero image */
.hero-img-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .25; filter: saturate(1.2);
}
.hero-img-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,51,.55) 0%, rgba(10,37,64,.85) 100%);
}

/* Empre image override */
.empre-img.real { background: none; }
.empre-img.real img { width: 100%; height: 100%; object-fit: cover; }

/* Direccion chip */
.address-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,166,71,.15); border: 1px solid rgba(212,166,71,.4);
  color: var(--mm-dorado-claro); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-top: 16px;
}

/* Logos combinados nav */
.logo-pair { display: flex; align-items: center; gap: 12px; }
.logo-pair img { height: 44px; background: #fff; padding: 6px 10px; border-radius: 8px; }

/* Mejor Hero h1 contrast */
.hero h1 { text-shadow: 0 4px 30px rgba(0,0,0,.3); }

/* ===== Banner desarrollos Alto Grande ===== */
.dev-marquee {
  overflow: hidden;
  background: linear-gradient(90deg, #0a2540 0%, #123a63 50%, #0a2540 100%);
  border-top: 1px solid rgba(212,166,71,.35);
  border-bottom: 1px solid rgba(212,166,71,.35);
  padding: 18px 0;
  position: relative;
}
.dev-marquee::before, .dev-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.dev-marquee::before { left: 0; background: linear-gradient(90deg, #0a2540, transparent); }
.dev-marquee::after  { right: 0; background: linear-gradient(270deg, #0a2540, transparent); }
.dev-track {
  display: flex; align-items: center; gap: 36px;
  width: max-content;
  animation: scroll-x 40s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.dev-marquee:hover .dev-track { animation-play-state: paused; }
.dev-item {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff; font-family: var(--ff-display); font-size: 22px; letter-spacing: 1.5px;
  white-space: nowrap; text-transform: uppercase;
}
.dev-badge {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #d4a647, #f0c870);
  color: #0a2540;
  box-shadow: 0 4px 12px rgba(212,166,71,.4), inset 0 -2px 0 rgba(0,0,0,.15);
}
.dev-badge svg { width: 20px; height: 20px; }
.dev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mm-dorado-claro);
  box-shadow: 0 0 10px var(--mm-dorado-claro);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .dev-item { font-size: 16px; letter-spacing: 1px; }
  .dev-badge { width: 30px; height: 30px; font-size: 13px; }
  .dev-track { gap: 24px; animation-duration: 30s; }
}

/* =================== RESPONSIVE MOBILE =================== */
@media (max-width: 760px) {
  .container { padding: 0 16px; }

  /* NAV */
  .nav-inner { height: 64px; }
  .nav-logo { gap: 8px; }
  .nav-logo img { height: 34px; padding: 4px 7px; }
  .nav-logo .sep { height: 22px; }
  .nav .btn-cta { padding: 9px 14px; font-size: 12px; letter-spacing: .3px; }
  .nav-links { gap: 10px; }

  /* HERO */
  .hero { padding: 90px 0 50px; min-height: auto; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(34px, 9vw, 50px); letter-spacing: .5px; }
  .hero p.bajada { font-size: 15px; }
  .hero-flag { width: 320px; right: -80px; top: -40px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; padding: 14px 20px; font-size: 15px; }
  .hero-mini { gap: 12px; margin-top: 22px; }
  .hero-mini .item { font-size: 13px; }
  .premio-card { padding: 26px 18px; }
  .premio-card .numero { font-size: clamp(72px, 22vw, 110px); }
  .premio-card .sufijo { font-size: 16px; letter-spacing: 2px; }
  .address-chip { font-size: 12px; }

  /* CONTADOR */
  .contador { padding: 44px 0; }
  .contador-grid { gap: 8px; max-width: 100%; }
  .contador-box { padding: 14px 4px; border-radius: 10px; }
  .contador-box .num { font-size: clamp(26px, 9vw, 40px); }
  .contador-box .lbl { font-size: 9px; letter-spacing: 1.2px; }

  /* SECCIONES */
  section.bloque { padding: 60px 0; }
  .titulo { margin-bottom: 36px; }
  .titulo h2 { font-size: clamp(28px, 8vw, 40px); }
  .titulo p { font-size: 14px; }

  /* PASOS */
  .pasos { gap: 16px; }
  .paso { padding: 26px 22px; }
  .paso .num { font-size: 60px; right: 14px; top: 8px; }
  .paso h3 { font-size: 18px; }
  .paso p { font-size: 14px; }

  /* VIDEO */
  .video-wrap { border-radius: 14px; }
  .video-placeholder .play { width: 60px; height: 60px; }
  .video-placeholder .play svg { width: 24px; height: 24px; }

  /* EMPRENDIMIENTO */
  .empre-grid { gap: 28px; }
  .empre li { font-size: 14px; padding: 8px 0; }
  .empre .btn { width: 100%; margin: 6px 0 0 0 !important; }

  /* FAQ */
  .faq-q { padding: 16px 18px; font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 18px 18px; max-height: 500px; }

  /* CTA FINAL */
  .cta-final { padding: 60px 0; }
  .cta-final .btn { width: 100%; }

  /* MARQUEE banderas */
  .flag-marquee { padding: 18px 0; }
  .flag-marquee .track { gap: 24px; animation-duration: 22s; }
  .flag-marquee .item { font-size: 22px; gap: 12px; letter-spacing: 1.5px; }
  .flag-marquee .flag { width: 52px; height: 34px; }
  .flag-marquee .flag::after { font-size: 14px; }
  .flag-marquee .ball { width: 30px; height: 30px; }

  /* FOOTER */
  footer { padding: 28px 0; font-size: 13px; text-align: center; }
  footer .row { justify-content: center; gap: 8px; }

  /* FORMULARIO */
  .page-thin { padding: 90px 0 50px; }
  .form { padding: 22px; gap: 14px; }
  .form-head { padding: 26px 22px; }
  .form-actions .btn { width: 100%; }

  /* SUCCESS */
  .success { padding: 100px 18px 50px; }
  .check-anim { width: 84px; height: 84px; }
  .success p.lead { font-size: 15px; }
  .success .acciones .btn { width: 100%; }

  /* TÉRMINOS */
  .terms-hero { padding: 100px 0 40px; }
  .terms-toc { position: static; }

  /* Float balls */
  .float-balls span { width: 22px; height: 22px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 30px; }
  .contador-box .num { font-size: 24px; }
  .nav-logo img { height: 30px; }
  .nav .btn-cta { padding: 8px 11px; font-size: 11px; }
}

/* Touch devices: disable hover transforms */
@media (hover: none) {
  .paso:hover { transform: none; }
  .btn-cta:hover { transform: none; }
}

/* =================== SUCCESS PAGE — extras =================== */
.success { display: block; min-height: 100vh; padding: 120px 0 60px; text-align: center; }
.success .container { max-width: 760px; }

.success-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(117,170,219,.18);
  border: 1px solid rgba(117,170,219,.45);
  color: #e6edf7; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 22px;
}
.success-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25);
  animation: pulse 1.6s infinite;
}

/* Tarjeta resumen */
.success-card {
  margin: 32px auto 0;
  max-width: 560px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(212,166,71,.35);
  border-radius: var(--radio-lg);
  padding: 22px 24px;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: var(--sombra-glow);
}
.sc-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,.12);
}
.sc-row:last-child { border-bottom: 0; }
.sc-label { color: #b9c4d3; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.sc-value { color: #fff; font-weight: 700; font-size: 15px; text-align: right; }
.sc-badge {
  background: var(--grad-dorado); color: #1a1203;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  white-space: nowrap;
}

/* Próximos pasos */
.next-title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 4vw, 34px);
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--mm-dorado-claro);
  margin: 48px 0 20px;
}
.next-steps {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 560px; text-align: left;
  display: grid; gap: 12px;
}
.next-steps li {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radio);
  padding: 16px 18px;
  transition: transform .2s, border-color .2s;
}
.next-steps li:hover { transform: translateX(4px); border-color: rgba(212,166,71,.4); }
.step-num {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-dorado); color: #1a1203;
  display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 20px;
  box-shadow: 0 4px 12px rgba(212,166,71,.4);
}
.next-steps li strong { color: #fff; font-size: 16px; display: block; margin-bottom: 2px; }
.next-steps li p { color: #cfdcee; font-size: 14px; margin: 0; line-height: 1.45; }

/* Acciones / WhatsApp */
.success .acciones { margin-top: 36px; }
.btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37,211,102,.6), 0 0 0 4px rgba(37,211,102,.18);
  animation: waPulse 2.4s ease-in-out infinite;
}
.btn-wa:hover { transform: translateY(-2px) scale(1.02); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px -10px rgba(37,211,102,.6), 0 0 0 4px rgba(37,211,102,.18); }
  50% { box-shadow: 0 10px 30px -10px rgba(37,211,102,.8), 0 0 0 10px rgba(37,211,102,0); }
}

/* Video section */
.video-section { margin-top: 56px; }
.video-title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3.4vw, 30px);
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; margin-bottom: 6px;
}
.video-sub { color: #cfdcee; font-size: 14px; margin-bottom: 22px; }
.success .video-wrap { margin: 0 auto; max-width: 720px; }

.back-link {
  display: inline-block; margin-top: 40px;
  color: var(--mm-dorado-claro); font-weight: 600; font-size: 14px;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.back-link:hover { border-color: var(--mm-dorado-claro); }

/* Mobile success */
@media (max-width: 760px) {
  .success { padding: 90px 0 40px; }
  .success-card { padding: 18px 16px; margin-top: 24px; }
  .sc-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0; }
  .sc-value { text-align: left; font-size: 14px; }
  .sc-label { font-size: 11px; letter-spacing: 1.2px; }
  .sc-badge { font-size: 11px; padding: 5px 10px; }
  .next-title { margin: 36px 0 16px; }
  .next-steps li { padding: 14px; gap: 12px; }
  .step-num { width: 32px; height: 32px; font-size: 17px; }
  .next-steps li strong { font-size: 15px; }
  .next-steps li p { font-size: 13px; }
  .btn-wa { width: 100%; padding: 16px 20px; }
  .video-section { margin-top: 40px; }
  .back-link { margin-top: 28px; }
}

/* =================== ULTRA SMALL ≤380px =================== */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .nav-inner { height: 58px; }
  .nav-logo { gap: 6px; }
  .nav-logo img { height: 26px; padding: 3px 5px; }
  .nav-logo .sep { display: none; }
  .nav .btn-cta { padding: 7px 9px; font-size: 10px; letter-spacing: 0; }

  .hero { padding: 80px 0 40px; }
  .hero h1 { font-size: 28px; letter-spacing: 0; line-height: 1; }
  .hero p.bajada { font-size: 14px; margin-bottom: 22px; }
  .hero-cta .btn { padding: 13px 16px; font-size: 14px; }
  .hero-mini { gap: 8px; margin-top: 18px; }
  .hero-mini .item { font-size: 12px; gap: 6px; }
  .premio-card { padding: 22px 14px; }
  .premio-card .numero { font-size: 78px; }
  .premio-card .sufijo { font-size: 14px; letter-spacing: 1.5px; }
  .premio-card .pie { font-size: 13px; }
  .address-chip { font-size: 11px; padding: 6px 10px; }

  .contador { padding: 36px 0; }
  .contador h3 { font-size: 22px; }
  .contador .sub { font-size: 12px; margin-bottom: 20px; }
  .contador-grid { gap: 6px; }
  .contador-box { padding: 12px 2px; border-radius: 8px; }
  .contador-box .num { font-size: 22px; }
  .contador-box .lbl { font-size: 8px; letter-spacing: 1px; }

  section.bloque { padding: 48px 0; }
  .titulo { margin-bottom: 28px; }
  .titulo h2 { font-size: 26px; }
  .titulo p { font-size: 13px; }

  .pasos { gap: 12px; }
  .paso { padding: 22px 18px; border-radius: 16px; }
  .paso .num { font-size: 50px; }
  .paso h3 { font-size: 16px; }
  .paso p { font-size: 13px; }
  .paso .ico { width: 48px; height: 48px; }

  .empre h2 { font-size: 26px; }
  .empre li { font-size: 13px; }

  .faq-q { padding: 14px 14px; font-size: 13px; }
  .faq-item.open .faq-a { padding: 0 14px 14px; font-size: 13px; }

  .cta-final { padding: 48px 0; }
  .cta-final h2 { font-size: 28px; }
  .cta-final p { font-size: 14px; }

  .flag-marquee { padding: 14px 0; }
  .flag-marquee .item { font-size: 18px; gap: 10px; letter-spacing: 1px; }
  .flag-marquee .flag { width: 42px; height: 28px; }
  .flag-marquee .flag::after { font-size: 12px; }
  .flag-marquee .ball { width: 24px; height: 24px; }
  .flag-marquee .track { gap: 18px; }

  .dev-marquee { padding: 12px 0; }
  .dev-item { font-size: 14px; gap: 8px; }
  .dev-badge { width: 26px; height: 26px; font-size: 11px; }
  .dev-track { gap: 18px; }
  .dev-marquee::before, .dev-marquee::after { width: 40px; }

  footer { padding: 22px 0; font-size: 12px; }

  /* Form ultra small */
  .form { padding: 18px; }
  .form-head { padding: 22px 18px; }
  .form-head h1 { font-size: 22px; }
  .form-head p { font-size: 13px; }
  .field input, .field select, .field textarea { padding: 12px 14px; font-size: 14px; }

  /* Success ultra small */
  .success { padding: 80px 0 32px; }
  .success-eyebrow { font-size: 10px; padding: 6px 11px; letter-spacing: 1px; margin-bottom: 16px; }
  .check-anim { width: 70px; height: 70px; margin-bottom: 18px; }
  .check-anim svg { width: 38px; height: 38px; }
  .success h1 { font-size: 30px; letter-spacing: 0; }
  .success p.lead { font-size: 14px; margin: 12px auto 20px; }
  .success-card { padding: 16px 14px; border-radius: 14px; }
  .next-title { font-size: 22px; margin: 28px 0 14px; }
  .next-steps li { padding: 12px; gap: 10px; }
  .step-num { width: 28px; height: 28px; font-size: 15px; }
  .next-steps li strong { font-size: 14px; }
  .next-steps li p { font-size: 12px; }
  .btn-wa { padding: 14px 16px; font-size: 14px; gap: 8px; }
  .btn-wa svg { width: 18px; height: 18px; }
  .video-title { font-size: 20px; }
  .video-sub { font-size: 13px; margin-bottom: 16px; }
}

/* ====== Verificar estado de participación ====== */
.verify {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  padding: 80px 0;
  position: relative;
}
.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.verify-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .5px;
  color: var(--mm-azul);
  line-height: 1.05;
  margin: 14px 0 12px;
}
.verify-head p { color: var(--texto-suave); max-width: 460px; }
.eyebrow-dark { color: var(--mm-azul); background: rgba(10,37,64,.06); }

.verify-card {
  background: #fff;
  border: 1px solid rgba(10,37,64,.08);
  border-radius: var(--radio-lg);
  padding: 32px;
  box-shadow: 0 24px 60px -28px rgba(10,37,64,.35);
  position: relative;
  overflow: hidden;
}
.verify-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--arg-celeste), var(--mm-dorado), var(--arg-celeste));
}
.vstate { text-align: left; }
.vstate h3 {
  font-family: var(--ff-display);
  font-size: 24px; letter-spacing: .4px;
  color: var(--mm-azul);
  margin: 14px 0 8px;
}
.vstate p { color: var(--texto-suave); margin-bottom: 18px; }
.vstate-ico {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 26px;
  background: rgba(10,37,64,.08); color: var(--mm-azul);
}
.vstate-ico.ok { background: rgba(34,197,94,.15); color: #16a34a; }
.vstate-ico.warn { background: rgba(234,179,8,.18); color: #b8860b; }

.vlist {
  list-style: none; padding: 0; margin: 0 0 20px;
  border-top: 1px dashed rgba(10,37,64,.12);
}
.vlist li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px dashed rgba(10,37,64,.12);
  font-size: 14px;
}
.vlist li span { color: var(--texto-suave); }
.vlist li strong { color: var(--mm-azul); text-align: right; word-break: break-word; }

.vactions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Banner reintento en formulario */
.retry-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; margin: 0 0 18px;
  background: linear-gradient(135deg, #fff7e0, #ffe9b3);
  border: 1px solid rgba(212,166,71,.5);
  border-radius: var(--radio);
  color: #6b4f10;
}
.retry-ico {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mm-dorado); color: #fff;
  display: grid; place-items: center; font-weight: 800;
  flex: 0 0 36px;
}
.retry-txt { display: flex; flex-direction: column; flex: 1; }
.retry-txt strong { color: #4a3608; }
.retry-txt span { font-size: 13px; color: #6b4f10; }
.retry-clear {
  background: transparent; border: 1px solid rgba(107,79,16,.4);
  color: #6b4f10; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 13px;
}
.retry-clear:hover { background: rgba(107,79,16,.08); }

@media (max-width: 760px) {
  .verify { padding: 54px 0; }
  .verify-grid { grid-template-columns: 1fr; gap: 24px; }
  .verify-card { padding: 22px; }
  .vlist li { flex-direction: column; gap: 2px; }
  .vlist li strong { text-align: left; }
  .vactions .btn { width: 100%; }
  .retry-banner { flex-wrap: wrap; }
  .retry-clear { width: 100%; }
}

/* =========================================================
   CAMPUS PAGE — Experiencia inmersiva
   ========================================================= */
.campus-page { background: #0a1628; color: #fff; }
.campus-page footer { background: #050b16; color: #b9c4d3; }
.campus-page footer a { color: var(--mm-dorado-claro); }

.campus-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.campus-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  animation: heroZoom 18s ease-in-out infinite alternate;
  z-index: -2;
}
@keyframes heroZoom { from { transform: scale(1.05) translateY(0); } to { transform: scale(1.18) translateY(-20px); } }
.campus-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(212,166,71,.25), transparent 60%),
    linear-gradient(180deg, rgba(5,11,22,.55) 0%, rgba(5,11,22,.85) 100%);
  z-index: -1;
}
.campus-hero-inner { position: relative; z-index: 2; padding: 130px 0 80px; text-align: left; max-width: 760px; }
.campus-title {
  font-family: var(--ff-display);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 6px 30px rgba(0,0,0,.5);
}
.campus-title .destacado {
  background: var(--grad-dorado);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.campus-sub { font-size: clamp(15px, 1.6vw, 19px); color: #e9eef5; margin: 16px 0; }
.campus-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 560px;
}
.campus-stats > div {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.campus-stats strong {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.4vw, 30px);
  display: block;
  color: var(--mm-dorado-claro);
}
.campus-stats span { font-size: 11px; color: #b9c4d3; text-transform: uppercase; letter-spacing: 1px; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px; z-index: 2;
}
.scroll-hint span {
  display: block; width: 4px; height: 8px;
  background: var(--mm-dorado-claro); border-radius: 2px;
  margin: 8px auto; animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(14px); opacity: .3; } }

.campus-page .bloque { background: #0a1628; color: #fff; padding: 90px 0; }
.campus-page .bloque[style*="f6f8fc"] { background: #0d1b30 !important; color: #fff; }
.campus-page .titulo h2, .campus-page h2 { color: #fff; }
.campus-page .titulo p { color: #b9c4d3; }
.campus-page .eyebrow-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.15); }

.campus-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.campus-intro h2 { font-family: var(--ff-display); font-size: clamp(32px, 4vw, 54px); line-height: 1; margin-top: 14px; }
.campus-intro p { color: #c8d3e4; margin-top: 18px; font-size: 16px; }
.campus-feats { list-style: none; margin-top: 22px; padding: 0; }
.campus-feats li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #e9eef5; }
.campus-feats li::before { content: "▸ "; color: var(--mm-dorado-claro); font-weight: bold; }
.campus-intro-img img { border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }

.campus-tour { background: linear-gradient(180deg, #0a1628 0%, #102b4f 100%); }
.campus-video .video-placeholder.big { aspect-ratio: 16/9; min-height: 380px; }
.video-placeholder.big .play { width: 90px; height: 90px; }

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g-item {
  position: relative; overflow: hidden; border-radius: 18px;
  cursor: pointer; display: block;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-item span {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0,0,0,.6); color: #fff;
  padding: 6px 12px; border-radius: 999px; font-size: 12px;
  font-weight: 600; backdrop-filter: blur(6px);
}
.g-item.big { grid-column: span 2; grid-row: span 2; }

.amenities-bloque { background: linear-gradient(180deg, #102b4f 0%, #0a1628 100%); }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.amenity {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all .3s;
}
.amenity:hover {
  transform: translateY(-6px);
  background: rgba(212,166,71,.12);
  border-color: var(--mm-dorado);
  box-shadow: 0 18px 40px -10px rgba(212,166,71,.3);
}
.amenity .ico { font-size: 38px; margin-bottom: 8px; }
.amenity h4 { color: var(--mm-dorado-claro); font-size: 15px; margin-bottom: 4px; }
.amenity p { color: #b9c4d3; font-size: 12px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.services-grid span {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #e9eef5;
}

.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plano-card {
  background: #fff;
  color: var(--texto);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  transition: transform .3s;
}
.plano-card:hover { transform: translateY(-8px); }
.plano-img { background: #f6f8fc; border-radius: 12px; padding: 20px; margin-bottom: 14px; }
.plano-svg svg { width: 100%; height: auto; }
.plano-card h4 { font-size: 18px; color: var(--mm-azul); }
.plano-card p { color: var(--texto-suave); font-size: 13px; margin: 4px 0 10px; }
.plano-card strong { color: var(--mm-dorado); font-family: var(--ff-display); font-size: 22px; letter-spacing: 1px; }

.obra-bloque { background: #0d1b30; }
.obra-grid { display: grid; gap: 22px; max-width: 720px; margin: 0 auto; }
.obra-bar .obra-label { display: flex; justify-content: space-between; color: #e9eef5; font-weight: 600; margin-bottom: 8px; }
.obra-bar .bar { height: 14px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.obra-bar .fill { height: 100%; background: var(--grad-dorado); border-radius: 999px; transition: width 1.2s ease; }

.ubic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ubic-grid h2 { font-family: var(--ff-display); font-size: clamp(28px, 3.4vw, 44px); }
.map-wrap iframe { box-shadow: 0 20px 60px rgba(0,0,0,.4); }

.empre-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--grad-dorado); color: #1a1203;
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  box-shadow: 0 8px 20px rgba(212,166,71,.4);
}
.empre-img.real { position: relative; }
.empre-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 18px 0; }
.empre-stats > div { text-align: center; padding: 12px; background: #f6f8fc; border-radius: 12px; }
.empre-stats strong { display: block; font-family: var(--ff-display); color: var(--mm-azul); font-size: 22px; }
.empre-stats span { font-size: 11px; color: var(--texto-suave); text-transform: uppercase; }

@media (max-width: 860px) {
  .campus-intro, .ubic-grid { grid-template-columns: 1fr; }
  .campus-gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .g-item.big { grid-column: span 2; grid-row: span 1; }
  .amenities-grid { grid-template-columns: repeat(2,1fr); }
  .planos-grid { grid-template-columns: 1fr; }
  .campus-stats { grid-template-columns: repeat(2,1fr); }
}

/* =================== FLOATING BUTTONS =================== */
.fab {
  position: fixed; right: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: inline-grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .25s ease, opacity .25s ease, background .2s;
  cursor: pointer;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab-wa {
  bottom: 22px;
  background: #25D366; color: #fff;
}
.fab-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.55);
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.fab-top {
  bottom: 92px;
  background: var(--grad-dorado); color: #1a1203;
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (max-width: 640px) {
  .fab { width: 52px; height: 52px; right: 16px; }
  .fab-wa { bottom: 16px; }
  .fab-top { bottom: 78px; }
}

/* ===== HubSpot Embed Theming ===== */
#hubspotEmbed { display: block; padding: 28px 24px; }
#hubspotEmbed .hs-form-frame,
#hubspotEmbed form.hs-form { font-family: var(--ff-body) !important; color: var(--texto); }
#hubspotEmbed .hs-form-field { margin-bottom: 16px; }
#hubspotEmbed .hs-form-field > label,
#hubspotEmbed .hs-field-desc { display: block; font-size: 14px; font-weight: 600; color: var(--mm-azul); margin-bottom: 6px; }
#hubspotEmbed .hs-form-required { color: var(--mm-dorado); margin-left: 4px; }
#hubspotEmbed input[type="text"],
#hubspotEmbed input[type="email"],
#hubspotEmbed input[type="tel"],
#hubspotEmbed input[type="number"],
#hubspotEmbed textarea,
#hubspotEmbed select {
  width: 100% !important;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: var(--radio);
  border: 1.5px solid var(--gris);
  background: #fff;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--texto);
  transition: border-color .2s, box-shadow .2s;
}
#hubspotEmbed input:focus,
#hubspotEmbed textarea:focus,
#hubspotEmbed select:focus {
  outline: none;
  border-color: var(--mm-dorado);
  box-shadow: 0 0 0 3px rgba(212,166,71,.18);
}
#hubspotEmbed .hs-form-checkbox label,
#hubspotEmbed .hs-form-booleancheckbox label,
#hubspotEmbed .hs-form-radio label { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; color: var(--texto-suave); font-size: 14px; }
#hubspotEmbed .hs-form-checkbox input,
#hubspotEmbed .hs-form-booleancheckbox input,
#hubspotEmbed .hs-form-radio input { margin-top: 3px; accent-color: var(--mm-dorado); }
#hubspotEmbed .hs-error-msgs,
#hubspotEmbed .hs-error-msg { color: #c0392b; font-size: 13px; margin-top: 4px; list-style: none; padding: 0; }
#hubspotEmbed .hs-button,
#hubspotEmbed input[type="submit"] {
  width: 100%;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: var(--grad-dorado);
  color: #1a1203;
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--sombra-glow);
  transition: transform .15s, box-shadow .2s;
  margin-top: 10px;
}
#hubspotEmbed .hs-button:hover,
#hubspotEmbed input[type="submit"]:hover { transform: translateY(-2px); }
#hubspotEmbed .hs-richtext,
#hubspotEmbed .legal-consent-container { font-size: 13px; color: var(--texto-suave); margin: 10px 0; }
#hubspotEmbed .hs-richtext a { color: var(--mm-dorado); }
#hubspotEmbed .submitted-message { padding: 20px; background: var(--gris); border-radius: var(--radio); color: var(--mm-azul); font-weight: 600; text-align: center; }

/* Layouts en columnas (HubSpot usa fieldset con .form-columns-2) */
#hubspotEmbed fieldset { max-width: 100% !important; border: none; padding: 0; margin: 0; }
#hubspotEmbed fieldset.form-columns-2 .hs-form-field,
#hubspotEmbed fieldset.form-columns-3 .hs-form-field { float: none !important; width: 100% !important; padding: 0 !important; }
#hubspotEmbed fieldset.form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#hubspotEmbed fieldset.form-columns-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
#hubspotEmbed .input { margin-right: 0 !important; }

@media (max-width: 640px) {
  #hubspotEmbed { padding: 20px 16px; }
  #hubspotEmbed fieldset.form-columns-2,
  #hubspotEmbed fieldset.form-columns-3 { grid-template-columns: 1fr; }
  #hubspotEmbed .hs-button,
  #hubspotEmbed input[type="submit"] { font-size: 16px; padding: 13px 18px; }
}

/* ===== HubSpot Embed: hardening mobile (sin desbordes) ===== */
#hubspotEmbed, #hubspotEmbed * { box-sizing: border-box; }
#hubspotEmbed { max-width: 100%; overflow-x: hidden; }
#hubspotEmbed form.hs-form,
#hubspotEmbed .hs-form { max-width: 100% !important; width: 100% !important; }
#hubspotEmbed .hs-input { max-width: 100% !important; width: 100% !important; }
#hubspotEmbed .hs-fieldtype-intl-phone.hs-input { display: flex; gap: 8px; }
#hubspotEmbed .hs-fieldtype-intl-phone.hs-input select { flex: 0 0 110px; min-width: 0; }
#hubspotEmbed .hs-fieldtype-intl-phone.hs-input input { flex: 1 1 auto; min-width: 0; }

@media (max-width: 640px) {
  .form-wrap { border-radius: 16px; }
  #hubspotEmbed { padding: 18px 14px !important; }
  #hubspotEmbed input[type="text"],
  #hubspotEmbed input[type="email"],
  #hubspotEmbed input[type="tel"],
  #hubspotEmbed input[type="number"],
  #hubspotEmbed textarea,
  #hubspotEmbed select {
    font-size: 16px;            /* evita zoom en iOS */
    padding: 12px 12px;
  }
  #hubspotEmbed .hs-button,
  #hubspotEmbed input[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 14px 16px;
    white-space: normal;
  }
  #hubspotEmbed fieldset.form-columns-2,
  #hubspotEmbed fieldset.form-columns-3 { grid-template-columns: 1fr !important; gap: 0 !important; }
  #hubspotEmbed .hs-form-field { margin-bottom: 14px; }
  #hubspotEmbed .hs-fieldtype-intl-phone.hs-input { flex-wrap: wrap; }
  #hubspotEmbed .hs-fieldtype-intl-phone.hs-input select { flex: 1 1 100%; }
}

/* ===== HubSpot Embed: accesibilidad (contraste, foco, táctil) ===== */
#hubspotEmbed .hs-form-field > label,
#hubspotEmbed .hs-field-desc { color: #0a2540; font-weight: 700; font-size: 15px; }
#hubspotEmbed .hs-richtext,
#hubspotEmbed .legal-consent-container,
#hubspotEmbed .hs-form-checkbox label,
#hubspotEmbed .hs-form-booleancheckbox label,
#hubspotEmbed .hs-form-radio label { color: #2a3a55; }

/* Foco visible (WCAG 2.4.7) */
#hubspotEmbed input:focus-visible,
#hubspotEmbed textarea:focus-visible,
#hubspotEmbed select:focus-visible,
#hubspotEmbed .hs-button:focus-visible,
#hubspotEmbed input[type="submit"]:focus-visible,
#hubspotEmbed a:focus-visible {
  outline: 3px solid #0a2540 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px rgba(212,166,71,.45) !important;
}

/* Tamaños táctiles mínimos 44x44 (WCAG 2.5.5) */
#hubspotEmbed input[type="text"],
#hubspotEmbed input[type="email"],
#hubspotEmbed input[type="tel"],
#hubspotEmbed input[type="number"],
#hubspotEmbed textarea,
#hubspotEmbed select { min-height: 48px; }

#hubspotEmbed .hs-form-checkbox input,
#hubspotEmbed .hs-form-booleancheckbox input,
#hubspotEmbed .hs-form-radio input {
  width: 22px; height: 22px; min-width: 22px;
  accent-color: var(--mm-dorado);
  cursor: pointer;
}
#hubspotEmbed .hs-form-checkbox label,
#hubspotEmbed .hs-form-booleancheckbox label,
#hubspotEmbed .hs-form-radio label {
  min-height: 44px;
  padding: 6px 0;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
}

#hubspotEmbed .hs-button,
#hubspotEmbed input[type="submit"] { min-height: 52px; }

/* Mensaje de error con mejor contraste */
#hubspotEmbed .hs-error-msgs,
#hubspotEmbed .hs-error-msg { color: #a3261b; font-weight: 600; }
#hubspotEmbed .invalid.error,
#hubspotEmbed input.invalid,
#hubspotEmbed select.invalid,
#hubspotEmbed textarea.invalid { border-color: #a3261b !important; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  #hubspotEmbed .hs-button,
  #hubspotEmbed input[type="submit"] { transition: none !important; }
  #hubspotEmbed .hs-button:hover,
  #hubspotEmbed input[type="submit"]:hover { transform: none !important; }
}

@media (max-width: 640px) {
  #hubspotEmbed .hs-form-field > label { font-size: 15px; }
  #hubspotEmbed .hs-richtext,
  #hubspotEmbed .legal-consent-container { font-size: 14px; line-height: 1.5; }
}
