/* =====================================================================
   Gana tu lugar en The Barbie™ Run 2026 · Landing de registro
   Sistema visual heredado de la landing v6: Pantone 211 C y tintes 40 / 48 / 61 %,
   Power Pink (Pantone 225 C) para CTA y acentos, League Gothic (titulares, mayúsculas)
   · Area (cuerpo) · Alkaline (acento, minúsculas). Fondo de franjas + stickers flotando en 3D.
   ===================================================================== */

:root {
  --pink-211: #F57EB6;
  --pink-61:  #F9B0D2;
  --pink-48:  #FAC1DC;
  --pink-40:  #FBCBE2;
  --pink-20:  #FDE5F0;
  --pink-hot: #DF1995;        /* Power Pink · Pantone 225 C */
  --pink-hot-dark: #C5136F;
  --pink-deep: #D63384;       /* rosa de los stickers (sombra 3D) */
  --ink: #1D1D1B;
  --ink-60: #5C5C5A;
  --ink-30: #B5B5B2;
  --paper: #FFFFFF;
  --error: #C81E3C;
  --ok: #1E7A4C;

  --glass: rgba(255, 255, 255, .78);
  --glass-strong: rgba(255, 255, 255, .92);
  --glass-line: rgba(255, 255, 255, .95);
  --glass-shadow: 0 30px 80px -30px rgba(197, 19, 111, .38);

  --f-head: "league-gothic", "League Gothic", "Oswald", Impact, "Arial Narrow", sans-serif;
  --f-body: "area-normal", "Area", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "alkaline", "Alkaline", "Yellowtail", "Brush Script MT", cursive;

  --radius: 22px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.55; color: var(--ink);
  background: var(--pink-48); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--pink-61); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.accent { font-family: var(--f-accent); text-transform: lowercase; font-weight: 400; letter-spacing: 0; color: var(--pink-hot); }
h1 .accent, h2 .accent { padding: .04em .2em .2em; margin-inline: -.2em; display: inline-block; }

/* ---------- fondo fijo: franjas verticales 211 C ---------- */
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-color: var(--pink-48);
  background-image: linear-gradient(90deg,
    var(--pink-61) 0 12.5%, var(--pink-48) 12.5% 25%, var(--pink-40) 25% 37.5%, var(--pink-48) 37.5% 50%,
    var(--pink-61) 50% 62.5%, var(--pink-48) 62.5% 75%, var(--pink-40) 75% 87.5%, var(--pink-48) 87.5% 100%);
}
.bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.06) 32%, rgba(255,255,255,0) 60%, rgba(255,255,255,.22)); }
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { height: 42px; width: auto; }
.brand__logo--lockup { height: 40px; }
.site-header__dates { margin: 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--pink-hot); display: flex; gap: 10px; align-items: center; }
.site-header__dates .dot { color: var(--ink-30); }

/* ---------- tipografía común ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--pink-hot); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 3px; background: var(--pink-hot); border-radius: 2px; }
h2 { font-family: var(--f-head); text-transform: uppercase; font-weight: 400; line-height: .92; margin: 0; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer; font: 700 16px/1 var(--f-body); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn--primary { background: var(--pink-hot); color: #fff; box-shadow: 0 14px 30px -12px rgba(223, 25, 149, .7); }
.btn--primary:hover { background: var(--pink-hot-dark); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(223, 25, 149, .8); }
.btn--primary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .8; cursor: not-allowed; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow-x: clip; perspective: 1200px; }
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start;
  padding-block: clamp(44px, 6vw, 92px) clamp(48px, 6vw, 96px);
}
.hero__copy { max-width: 600px; }
.hero__title { margin: 0 0 22px; }
.hero__kicker { display: block; font-family: var(--f-head); text-transform: uppercase; font-weight: 400; font-size: clamp(52px, 6.8vw, 92px); line-height: .9; color: var(--ink); margin-bottom: 14px; }
.hero__kicker .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: wordIn .7s var(--ease) forwards; }
.hero__runlogo { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 16px 24px rgba(197, 19, 111, .28)); animation: rise .9s .35s var(--ease) both; }
.hero__sub { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink); max-width: 46ch; margin: 0 0 22px; animation: rise .9s .5s var(--ease) both; }
.hero__sub strong { font-weight: 700; }

.sedes { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; animation: rise .9s .6s var(--ease) both; }
.sede { display: grid; gap: 2px; padding: 12px 18px 12px 16px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 14px 30px -20px rgba(197,19,111,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-left: 5px solid var(--pink-hot); }
.sede__city { font-family: var(--f-head); text-transform: uppercase; font-size: 26px; line-height: 1; }
.sede__date { font-size: 14px; color: var(--ink-60); }
.sede__slots { font-size: 13px; font-weight: 700; color: var(--pink-hot); text-transform: uppercase; letter-spacing: .08em; }
.sede__slots b { font-size: 15px; }

.hero__cta { animation: rise .9s .7s var(--ease) both; }
.hero__note { margin: 16px 0 0; font-size: 14px; color: var(--ink-60); line-height: 1.5; max-width: 48ch; animation: rise .9s .8s var(--ease) both; }
.hero__note b { color: var(--ink); font-weight: 700; }

/* ---------- elementos flotantes 3D (alrededor del bloque de copy) ---------- */
.hero__left { position: relative; align-self: start; position: sticky; top: 92px; }
.hero__copy, .thanks__copy { position: relative; z-index: 1; }
.float-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; transform-style: preserve-3d; transition: transform .25s ease-out; }
.float {
  position: absolute; height: auto; transform-style: preserve-3d; will-change: transform;
  --px: 0px; --py: 0px; --zpx: 0px; --rot: 0deg;
  filter: drop-shadow(0 22px 26px rgba(197, 19, 111, .30));
  animation: bob var(--t, 7s) var(--d, 0s) ease-in-out infinite alternate;
}
.float--glasses { width: clamp(140px, 14vw, 180px); top: -44px; left: -130px; --rot: -14deg; }
.float--star1   { width: clamp(46px, 4.6vw, 66px);  top: -24px; right: 36px; --rot: 8deg; }
.float--face    { width: clamp(120px, 12vw, 170px); bottom: -196px; left: -128px; --rot: -6deg; }
.float--b       { width: clamp(72px, 7.4vw, 104px); bottom: 22%; right: -96px; --rot: 12deg; }
.float--heart   { width: clamp(84px, 8.4vw, 118px); bottom: -118px; right: -6px; --rot: -10deg; }
.float--star2   { width: clamp(38px, 3.8vw, 54px);  top: 22%; right: -34px; --rot: 15deg; }
.float--star3   { width: clamp(28px, 2.8vw, 38px);  top: -14px; left: 42%; --rot: -10deg; }
.float--star4   { width: clamp(32px, 3.2vw, 46px);  bottom: 28%; left: -56px; --rot: 20deg; }
@keyframes bob {
  from { transform: translate3d(var(--px), var(--py), var(--zpx)) rotate(calc(var(--rot) - 3deg)); }
  to   { transform: translate3d(var(--px), calc(var(--py) - 18px), var(--zpx)) rotate(calc(var(--rot) + 3deg)); }
}

/* ---------- tarjeta / formulario ---------- */
.card { position: relative; background: var(--glass-strong); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: clamp(24px, 3vw, 36px); animation: rise .9s .3s var(--ease) both; }
.card__sticker { position: absolute; top: -38px; right: -26px; width: clamp(120px, 14vw, 176px); height: auto; transform: rotate(8deg); filter: drop-shadow(0 16px 22px rgba(197,19,111,.32)); animation: stickerBob 6s ease-in-out infinite alternate; z-index: 2; }
@keyframes stickerBob { from { transform: rotate(6deg) translateY(0); } to { transform: rotate(10deg) translateY(-10px); } }
.card__title { font-family: var(--f-head); text-transform: uppercase; font-weight: 400; font-size: clamp(34px, 3.4vw, 42px); line-height: 1; color: var(--pink-hot); margin: 0 0 8px; }
.card__lead { margin: 0 0 22px; color: var(--ink-60); font-size: 15px; }
.req { color: var(--pink-hot); font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 16px; min-width: 0; }
.fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.field label, .label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.label em { font-style: normal; color: var(--pink-hot); }
.input, .select {
  width: 100%; font: 400 16px/1.3 var(--f-body); color: var(--ink); background: rgba(255,255,255,.9);
  border: 1px solid var(--pink-40); border-radius: var(--radius-sm); padding: 13px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--ink-30); }
.input:focus, .select:focus { border-color: var(--pink-hot); box-shadow: 0 0 0 4px rgba(223, 25, 149, .14); }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M3 6l5 5 5-5' fill='none' stroke='%23DF1995' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
.phone { display: grid; grid-template-columns: 124px 1fr; gap: 10px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; color: var(--ink-60); }
.field-error { display: none; margin: 7px 0 0; font-size: 13px; color: var(--error); font-weight: 600; }
.field.is-invalid .field-error { display: block; }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--error); }

/* sede: tarjetas radio */
.sede-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sede-pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.sede-pick__box { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--pink-40); background: rgba(255,255,255,.7); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; position: relative; }
.sede-pick__box::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--pink-40); background: #fff; transition: all .15s; }
.sede-pick__city { font-family: var(--f-head); text-transform: uppercase; font-size: 24px; line-height: 1; }
.sede-pick__date { font-size: 13px; color: var(--ink-60); }
.sede-pick__opt input:checked + .sede-pick__box { border-color: var(--pink-hot); background: var(--pink-20); }
.sede-pick__opt input:checked + .sede-pick__box::after { border-color: var(--pink-hot); background: var(--pink-hot) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.sede-pick__opt input:focus-visible + .sede-pick__box { outline: 3px solid var(--ink); outline-offset: 2px; }
.sede-pick__box:hover { transform: translateY(-1px); }
.field.is-invalid .sede-pick__box { border-color: var(--error); }

/* chips (checkbox) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--pink-40); background: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; user-select: none; }
.chip span:hover { border-color: var(--pink-hot); }
.chip input:checked + span { background: var(--pink-hot); border-color: var(--pink-hot); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.chip--none span { border-style: dashed; color: var(--ink-60); }
.chip--none input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 4px 0 20px; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--pink-hot); }
.consent label { font-size: 13.5px; font-weight: 500; color: var(--ink-60); margin: 0; line-height: 1.5; }
.consent label a { color: var(--pink-hot); font-weight: 700; }
.form-status { margin: 12px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--ok); }
.form-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-60); text-align: center; line-height: 1.5; }

/* ---------- CÓMO FUNCIONA ---------- */
.how .wrap { padding-block: clamp(32px, 5vw, 72px); }
.how__head { text-align: center; margin-bottom: clamp(26px, 4vw, 44px); }
.how__head h2 { font-size: clamp(42px, 5.6vw, 76px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); }
.step__icon { height: 54px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 14px rgba(197,19,111,.25)); }
.step__num { position: absolute; top: 18px; right: 22px; font-family: var(--f-head); font-size: 44px; line-height: 1; color: var(--pink-61); }
.step h3 { font-family: var(--f-head); text-transform: uppercase; font-weight: 400; font-size: 30px; line-height: 1; margin: 0 0 8px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-60); }

/* ---------- CIERRE ---------- */
.close .wrap { padding-block: 0 clamp(40px, 6vw, 80px); }
.close__panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; text-align: center; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); padding: clamp(26px, 3.5vw, 48px); min-height: 360px; }
.close__arch { position: absolute; left: clamp(-20px, -1vw, 10px); bottom: -2px; width: clamp(260px, 36%, 440px); height: auto; filter: drop-shadow(0 20px 30px rgba(197,19,111,.25)); }
.close__copy { grid-column: auto; position: relative; max-width: 760px; margin-inline: auto; }
.close__lockup { width: clamp(200px, 24vw, 280px); height: auto; margin-bottom: 18px; }
.close__copy h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 14px; }
.inline-logo { display: inline-block; height: 1.05em; width: auto; vertical-align: -.22em; margin-inline: .04em; }
.close__copy p { margin: 0 auto 22px; color: var(--ink-60); max-width: 54ch; }

/* ---------- footer ---------- */
.site-footer { background: rgba(255,255,255,.7); border-top: 1px solid var(--glass-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.site-footer .wrap { padding-block: 32px 26px; display: grid; gap: 16px; }
.site-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer__lockup { height: 38px; width: auto; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__legal { font-size: 12.5px; color: var(--ink-60); margin: 0; line-height: 1.5; }
.site-footer__legal a { color: var(--pink-hot); text-decoration: none; }
.site-footer__copy { font-size: 12.5px; color: var(--ink-60); margin: 0; }

/* ---------- GRACIAS ---------- */
.thanks .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(44px, 6vw, 92px); }
.thanks__copy { max-width: 600px; }
.thanks__copy h1 { font-family: var(--f-head); text-transform: uppercase; font-weight: 400; font-size: clamp(52px, 7vw, 100px); line-height: .9; margin: 0 0 12px; }
.thanks__copy h1 .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: wordIn .7s var(--ease) forwards; }
.thanks__sticker { width: clamp(200px, 24vw, 300px); height: auto; margin: 6px 0 18px -6px; filter: drop-shadow(0 18px 26px rgba(197,19,111,.3)); animation: rise .9s .4s var(--ease) both; }
.thanks__sub { font-size: clamp(17px, 1.8vw, 20px); margin: 0 0 18px; animation: rise .9s .5s var(--ease) both; }
.thanks__note { margin: 0; font-size: 14px; color: var(--ink-60); max-width: 48ch; animation: rise .9s .6s var(--ease) both; }
.join__card { position: relative; background: var(--glass-strong); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: clamp(24px, 3vw, 36px); animation: rise .9s .3s var(--ease) both; }
.join__card h2 { font-size: clamp(30px, 3vw, 38px); color: var(--pink-hot); margin-bottom: 8px; }
.join__card > p { margin: 0 0 18px; color: var(--ink-60); font-size: 15px; }
.join__steps { margin: 0 0 20px; padding-left: 20px; font-size: 15px; color: var(--ink-60); display: grid; gap: 6px; }
.qr { margin-top: 20px; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.qr__box { width: 132px; height: 132px; border-radius: 14px; background: #fff; border: 1px solid var(--pink-40); display: grid; place-items: center; overflow: hidden; padding: 8px; }
.qr__box svg { width: 100%; height: 100%; }
.qr--pending .qr__box { font-size: 11px; color: var(--ink-60); text-align: center; line-height: 1.3; }
.qr__text { font-size: 13px; color: var(--ink-60); margin: 0; }
.btn.is-pending { opacity: .8; cursor: not-allowed; color: #fff; }

/* ---------- animaciones ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__kicker .w, .thanks__copy h1 .w { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .site-header__dates { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 26px; padding-block: 28px 44px; }
  .hero__copy { max-width: none; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--glass-shadow); }
  .hero__kicker { font-size: clamp(48px, 9.5vw, 80px); }
  .hero__sub { max-width: none; }
  .hero__left { position: relative; top: auto; }
  .float[data-hide-mobile], .float--heart, .float--star2 { display: none; }
  .float-field { z-index: 2; }
  .float--glasses { top: -40px; left: -10px; width: 104px; }
  .float--b { top: -30px; right: -6px; width: 60px; }
  .float--star1 { top: auto; bottom: -28px; left: 8%; right: auto; width: 38px; }
  .hero__cta { display: none; }
  .hero__copy { padding: 24px 20px 20px; }
  .hero__title { margin-bottom: 14px; }
  .hero__sub { margin-bottom: 0; }
  .hero__note { margin-top: 10px; font-size: 13px; }
  .hero .wrap { padding-top: 64px; }
  .card__sticker { top: -30px; right: -10px; width: 124px; }
  .steps { grid-template-columns: 1fr; }
  .close__panel { min-height: 0; }
  .close__copy { grid-column: auto; }
  .thanks .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero .wrap { padding-block: 60px 36px; }
  .hero__copy { padding: 22px 18px; }
  .eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }
  .eyebrow::before { width: 18px; }
  .hero__kicker { font-size: clamp(44px, 12.5vw, 60px); }
  .hero__sub { font-size: 16px; }
  .hero__cta { width: 100%; }
  .sedes { gap: 10px; }
  .sede { flex: 1 1 140px; padding: 10px 14px; }
  .sede__city { font-size: 22px; }
  .card { padding: 22px 18px; }
  .card__title { font-size: 30px; }
  .card__sticker { top: -24px; right: -6px; width: 104px; }
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .phone { grid-template-columns: 112px 1fr; }
  .sede-pick { grid-template-columns: 1fr; }
  .how__head h2 { font-size: clamp(36px, 11vw, 48px); }
  .close__copy h2 { font-size: clamp(30px, 9vw, 40px); }
  .site-footer__lockup { height: 32px; }
  .qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .thanks__copy h1 { font-size: clamp(44px, 12.5vw, 60px); }
}

/* gracias: la sección es corta, los stickers inferiores se quedan dentro */
.thanks .wrap { padding-bottom: clamp(160px, 14vw, 200px); }
.thanks .float--face { bottom: -160px; left: -120px; }
.thanks .float--heart { bottom: -130px; right: -10px; }
@media (max-width: 960px) { .thanks .wrap { padding-bottom: 80px; } .thanks .float--heart { bottom: -60px; } }

@media (max-width: 560px) { .brand__logo--lockup { height: 32px; } }

/* ---------- sede: fecha límite, preselección y cierre ---------- */
.sede-deadline { margin: 10px 0 0; font-size: 13px; color: var(--ink-60); line-height: 1.5; }
.sede-deadline b { color: var(--ink); font-weight: 700; }
.sede-pre { margin: 6px 0 0; font-size: 12.5px; color: var(--pink-hot); font-weight: 600; }
.sede-pick__opt.is-closed .sede-pick__box { opacity: .55; cursor: not-allowed; background: rgba(255,255,255,.4); }
.sede-pick__opt.is-closed .sede-pick__box:hover { transform: none; }
.consent--optional { margin-top: -6px; }
.consent--optional label .hint { color: var(--ink-30); font-weight: 500; }
.hero__note a { color: var(--pink-hot); font-weight: 700; }

/* ---------- TÉRMINOS Y CONDICIONES ---------- */
.site-header__back { font-size: 14px; font-weight: 700; color: var(--pink-hot); text-decoration: none; white-space: nowrap; }
.site-header__back:hover { text-decoration: underline; }
.tyc .wrap { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.tyc__panel { max-width: 860px; margin-inline: auto; background: var(--glass-strong); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: clamp(24px, 4vw, 56px); }
.tyc__title { font-family: var(--f-head); text-transform: uppercase; font-weight: 400; font-size: clamp(40px, 5.6vw, 72px); line-height: .92; margin: 0 0 12px; }
.tyc__lead { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.tyc__meta { margin: 0 0 22px; font-size: 13px; color: var(--ink-60); }
.tyc__toc { margin: 0 0 28px; }
.tyc__toc details { border: 1px solid var(--pink-40); border-radius: 14px; background: rgba(255,255,255,.7); }
.tyc__toc summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 14px; color: var(--pink-hot); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.tyc__toc summary::-webkit-details-marker { display: none; }
.tyc__toc summary::after { content: "+"; font-size: 20px; line-height: 1; }
.tyc__toc details[open] summary::after { content: "–"; }
.tyc__toc ol { margin: 0; padding: 0 16px 14px 16px; list-style: none; font-size: 14px; line-height: 1.7; columns: 2; column-gap: 24px; }
.tyc__toc li { break-inside: avoid; }
.tyc__toc a { color: var(--ink); text-decoration: none; }
.tyc__toc a:hover { color: var(--pink-hot); text-decoration: underline; }
.tyc__body { font-size: 16px; line-height: 1.65; color: var(--ink); }
.tyc__body h2 { font-family: var(--f-head); text-transform: uppercase; font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1; color: var(--pink-hot); margin: 34px 0 10px; scroll-margin-top: 90px; }
.tyc__body h2:first-child { margin-top: 0; }
.tyc__body p { margin: 0 0 12px; }
.tyc__body ul, .tyc__body ol { margin: 0 0 12px; padding-left: 22px; }
.tyc__body li { margin-bottom: 6px; }
.tyc__body a { color: var(--pink-hot); font-weight: 600; overflow-wrap: anywhere; }
.tyc__tablewrap { overflow-x: auto; margin: 6px 0 14px; -webkit-overflow-scrolling: touch; }
.tyc__table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.tyc__table th, .tyc__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--pink-40); vertical-align: top; }
.tyc__table th { font-family: var(--f-head); text-transform: uppercase; font-weight: 400; font-size: 18px; color: var(--pink-hot); border-bottom: 2px solid var(--pink-hot); }
.tyc__cta { margin: 32px 0 0; text-align: center; }
@media (max-width: 560px) {
  .tyc .wrap { padding-block: 18px 36px; }
  .tyc__panel { padding: 22px 18px; border-radius: 18px; }
  .tyc__title { font-size: clamp(36px, 11vw, 46px); }
  .tyc__lead { font-size: 14.5px; }
  .tyc__toc ol { columns: 1; }
  .tyc__body { font-size: 15.5px; }
  .tyc__body h2 { font-size: 24px; margin-top: 28px; }
  .tyc__table { font-size: 14px; }
  .tyc__cta .btn { width: 100%; }
  .site-header__back { font-size: 13px; }
}
