/* Layout: minimal moderno. Fondo blanco, mucho aire, azul como color principal y verde como acento; líneas finas en lugar de tarjetas. */
:root {
  --white: #ffffff;
  --mist: #f4f8fc;
  --ink: #0f2340;
  --muted: #5b6b80;
  --line: #e3eaf2;
  --field: #d5dfea;
  --blue: #1452c8;
  --blue-dark: #0f44a8;
  --sky: #2c8fd6;
  --blue-soft: #e8f0fd;
  --green: #12925a;
  --green-soft: #e6f6ee;
  --error: #c0362c;
  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Inter Tight", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; font: 600 15.5px/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn-green, .btn-lime { background: var(--blue); color: var(--white); }
.btn-green:hover, .btn-lime:hover { background: var(--blue-dark); }
.btn-line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--white) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-chip img { height: 40px; width: auto; }
.brand-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; padding-left: 14px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--blue); }
.header-row .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
@media (max-width: 860px) { .nav, .brand-meta { display: none; } .header-row .btn { margin-left: auto; } }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.presenter { display: inline-flex; align-items: center; gap: 8px; background: var(--green-soft); color: var(--green); padding: 7px 12px; border-radius: 999px; }
.presenter::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 5.8vw, 74px); font-weight: 700; }
.hero h1 .line2 { display: block; color: var(--blue); font-weight: 300; }
.arc { display: block; width: min(100%, 360px); height: 16px; margin-top: 20px; }
.hero-lede { margin-top: 22px; max-width: 32em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.film { position: relative; border-radius: 16px; overflow: hidden; background: var(--mist); aspect-ratio: 16 / 9; max-width: 100%; box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--blue) 40%, transparent); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-tag { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--blue); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; border-radius: 6px; pointer-events: none; }
.film-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Franja de datos */
.ticket { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; border-block: 1px solid var(--line); }
.ticket > div { padding: 26px 28px 26px 0; display: grid; gap: 4px; align-content: start; }
.ticket > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.ticket .label { color: var(--muted); }
.ticket strong { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.25; letter-spacing: -.01em; }
.ticket p { font-size: 14.5px; color: var(--muted); }
.ticket .stub { text-align: right; padding-right: 0; min-width: 130px; }
.ticket .stub .label { color: var(--green); }
.stub .count { font-family: var(--display); font-weight: 300; font-size: 44px; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
@media (max-width: 860px) {
  .ticket { grid-template-columns: 1fr 1fr; }
  .ticket > div, .ticket > div + div { padding: 20px 16px 20px 0; border-left: 0; }
  .ticket > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .ticket > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ticket .stub { text-align: left; }
}
@media (max-width: 480px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .ticket > div:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; }
.section-head h2 em { font-style: normal; font-weight: 300; color: var(--blue); }
.section-head > p { color: var(--muted); max-width: 32em; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.why article { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 2px solid var(--blue); }
.why article:nth-child(2) { border-top-color: var(--sky); }
.why article:nth-child(3) { border-top-color: var(--green); }
.why svg { width: 26px; height: 26px; color: var(--blue); }
.why article:nth-child(2) svg { color: var(--sky); }
.why article:nth-child(3) svg { color: var(--green); }
.why h3 { font-size: 21px; font-weight: 650; line-height: 1.2; letter-spacing: -.015em; }
.why p { color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .why { grid-template-columns: 1fr; } }

/* Floor plan */
.plan-band { background: var(--mist); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hall { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.hall-name { display: block; margin-bottom: 16px; color: var(--muted); }
.booths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.booth { appearance: none; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-height: 100px; display: grid; grid-template-rows: auto 1fr auto; gap: 6px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.booth:hover { border-color: var(--blue); }
.booth .code { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.booth svg { width: 20px; height: 20px; color: var(--blue); }
.booth .name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.booth[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.booth[aria-pressed="true"] .code, .booth[aria-pressed="true"] svg { color: var(--white); }
.booth.stage { grid-column: 1 / -1; min-height: 64px; grid-template-columns: auto 1fr auto; grid-template-rows: auto; align-items: center; gap: 14px; background: var(--green-soft); border-color: transparent; }
.booth.stage svg { color: var(--green); }
.booth.stage:hover { border-color: var(--green); }
.booth.stage[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.booth.stage .name { font-size: 15.5px; }
.entrance { display: flex; justify-content: center; margin-top: 16px; }
.entrance span { color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding-top: 12px; border-top: 2px solid var(--blue); min-width: 120px; text-align: center; }
.plan-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .booths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .booth { padding: 10px; min-height: 92px; } .booth .name { font-size: 12.5px; } .hall { padding: 12px; } }

.pavilion { position: sticky; top: 96px; display: grid; gap: 16px; }
.pavilion .pav-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.pavilion .pav-icon svg { width: 26px; height: 26px; }
.pavilion h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; }
.pavilion > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14px; font-weight: 500; }
.pavilion .btn { justify-self: start; }

/* Participation */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path { appearance: none; font: inherit; color: var(--ink); text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.path:hover { border-color: var(--blue); box-shadow: 0 16px 32px -24px color-mix(in srgb, var(--blue) 45%, transparent); }
.path .who { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.path h3 { font-size: 23px; font-weight: 700; }
.path p { color: var(--muted); font-size: 16px; }
.path .go { margin-top: 8px; font-weight: 600; font-size: 15px; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.path .go svg { width: 17px; height: 17px; transition: transform .15s; }
.path:hover .go svg { transform: translateX(3px); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* Registration */
.reg-band { background: linear-gradient(180deg, var(--blue-soft), var(--white) 70%); }
.reg-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.reg-copy h2 { margin-top: 14px; font-size: clamp(32px, 4vw, 50px); font-weight: 700; }
.reg-copy h2 span { color: var(--green); font-weight: 300; }
.reg-copy > p { margin-top: 18px; color: var(--muted); max-width: 30em; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312925a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.contact { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.contact .label { color: var(--muted); }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.contact-row span { font-weight: 600; font-size: 16.5px; user-select: all; overflow-wrap: anywhere; min-width: 0; }
.copy { appearance: none; border: 1px solid var(--line); background: var(--white); color: var(--blue); border-radius: 8px; padding: 4px 12px; font: 500 13px/1.4 var(--body); cursor: pointer; }
.copy:hover { border-color: var(--blue); }

.form-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 28px 56px -40px color-mix(in srgb, var(--ink) 40%, transparent); }
.form-card h3 { font-size: 24px; font-weight: 700; }
.form-card .hint { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.preview-note { margin-top: 16px; background: var(--mist); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: 14px; color: var(--muted); }
fieldset { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 14.5px; margin-bottom: 10px; padding: 0; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.role { position: relative; }
.role input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role span { display: grid; place-items: center; text-align: center; min-height: 46px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14.5px; line-height: 1.2; transition: border-color .15s, background-color .15s, color .15s; }
.role input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.role input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.field label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--white); border: 1px solid var(--field); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .help { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.form-error { margin-top: 16px; color: var(--error); font-weight: 500; font-size: 15px; }
.submit { width: 100%; margin-top: 22px; min-height: 52px; font-size: 16px; }
.fineprint { margin-top: 14px; font-size: 13px; color: var(--muted); }
.success { display: grid; gap: 14px; }
.success h3 { font-size: 28px; }
.ref { background: var(--green-soft); border-radius: 12px; padding: 14px 18px; display: grid; gap: 4px; }
.ref .label { color: var(--green); }
.ref strong { font: 500 21px/1.2 var(--mono); letter-spacing: .06em; color: var(--green); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); }
.faq-grid h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.faq-grid .side p { margin-top: 16px; color: var(--muted); }
.faq-grid .side strong { color: var(--blue); font-weight: 600; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 17.5px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 26px/1 var(--display); color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; }
.foot-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.foot-top .brand-chip img { height: 56px; }
.foot-top strong { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; display: block; }
.foot-top p { color: var(--muted); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-bottom a { color: var(--blue); text-decoration: none; }
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr; } .foot-top .btn { justify-self: start; } }

/* Formulario conectado */
.form-body { margin: 0; }
.form-body:disabled { opacity: .7; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
