/* ── NORTH SHORE · tokens ─────────────────────────────────────────────── */
:root {
  --oceano: #0b3b52;      /* azul profundo del logo */
  --oceano-2: #0e4a66;
  --mar: #1497a8;         /* turquesa */
  --cielo: #bfe7ef;
  --arena: #fbf3e4;
  --arena-2: #f4e6c9;
  --sol: #ffb627;         /* ámbar de las franjas */
  --atardecer: #f2542d;   /* naranja de las franjas */
  --crema: #f2f2a0;       /* amarillo del lettering */
  --tinta: #0b2a3a;
  --tinta-suave: #3e5866;
  --linea: rgb(11 59 82 / .12);

  --fuente-titulo: "Bricolage Grotesque", system-ui, sans-serif;
  --fuente-texto: "Bricolage Grotesque", system-ui, sans-serif;
  --fuente-mano: "Caveat Brush", "Comic Sans MS", cursive;

  --radio: 26px;
  --gutter: clamp(18px, 4vw, 64px);
  --ancho: 1220px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--arena); color: var(--tinta);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--fuente-texto);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fuente-titulo); font-weight: 800; line-height: 1.02; margin: 0 0 .45em; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 84px); }
h2 { font-size: clamp(34px, 4.2vw, 62px); }
h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.01em; margin-top: 1.4em; }
h1 em, h2 em { font-style: normal; color: var(--mar); }
p { margin: 0 0 1em; color: var(--tinta-suave); text-wrap: pretty; }
strong { color: var(--tinta); }

/* ── Topo ─────────────────────────────────────────────────────────────── */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); color: #fff;
  transition: background .4s var(--ease), color .4s, box-shadow .4s, padding .4s;
}
.topo.rolou { background: rgb(251 243 228 / .82); color: var(--tinta); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); padding-block: 8px; }
.topo.oscuro { background: rgb(11 59 82 / .78); color: #fff; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca-logo { width: 52px; height: 52px; transition: transform .6s var(--ease); }
.marca:hover .marca-logo { transform: rotate(-12deg); }
.marca-texto { font-weight: 800; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; }
.menu { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 600; }
.menu a { text-decoration: none; opacity: .85; transition: opacity .3s; }
.menu a:hover { opacity: 1; }
.menu-cta { background: var(--sol); color: var(--tinta); padding: 10px 18px; border-radius: 999px; opacity: 1 !important; transition: transform .3s var(--ease); }
.menu-cta:hover { transform: translateY(-2px); }
@media (max-width: 860px) { .menu a:not(.menu-cta) { display: none; } .marca-texto { display: none; } }

/* ── Apertura cinematográfica ─────────────────────────────────────────── */
.cine { position: relative; height: var(--altura, 400vh); background: var(--oceano); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-fondo {
  position: absolute; inset: -6%; width: 112%; height: 112%;
  filter: blur(26px) saturate(1.25) brightness(.62);
}
.cine-canvas {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  height: 100%; width: min(100%, calc(100svh * 480 / 736));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.cine-vineta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(11 59 82 / .55), transparent 22%),
    linear-gradient(to top, rgb(11 59 82 / .7), transparent 40%);
}
.momento {
  position: absolute; left: var(--gutter); bottom: 14vh; width: min(440px, calc(50% - 30svh * 480 / 736 - var(--gutter)));
  min-width: 300px;
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none; color: #fff;
}
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--derecha { left: auto; right: var(--gutter); }
.momento h1 { color: #fff; }
.momento h1 em { color: var(--crema); }
.nota { display: inline-block; font-family: var(--fuente-mano); font-size: 22px; color: var(--sol); margin-bottom: 10px; }
.apoyo { font-size: clamp(16px, 1.25vw, 19px); color: rgb(255 255 255 / .86); margin: 0; }
.destaque { font-weight: 800; letter-spacing: -.02em; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; color: #fff; margin: 0 0 .5em; }
.cine-pista {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #fff;
  display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .75; transition: opacity .5s;
}
.cine-pista span { width: 2px; height: 38px; border-radius: 2px; background: linear-gradient(#fff, transparent); animation: pista 2s var(--ease) infinite; }
@keyframes pista { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cine.andou .cine-pista { opacity: 0; }

/* Celular / vertical: el video ocupa toda la pantalla */
@media (max-aspect-ratio: 4/5) {
  .cine-canvas { width: 100%; left: 0; transform: none; -webkit-mask-image: none; mask-image: none; }
  .cine-fondo { display: none; }
  .momento, .momento--derecha { left: var(--gutter); right: var(--gutter); width: auto; min-width: 0; bottom: 11vh; }
}

/* ── Paneles ──────────────────────────────────────────────────────────── */
.painel {
  position: relative; background: #fffdf8; border-radius: var(--radio);
  padding: clamp(26px, 3.4vw, 52px);
  box-shadow: 0 1px 0 var(--linea), 0 30px 60px -30px rgb(11 59 82 / .25);
}
.painel > :last-child { margin-bottom: 0; }
.painel--vidrio { background: rgb(11 59 82 / .42); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: none; }
.painel--oscuro { background: rgb(14 74 102 / .72); border: 1px solid rgb(255 255 255 / .1); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px -30px rgb(0 0 0 / .5); }
.painel--oscuro p { color: rgb(255 255 255 / .8); }
.painel--oscuro h2 em { color: var(--crema); }
.rotulo { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--atardecer); margin-bottom: 18px; }
.painel--oscuro .rotulo { color: var(--sol); }

/* ── Secciones ────────────────────────────────────────────────────────── */
.seccion { position: relative; isolation: isolate; overflow: clip; padding: clamp(80px, 13vh, 150px) var(--gutter); }
.seccion--arena { background: var(--arena); }
.seccion--oceano { background: var(--oceano); color: #fff; }
.seccion--cielo { background: linear-gradient(var(--arena), var(--cielo) 45%, var(--cielo) 60%, var(--arena)); }
.grilla { width: 100%; max-width: var(--ancho); margin: 0 auto; }
.grilla--dos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.grilla--invertida > :first-child { order: 0; }

/* Olas divisorias */
.ola { display: block; width: 100%; height: clamp(50px, 7vw, 110px); margin: -1px 0; position: relative; z-index: 2; }
.ola--arena { background: var(--oceano); fill: var(--arena); margin-top: -1px; }
.ola--oceano { background: var(--arena); fill: var(--oceano); }
.ola--desde-oceano { background: var(--arena); fill: var(--oceano); }

/* Franjas del logo */
.franjas { display: grid; gap: 7px; margin-top: 28px; width: 150px; }
.franjas i { height: 9px; border-radius: 9px; }
.franjas i:nth-child(1) { background: var(--atardecer); }
.franjas i:nth-child(2) { background: var(--sol); width: 86%; }
.franjas i:nth-child(3) { background: var(--crema); width: 72%; }

/* Fotos estilo polaroid surfera */
.foto { margin: 0; background: #fff; padding: 10px 10px 34px; border-radius: 8px; box-shadow: 0 26px 50px -24px rgb(11 42 58 / .45); transition: transform .6s var(--ease); }
.foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.collage { position: relative; min-height: clamp(380px, 46vw, 600px); }
.collage .foto--grande { position: absolute; width: 78%; aspect-ratio: 1; left: 0; top: 0; transform: rotate(-3deg); }
.collage .foto--chica { position: absolute; width: 46%; aspect-ratio: 1; right: 0; bottom: 0; transform: rotate(5deg); }
.collage--clases .foto--grande { aspect-ratio: 4 / 5; width: 66%; right: 0; left: auto; transform: rotate(3deg); }
.collage--clases .foto--chica { aspect-ratio: 4 / 5; width: 44%; left: 0; right: auto; bottom: 0; transform: rotate(-5deg); }
.collage--clases { min-height: clamp(460px, 52vw, 680px); }
.collage .foto:hover { transform: rotate(0) scale(1.02); z-index: 3; }
.garabato { position: absolute; left: 4%; bottom: 6%; font-family: var(--fuente-mano); font-size: clamp(22px, 2vw, 30px); color: var(--mar); transform: rotate(-6deg); }
.garabato--suelto { position: static; display: inline-block; margin-top: 8px; }

/* Cinta de palabras */
.cinta { background: var(--sol); color: var(--tinta); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -2vw; position: relative; z-index: 3; }
.cinta-pista { display: flex; width: max-content; animation: cinta 32s linear infinite; }
.cinta span { font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.01em; text-transform: uppercase; white-space: pre; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Clases */
.reloj { display: grid; grid-template-columns: 1fr 2fr; gap: 6px; margin: 26px 0 12px; }
.reloj-tramo { border-radius: 16px; padding: 18px 20px; display: grid; gap: 2px; }
.reloj-tramo b { font-size: clamp(30px, 3vw, 44px); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.reloj-tramo span { font-size: 14px; font-weight: 600; }
.reloj-tramo--arena { background: var(--arena-2); color: #8a5a12; }
.reloj-tramo--agua { background: linear-gradient(120deg, var(--mar), #2bb7c6); color: #fff; }
.chico { font-size: 15px; }
.incluye { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.incluye li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--tinta); }
.incluye li span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cielo); font-size: 19px; flex: none; }

/* Curso */
#curso { min-height: 92vh; display: grid; align-content: center; }
.curso { max-width: 600px; }
.sello { display: inline-block; vertical-align: middle; font-size: .38em; letter-spacing: 0; background: var(--atardecer); color: #fff; padding: .35em .8em; border-radius: 999px; transform: rotate(-4deg) translateY(-.2em); }
.pilares { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: p; }
.pilares li { counter-increment: p; background: rgb(255 255 255 / .07); border-radius: 18px; padding: 18px; display: grid; gap: 4px; }
.pilares li::before { content: counter(p, decimal-leading-zero); font-weight: 800; color: var(--sol); font-size: 14px; }
.pilares b { font-size: 18px; }
.pilares span { font-size: 15px; color: rgb(255 255 255 / .72); }
.arte { position: absolute; z-index: -1; pointer-events: none; object-fit: cover; }
.arte--derecha {
  top: 0; right: 0; width: 62vw; height: 100%; opacity: .85;
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 96%), linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(to left, #000 40%, transparent 96%), linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* Ventana al mar */
.ventana { margin: 0; border-radius: 200px 200px var(--radio) var(--radio); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -36px rgb(11 59 82 / .55); border: 10px solid #fff; }
.ventana img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ventana:hover img { transform: scale(1.05); }

/* Galería */
.seccion--galeria { display: grid; gap: 48px; justify-items: center; }
.painel--cabecera { width: 100%; max-width: var(--ancho); text-align: center; }
.galeria { width: 100%; max-width: var(--ancho); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.galeria .foto { aspect-ratio: 4 / 5; }
.galeria .foto:nth-child(odd) { transform: rotate(-2.5deg); margin-top: 30px; }
.galeria .foto:nth-child(even) { transform: rotate(2deg); }
.galeria .foto:hover { transform: rotate(0) scale(1.04); }
.galeria .foto.revelar.visto:nth-child(odd) { transform: rotate(-2.5deg); }
.galeria .foto.revelar.visto:nth-child(even) { transform: rotate(2deg); }
.galeria .foto.revelar.visto:hover { transform: rotate(0) scale(1.04); }

/* Tienda */
.tienda-medios { position: relative; min-height: clamp(460px, 48vw, 620px); }
.telefono { position: absolute; left: 6%; top: 0; width: min(290px, 52%); aspect-ratio: 464 / 762; border-radius: 34px; overflow: hidden; border: 8px solid #071f2c; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); transform: rotate(-4deg); z-index: 2; background: #071f2c; }
.telefono video { width: 100%; height: 100%; object-fit: cover; }
.foto--interior { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 1; transform: rotate(4deg); }

/* Contacto */
.seccion--contacto { display: grid; justify-items: center; padding-bottom: 120px; }
.painel--contacto { max-width: 760px; text-align: center; padding-top: 90px; margin-top: 70px; }
.contacto-logo { position: absolute; top: -70px; left: 50%; width: 140px; height: 140px; margin-left: -70px; animation: flotar 6s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-8px) rotate(-6deg); } }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* ── Botones ──────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--fuente-texto); text-decoration: none; cursor: pointer;
  color: var(--tinta); background: var(--crema); border: 0; border-radius: 999px;
  padding: 17px 28px; transition: transform .4s var(--ease), filter .3s, box-shadow .3s;
  margin-top: 18px; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .4);
}
.boton:hover { transform: translateY(-3px) rotate(-1deg); filter: brightness(1.05); }
.boton svg { width: 22px; height: 22px; }
.boton--sol { background: var(--sol); }
.boton--ig { background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); color: #fff; margin-top: 0; }
.boton--wa { background: #25d366; color: #fff; margin-top: 0; }

/* WhatsApp flotante */
.whats {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .3);
  transform: scale(0); transition: transform .5s var(--ease);
}
.whats[hidden] { display: none; }
.whats.visivel { transform: scale(1); }
.whats:hover { transform: scale(1.07); }
.whats svg { width: 30px; height: 30px; }
.whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* Pie */
.pie { background: var(--oceano); color: #fff; padding: 40px var(--gutter); }
.pie-interior { max-width: var(--ancho); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; font-size: 15px; }
.pie-interior > div { display: grid; }
.pie-interior > div span, .pie-copy { color: rgb(255 255 255 / .65); }
.pie-logo { width: 64px; height: 64px; }
.pie-redes { display: flex; gap: 20px; margin-left: auto; }
.pie-redes a { text-decoration: none; font-weight: 600; color: var(--crema); }
.pie-redes a:hover { text-decoration: underline; }

/* Revelar */
.revelar { opacity: 0; translate: 0 40px; transition: opacity 1s var(--ease), translate 1.2s var(--ease), transform .6s var(--ease); }
.revelar.visto { opacity: 1; translate: 0 0; }

/* ── Celular ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .grilla--dos { grid-template-columns: 1fr; }
  .grilla--invertida > :first-child { order: 2; }
  .collage, .collage--clases { min-height: 0; aspect-ratio: 1 / .95; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .pilares { grid-template-columns: 1fr; }
  .arte--derecha { width: 100%; height: 60%; opacity: .45;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); }
  .tienda-medios { min-height: 0; aspect-ratio: 1 / 1.05; }
  .ventana { max-width: 460px; justify-self: center; width: 100%; }
  .pie-redes { margin-left: 0; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; translate: none; }
  .momento[data-de="0"] { opacity: 1; transform: none; filter: none; }
  .cine { height: 100svh; }
  .momento:not([data-de="0"]), .cine-pista { display: none; }
}

/* Ajustes */
[hidden] { display: none !important; }
.pie strong { color: #fff; }
.momento h1 { font-size: clamp(36px, 3.6vw, 58px); }

/* ── Tienda: pantalla grande con sonido ──────────────────────────────── */
.seccion--tienda { padding-block: clamp(70px, 10vh, 120px); }
.tienda-fondo {
  position: absolute; inset: -10%; z-index: -1; opacity: .35;
  background: url("assets/video/tienda.webp") center / cover;
  filter: blur(60px) saturate(1.4);
}
.tienda-grilla { width: 100%; max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 5vw, 80px); align-items: center; }
.tienda-texto { display: grid; gap: 34px; }
.tienda-texto .foto--interior { position: relative; width: 62%; aspect-ratio: 1; justify-self: end; transform: rotate(3deg); right: auto; bottom: auto; }
.pantalla {
  position: relative; height: min(86vh, 860px); aspect-ratio: 720 / 1182; max-width: 100%;
  border-radius: 34px; overflow: hidden; background: #071f2c;
  box-shadow: 0 0 0 8px rgb(255 255 255 / .06), 0 50px 100px -40px rgb(0 0 0 / .7);
}
.pantalla video { width: 100%; height: 100%; object-fit: cover; }
.pantalla-sonido {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 700 15px/1 var(--fuente-texto); color: var(--tinta); background: var(--crema);
  border: 0; border-radius: 999px; padding: 13px 20px; cursor: pointer;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / .5); transition: transform .3s var(--ease);
}
.pantalla-sonido:hover { transform: translateX(-50%) translateY(-2px); }
.sonando .pantalla-sonido { opacity: .85; }

/* Botón de sonido flotante */
.sonido {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 16px;
  font: 700 14px/1 var(--fuente-texto); color: #fff; background: rgb(11 59 82 / .82);
  border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgb(0 0 0 / .25); transition: transform .3s var(--ease), background .3s;
}
.sonido:hover { transform: translateY(-2px); }
.sonando .sonido { background: var(--sol); color: var(--tinta); border-color: transparent; }
.ecualizador { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.ecualizador i { width: 3px; height: 30%; border-radius: 2px; background: currentColor; }
.sonando .ecualizador i { animation: eq 1s ease-in-out infinite; }
.sonando .ecualizador i:nth-child(2) { animation-delay: -.4s; }
.sonando .ecualizador i:nth-child(3) { animation-delay: -.7s; }
.sonando .ecualizador i:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.sonido-aviso { animation: aviso 2.4s ease-in-out 3; }
@keyframes aviso { 50% { box-shadow: 0 0 0 10px rgb(255 182 39 / .25), 0 10px 30px rgb(0 0 0 / .25); } }

@media (max-width: 860px) {
  .tienda-grilla { grid-template-columns: 1fr; }
  .pantalla { height: auto; width: 100%; max-width: 440px; justify-self: center; }
  .tienda-texto .foto--interior { display: none; }
}
.h1-sub { display: block; margin-top: .35em; font-size: .46em; letter-spacing: -.01em; color: var(--sol); }
.momento h1 { text-transform: uppercase; letter-spacing: -.01em; }

/* ── Portada con foto ─────────────────────────────────────────────────── */
.portada { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--oceano); isolation: isolate; }
.portada-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; z-index: -2; animation: acercar 18s ease-out both; }
@keyframes acercar { from { transform: scale(1.12); } to { transform: scale(1); } }
.portada-vineta { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, rgb(11 59 82 / .55), transparent 25%),
  linear-gradient(to top, rgb(11 59 82 / .85), rgb(11 59 82 / .2) 45%, transparent 70%),
  linear-gradient(to right, rgb(11 59 82 / .55), transparent 55%); }
.portada-contenido { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(70px, 12vh, 130px); }
.portada-panel { max-width: 560px; color: #fff; animation: entrar 1.2s var(--ease) .2s both; }
@keyframes entrar { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } }
.portada h1 { color: #fff; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(34px, 4vw, 60px); }
.portada h1 em { color: var(--crema); }
.portada-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.portada-acciones .boton { margin-top: 14px; }
.boton--vidrio { background: rgb(255 255 255 / .14); color: #fff; border: 1px solid rgb(255 255 255 / .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sonando .boton--vidrio { background: var(--crema); color: var(--tinta); }
.portada .cine-pista { text-decoration: none; }
@media (max-width: 760px) { .portada-foto { object-position: 50% 30%; } .portada-contenido { bottom: 84px; } }

/* ── Videos agrupados ─────────────────────────────────────────────────── */
.tienda-grilla { grid-template-columns: 1.15fr .85fr; align-items: center; }
.tienda-grilla .foto--interior { position: relative; inset: auto; width: 82%; justify-self: center; transform: rotate(3deg); }
.pantallas { width: 100%; max-width: var(--ancho); margin: clamp(50px, 8vh, 90px) auto 0; display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px); }
.pantalla { margin: 0; height: min(80vh, 780px); }
.pantalla:nth-child(1) { transform: rotate(-2deg); }
.pantalla:nth-child(2) { transform: rotate(2deg); }
.pantalla figcaption { position: absolute; top: 18px; left: 18px; font-family: var(--fuente-mano); font-size: 24px; color: #fff; background: rgb(11 59 82 / .55); padding: 4px 14px; border-radius: 999px; backdrop-filter: blur(8px); }
.pantallas-sonido { display: flex; justify-content: center; margin-top: 34px; }
.pantallas-sonido .pantalla-sonido { position: static; transform: none; }
.pantallas-sonido .pantalla-sonido:hover { transform: translateY(-2px); }
@media (max-width: 860px) {
  .tienda-grilla { grid-template-columns: 1fr; }
  .tienda-grilla .foto--interior { display: block; width: 70%; }
  .pantallas { flex-direction: row; gap: 12px; }
  .pantalla { height: auto; width: calc(50% - 6px); border-radius: 22px; }
  .pantalla figcaption { font-size: 18px; top: 10px; left: 10px; }
}

/* ── Portada: foto de fondo + título con la letra del logo ───────────── */
:root { --fuente-logo: "Chicle", "Bricolage Grotesque", cursive; --fuente-logo-sub: "Amatic SC", "Caveat Brush", cursive; }
.portada-foto { filter: saturate(1.05) brightness(.92); }
.portada-vineta { background:
  radial-gradient(ellipse 75% 65% at 50% 50%, rgb(7 31 44 / .72), rgb(7 31 44 / .5) 60%, rgb(7 31 44 / .32) 100%),
  linear-gradient(to bottom, rgb(11 59 82 / .55), transparent 22%, transparent 70%, rgb(11 59 82 / .75)); }
.portada-contenido { inset: 0; display: grid; place-items: center; padding: 90px var(--gutter) 70px; }
.portada-panel { max-width: 980px; text-align: center; }
.titulo-logo { font-family: var(--fuente-logo); font-weight: 400; text-transform: none; letter-spacing: .01em; line-height: .9; margin: 0; color: var(--crema); text-shadow: 0 4px 0 #0b2a3a, 0 10px 40px rgb(0 0 0 / .45); }
.titulo-logo span { display: block; }
.tl-chico { font-size: clamp(30px, 4vw, 58px); color: #fff; }
.tl-grande { color: #eef08c; font-size: clamp(72px, 13vw, 200px); transform: rotate(-3deg) skewX(-4deg); margin: .02em 0 .06em; }
.tl-sub { font-family: var(--fuente-logo-sub); font-size: clamp(30px, 4.2vw, 62px); letter-spacing: .08em; color: var(--sol); text-shadow: 0 3px 0 #0b2a3a, 0 8px 30px rgb(0 0 0 / .5); }
.franjas--centro { margin: 18px auto 22px; width: clamp(120px, 14vw, 190px); justify-items: center; }
.portada .apoyo { max-width: 560px; margin: 0 auto; font-size: clamp(16px, 1.3vw, 20px); color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / .6); }
.portada-acciones { justify-content: center; }
.marca-texto { font-family: var(--fuente-logo); font-weight: 400; font-size: 24px; letter-spacing: .02em; text-transform: none; }

/* ── Galería equilibrada: 3 fotos ─────────────────────────────────────── */
.galeria { grid-template-columns: repeat(3, 1fr); max-width: 1040px; gap: clamp(18px, 3vw, 40px); }
.galeria .foto:nth-child(2) { margin-top: 0; }
.galeria .foto:nth-child(odd) { margin-top: 40px; }
@media (max-width: 860px) { .galeria { grid-template-columns: 1fr 1fr; } .galeria .foto:nth-child(3) { grid-column: 1 / -1; width: 60%; justify-self: center; } }

/* ── Collages armónicos: misma grilla, superposición pareja ──────────── */
.collage, .collage--clases {
  position: relative; min-height: 0; aspect-ratio: 1 / 1.08; width: 100%; max-width: 560px; justify-self: center;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 1fr);
}
.collage .foto--grande, .collage .foto--chica,
.collage--clases .foto--grande, .collage--clases .foto--chica { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: auto; }
.collage .foto--grande { grid-column: 1 / 10; grid-row: 1 / 11; transform: rotate(-3deg); }
.collage .foto--chica { grid-column: 7 / 13; grid-row: 7 / 13; transform: rotate(4deg); z-index: 2; }
.collage--clases .foto--grande { grid-column: 4 / 13; grid-row: 1 / 11; transform: rotate(3deg); }
.collage--clases .foto--chica { grid-column: 1 / 7; grid-row: 7 / 13; transform: rotate(-4deg); z-index: 2; }
.collage .garabato { position: absolute; left: 2%; bottom: 3%; }
.collage .foto:hover { transform: rotate(0) scale(1.02); z-index: 3; }
.ventana { max-width: 480px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .collage, .collage--clases { aspect-ratio: 1 / 1.08; } }

/* ── Clases: collage de 4 fotos ─────────────────────────────────────── */
.collage--clases { max-width: 600px; aspect-ratio: 1 / 1.22; grid-template-rows: repeat(14, 1fr); }
.collage--clases .foto--sonrisa, .collage--clases .foto--ola { position: relative; padding-bottom: 22px; }
.collage--clases .foto--grande { grid-column: 5 / 13; grid-row: 1 / 10; transform: rotate(3deg); }
.collage--clases .foto--sonrisa { grid-column: 1 / 7; grid-row: 2 / 6; transform: rotate(-5deg); z-index: 2; }
.collage--clases .foto--chica { grid-column: 1 / 6; grid-row: 8 / 15; transform: rotate(-3deg); z-index: 2; }
.collage--clases .foto--ola { grid-column: 5 / 13; grid-row: 10 / 15; transform: rotate(3.5deg); z-index: 3; }
.collage--clases .foto--ola img { object-position: 30% 50%; }
.collage--clases .foto:hover { transform: rotate(0) scale(1.03); z-index: 4; }
@media (max-width: 860px) { .collage--clases { aspect-ratio: 1 / 1.22; } }

/* ── Galería: 4 fotos ───────────────────────────────────────────────── */
.galeria { grid-template-columns: repeat(4, 1fr); max-width: 1240px; gap: clamp(16px, 2.4vw, 34px); }
.galeria .foto:nth-child(even) { margin-top: 0; }
@media (max-width: 860px) {
  .galeria { grid-template-columns: 1fr 1fr; }
  .galeria .foto:nth-child(3) { grid-column: auto; width: auto; justify-self: stretch; }
}

/* ── Contacto: la casilla de la escuela de fondo ────────────────────── */
.seccion--contacto { justify-items: start; min-height: 88vh; align-content: center; }
.contacto-fondo {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 88%, transparent);
}
.seccion--contacto::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(251 243 228 / .7) 0%, rgb(251 243 228 / .25) 45%, transparent 70%);
}
.seccion--contacto .painel--contacto { width: min(560px, 100%); margin-left: max(0px, calc((100% - var(--ancho)) / 2)); }
@media (max-width: 860px) {
  .seccion--contacto { justify-items: center; min-height: 0; padding-top: 72vw; }
  .contacto-fondo { height: 95vw; object-position: 70% 55%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent); }
  .seccion--contacto::before { display: none; }
  .seccion--contacto .painel--contacto { margin-left: 0; }
}

/* ── Escuelita (2 videos) y tienda (su propio video) ────────────────── */
.seccion--escuela { display: grid; justify-items: center; padding-bottom: clamp(40px, 6vh, 70px); }
.seccion--escuela .pantallas { margin-top: clamp(36px, 6vh, 60px); }
.seccion--tienda { padding-top: clamp(50px, 8vh, 90px); }
.tienda-grilla .pantalla--tienda { justify-self: center; height: min(78vh, 760px); aspect-ratio: 720 / 1200; transform: rotate(2.5deg); }
@media (max-width: 860px) {
  .tienda-grilla .pantalla--tienda { height: auto; width: min(100%, 380px); transform: rotate(1.5deg); }
}

/* Contacto: cartel translúcido para que se vea la casilla */
.seccion--contacto .painel--contacto {
  background: rgb(255 253 248 / .42);
  -webkit-backdrop-filter: blur(5px) saturate(1.15); backdrop-filter: blur(5px) saturate(1.15);
  border: 1px solid rgb(255 255 255 / .55);
  box-shadow: 0 30px 60px -30px rgb(11 59 82 / .35);
}
.seccion--contacto .painel--contacto p { color: var(--tinta); }

/* Contacto: cartel 100% transparente sobre la foto */
.seccion--contacto .painel--contacto {
  background: transparent; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
@media (min-width: 861px) {
  .seccion--contacto::before {
    background: radial-gradient(ellipse 55% 70% at 22% 55%, rgb(7 31 44 / .7), rgb(7 31 44 / .4) 55%, transparent 80%);
  }
  .seccion--contacto .painel--contacto h2 { color: #fff; text-shadow: 0 3px 24px rgb(0 0 0 / .45); }
  .seccion--contacto .painel--contacto p { color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / .6); }
  .seccion--contacto .painel--contacto .rotulo { color: var(--sol); text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
}
.contacto-fondo { z-index: -2; }
