/* =========================================================
   Drills · Landing «Reto: 30 días de movilidad para surfistas»
   Coming soon (solo el hero de la landing de producción)
   Marca: mar #0E7A84 · sol #F6DC6A · arena #F2A840 · espuma #FFF6D6 · fondo #084850
   Tipografía: Nunito (Regular 400 / Bold 700 / Black 900). El logo solo como imagen.
   ========================================================= */

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-var-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --mar: #0E7A84;
  --sol: #F6DC6A;
  --arena: #F2A840;
  --espuma: #FFF6D6;
  --fondo: #084850;

  --ink: var(--fondo);            /* texto principal sobre espuma */
  --ink-soft: rgba(8, 72, 80, .78);
  --tint: rgba(14, 122, 132, .07); /* tarjeta sobre espuma */
  --line: rgba(14, 122, 132, .18);

  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-pill: 999px;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --sec: clamp(72px, 10vw, 128px);

  --shadow: 0 18px 40px -18px rgba(8, 72, 80, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--espuma);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sec) 0; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sol); padding: 8px 14px; border-radius: var(--r-pill); z-index: 100; }
.skip:focus { left: 8px; }


/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 900; font-size: 19px; line-height: 1;
  text-decoration: none; color: var(--fondo);
  background: var(--arena);
  padding: 20px 32px; border-radius: var(--r-pill);
  box-shadow: 0 6px 0 0 rgba(8, 72, 80, .9);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--sol); transform: translateY(-2px); box-shadow: 0 8px 0 0 rgba(8, 72, 80, .9); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 0 rgba(8, 72, 80, .9); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; }

/* ---------- Iconos (sol + trazo mar oscuro) ---------- */
.ico { width: 56px; height: 56px; flex: none; }

.rings { position: absolute; pointer-events: none; aspect-ratio: 1; border-radius: 50%; }
.rings::before, .rings::after, .rings span { content: ""; position: absolute; border-radius: 50%; inset: 0; }
.rings { background: transparent; }
.rings::before { inset: 0; background: var(--mar); }
.rings span { inset: 17%; background: var(--arena); }
.rings::after { inset: 34%; background: var(--sol); }

/* =========================================================

   CABECERA
   ========================================================= */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.top__logo img { height: 34px; width: auto; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero { background: var(--mar); color: var(--espuma); padding: 150px 0 120px; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero__kicker { margin: 0 0 10px; font-weight: 900; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .06em; color: var(--espuma); }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); color: var(--sol); margin-bottom: 24px; }
.hero__sub { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; max-width: 36ch; margin-bottom: 32px; }
.facts { list-style: none; margin: -8px 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.facts li { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.facts .ico { width: 38px; height: 38px; }
.hero__buy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero__visual .rings { width: 92%; right: -22%; bottom: -16%; }
.page {
  position: absolute; width: 58%; aspect-ratio: 210 / 297;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(8, 72, 80, .7), 0 0 0 1px rgba(8,72,80,.15);
  background: var(--espuma);
}
.page img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .page--back { left: 4%; top: 10%; transform: rotate(-8deg); }
.hero__visual .page--mid { left: 40%; top: 2%; transform: rotate(7deg); width: 52%; }
.hero__visual .page--front { left: 18%; top: 16%; transform: rotate(-1.5deg); width: 62%; box-shadow: 0 40px 70px -18px rgba(8, 40, 46, .85); }

.wave-edge { display: block; width: 100%; height: 60px; position: absolute; left: 0; bottom: -1px; z-index: 2; }
.foot { background: var(--fondo); color: var(--espuma); padding: 56px 0; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot img { height: 30px; width: auto; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.foot a { color: var(--espuma); text-decoration: none; opacity: .85; }
.foot a:hover { color: var(--sol); opacity: 1; }
.foot small { font-size: 14px; opacity: .7; width: 100%; }

/* =========================================================
   Coming soon · añadidos
   ========================================================= */
body { background: var(--fondo); }
.hero { min-height: calc(100svh - 118px); display: flex; align-items: center; }
.hero > .wrap { flex: 1; }
.btn--soon, .btn--soon:hover, .btn--soon:active {
  cursor: default; background: var(--arena); transform: none;
  box-shadow: 0 6px 0 0 rgba(8, 72, 80, .9); user-select: none;
}
.foot--soon { padding: 32px 0; }
.foot--soon .wrap { justify-content: space-between; }
.foot--soon small { width: auto; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { padding: 120px 0 96px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero__visual { max-width: 340px; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -4px 0 28px; }
  .facts li { flex-direction: column; align-items: flex-start; gap: 8px; white-space: normal; font-size: 15px; line-height: 1.25; }
  .facts .ico { width: 36px; height: 36px; }
  .hero__buy .btn { width: 100%; white-space: normal; text-align: center; }
  .foot--soon .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
