/* Alaia Escuela de Surf · la palabra es la ventana al mar */
:root {
  --ocean: #05232B;
  --deep: #0A3540;
  --foam: #F1F8F8;
  --aqua: #2FB7C4;
  --aqua-hi: #5ED3DC;
  --aqua-ink: #0E7C86;
  --pink: #D6156F;     /* CTA (AA con blanco) */
  --pink-hi: #FF4FA3;  /* rosa sobre oscuro */
  --pink-tint: #FFE4F0;
  --muted: #3D5A61;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --brush: "Caveat Brush", "Segoe Print", cursive;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--foam); color: var(--ocean); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink-hi); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - var(--pad) * 2); margin-inline: auto; }

.eyebrow { font: 700 .8rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--pink); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cpath d='M1 6c4-5 7-5 11 0s7 5 11 0 7-5 10 0' fill='none' stroke='%23D6156F' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.eyebrow--light { color: var(--pink-hi); }
.eyebrow--light::before { filter: brightness(1.4); }
.h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: .95; letter-spacing: .005em; margin-top: 16px; }
.brush { font-family: var(--brush); color: var(--pink); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; transition: transform .2s, background-color .2s, color .2s, border-color .2s; letter-spacing: .01em; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: #B50F5C; }
.btn--line { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ocean); }
.btn--line-dark { border-color: var(--ocean); color: var(--ocean); }
.btn--line-dark:hover { background: var(--ocean); color: #fff; }
.btn--ink { background: var(--ocean); color: #fff; }
.btn--ink:hover { background: var(--deep); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--pad); color: #fff; transition: background-color .3s; }
.top.is-solid { background: rgba(5,35,43,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top__brand img { width: 52px; height: 52px; border-radius: 14px; background: #fff; object-fit: contain; padding: 3px; }
.top__nav { display: flex; gap: 32px; font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.top__nav a { text-decoration: none; opacity: .9; }
.top__nav a:hover { opacity: 1; color: var(--aqua-hi); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ocean); color: #fff; }
.hero__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; filter: saturate(1.15) contrast(1.06); }
.hero__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .28; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__mask { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; }
.hero__sea { fill: var(--ocean); fill-opacity: .94; }
.hero__word { font-family: var(--display); font-size: 34vw; letter-spacing: -.005em; }
.hero__ui { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 96px var(--pad) 34px; text-align: center; }
.hero__kicker { font-weight: 700; letter-spacing: .26em; text-transform: uppercase; font-size: .8rem; color: #CFE9EC; }
.hero__promo { position: absolute; bottom: 110px; right: var(--pad); max-width: 230px; text-align: left; background: var(--pink); color: #fff; padding: 14px 18px 16px; border-radius: 18px 18px 18px 4px; font-size: .9rem; line-height: 1.35; transform: rotate(4deg); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.hero__promo b { display: block; font-family: var(--brush); font-weight: 400; font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__scroll { position: absolute; left: var(--pad); bottom: 44px; font-family: var(--brush); font-size: 1.35rem; color: var(--aqua-hi); }
.hero__over { position: relative; z-index: 4; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 0 12vh;
  background: linear-gradient(rgba(5,35,43,0) 30%, rgba(5,35,43,.55) 70%, var(--ocean)); }
.hero__big { font-family: var(--display); text-transform: uppercase; font-size: clamp(4.4rem, 13vw, 13rem); line-height: .86; text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.hero__brush { font-family: var(--brush); color: var(--pink-hi); font-size: clamp(1.8rem, 3.4vw, 3rem); margin-top: 12px; text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 36px; }
.hero__facts li { display: grid; line-height: 1.1; }
.hero__facts b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; text-transform: uppercase; color: var(--aqua-hi); }
.hero__facts span { font-size: .95rem; color: #D5ECEE; }

/* ---------- marquesina ---------- */
.marquee { background: var(--pink); color: #fff; overflow: hidden; padding: 18px 0; border-block: 3px solid var(--ocean); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 28s linear infinite; }
.marquee span { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; }
.marquee i { font-style: normal; font-size: 1.8rem; color: var(--ocean); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- pregunta ---------- */
.faq { padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; }
.faq__in { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: start; }
.faq__q { grid-column: 1 / 9; grid-row: 1; }
.faq__q .h2 { font-size: clamp(2.8rem, 6.2vw, 6.4rem); }
.faq__a { grid-column: 5 / 10; grid-row: 2; margin-top: 30px; }
.faq__yes { font-family: var(--display); font-size: clamp(6rem, 14vw, 13rem); line-height: .8; color: var(--pink); text-transform: uppercase; margin-bottom: 22px; }
.faq__a p:not(.faq__yes):not(.brush) { font-size: 1.15rem; color: var(--muted); max-width: 44ch; }
.faq__a strong { color: var(--ocean); }
.faq__a .brush { margin-top: 26px; color: var(--aqua-ink); }
.faq__img { overflow: hidden; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(5,35,43,.55); }
.faq__img img { width: 100%; height: 100%; object-fit: cover; }
.faq__img--a { grid-column: 1 / 5; grid-row: 2; aspect-ratio: 4 / 5; margin-top: 120px; transform: rotate(-3deg); }
.faq__img--a img { object-position: 50% 40%; }
.faq__img--b { grid-column: 10 / 13; grid-row: 1 / 3; aspect-ratio: 3 / 5; margin-top: 40px; transform: rotate(3deg); }
.faq__img--b img { object-position: 46% 50%; }

/* ---------- medí tu ola ---------- */
.ola { background: var(--ocean); color: #fff; padding: clamp(90px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.ola__head { margin-bottom: clamp(36px, 5vw, 64px); }
.ola__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: stretch; }
.ola__viz { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; background: linear-gradient(#0D4250, #062A33 70%); }
.ola__svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 78%; }
.ola__back { fill: rgba(94,211,220,.32); }
.ola__front { fill: var(--aqua); }
.ola__board { fill: var(--pink-hi); stroke: #fff; stroke-width: 2.5; }
.ola__stripe { stroke: #fff; stroke-width: 2; }
.ola__label { position: absolute; left: 28px; top: 22px; font-family: var(--display); text-transform: uppercase; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: #fff; }
.ola__panel { display: grid; gap: 22px; align-content: start; }
.ola__range { display: grid; gap: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #BFE3E7; }
.ola__range input { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--aqua-hi), var(--pink-hi)); cursor: pointer; }
.ola__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 6px solid var(--pink); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.ola__range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 6px solid var(--pink); }
.ola__ticks { display: flex; justify-content: space-between; font-size: .85rem; color: #BFE3E7; margin-top: -10px; }
.ola__ticks li:nth-child(2) { text-align: center; }
.ola__ticks li:last-child { text-align: right; }
.ola__who { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ola__who legend { width: 100%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #BFE3E7; margin-bottom: 10px; }
.ola__who label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); cursor: pointer; font-weight: 600; }
.ola__who input { accent-color: var(--pink); width: 18px; height: 18px; margin: 0; }
.ola__who label:has(input:checked) { background: #fff; color: var(--ocean); border-color: #fff; }
.ola__out { background: #fff; color: var(--ocean); border-radius: 24px; padding: 26px 26px 28px; display: grid; gap: 10px; justify-items: start; }
.ola__tag { font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
.ola__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.ola__txt { color: var(--muted); margin-bottom: 8px; }

/* ---------- campeonato ---------- */
.champ { background: var(--pink-tint); padding: clamp(90px, 10vw, 140px) 0; overflow: hidden; }
.champ__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.champ__poster { transform: rotate(-4deg); box-shadow: 0 30px 60px -28px rgba(5,35,43,.5); border: 10px solid #fff; max-width: 420px; justify-self: center; }
.champ__t { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.2rem, 7.6vw, 7rem); line-height: .9; margin-top: 16px; }
.champ__n { display: inline-block; color: #fff; background: var(--pink); padding: 0 .16em; border-radius: .12em; transform: rotate(-4deg); }
.champ__list { margin: 30px 0 30px; display: grid; gap: 0; max-width: 520px; }
.champ__list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 2px dashed rgba(5,35,43,.25); }
.champ__list b { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--pink); padding-top: 4px; }

/* ---------- la base ---------- */
.base { background: var(--aqua-hi); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.base__img { min-height: 560px; position: relative; overflow: hidden; }
.base__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.base__copy { padding: clamp(60px, 8vw, 120px) var(--pad); align-self: center; }
.base__copy > p:not(.eyebrow) { margin-top: 22px; font-size: 1.15rem; max-width: 40ch; }
.base .eyebrow { color: var(--ocean); }
.base .eyebrow::before { filter: brightness(0); }
.base__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ---------- alumnos ---------- */
.crew { background: var(--ocean); color: #fff; padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; }
.crew__t { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(4rem, 15vw, 15rem); line-height: .8; position: relative; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.crew__t .brush { position: absolute; left: 34%; bottom: -.15em; font-size: .3em; color: var(--pink-hi); -webkit-text-stroke: 0; transform: rotate(-6deg); }
.crew__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; margin-top: 60px; }
.crew__grid figure { overflow: hidden; border-radius: 4px; }
.crew__grid img { width: 100%; height: 100%; object-fit: cover; }
.crew__a { grid-column: 1 / 6; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.crew__a img { object-position: 50% 30%; }
.crew__b { grid-column: 7 / 13; grid-row: 1; aspect-ratio: 4 / 3; margin-top: 70px; }
.crew__b img { object-position: 50% 74%; }
.crew__c { grid-column: 6 / 11; grid-row: 2; aspect-ratio: 2 / 1; align-self: end; margin-left: 30px; }
.crew__c img { object-position: 50% 44%; }
.crew__d { grid-column: 3 / 9; grid-row: 3; aspect-ratio: 3 / 2; margin-top: 10px; }
.crew__d img { object-position: 50% 93%; }

/* ---------- turnos ---------- */
.turnos { background: #fff; padding: clamp(90px, 10vw, 140px) 0;
  --tn-accent: var(--pink); --tn-on-accent: #fff; --tn-radius: 14px; --tn-line: rgba(5,35,43,.2); --tn-card: var(--foam); }
.turnos__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.turnos__head > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); max-width: 38ch; }
.turnos__head .turnos__note { font-family: var(--brush); color: var(--aqua-ink); font-size: 1.5rem; line-height: 1.2; }
.turnos__box { border: 3px solid var(--ocean); border-radius: 28px; padding: clamp(22px, 4vw, 44px); box-shadow: 12px 12px 0 var(--aqua-hi); }
.turnos__box [data-tn] { max-width: none; }

/* ---------- cierre ---------- */
.end { position: relative; color: #fff; padding: clamp(120px, 16vw, 220px) 0; overflow: hidden; isolation: isolate; background: var(--ocean); }
.end__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; filter: grayscale(1) contrast(1.1); opacity: .55; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(5,35,43,.92), rgba(14,124,134,.55)); }
.end__t { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.6rem, 11vw, 11rem); line-height: .86; }
.end .brush { color: var(--pink-hi); margin-top: 16px; }
.end__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

.foot { background: #031A20; color: #BFD6D9; padding: 34px 0 40px; font-size: .95rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; }
.foot__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; }
.foot__brand img { width: 48px; height: 48px; border-radius: 12px; background: #fff; object-fit: contain; padding: 2px; }

.dock { display: none; }

/* ---------- reveals (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .top__nav { display: none; }
  .faq__q { grid-column: 1 / -1; }
  .faq__a { grid-column: 1 / -1; grid-row: 2; }
  .faq__img--a { grid-column: 1 / 7; grid-row: 3; margin-top: 10px; }
  .faq__img--b { grid-column: 7 / 13; grid-row: 3; margin-top: 60px; aspect-ratio: 4 / 5; }
  .ola__grid, .champ__in, .turnos__in { grid-template-columns: 1fr; }
  .base { grid-template-columns: 1fr; }
  .base__img { min-height: 0; aspect-ratio: 1; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .top { padding: 10px 16px; }
  .top .btn--sm { display: none; }
  .top__brand img { width: 46px; height: 46px; }
  .hero__word { font-size: 40vw; }
  .hero__ui { padding: 84px 16px 100px; }
  .hero__kicker { font-size: .7rem; letter-spacing: .18em; max-width: 28ch; }
  .hero__promo { top: auto; bottom: 190px; right: 16px; max-width: 200px; font-size: .82rem; }
  .hero__promo b { font-size: 1.35rem; }
  .hero__cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .hero__over { padding-bottom: 14vh; }
  .hero__facts { gap: 12px 26px; }
  .hero__facts b { font-size: 2rem; }
  .ola__viz { min-height: 280px; }
  .ola__ticks { font-size: .76rem; }
  .ola__out { padding: 22px 20px 24px; }
  .champ__list li { grid-template-columns: 1fr; gap: 2px; }
  .crew__t { -webkit-text-stroke-width: 1.5px; }
  .crew__t .brush { left: 40%; font-size: .34em; }
  .crew__grid { gap: 12px; margin-top: 40px; }
  .crew__a { grid-column: 1 / 8; grid-row: 1; }
  .crew__b { grid-column: 8 / 13; grid-row: 1; margin-top: 40px; aspect-ratio: 3 / 4; }
  .crew__c { grid-column: 1 / 13; grid-row: 2; margin-left: 0; aspect-ratio: 2 / 1; }
  .crew__d { grid-column: 1 / 13; grid-row: 3; margin-top: 0; aspect-ratio: 3 / 2; }
  .turnos__box { padding: 20px 14px; border-radius: 22px; box-shadow: 6px 6px 0 var(--aqua-hi); }
  .end__cta .btn { flex: 1 1 calc(50% - 10px); padding: 0 12px; }
  .end__cta .btn--pink { flex-basis: 100%; }
  .dock { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    background: rgba(5,35,43,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 6px; border-radius: 999px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
  .dock a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
  .dock .dock__main { background: var(--pink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .btn { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}
