/* ============================================================
   PRODUCTORA 2047 — Hoja de estilos principal
   Identidad: Poppins · negro + dorado (#ffc000) · logo stencil
   Referencia de diseño: estética cinematográfica tipo Aputure
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-soft: #101012;
  --surface: #141417;
  --surface-2: #1a1a1e;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f2f3;
  --text-muted: #9b9ba3;
  --text-dim: #6e6e76;
  --white: #ffffff;
  --gold: #ffc000;
  --gold-soft: rgba(255, 192, 0, 0.12);
  --gold-border: rgba(255, 192, 0, 0.35);
  --gold-grad: linear-gradient(135deg, #f8e08e 0%, #ffc000 45%, #9a7416 100%);
  --whatsapp: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1240px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #000; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ---------- Grano cinematográfico de fondo ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ============================================================
   LOGO (PNG oficial del brand book)
   ============================================================ */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 52px; width: auto; }
.logo--big img { height: clamp(180px, 30vw, 300px); }

/* Versión dorada: el PNG blanco como máscara, relleno degradado oro */
.logo-gold {
  display: inline-block;
  background: var(--gold-grad);
  -webkit-mask: url('../img/logo-2047-blanco.png') no-repeat center / contain;
  mask: url('../img/logo-2047-blanco.png') no-repeat center / contain;
}

/* ============================================================
   HEADER — transparente arriba, sólido al hacer scroll
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(8, 8, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a, .nav-dropdown > a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav > a:hover, .main-nav > a.active,
.nav-dropdown > a:hover { color: var(--white); }
.main-nav > a.active { color: var(--gold); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7em; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 270px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 7px;
  transition: all 0.15s;
}
.dropdown-menu a:hover { background: var(--surface-2); color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 42px; height: 42px;
  color: var(--white);
  font-size: 1.1rem;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(255, 192, 0, 0.35); background: #ffd23e; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.btn-white {
  background: var(--white);
  color: #000;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2); }
.btn-wa {
  background: var(--whatsapp);
  color: #06250f;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 38px; font-size: 1rem; }

/* ============================================================
   HERO — pantalla completa, estilo cinematográfico
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 100px;
  overflow: hidden;
}
.hero--full {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 110px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 10%, rgba(255, 192, 0, 0.07), transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 90%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(to bottom, #0c0c0d, var(--bg));
  pointer-events: none;
}
.hero::after {
  content: '2047';
  position: absolute;
  bottom: -0.18em;
  right: -0.05em;
  font-size: clamp(10rem, 26vw, 24rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 192, 0, 0.08);
  pointer-events: none;
  user-select: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 32px;
  background: var(--gold-soft);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 192, 0, 0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(255, 192, 0, 0); }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 19ch;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.scroll-cue::after {
  content: '';
  width: 3px; height: 9px;
  background: var(--gold);
  border-radius: 3px;
  margin-top: 7px;
  animation: cue 1.8s infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 56px;
}
.marquee span::after { content: '✦'; font-size: 0.7em; color: var(--gold); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECCIONES
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--border); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-muted); font-weight: 300; }

/* ============================================================
   TILES DE SERVICIOS — full-bleed estilo Aputure
   ============================================================ */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  padding: 34px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tile--wide { grid-column: span 2; min-height: 440px; }
.tile-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(155deg, #1d1d22, #0c0c0e 70%);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 55%);
}
.tile:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.tile:hover .tile-bg { transform: scale(1.05); }
.tile-num {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  transition: -webkit-text-stroke 0.3s;
}
.tile:hover .tile-num { -webkit-text-stroke: 1px var(--gold); }
.tile-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.tile h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.tile p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 18px;
}
.tile-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tile-link::after { content: '→'; color: var(--gold); transition: transform 0.2s; }
.tile:hover .tile-link::after { transform: translateX(6px); }

/* ---------- Diferenciales ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 3px;
}

/* ---------- Proceso ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-step {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.25s;
}
.process-step:hover { border-color: var(--gold-border); }
.process-step .num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; color: var(--text-muted); font-weight: 300; }

/* ---------- Stats / cifras ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.stat .stat-num {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--gold); border-color: var(--gold-border); }
.filter-btn.active { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 700; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.28s ease;
}
.work-card:hover { transform: translateY(-5px); border-color: var(--gold-border); }
.work-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 192, 0, 0.1), transparent 60%),
    linear-gradient(135deg, #1c1c21, #0e0e10);
  border-bottom: 1px solid var(--border);
}
.work-thumb .play {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
  font-size: 1rem;
  color: var(--white);
  transition: all 0.25s;
}
.work-card:hover .play { background: var(--gold); color: #000; border-color: var(--gold); transform: scale(1.1); }
.work-info { padding: 18px 20px 20px; }
.work-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.work-info h3 { font-size: 1rem; font-weight: 700; margin-top: 5px; }
.work-info p { font-size: 0.83rem; color: var(--text-muted); font-weight: 300; margin-top: 4px; }

/* ============================================================
   LANDING DE SERVICIO
   ============================================================ */
.landing-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  background-size: cover;
  background-position: center;
}
.landing-hero::before {
  background:
    radial-gradient(ellipse 90% 70% at 70% 10%, rgba(255, 192, 0, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.86) 0%, rgba(8, 8, 9, 0.92) 45%, var(--bg) 100%);
}
.video-embed {
  margin-top: 56px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #000;
}
.video-embed.no-top-margin { margin-top: 0; }
.video-embed iframe { width: 100%; height: 100%; display: block; }

/* ---------- Problema / Solución ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.problem-card, .solution-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.problem-card { background: var(--surface); }
.solution-card {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 192, 0, 0.16), transparent 55%),
    var(--surface-2);
  border-color: var(--gold-border);
}
.problem-card h3, .solution-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 18px; }
.problem-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.problem-card ul li:last-child { border-bottom: none; }
.problem-card ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  color: var(--text-dim);
}
.solution-card p { font-size: 0.95rem; font-weight: 300; color: var(--text-muted); }
.solution-card .logo-gold-mini {
  width: 84px; height: 74px;
  margin-bottom: 18px;
}

/* ---------- Chips de servicios incluidos ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: all 0.2s;
}
.chips li:hover { color: var(--gold); border-color: var(--gold-border); }

/* ---------- Paquetes ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.package-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.28s;
}
.package-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.package-card.featured {
  background: var(--surface-2);
  border-color: var(--gold-border);
  position: relative;
}
.package-card.featured::before {
  content: 'Más elegido';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: #000;
  padding: 5px 16px;
  border-radius: 999px;
}
.package-card .pkg-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.package-card h3 { font-size: 1.25rem; font-weight: 800; margin: 8px 0 10px; }
.package-card .pkg-desc { font-size: 0.86rem; color: var(--text-muted); font-weight: 300; margin-bottom: 22px; }
.package-card ul { flex-grow: 1; margin-bottom: 26px; }
.package-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  padding: 6px 0 6px 24px;
  position: relative;
}
.package-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--gold-border); }
.faq-list summary {
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--gold); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 24px 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ============================================================
   FORMULARIO
   ============================================================ */
.form-wrap {
  max-width: 760px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239b9ba3' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.form-note { font-size: 0.78rem; color: var(--text-dim); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 130%, rgba(255, 192, 0, 0.13), transparent 60%);
  pointer-events: none;
}
.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 22ch;
  margin: 0 auto 18px;
}
.cta-final p { color: var(--text-muted); font-weight: 300; max-width: 52ch; margin: 0 auto 38px; }
.cta-final .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 70px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo img { height: 84px; }
.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 20px;
  max-width: 32ch;
}
.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.22s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #06250f; }

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .scroll-cue::after { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 28px 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { transform: none; }
  .main-nav > a, .nav-dropdown > a { font-size: 1.05rem; padding: 10px 0; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 18px;
    min-width: 0;
  }
  .nav-toggle { display: grid; place-items: center; }
  .header-cta .btn-outline { display: none; }
  .logo img { height: 44px; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .tile { min-height: 320px; }
  .packages-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 30px 22px; }
  .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 70px 0; }
  .hero { padding-bottom: 70px; }
  .hero--full { padding-bottom: 90px; }
}
