/* La carrera de tu carrera — Delfines Group
   Línea gráfica oficial (oct 2026): fondo violeta, pinceladas de colores, objetos 3D,
   títulos tipo sticker con borde blanco. */
@font-face {
  font-family: 'Matcha Style';
  src: url('../fonts/Matcha-Style.otf') format('opentype');
  font-display: swap;
}

:root {
  --violeta: #431b92;
  --violeta-osc: #33137a;
  --noche: #1e0a4f;
  --fucsia: #ff2a8c;
  --naranja: #ff7b00;
  --amarillo: #ffd327;
  --turquesa: #00c4b2;
  --lima: #8ff32b;
  --blanco: #fff;
  --tinta: #24104f;
  --gris: #5b4d7a;
  --radio: 24px;
  --f-display: 'Anton', 'Impact', sans-serif;
  --f-marca: 'Matcha Style', 'Poppins', sans-serif;
  --f-texto: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body { margin: 0; font-family: var(--f-texto); color: var(--blanco); background: var(--violeta); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; position: relative; z-index: 2; }

/* Textura de puntos de la línea gráfica */
.hero, .evento, .quien, .como, .final {
  position: relative; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.5px);
  background-size: 22px 22px;
}

/* ---------- Elementos decorativos (pinceladas y objetos 3D) ---------- */
.el { position: absolute; pointer-events: none; user-select: none; z-index: 1; }
.el--flota { animation: flotar 5s ease-in-out infinite; }
@keyframes flotar { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-18px) rotate(5deg); } }

/* ---------- Sticker: texto con borde blanco grueso ---------- */
.sticker {
  font-family: var(--f-marca); text-transform: uppercase; display: inline-block; line-height: 1;
  -webkit-text-stroke: .16em var(--blanco); paint-order: stroke fill;
  filter: drop-shadow(0 6px 0 rgba(20, 5, 60, .35));
}
.sticker--naranja { color: var(--naranja); }
.sticker--turquesa { color: var(--turquesa); }
.sticker--amarillo { color: var(--amarillo); }
.sticker--fucsia { color: var(--fucsia); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--amarillo); --fg: var(--violeta); --sombra: #c99a00;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--bg); color: var(--fg); font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .03em;
  padding: .95em 1.7em; border-radius: 999px; border: 3px solid var(--blanco); cursor: pointer;
  box-shadow: 0 6px 0 var(--sombra), 0 14px 30px rgba(10,0,40,.35);
  transition: transform .18s ease, box-shadow .18s ease, background .2s;
  position: relative; isolation: isolate;
}
.btn svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 9px 0 var(--sombra), 0 20px 36px rgba(10,0,40,.4); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--sombra), 0 6px 12px rgba(10,0,40,.3); }
.btn:focus-visible { outline: 3px solid var(--lima); outline-offset: 4px; }
.btn--sm { padding: .55em 1.2em; font-size: .85rem; border-width: 2px; box-shadow: 0 4px 0 var(--sombra); }
.btn--sm:hover { box-shadow: 0 6px 0 var(--sombra); }
.btn--xl { font-size: clamp(1.1rem, 2.6vw, 1.45rem); padding: 1em 2em; }
.btn--fucsia { --bg: var(--fucsia); --fg: var(--blanco); --sombra: #b8125f; }
.btn--pulse::before {
  content: ''; position: absolute; inset: -3px; border-radius: inherit; background: var(--bg); z-index: -1;
  animation: pulso 2s ease-out infinite;
}
@keyframes pulso { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.3, 1.6); opacity: 0; } }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 12px 0; }
.top--solid { background: rgba(51, 19, 122, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.25); padding: 6px 0; }
.top__in { width: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.top__logo { display: block; transition: transform .2s; }
.top__logo:hover { transform: rotate(-4deg) scale(1.05); }
.top__logo img { height: 58px; width: auto; }
.top--solid .top__logo img { height: 46px; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { color: var(--blanco); text-decoration: none; font-weight: 600; position: relative; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--lima); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.top__nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 96px 0 70px; }
.hero__in { position: relative; z-index: 2; width: min(1200px, 100% - 32px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__texto { text-align: center; }
.hero__fecha { font-family: var(--f-texto); font-weight: 800; color: var(--amarillo); text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1; margin-bottom: .3em; letter-spacing: -.01em; }
.hero__fecha span { display: inline-block; }
.hero__title img { width: min(100%, 560px, 58vh); margin: 0 auto; filter: drop-shadow(0 10px 0 rgba(20,5,60,.35)); animation: entrar 1s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes entrar { from { transform: scale(.7) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__sub { margin: 12px 0 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__sub .sticker { font-size: clamp(1.7rem, min(4vw, 5vh), 2.6rem); }
.hero__sub-mid { font-family: var(--f-marca); text-transform: uppercase; font-size: clamp(1.1rem, min(2.4vw, 3vh), 1.6rem); line-height: 1.1; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__note { font-size: .95rem; line-height: 1.5; margin: 0; }
.hero__note > span { font-weight: 700; }
.hero__note b { display: inline-block; background: var(--fucsia); color: var(--blanco); padding: .3em 1em; border-radius: 999px; margin-bottom: .35em; font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; }

.hero__foto { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__foto picture img { border-radius: 28px; border: 5px solid var(--blanco); box-shadow: 0 24px 50px rgba(10,0,40,.45); transform: rotate(3deg); position: relative; z-index: 1; }
.hero__foto-el { width: 62%; top: -14%; left: -26%; z-index: 0; animation: girar 30s linear infinite; }
@keyframes girar { to { rotate: 360deg; } }
.hero__prep { position: absolute; z-index: 2; top: 6%; right: -5%; font-family: var(--f-marca); text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.6rem); background: var(--lima); color: var(--violeta); padding: .3em .7em; border-radius: 14px; border: 3px solid var(--blanco); transform: rotate(6deg); box-shadow: 0 6px 0 rgba(20,5,60,.35); }

.hero__el1 { width: 150px; top: 8%; left: 2%; transform: rotate(-20deg); }
.hero__el2 { width: 340px; bottom: 6%; left: -60px; }
.hero__el3 { width: 120px; top: 74%; left: 46%; }
.hero__el4 { width: 92px; top: 16%; right: 4%; animation-delay: -1.5s; }
.hero__el5 { width: 380px; bottom: -10px; right: -40px; }
.hero__el6 { width: 70px; top: 14%; left: 50%; animation-delay: -3s; }

/* ---------- Cuenta regresiva ---------- */
.countdown { display: flex; justify-content: center; gap: clamp(8px, 2vw, 14px); margin: 0 auto 30px; }
.countdown__box {
  background: var(--noche); border: 3px solid var(--blanco); border-radius: 18px; width: clamp(70px, 17vw, 104px); padding: 10px 0 8px;
  box-shadow: 0 6px 0 rgba(10,0,40,.35); display: flex; flex-direction: column; align-items: center;
}
.countdown__box:nth-child(1) b { color: var(--turquesa); }
.countdown__box:nth-child(2) b { color: var(--amarillo); }
.countdown__box:nth-child(3) b { color: var(--fucsia); }
.countdown__box:nth-child(4) b { color: var(--lima); }
.countdown__box b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.countdown__box span { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.countdown__box b.tick { animation: tick .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes tick { 0% { transform: translateY(-35%) scale(.85); opacity: .2; } 100% { transform: none; opacity: 1; } }
.countdown__msg { font-family: var(--f-marca); text-transform: uppercase; font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--amarillo); margin: 0; }
.countdown--sm .countdown__box { width: clamp(64px, 15vw, 92px); }
.countdown--sm .countdown__box b { font-size: clamp(1.7rem, 5vw, 2.5rem); }

/* ---------- Marquesina ---------- */
.marquee { background: var(--lima); color: var(--violeta); overflow: hidden; transform: rotate(-2deg); margin: -30px -20px 0; position: relative; z-index: 5; border-block: 4px solid var(--blanco); box-shadow: 0 10px 30px rgba(10,0,40,.3); }
.marquee__track { display: flex; width: max-content; gap: 28px; padding: 12px 0; animation: marquesina 22s linear infinite; font-family: var(--f-marca); text-transform: uppercase; font-size: clamp(1.2rem, 2.8vw, 1.8rem); white-space: nowrap; align-items: center; }
.marquee__track i { font-style: normal; color: var(--fucsia); }
@keyframes marquesina { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.sec { padding: clamp(80px, 10vw, 120px) 0; }
.kicker { display: inline-block; font-family: var(--f-marca); text-transform: uppercase; color: var(--violeta); background: var(--lima); padding: .2em .8em; border-radius: 10px; font-size: 1.05rem; margin-bottom: .8em; transform: rotate(-2deg); }
.h2 { font-family: var(--f-marca); font-weight: 400; text-transform: uppercase; font-size: clamp(2.1rem, 5.5vw, 3.8rem); color: var(--blanco); margin-bottom: .45em; line-height: 1.05; }
.h2 em { font-style: normal; color: var(--turquesa); -webkit-text-stroke: .12em var(--blanco); paint-order: stroke fill; }
.h3 { font-family: var(--f-marca); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: .35em; }
.lead { font-size: clamp(1.02rem, 1.9vw, 1.2rem); color: rgba(255,255,255,.9); max-width: 42em; }

/* El evento */
.evento { background-color: var(--violeta-osc); }
.evento__el1 { width: 420px; top: 40px; right: -120px; opacity: .9; }
.evento__el2 { width: 110px; bottom: 60px; left: 3%; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card {
  --c: var(--turquesa);
  background: var(--blanco); color: var(--tinta); border-radius: var(--radio); padding: 28px 26px 30px; position: relative;
  box-shadow: 8px 8px 0 var(--c); transition: transform .25s, box-shadow .25s;
}
.card--turquesa { --c: var(--turquesa); }
.card--naranja { --c: var(--naranja); }
.card--fucsia { --c: var(--fucsia); }
.card:hover { transform: translate(-4px, -6px) rotate(-1deg); box-shadow: 14px 14px 0 var(--c); }
.card__ico { width: 86px; height: 86px; object-fit: contain; margin: -62px 0 10px; filter: drop-shadow(0 8px 10px rgba(10,0,40,.3)); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.card:hover .card__ico { transform: rotate(-12deg) scale(1.1); }
.card h3 { font-family: var(--f-marca); text-transform: uppercase; font-weight: 400; font-size: 1.55rem; color: var(--c); margin-bottom: .4em; }
.card p { color: var(--gris); margin: 0; }

/* Para quién */
.quien { background-color: var(--violeta); padding: clamp(80px, 9vw, 110px) 0; }
.quien__el1 { width: 300px; top: -40px; left: -60px; }
.quien__el2 { width: 360px; bottom: 10px; right: -70px; }
.quien__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.quien__big { font-family: var(--f-display); font-size: clamp(3.4rem, 10vw, 7.5rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.75); text-align: center; transform: rotate(-6deg); }
.quien__big span { color: var(--amarillo); -webkit-text-stroke: 0; display: inline-block; animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.quien .h2 em { color: var(--amarillo); }
.quien .lead { margin-bottom: 1.6em; }

/* Cómo participar */
.como { background-color: var(--violeta-osc); }
.como__el1 { width: 120px; top: 70px; right: 6%; }
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { /* ruta punteada que une los pasos */
  content: ''; position: absolute; top: 36px; left: 8%; right: 8%; height: 4px;
  background: repeating-linear-gradient(90deg, var(--lima) 0 12px, transparent 12px 24px); opacity: .7;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__n {
  width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--f-display); font-size: 2.1rem; border: 4px solid var(--blanco); position: relative;
  box-shadow: 0 8px 0 rgba(10,0,40,.35); transition: transform .35s cubic-bezier(.3,1.6,.5,1);
}
.step:nth-child(1) .step__n { background: var(--turquesa); color: var(--noche); }
.step:nth-child(2) .step__n { background: var(--fucsia); color: var(--blanco); }
.step:nth-child(3) .step__n { background: var(--naranja); color: var(--blanco); }
.step:nth-child(4) .step__n { background: var(--amarillo); color: var(--violeta); }
.step:hover .step__n { transform: scale(1.12) rotate(-8deg); }
.step h3 { font-family: var(--f-marca); text-transform: uppercase; font-weight: 400; font-size: 1.35rem; margin-bottom: .35em; }
.step p { color: rgba(255,255,255,.85); margin: 0; }
.step a { color: var(--lima); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Datos */
.datos { background: var(--noche); padding: 52px 0; }
.datos__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.dato { padding: 4px 0; }
.dato__ico { width: 34px; height: 34px; fill: none; stroke: var(--fucsia); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.dato:nth-child(2) .dato__ico { stroke: var(--turquesa); }
.dato:nth-child(3) .dato__ico { stroke: var(--naranja); }
.dato:nth-child(4) .dato__ico { stroke: var(--lima); }
.dato:nth-child(5) .dato__ico { stroke: var(--amarillo); }
.dato__k { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.dato__v { display: block; font-weight: 800; text-transform: uppercase; color: var(--amarillo); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.2; }
.dato__link { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--lima); text-decoration: none; }
.dato__link:hover { text-decoration: underline; }

/* Bases */
.bases { background: var(--violeta); padding-bottom: clamp(50px, 7vw, 80px); }
.bases__box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  border: 3px dashed var(--lima); border-radius: var(--radio); padding: 26px 32px; background: rgba(255,255,255,.06);
}
.bases__ico { width: 70px; animation: flotar 4s ease-in-out infinite; }
.bases__box p { margin: 0; color: rgba(255,255,255,.85); }
.bases__tag { background: var(--amarillo); color: var(--violeta); font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; padding: .55em 1.1em; border-radius: 999px; transform: rotate(3deg); white-space: nowrap; }

/* CTA final */
.final { background-color: var(--violeta-osc); text-align: center; padding: clamp(90px, 11vw, 130px) 0; }
.final__el1 { width: 300px; top: -30px; left: -50px; animation: girar 40s linear infinite; }
.final__el2 { width: 220px; bottom: -20px; right: 4%; }
.final__el3 { width: 110px; top: 20%; right: 10%; }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final__t { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 34px; }
.final__t .sticker { font-size: clamp(2.2rem, 6.5vw, 4.4rem); }

/* Organiza */
.org { background: var(--violeta); }
.org__in { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; max-width: 920px; }
.org__logo img { width: 100%; transition: transform .4s; }
.org__logo:hover img { transform: rotate(-4deg) scale(1.04); }
.org p:last-child { color: rgba(255,255,255,.85); font-size: 1.05rem; margin: 0; }

/* Footer */
.foot { background: var(--noche); color: rgba(255,255,255,.8); padding: 28px 0; font-size: .95rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lima); }

/* Botón fijo móvil */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; transform: translateY(140%); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.sticky-cta .btn { width: 100%; font-size: 1.05rem; }
.sticky-cta.show { transform: none; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 961px) { .hero__prep { right: 0; } }
@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__foto { width: min(80%, 340px); margin-top: 10px; }
  .hero__prep { right: -2%; }
  .cards { grid-template-columns: 1fr 1fr; row-gap: 60px; }
  .card--fucsia { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .datos__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .hero__el3 { left: auto; right: 6%; top: 46%; }
}
@media (max-width: 760px) {
  .top__nav { display: none; }
  .top .btn--sm { margin-left: auto; }
  .top__logo img { height: 46px; }
  .top--solid .top__logo img { height: 40px; }
  .sticky-cta { display: block; }
  .foot { padding-bottom: 100px; }
  .hero { padding-top: 96px; }
  .hero__el1 { width: 90px; top: 12%; }
  .hero__el2 { width: 220px; }
  .hero__el3 { display: none; }
  .hero__el4 { width: 60px; top: 13%; }
  .hero__el5 { width: 240px; }
  .hero__el6 { width: 48px; }
  .evento__el1 { width: 260px; right: -110px; }
  .quien__el1, .quien__el2 { width: 200px; }
  .quien__in { grid-template-columns: 1fr; text-align: center; }
  .quien .lead { margin-inline: auto; }
  .bases__box { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
  .org__in { grid-template-columns: 1fr; text-align: center; }
  .org__logo { max-width: 200px; margin-inline: auto; }
  .solo-desk { display: none; }
  .final__el1 { width: 180px; }
  .final__el2 { width: 140px; }
  .final__el3 { width: 70px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; text-align: left; column-gap: 16px; align-items: start; }
  .step__n { width: 60px; height: 60px; font-size: 1.7rem; margin: 0; grid-row: span 3; }
  .entry-link--paso { grid-column: 2; justify-self: start; }
  .datos__grid { grid-template-columns: 1fr; }
  .btn--xl { width: 100%; }
  .hero__prep { right: -4%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Logo de Entry (plataforma de inscripción), clickeable */
.entry-link {
  display: inline-flex; align-items: center; vertical-align: middle;
  padding: 7px 14px; border-radius: 12px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08);
  transition: transform .2s, border-color .2s, background .2s;
}
.entry-link img { height: 26px; width: auto; }
.entry-link:hover { transform: translateY(-2px) scale(1.04); border-color: var(--lima); background: rgba(255,255,255,.14); }
.entry-link:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; }
.hero__entry { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.entry-link--paso { margin-top: 8px; }
.entry-link--paso img { height: 22px; }

/* ---------- Página de bases y condiciones (/bases/) ---------- */
.pag-legal { background: var(--violeta); }
.legal {
  padding: 120px 0 80px;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.5px); background-size: 22px 22px;
}
.legal__wrap { max-width: 860px; }
.legal__volver { display: inline-block; color: var(--lima); font-weight: 600; text-decoration: none; margin-bottom: 22px; }
.legal__volver:hover { text-decoration: underline; }
.legal h1 { margin-bottom: .25em; }
.legal__sub { color: rgba(255,255,255,.85); font-weight: 500; margin-bottom: 18px; }
.legal__aviso { background: var(--amarillo); color: var(--violeta); border-radius: 14px; padding: 12px 18px; font-size: .95rem; margin-bottom: 26px; }
.legal__indice { background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.15); border-radius: 18px; padding: 18px 22px; margin-bottom: 30px; }
.legal__indice p { font-family: var(--f-marca); text-transform: uppercase; color: var(--lima); margin: 0 0 8px; font-size: 1.1rem; }
.legal__indice ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 30px; font-size: .95rem; }
.legal__indice li { margin-bottom: 4px; break-inside: avoid; }
.legal__indice a { color: var(--blanco); text-decoration: none; }
.legal__indice a:hover { color: var(--amarillo); text-decoration: underline; }
.legal__doc { background: var(--blanco); color: var(--tinta); border-radius: 24px; padding: clamp(24px, 5vw, 48px); box-shadow: 10px 10px 0 var(--fucsia); }
.legal__sec { scroll-margin-top: 90px; }
.legal__sec + .legal__sec { margin-top: 28px; padding-top: 24px; border-top: 2px dashed #e4dcf3; }
.legal__sec h2 { display: flex; align-items: center; gap: 12px; font-family: var(--f-marca); font-weight: 400; text-transform: uppercase; color: var(--violeta); font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin-bottom: 12px; }
.legal__n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--fucsia); color: var(--blanco); font-family: var(--f-display); font-size: 1rem; }
.legal__sec:nth-child(5n+2) .legal__n { background: var(--turquesa); color: var(--noche); }
.legal__sec:nth-child(5n+3) .legal__n { background: var(--naranja); }
.legal__sec:nth-child(5n+4) .legal__n { background: var(--amarillo); color: var(--violeta); }
.legal__sec:nth-child(5n+5) .legal__n { background: var(--lima); color: var(--violeta); }
.legal__sec p { color: var(--gris); margin: 0 0 .8em; }
.legal__sec ul { margin: 0 0 .5em; padding-left: 1.2em; color: var(--gris); }
.legal__sec li { margin-bottom: .5em; }
.legal__sec li::marker { color: var(--fucsia); }
.legal__sec strong { color: var(--tinta); }
.legal__cta { text-align: center; margin-top: 44px; }
.legal__cta p { margin-top: 14px; font-weight: 600; }
.top__nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 760px) {
  .legal { padding-top: 96px; }
  .legal__indice ol { columns: 1; }
  .bases__box .btn { width: 100%; }
}
