/* Paradise Surf Club · pagina institucional. Mismo look que la portada del sistema de
   reservas: azul oceano, arena, el rojo del logo, titulares condensados y fotos giradas. */
:root {
  --ocean: #0a2f4f;
  --ocean-deep: #061d33;
  --sky: #1f9be0;
  --sand: #f1e6d0;
  --line: #d9cba9;
  --red: #c91f21; /* rojo del logo */
  --red-text: #ff5d5f; /* el mismo rojo, mas claro para texto sobre azul */
  --white: #ffffff;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --cut: clamp(40px, 7vw, 110px);
}
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x en html: la cinta roja inclinada no ensancha la pagina. */
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }
body { margin: 0; background: var(--sand); color: var(--ocean); font: 400 17px/1.55 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1240px; margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ocean); border-radius: 8px; }
.skip:focus { left: 8px; }

/* Barra superior */
.top { background: var(--ocean-deep); color: var(--white); }
/* La barra acompana al bajar: siempre a mano el menu y el boton de consulta. */
.top { position: sticky; top: 0; z-index: 40; box-shadow: 0 6px 18px rgba(6, 29, 51, 0.25); }
.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font: 400 1.35rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.brand img { width: 52px; height: 52px; flex: none; }
.nav { display: flex; gap: 22px; align-items: center; font: 600 1rem/1 var(--label); letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { color: inherit; text-decoration: none; opacity: 0.85; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="true"] { opacity: 1; color: var(--red-text); }
.nav .pill { opacity: 1; border: 2px solid var(--white); padding: 8px 14px; border-radius: 999px; }
.nav .pill:hover, .nav .pill:focus-visible { border-color: var(--red-text); }
@media (max-width: 900px) { .hideSm { display: none; } }
/* Segunda fila del celular: accesos a cada seccion, se desliza de costado si no entran. */
.subnav { display: none; }
@media (max-width: 900px) {
  html { scroll-padding-top: 124px; }
  .top .inner { padding-block: 10px 8px; }
  .subnav {
    display: flex; gap: 8px; overflow-x: auto; padding: 0 0 10px; margin: 0 auto; max-width: 1240px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a {
    flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white);
    text-decoration: none; font: 700 0.9rem/1 var(--label); letter-spacing: 0.08em; text-transform: uppercase;
  }
  .subnav a:hover, .subnav a:focus-visible, .subnav a[aria-current="true"] { background: var(--red); border-color: var(--red); }
}
@media (max-width: 460px) { .brandName { display: none; } .nav .pill { padding: 6px 10px; font-size: 0.85rem; } }

/* Titular */
.intro { background: var(--ocean-deep); color: var(--white); }
.intro .inner { padding-block: 28px 34px; display: grid; gap: 14px; }
.eyebrow { font: 700 0.95rem/1 var(--label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); }
.onDark { color: var(--red-text); }
.headline { margin: 0; padding-top: 0.12em; font: 400 clamp(2.8rem, 9vw, 7.5rem)/0.98 var(--display); text-transform: uppercase; }
.headline .row { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.headline .row + .row { padding-left: clamp(0px, 8vw, 140px); animation-delay: 0.12s; }
.out { color: transparent; -webkit-text-stroke: 2px var(--white); }
@keyframes rise { from { transform: translateY(24px); opacity: 0.001; } to { transform: none; opacity: 1; } }

/* Paneles partidos */
.split { position: relative; display: flex; height: clamp(460px, 74vh, 720px); background: var(--ocean-deep); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; text-decoration: none; color: var(--white); transition: flex-grow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
/* Velo oscuro desde la mitad hacia abajo: el texto blanco se lee sobre cualquier foto. */
.panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 29, 51, 0.1) 0%, rgba(6, 29, 51, 0.15) 30%, rgba(6, 29, 51, 0.7) 62%, rgba(6, 29, 51, 0.94) 100%);
}
.left { clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
.left img { object-position: 50% 60%; }
.right { margin-left: calc(-1 * var(--cut) + 8px); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.right img { object-position: 50% 45%; }
.split:hover .panel { flex-grow: 0.8; }
.split .panel:hover, .split .panel:focus-visible { flex-grow: 1.35; }
.panel:hover img, .panel:focus-visible img { transform: scale(1.1); }
.panel:focus-visible { outline: 4px solid var(--red-text); outline-offset: -4px; }
.panelText { position: absolute; z-index: 1; bottom: clamp(24px, 5vw, 56px); display: grid; gap: 12px; text-shadow: 0 2px 14px rgba(6, 29, 51, 0.75); }
.left .panelText { left: clamp(20px, 5vw, 64px); right: calc(var(--cut) + 16px); }
.right .panelText { left: calc(var(--cut) + 16px); right: clamp(20px, 5vw, 64px); }
.panelKicker {
  justify-self: start; padding: 7px 12px 6px; border-radius: 6px; background: var(--red); color: var(--white);
  font: 700 1.05rem/1 var(--label); letter-spacing: 0.18em; text-transform: uppercase; text-shadow: none;
}
.panelTitle { margin: 0; font: 400 clamp(2.6rem, 6.5vw, 5.6rem)/0.9 var(--display); text-transform: uppercase; }
.panelSub { font: 600 1.15rem/1.4 var(--body); max-width: 34ch; }
/* Lado a lado, titulo y texto reservan dos renglones: todo queda a la misma altura. */
@media (min-width: 761px) {
  .panelTitle { min-height: 1.8em; display: flex; align-items: flex-end; }
  .panelSub { min-height: 2.8em; }
}
.stamp {
  position: absolute; z-index: 3; left: 50%; top: 16%; width: clamp(104px, 10.5vw, 160px); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-10deg); border-radius: 50%; background: var(--ocean-deep); padding: 8px;
  box-shadow: 0 18px 40px rgba(6, 29, 51, 0.45); pointer-events: none; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s;
}
.stamp img { width: 100%; height: 100%; }
/* Al elegir un panel, el que crece corre su texto hacia el centro: el sello se esconde para no taparlo. */
.split:hover .stamp, .split:focus-within .stamp { opacity: 0; transform: translate(-50%, -50%) rotate(4deg) scale(0.7); }
/* En pantallas bajas los paneles son cortos y el texto sube hasta el sello: ahi no se muestra. */
@media (min-width: 761px) and (max-height: 760px) { .stamp { display: none; } }
@media (max-width: 760px) {
  .split { flex-direction: column; height: auto; }
  .panel { flex: none; height: clamp(400px, 62vh, 560px); }
  .left { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%); }
  .right { margin-left: 0; margin-top: -40px; clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%); }
  .left .panelText { right: 20px; bottom: 64px; }
  .right .panelText { left: 20px; }
  .split:hover .panel, .split .panel:hover { flex-grow: 0; }
  .stamp { display: none; }
}

/* Boton */
.cta {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--red); color: var(--white); font: 700 1.3rem/1 var(--label); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 18px 30px; border-radius: 999px; text-shadow: none; box-shadow: 0 10px 24px rgba(6, 29, 51, 0.35);
  transition: transform 0.3s, background 0.3s;
}
.cta svg { width: 22px; height: 22px; transition: transform 0.3s; }
.cta svg path { stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.panel .cta { font-size: clamp(1.3rem, 1.9vw, 1.65rem); padding: clamp(18px, 1.8vw, 22px) clamp(28px, 2.8vw, 38px); }
.panel:hover .cta svg, a.cta:hover svg { transform: translateX(5px); }
a.cta:hover { transform: translateY(-2px); }
a.cta:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.ctaDark { background: var(--ocean); }
.ctaDark:hover { background: var(--sky); }

/* Franja en movimiento */
.ticker { position: relative; z-index: 2; overflow: hidden; margin: -14px -20px 0; background: var(--red); color: var(--white); transform: rotate(-1.6deg); box-shadow: 0 10px 30px rgba(6, 29, 51, 0.25); }
.tickerTrack { display: flex; width: max-content; animation: slide 36s linear infinite; }
.ticker span { padding: 16px 0; font: 400 clamp(1.4rem, 3vw, 2.1rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.ticker span::after { content: "✦"; margin: 0 28px; font-size: 0.7em; vertical-align: 0.15em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Secciones */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section .inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.flip .copy { order: 2; }
@media (max-width: 860px) { .section .inner { grid-template-columns: 1fr; } .flip .copy { order: 0; } }
.copy { display: grid; gap: 18px; min-width: 0; }
.copy h2, .head h2 { margin: 0; font: 400 clamp(2.6rem, 6vw, 4.6rem)/0.92 var(--display); text-transform: uppercase; text-wrap: balance; }
.copy p, .head p { margin: 0; max-width: 56ch; font-size: 1.08rem; }
.small { font-size: 0.98rem !important; opacity: 0.85; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.stat b { display: block; font: 400 3.2rem/1 var(--display); color: var(--sky); font-variant-numeric: tabular-nums; }
.stat span { font: 700 0.95rem/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0; }
.offers div { min-width: 0; padding-top: 10px; border-top: 3px solid var(--sky); }
.offers dt { font: 400 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.offers dd { margin: 6px 0 0; font-size: 0.98rem; }
@media (max-width: 480px) { .offers { grid-template-columns: 1fr; } }

/* Collage de fotos giradas */
.collage { position: relative; min-width: 0; height: clamp(420px, 52vw, 600px); }
.shot { position: absolute; margin: 0; overflow: hidden; border: 8px solid var(--white); box-shadow: 0 24px 50px rgba(6, 29, 51, 0.28); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:hover { z-index: 3; transform: rotate(0deg) scale(1.03) !important; }
.c1 { left: 0; top: 4%; z-index: 1; width: 52%; height: 80%; transform: rotate(-4deg); }
.c2 { right: 2%; top: 14%; z-index: 2; width: 46%; height: 72%; transform: rotate(3deg); }
.surf .shot { border-color: var(--sand); }

/* Bloques sobre azul con ola arriba */
.surf { position: relative; background: var(--ocean); color: var(--white); }
.wave { display: block; width: 100%; height: clamp(50px, 7vw, 100px); margin-bottom: -1px; background: var(--sand); }
.wave path { fill: var(--ocean); }
.onBlue { padding-top: clamp(32px, 6vw, 72px); }
.block { padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 110px); }
.stack { display: grid; gap: 28px; }
.head { display: grid; gap: 12px; }

/* Bloques numerados: 01 Escuela, 02 Alquiler, 03 Balneario. Fondo alternado arena / azul. */
.seg { position: relative; }
.segSand { background: var(--sand); color: var(--ocean); }
.segBlue { background: var(--ocean); color: var(--white); }
.segSand + .segBlue .wave { background: var(--sand); }
.wave.waveToSand { background: var(--ocean); }
.wave.waveToSand path { fill: var(--sand); }
.segHead {
  display: flex; align-items: center; gap: 18px; padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: 18px; border-bottom: 3px solid currentColor;
}
.segHead h2 { margin: 0; font: 400 clamp(2.8rem, 7vw, 5.4rem)/0.92 var(--display); text-transform: uppercase; }
.segNum {
  flex: none; display: grid; place-items: center; width: clamp(54px, 7vw, 76px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: var(--white); font: 400 clamp(1.5rem, 3vw, 2.2rem)/1 var(--display);
}
.seg .sub { padding-block: clamp(36px, 6vw, 72px); }
.subEnd { padding-bottom: clamp(56px, 8vw, 100px); }
.subTitle { margin: 0; font: 400 clamp(1.9rem, 4vw, 2.8rem)/0.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.segBlue .shot { border-color: var(--sand); }
.segBlue .small { opacity: 0.85; }
.contactTitle { margin: 0; }

/* Horarios */
.times { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.times li {
  display: flex; align-items: baseline; gap: 4px; padding: 14px 22px; border-radius: 18px; border: 2px solid currentColor; background: var(--white);
  font: 700 1.2rem/1 var(--label); text-transform: uppercase;
}
.times b { font: 400 3.4rem/1 var(--display); }
/* En el celular, los cuatro horarios en una fila. */
@media (max-width: 560px) {
  .times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .times li { justify-content: center; padding: 12px 4px; }
  .times b { font-size: 2.4rem; }
}

/* Precios */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 20px; background: var(--white); color: var(--ocean); }
.price h3, .price h4 { margin: 0; font: 400 1.7rem/1 var(--display); text-transform: uppercase; }
.price p { margin: 0; }
.amount { font: 400 2.4rem/1.05 var(--display); color: var(--red); }
.per { font: 700 0.95rem/1 var(--label); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.featured { background: var(--white); box-shadow: 0 0 0 3px var(--red) inset; }
.price { box-shadow: 0 10px 30px rgba(6, 29, 51, 0.08); }
.packList { display: grid; gap: 8px; margin: 6px 0 8px; padding: 0; list-style: none; }
.packList li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.packList b { font: 400 1.3rem/1 var(--display); color: var(--red); }
.next { padding: 6px 10px; border-radius: 8px; background: var(--sand); justify-self: start; font-weight: 600; }
.next b { color: var(--red); }
/* Precios por dia del balneario (sobre azul) */
.dayPrices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; max-width: 460px; }
.dayPrices li { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--white); color: var(--ocean); }
.dayPrices span { font: 700 0.95rem/1 var(--label); letter-spacing: 0.14em; text-transform: uppercase; }
.dayPrices b { font: 400 2.2rem/1 var(--display); color: var(--red); }
.dayPrices small { font-size: 0.9rem; opacity: 0.75; }
.rates td { font: 400 1.35rem/1 var(--display); color: var(--red); }
.rates .combo th, .rates .combo td { background: var(--sand); }
.note { margin: 0; max-width: 70ch; padding: 14px 16px; border-radius: 14px; background: rgba(10, 47, 79, 0.08); }
.segBlue .note { background: rgba(255, 255, 255, 0.1); }

/* Alquiler */
.rates { width: 100%; border-collapse: collapse; background: var(--white); color: var(--ocean); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(6, 29, 51, 0.08); }
.rates th, .rates td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.rates thead th { background: var(--ocean); color: var(--white); font: 700 0.95rem/1 var(--label); letter-spacing: 0.1em; text-transform: uppercase; }
.rates tbody th { font-weight: 700; }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }

/* Contacto */
.contact { grid-template-columns: minmax(0, 1fr) !important; max-width: 760px; }
.contactList { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contactList li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 16px; border-radius: 14px; background: var(--white); color: var(--ocean); }
.mapLink { color: inherit; text-underline-offset: 4px; }
.mapLink::after { content: " ↗"; color: var(--red); }
.mapLink:hover, .mapLink:focus-visible { color: var(--red); }
.contactList span { font: 700 0.95rem/1.3 var(--label); letter-spacing: 0.12em; text-transform: uppercase; }

/* Datos que todavia faltan: se ven atenuados para encontrarlos rapido antes de publicar. */
[data-pending] { opacity: 0.6; font-style: italic; }

/* Pie */
.foot { background: var(--ocean-deep); color: var(--white); }
.foot .inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; padding-block: 48px; }
.footBrand { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footBrand img { width: clamp(110px, 14vw, 160px); height: auto; }
.footBig { margin: 0; font: 400 clamp(2.4rem, 7vw, 5rem)/0.9 var(--display); text-transform: uppercase; }
.footBig .out { -webkit-text-stroke-width: 1.5px; }
.footInfo { display: grid; gap: 14px; justify-items: start; }
.footInfo p { margin: 0; max-width: 40ch; font-size: 0.95rem; opacity: 0.75; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; color: inherit; }
.social a:hover, .social a:focus-visible { color: var(--red-text); }
.social svg { width: 22px; height: 22px; }

/* Globo de WhatsApp */
.bubble {
  position: fixed; z-index: 50; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: var(--white);
  box-shadow: 0 10px 26px rgba(6, 29, 51, 0.35);
}
.bubble:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* La cinta sigue corriendo, mas lenta: es un movimiento parejo, sin saltos. */
  .tickerTrack { animation: slide 70s linear infinite !important; }
}

/* Pagina 404 (sin estilos dentro del HTML, por la politica de seguridad) */
.notFound { min-height: 100dvh; display: grid; place-items: center; }
.notFound .inner { text-align: center; justify-items: center; }
.notFound img { margin: 0 auto 20px; }
.notFound .headline { font-size: clamp(2.4rem, 8vw, 4.5rem); }
.notFound p { margin: 16px 0 28px; }
