/* ==========================================================================
   Puerto Tiene Talento · II Edición (2026)
   Hoja de estilos pública. Mobile-first. Identidad: negro cálido, burdeos y oro.
   ========================================================================== */

:root {
  --bg: #0a0507;
  --bg-2: #140a0e;
  --bg-3: #1d0e14;
  --burgundy: #5a0f1c;
  --burgundy-2: #7d1628;
  --gold: #d4a94e;
  --gold-2: #f3dc9a;
  --gold-3: #9a7430;
  --cream: #f6ebd6;
  --muted: #b9a892;
  --muted-2: #8c7d6a;
  --line: rgba(212, 169, 78, 0.22);
  --line-2: rgba(212, 169, 78, 0.1);
  --ok: #4fb877;
  --err: #ff6b7a;
  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-script: 'Great Vibes', 'Brush Script MT', cursive;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1120px;
  --pad: clamp(16px, 4.5vw, 32px);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --gold-grad: linear-gradient(180deg, #f6e3a6 0%, #d4a94e 45%, #a67c2f 100%);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Reset ligero */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.05; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
.meta { color: var(--muted); font-size: 0.9em; }
.pending { background: #ffe58a; color: #3a2a00; padding: 0 0.35em; border-radius: 4px; font-weight: 600; font-size: 0.85em; }

/* Tipografía de marca */
.display { font-family: var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; line-height: 0.95; }
.script { font-family: var(--font-script); text-transform: none; letter-spacing: 0; line-height: 1; }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.eyebrow {
  font-family: var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-size: 0.95rem;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0.7em 1.4em; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center; -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-grad); color: #1a0d05; box-shadow: 0 8px 26px rgba(212, 169, 78, 0.3); }
.btn-gold:hover { color: #000; box-shadow: 0 10px 32px rgba(212, 169, 78, 0.45); }
.btn-outline { background: transparent; color: var(--gold-2); border-color: var(--gold-3); }
.btn-outline:hover { background: rgba(212, 169, 78, 0.1); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--cream); }
.btn-sm { min-height: 40px; padding: 0.35em 1em; font-size: 1.05rem; }
.btn-lg { min-height: 60px; font-size: 1.45rem; padding: 0.7em 1.8em; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 5, 7, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: flex; align-items: baseline; gap: 6px; color: var(--cream); line-height: 1; }
.brand-line { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-script { font-family: var(--font-script); font-size: 1.75rem; color: var(--gold); transform: translateY(2px); }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav a:not(.btn) { color: var(--cream); font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; font-size: 1.05rem; }
.site-nav a:not(.btn):hover { color: var(--gold-2); }
@media (max-width: 480px) { .site-nav a:not(.btn):first-child { display: none; } }

.flashes { margin-top: 14px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 10px; }
.flash-success { border-color: rgba(79, 184, 119, 0.5); }
.flash-error { border-color: rgba(255, 107, 122, 0.5); }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 6vw, 72px) 0 clamp(28px, 5vw, 56px);
  background: #0a0507 url('../img/hero-bg-800.webp') center top / cover no-repeat;
}
@media (min-width: 900px) { .hero { background-image: url('../img/hero-bg-1600.webp'); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(212, 169, 78, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(10, 5, 7, 0.55) 0%, rgba(10, 5, 7, 0.82) 55%, var(--bg) 100%);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-kicker .eyebrow { font-size: 0.85rem; }
.hero-kicker .pill { font-size: 0.8rem; }
.hero-title { margin: 0 0 8px; }
.hero-title .display { display: block; font-size: clamp(3.4rem, 15vw, 6.8rem); }
.hero-title .script { display: block; font-size: clamp(3.8rem, 17vw, 7.6rem); margin-top: -0.18em; margin-left: 0.08em; }
.hero-sub { font-size: clamp(1rem, 3.6vw, 1.2rem); color: var(--cream); margin: 10px 0 18px; max-width: 34ch; }
.hero-sub strong { color: var(--gold-2); font-weight: 600; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.hero-facts li { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; }
.hero-facts .k { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-facts .v { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.03em; color: var(--gold-2); line-height: 1.1; margin-top: 2px; }
.hero-facts .v small { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); letter-spacing: 0; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .hero-cta { flex-direction: row; align-items: center; } }
.hero-poster { position: relative; margin-inline: auto; width: min(100%, 320px); }
@media (min-width: 900px) { .hero-poster { width: min(100%, 420px); } }
.hero-poster img {
  width: 100%; border-radius: 10px; aspect-ratio: 4096 / 5760; object-fit: cover;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 90px rgba(212, 169, 78, 0.15);
  border: 1px solid rgba(212, 169, 78, 0.28); background: #1a0b10;
}
.hero-poster figcaption { text-align: center; margin-top: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(212, 169, 78, 0.08); color: var(--gold-2);
  font-size: 0.85rem; letter-spacing: 0.04em;
}
.pill-live { border-color: rgba(255, 107, 122, 0.5); background: rgba(255, 107, 122, 0.12); color: #ffb3bb; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* Cuenta atrás */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 440px; margin: 0 0 20px; }
.countdown .cell { text-align: center; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 4px; }
.countdown .n { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1; color: var(--gold-2); }
.countdown .l { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.countdown-label { color: var(--muted); font-size: 0.85rem; margin: 0 0 8px; letter-spacing: 0.04em; }

/* Secciones */
.section { padding: clamp(40px, 8vw, 88px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-line { border-top: 1px solid var(--line-2); }
.section-head { margin-bottom: clamp(20px, 4vw, 36px); }
.section-head h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3.6rem); letter-spacing: 0.03em; text-transform: uppercase; }
.section-head p { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-head p { margin-inline: auto; }

/* Datos clave */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.fact { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px 16px; }
.fact .k { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fact .v { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 6vw, 2rem); color: var(--gold-2); line-height: 1.05; margin: 4px 0 2px; }
.fact .d { display: block; font-size: 0.9rem; color: var(--cream); }

/* Premios */
.prizes { display: grid; gap: 12px; }
@media (min-width: 720px) { .prizes { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; } }
.prize {
  position: relative; border-radius: var(--radius); padding: 22px 18px; text-align: center;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
}
.prize-1 { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212, 169, 78, 0.25), 0 22px 60px rgba(212, 169, 78, 0.12); }
.prize .rank { display: block; font-family: var(--font-display); letter-spacing: 0.16em; font-size: 1rem; color: var(--gold); }
.prize .amount { display: block; font-family: var(--font-display); font-size: clamp(3rem, 13vw, 4.4rem); line-height: 1; margin: 6px 0; }
.prize .note { color: var(--muted); font-size: 0.92rem; margin: 0; }
.prize-1 .amount { font-size: clamp(3.6rem, 15vw, 5.2rem); }
.prizes-foot { margin-top: 16px; color: var(--muted); text-align: center; }
@media (max-width: 719px) {
  .prize { display: grid; grid-template-columns: auto 1fr; align-items: center; text-align: left; gap: 4px 18px; padding: 14px 18px; }
  .prize .rank { grid-row: 1; }
  .prize .amount { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-size: 2.6rem; margin: 0; }
  .prize-1 .amount { font-size: 3.2rem; }
  .prize .note { grid-row: 2; }
}

/* Pasos */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { position: relative; padding: 16px 16px 16px 58px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); }
@media (min-width: 720px) { .steps li { padding: 52px 16px 18px; } }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-grad); color: #1a0d05;
  font-family: var(--font-display); font-size: 1.25rem;
}
.steps strong { display: block; color: var(--cream); margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 0.93rem; }

/* Disciplinas */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { font-family: var(--font-script); font-size: 1.7rem; color: var(--gold-2); padding: 2px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, 0.25); line-height: 1.5; }

/* Fechas clave */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold), transparent); }
.timeline li { position: relative; padding: 0 0 20px 40px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--gold); }
.timeline li.done::before { background: var(--gold); }
.timeline .when { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; color: var(--gold-2); }
.timeline .what { color: var(--cream); }
@media (min-width: 900px) {
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .timeline::before { left: 8px; right: 8px; top: 11px; bottom: auto; height: 2px; width: auto; background: linear-gradient(90deg, var(--gold), var(--gold-3)); }
  .timeline li { padding: 34px 8px 0 0; }
  .timeline li::before { left: 0; top: 3px; }
}

/* Vídeo */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { background: center / cover no-repeat; cursor: pointer; display: grid; place-items: center; color: #fff; }
.video button::after { content: ''; width: 72px; height: 72px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M9.5 7.5v9l7-4.5z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M9.5 7.5v9l7-4.5z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat; }

/* FAQ */
.faq { display: grid; gap: 8px; max-width: 800px; margin-inline: auto; }
.faq details { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq .a { padding: 0 16px 16px; color: var(--muted); }
.faq .a p:last-child { margin-bottom: 0; }

/* Ubicación */
.place { display: grid; gap: 16px; align-items: center; }
@media (min-width: 800px) { .place { grid-template-columns: 1fr 1fr; } }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* Aviso / notice */
.notice { background: rgba(212, 169, 78, 0.08); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 20px; }
.notice.notice-warn { background: rgba(255, 107, 122, 0.08); border-color: rgba(255, 107, 122, 0.4); border-left-color: var(--err); }
.notice.notice-ok { background: rgba(79, 184, 119, 0.08); border-color: rgba(79, 184, 119, 0.4); border-left-color: var(--ok); }
.notice p:last-child { margin-bottom: 0; }
.notice h3 { font-family: var(--font-display); letter-spacing: 0.06em; font-size: 1.35rem; }

/* Páginas de texto */
.page { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; padding: clamp(24px, 5vw, 56px) 0 clamp(40px, 8vw, 80px); }
.page .prose { margin-inline: 0; }
.page-header { margin-bottom: clamp(18px, 4vw, 32px); }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 11vw, 4.4rem); letter-spacing: 0.03em; text-transform: uppercase; }
.page-header .lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.toc { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 28px; }
.toc ol { margin: 0; padding-left: 0; list-style: none; columns: 1; }
@media (min-width: 720px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { padding: 3px 0; break-inside: avoid; }
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.2rem); letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-2); margin: 1.6em 0 0.5em; scroll-margin-top: 80px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.3em 0 0.4em; color: var(--cream); }
.prose p, .prose li { color: #e2d7c3; }
.prose li { margin-bottom: 0.35em; }
.prose strong { color: var(--cream); }
.prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, 0.03); border-radius: 0 8px 8px 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1em 0; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.table th { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Formulario */
.form-page { padding: clamp(20px, 4vw, 48px) 0 96px; }
.form-intro { margin-bottom: 20px; }
.form-progress { position: sticky; top: 60px; z-index: 30; background: rgba(10, 5, 7, 0.9); backdrop-filter: blur(10px); padding: 10px 0; margin: 0 0 18px; border-bottom: 1px solid var(--line-2); }
.form-progress ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.form-progress li { text-align: center; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 8px; position: relative; }
.form-progress li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.form-progress li.active { color: var(--gold-2); }
.form-progress li.active::before, .form-progress li.done::before { background: var(--gold); }
.form-progress a { color: inherit; }
.form-section { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(16px, 4vw, 28px); margin-bottom: 16px; scroll-margin-top: 120px; }
.form-section h2 { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-2); display: flex; align-items: center; gap: 10px; }
.form-section h2 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: #1a0d05; display: grid; place-items: center; font-size: 1.15rem; }
.form-section .hint { color: var(--muted); margin: -6px 0 16px; font-size: 0.95rem; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.field .opt { color: var(--muted); font-weight: 400; font-size: 0.85em; }
.field .help { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.field .error-msg { display: none; color: var(--err); font-size: 0.85rem; margin-top: 6px; }
.field.has-error .error-msg { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--cream);
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4a94e' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { color: #111; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 3px rgba(212, 169, 78, 0.18); }
.field input::placeholder, .field textarea::placeholder { color: #776a5a; }
.field input[type="date"] { min-height: 52px; }
.field input[type="file"] { width: 100%; padding: 12px; background: rgba(255, 255, 255, 0.05); border: 1.5px dashed rgba(212, 169, 78, 0.4); border-radius: var(--radius-sm); color: var(--muted); }
.field input[type="file"]::file-selector-button { font: inherit; margin-right: 10px; padding: 8px 12px; border-radius: 8px; border: 0; background: var(--gold-grad); color: #1a0d05; font-weight: 600; }
.row { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .row { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: 1fr 1fr 1fr; } }
.counter { text-align: right; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.counter.warn { color: var(--gold); }
.check, .field label.check { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm); margin-bottom: 10px; background: rgba(255, 255, 255, 0.03); cursor: pointer; font-weight: 400; line-height: 1.45; transition: border-color .15s, background .15s; }
.check:hover, .field label.check:hover { border-color: rgba(212, 169, 78, 0.45); }
.check:has(input:checked), .field label.check:has(input:checked) { border-color: rgba(212, 169, 78, 0.6); background: rgba(212, 169, 78, 0.07); }
.check input { flex: 0 0 auto; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.check span { font-size: 0.95rem; color: var(--cream); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.check.optional span { color: var(--muted); }
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-group label { flex: 1 1 120px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 1.5px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; }
.radio-group input { accent-color: var(--gold); width: 20px; height: 20px; }
.radio-group label:has(input:checked) { border-color: var(--gold); background: rgba(212, 169, 78, 0.1); }
.members { display: grid; gap: 8px; }
.member { display: grid; grid-template-columns: 1fr 88px; gap: 8px; }
.member input { min-height: 46px !important; }
.form-errors { margin-bottom: 18px; }
.form-errors ul { margin: 0.5em 0 0; }
.submit-bar { margin-top: 8px; }
.submit-bar .btn { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 8px 26px rgba(212, 169, 78, 0.35); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-closed { text-align: center; padding: 30px 0; }
.form-closed .display { font-size: clamp(2.4rem, 10vw, 4rem); }

/* Página de gracias */
.thanks { text-align: center; padding: clamp(28px, 6vw, 64px) 0 80px; }
.thanks .registro { display: inline-block; margin: 14px 0 18px; padding: 14px 24px; border: 1.5px solid var(--gold); border-radius: var(--radius); font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); letter-spacing: 0.08em; color: var(--gold-2); background: rgba(212, 169, 78, 0.08); }
.thanks ol { text-align: left; max-width: 560px; margin: 24px auto; }

/* Lista de la gala */
.acts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.act { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.act .n { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); text-align: center; }
.act .name { font-weight: 600; }
.act .mod { color: var(--muted); font-size: 0.9rem; }
.winners { display: grid; gap: 12px; }
.winner { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.winner .rank { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); }

/* Pie */
.site-footer { border-top: 1px solid var(--line-2); padding: 40px 0 calc(28px + var(--safe-bottom)); background: var(--bg-2); color: var(--muted); font-size: 0.93rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 220px; opacity: 0.9; margin-bottom: 14px; }
.footer-title { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold-2); }
.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); }
.footer-bottom { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 0.85rem; }
body.phase-open .site-footer { padding-bottom: calc(96px + var(--safe-bottom)); }
@media (min-width: 900px) { body.phase-open .site-footer { padding-bottom: calc(28px + var(--safe-bottom)); } }

/* CTA fijo en móvil */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-bottom)); z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px;
  border-radius: 999px; background: var(--gold-grad); color: #1a0d05; line-height: 1.05;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 6px 24px rgba(212, 169, 78, 0.4);
  transform: translateY(0); transition: transform .25s ease, opacity .25s ease;
}
.sticky-cta-main { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sticky-cta-sub { font-size: 0.75rem; opacity: 0.85; }
.sticky-cta.hidden { transform: translateY(140%); opacity: 0; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Firma en pantalla */
.sigpad { position: relative; border: 1.5px dashed rgba(212, 169, 78, 0.5); border-radius: var(--radius-sm); background: #f6efe1; overflow: hidden; }
.sigpad canvas { display: block; width: 100%; height: 200px; touch-action: none; cursor: crosshair; }
.sigpad-hint { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: #a89a84; font-family: var(--font-script); font-size: 2rem; }
.sigpad-clear { position: absolute; right: 8px; bottom: 8px; background: rgba(20, 8, 11, 0.85); color: var(--cream); }
.field.has-error .sigpad { border-color: var(--err); }

/* WhatsApp de soporte */
.wa-float {
  position: fixed; right: 14px; bottom: calc(14px + var(--safe-bottom)); z-index: 61;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px 0 12px;
  border-radius: 999px; background: #25d366; color: #062b16; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(37, 211, 102, 0.35); text-decoration: none;
}
.wa-float:hover { color: #000; background: #2ee372; }
.wa-float svg { flex: 0 0 auto; }
@media (max-width: 899px) {
  .wa-float { padding: 0; width: 54px; height: 54px; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float-with-cta { bottom: calc(82px + var(--safe-bottom)); }
}
.wa-inline {
  display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; padding: 12px 16px;
  border-radius: var(--radius-sm); background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.35); color: var(--cream);
}
.wa-inline svg { color: #25d366; flex: 0 0 auto; }
.wa-inline:hover { background: rgba(37, 211, 102, 0.16); color: #fff; }
.wa-inline strong { color: #7ff0ac; }

/* Animaciones suaves (sin ocultar contenido si falla JS) */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise .6s ease both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }
.hero-text > *:nth-child(5) { animation-delay: .32s; }
.hero-text > *:nth-child(6) { animation-delay: .4s; }
.hero-poster { animation: rise .8s ease .3s both; }

@media print {
  .site-header, .site-footer, .sticky-cta, .actions, .toc, .form-progress { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li, .prose h2, .prose h3 { color: #000; }
}
