/* =========================================================
   Huntington Beach Casinos — style.css
   Concepto: "Balneario". Costa Atlántica argentina, carpas
   numeradas con toldos a rayas, sol de mayo y mar celeste.
   ========================================================= */

/* ---------- Fuentes (alojadas en el mismo dominio) ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --cielo: #A8D4F0;
  --cielo-claro: #DDEFFA;
  --espuma: #F7FBFD;
  --blanco: #FFFFFF;
  --atlantico: #0F3550;
  --atlantico-medio: #24506F;
  --atlantico-ola: #2F6688;
  --sol: #F6B40E;
  --sol-claro: #FFE08A;
  --arena: #F1DFBD;
  --arena-oscura: #DCC08E;
  --salvavidas: #D93A20;
  --celeste-toldo: #5FA9DB;

  --texto: var(--atlantico);
  --texto-suave: #2F4E66;

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --legal-h: 56px;
  --sombra: 6px 6px 0 var(--atlantico);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--espuma);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--atlantico); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--sol); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .005em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h3 { font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--atlantico); color: var(--espuma);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: .55em 1.4em;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.1;
  letter-spacing: .02em;
  text-decoration: none; text-align: center;
  border: 2px solid var(--atlantico);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--sol { background: var(--sol); color: var(--atlantico); box-shadow: 4px 4px 0 var(--atlantico); }
.btn--sol:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--atlantico); }
.btn--navy { background: var(--atlantico); color: var(--sol-claro); }
.btn--navy:hover { background: var(--atlantico-medio); }
.btn--small { min-height: 40px; font-size: 1.1rem; padding: .35em 1.1em; white-space: nowrap; flex: none; }
.btn--block { width: 100%; }

.link-strong {
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; text-decoration-color: var(--atlantico);
}

/* ---------- Cabecera ---------- */
.site-header { background: var(--cielo); position: relative; z-index: 20; }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1rem; min-height: 76px; padding-block: .6rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand svg { width: clamp(36px, 4vw + 20px, 44px); height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: .9; }
.brand__name { font-family: var(--display); font-weight: 900; font-size: clamp(1.3rem, 2.5vw + .6rem, 1.6rem); letter-spacing: .01em; white-space: nowrap; }
.brand__sub { font-size: .8rem; font-weight: 700; letter-spacing: .06em; margin-top: .2rem; }

.nav-toggle {
  display: none;
  align-items: center; gap: .5rem;
  min-height: 44px; padding: .3rem .95rem;
  font: 700 1rem/1 var(--body); color: var(--atlantico);
  background: var(--espuma); border: 2px solid var(--atlantico); border-radius: 999px;
  cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { bottom: 0; }

.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav li a { font-weight: 600; font-size: .98rem; text-decoration: none; display: inline-block; padding: .35rem 0; }
.site-nav li a:hover, .site-nav li a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.site-nav__extra { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .5rem; }
.lang-link {
  font-weight: 700; font-size: .9rem; text-decoration: none;
  border: 2px solid var(--atlantico); border-radius: 999px; padding: .3rem .8rem;
  min-height: 40px; display: inline-flex; align-items: center; white-space: nowrap; flex: none;
}
.lang-link:hover { background: var(--espuma); }

/* Sin JS el menú se ve completo. Con JS se pliega en pantallas chicas. */
@media (max-width: 1099.98px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; padding-bottom: 1rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 2px solid var(--atlantico); }
  .site-nav li { border-bottom: 1px solid rgba(15, 53, 80, .2); }
  .site-nav li a { display: block; padding: .8rem 0; font-size: 1.05rem; }
  .site-nav__extra { margin-top: 1rem; }
}

@media (min-width: 1100px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav { width: auto; display: flex; align-items: center; gap: 1.75rem; }
  .site-nav__extra { margin-top: 0; }
}

/* ---------- Hero (portada) ---------- */
.hero { background: var(--cielo); position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
}
.hero__kicker { font-weight: 700; font-size: .98rem; margin-bottom: 1rem; max-width: 40ch; }
.hero h1 {
  font-size: clamp(3.6rem, 8vw + .5rem, 8.25rem);
  line-height: .84;
  max-width: 8.5ch;
  margin-bottom: .35em;
}
.hero__lead { font-size: clamp(1.06rem, .5vw + .95rem, 1.25rem); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }

.hero__scene { position: relative; display: flex; flex-direction: column; }
.hero__sun {
  position: relative; z-index: 0;
  width: 100%; max-width: 620px; height: auto;
  margin: -1rem auto calc(-1 * clamp(36px, 5.5vw, 84px));
}
.hero__sun .sun { animation: sol-sale 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sol-sale { from { transform: translateY(70px); } to { transform: translateY(0); } }

.parte {
  position: relative; z-index: 3;
  align-self: flex-start;
  width: 100%; max-width: 340px;
  background: var(--espuma);
  border: 2px solid var(--atlantico);
  border-radius: 14px;
  box-shadow: var(--sombra);
  padding: 1rem 1.2rem .6rem;
  margin: .5rem 0 0;
}
.parte__title { font-family: var(--display); font-weight: 900; font-size: 1.5rem; margin: 0 0 .4rem; }
.parte dl { margin: 0; }
.parte__row {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px dashed rgba(15, 53, 80, .35);
  padding: .45rem 0; font-size: .92rem; line-height: 1.35;
}
.parte dt { font-weight: 600; }
.parte dd { margin: 0; font-weight: 700; text-align: right; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: stretch; gap: 2rem; }
  .hero__copy { padding-bottom: 6.5rem; }
  .hero__scene { justify-content: space-between; }
  .parte { align-self: flex-end; margin: 0; }
  .hero__sun { width: 128%; max-width: 780px; margin-left: auto; margin-right: -14%; margin-top: -2.5rem; }
}

.waves { display: block; width: 100%; height: clamp(70px, 9vw, 130px); position: relative; z-index: 1; }
.hero .waves { margin-top: 0; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(2.6rem, 4.5vw + 1rem, 4.75rem); }
.section-head p { font-size: 1.1rem; max-width: 58ch; }

.section--arena {
  background-color: var(--arena);
  background-image: radial-gradient(rgba(15, 53, 80, .07) 1px, transparent 1.6px);
  background-size: 15px 15px;
  padding-top: clamp(2rem, 4vw, 3rem);
}
.section--navy { background: var(--atlantico); color: var(--espuma); }
.section--cielo { background: var(--cielo-claro); }

/* ---------- Carpas (ofertas) ---------- */
.carpas {
  display: grid; grid-template-columns: 1fr; gap: 2.75rem;
  max-width: 620px; margin-inline: auto;
  list-style: none; padding: 0;
}
@media (min-width: 1040px) {
  .carpas { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 1.75rem; align-items: stretch; }
}

.carpa {
  --toldo: var(--sol);
  --toldo-2: var(--blanco);
  display: flex; flex-direction: column;
  background: var(--espuma);
  border: 2px solid var(--atlantico);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--atlantico);
  height: 100%;
  overflow: hidden;
}
.carpa--celeste { --toldo: var(--celeste-toldo); }
.carpa--roja { --toldo: var(--salvavidas); }

.carpa__toldo {
  position: relative;
  height: 58px;
  border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(90deg, var(--toldo) 0 32px, var(--toldo-2) 32px 64px);
}
.carpa__toldo::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px;
  background:
    radial-gradient(circle at 16px 0, var(--toldo) 15.5px, transparent 16px) 0 0 / 64px 18px repeat-x,
    radial-gradient(circle at 48px 0, var(--toldo-2) 15.5px, transparent 16px) 0 0 / 64px 18px repeat-x,
    radial-gradient(circle at 16px 0, var(--atlantico) 17.5px, transparent 18px) 0 0 / 64px 18px repeat-x,
    radial-gradient(circle at 48px 0, var(--atlantico) 17.5px, transparent 18px) 0 0 / 64px 18px repeat-x;
}
.carpa__num {
  position: absolute; right: 14px; top: 9px;
  font-family: var(--display); font-weight: 900; font-size: 1.15rem; line-height: 1;
  background: var(--espuma); color: var(--atlantico);
  border: 2px solid var(--atlantico); border-radius: 999px;
  padding: .3em .75em;
  margin: 0;
}

.carpa__body { display: flex; flex-direction: column; flex: 1; padding: 2.1rem 1.4rem 1.4rem; }
.carpa__name { font-size: clamp(2.7rem, 1.5vw + 2.2rem, 3.4rem); margin: 0 0 .1em; }
.carpa__cat { font-size: .95rem; font-weight: 600; color: var(--texto-suave); margin-bottom: 1.1rem; }
.carpa__offer { margin: 0 0 .2rem; font-family: var(--display); }
.carpa__pre { display: block; font-weight: 800; font-size: 1.45rem; line-height: 1.05; margin-bottom: .3rem; }
.carpa__amount {
  display: inline-block;
  font-weight: 900; font-size: clamp(3.6rem, 2.5vw + 2.8rem, 4.6rem); line-height: .9;
  background: linear-gradient(transparent 64%, var(--sol-claro) 64%);
  padding-right: .1em;
}
.carpa__cur { font-size: .42em; font-weight: 800; letter-spacing: .04em; margin-right: .15em; vertical-align: .95em; }
.carpa__extra { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1.05; margin: .35rem 0 1rem; }
.carpa__desc { font-size: .98rem; }

.codigo {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem;
  margin: .25rem 0 1rem;
  padding: .7rem .9rem;
  background: var(--blanco);
  border: 2px dashed var(--atlantico);
  border-radius: 10px;
}
.codigo__label { font-size: .85rem; font-weight: 700; width: 100%; }
.codigo__value { font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; letter-spacing: .1em; }
.codigo__copy {
  margin-left: auto; min-height: 40px; padding: .3rem .85rem;
  font: 700 .9rem/1 var(--body); color: var(--atlantico);
  background: var(--sol-claro); border: 2px solid var(--atlantico); border-radius: 999px; cursor: pointer;
}

.carpa__foot { margin-top: auto; display: flex; flex-direction: column; gap: .85rem; }
.estado {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .9rem; line-height: 1.2;
  padding: .4em .85em; border-radius: 999px; margin: 0;
}
.estado::before { content: ""; width: .7em; height: .7em; border-radius: 50%; flex: none; }
.estado--ok { background: var(--atlantico); color: var(--espuma); }
.estado--ok::before { background: var(--sol); }
.estado--pend { border: 2px dashed var(--atlantico); background: transparent; }
.estado--pend::before { border: 2px solid var(--atlantico); }
.carpa .btn { font-size: 1.2rem; padding-inline: 1em; }
.carpa__dest, .carpa__terms { font-size: .86rem; line-height: 1.45; color: var(--texto-suave); margin: 0; }

.leyenda {
  margin: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.6rem;
  padding: .85rem 1.4rem;
  background: var(--atlantico); color: var(--espuma);
  font-weight: 800; font-size: .8rem; line-height: 1.3; letter-spacing: .02em;
  text-transform: uppercase;
}
.leyenda__18 {
  flex: none;
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--sol); color: var(--atlantico);
  font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: 0;
}

.aviso-afiliado {
  max-width: 820px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  font-size: .92rem; text-align: center; color: var(--texto-suave);
}

/* ---------- Tabla (pizarra) ---------- */
.section--navy .section-head p { color: var(--cielo-claro); }
.pizarra {
  border: 2px solid var(--sol);
  border-radius: 16px;
  padding: clamp(.5rem, 2vw, 1.25rem) clamp(.75rem, 2.5vw, 2rem);
}
.tabla { width: 100%; border-collapse: collapse; }
.tabla caption { text-align: left; padding: .75rem 0; font-size: .95rem; color: var(--cielo-claro); }
.tabla th {
  text-align: left; vertical-align: bottom;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em;
  color: var(--sol-claro);
  padding: .9rem .75rem;
  border-bottom: 2px solid var(--sol);
}
.tabla td {
  padding: 1.1rem .75rem; vertical-align: middle;
  border-bottom: 1px dashed rgba(221, 239, 250, .35);
}
.tabla tbody tr:last-child td { border-bottom: 0; }
.tabla__op { font-family: var(--display); font-weight: 900; font-size: 1.85rem; line-height: 1; }
.tabla__num { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; color: var(--sol); }
.tabla__extra { font-weight: 600; }
.tabla .estado { white-space: nowrap; justify-self: start; }
.tabla .estado--ok { background: var(--sol); color: var(--atlantico); }
.tabla .estado--ok::before { background: var(--atlantico); }
.tabla .estado--pend { border-color: var(--cielo-claro); color: var(--espuma); }
.tabla .estado--pend::before { border-color: var(--cielo-claro); }
.tabla a { font-weight: 700; color: var(--espuma); }
.tabla__nota { margin: 1.25rem 0 0; font-size: .92rem; color: var(--cielo-claro); max-width: 75ch; }

@media (max-width: 799.98px) {
  .tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabla, .tabla tbody, .tabla tr, .tabla td { display: block; width: 100%; }
  .tabla tr { padding: 1rem 0; border-bottom: 1px dashed rgba(221, 239, 250, .35); }
  .tabla tbody tr:last-child { border-bottom: 0; }
  .tabla td { border: 0; padding: .35rem 0; display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; align-items: center; }
  .tabla td::before {
    content: attr(data-label);
    font-weight: 700; font-size: .82rem; color: var(--cielo-claro);
  }
  .tabla td.tabla__op { display: block; font-size: 2.1rem; padding-bottom: .5rem; }
  .tabla td.tabla__op::before { content: none; }
}

/* ---------- Antes de meterte al agua ---------- */
.carteles { display: grid; grid-template-columns: 1fr; gap: 2rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 820px) { .carteles { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.cartel { border-top: 4px solid var(--atlantico); padding-top: 1.25rem; }
.cartel svg { width: 56px; height: 56px; margin-bottom: 1rem; }
.cartel h3 { font-size: clamp(1.9rem, 1vw + 1.6rem, 2.4rem); margin-bottom: .3em; }
.cartel p { max-width: 42ch; }

/* ---------- Juego responsable (bandera) ---------- */
.bandera { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.bandera__aro { width: 150px; height: 150px; }
@media (min-width: 900px) {
  .bandera { grid-template-columns: 220px 1fr; gap: 3rem; }
  .bandera__aro { width: 220px; height: 220px; }
}
.bandera h2 { font-size: clamp(2.6rem, 4.5vw + 1rem, 4.5rem); max-width: 16ch; }
.bandera__texto { font-size: 1.12rem; max-width: 60ch; }

.leyenda-grande {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 3px solid var(--atlantico); border-radius: 12px;
  background: var(--blanco);
  max-width: 720px;
}
.leyenda-grande p { margin: 0; font-weight: 800; text-transform: uppercase; font-size: clamp(.95rem, .6vw + .8rem, 1.15rem); line-height: 1.3; }
.leyenda-grande small { display: block; text-transform: none; font-weight: 600; font-size: .85rem; margin-top: .25rem; }
.leyenda-grande .leyenda__18 { width: 3.2rem; height: 3.2rem; font-size: 1.4rem; background: var(--atlantico); color: var(--sol); }

.lineas__title { font-size: clamp(1.8rem, 1vw + 1.4rem, 2.3rem); margin: 2.25rem 0 0; }
.lineas { display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; padding: 0; margin: 1.5rem 0; }
@media (min-width: 720px) { .lineas { grid-template-columns: repeat(3, 1fr); } }
.linea {
  background: var(--espuma); border: 2px solid var(--atlantico); border-radius: 12px;
  padding: 1rem 1.1rem; font-size: .92rem; line-height: 1.45;
}
.linea__zona { font-weight: 700; margin: 0 0 .2rem; }
.linea__tel { display: inline-block; font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1.1; margin: .25rem 0; text-decoration: none; }
.linea__tel:hover { text-decoration: underline; }
.linea p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__title { font-size: clamp(2.6rem, 4.5vw + 1rem, 4.75rem); margin-bottom: 1.5rem; }
.faq details { border-bottom: 2px solid var(--atlantico); }
.faq details:first-of-type { border-top: 2px solid var(--atlantico); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, .8vw + 1.15rem, 1.75rem); line-height: 1.1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 2px solid var(--atlantico);
  font-family: var(--body); font-weight: 700; font-size: 1.3rem; line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sol); }
.faq__a { padding: 0 0 1.25rem; max-width: 68ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Páginas interiores ---------- */
.page-hero { background: var(--cielo); position: relative; overflow: hidden; }
.page-hero .waves { position: relative; z-index: 1; }
.page-hero__sun { display: none; }
@media (min-width: 760px) {
  .page-hero__sun {
    display: block; position: absolute; z-index: 0;
    width: clamp(260px, 30vw, 440px); height: auto;
    right: max(-40px, calc((100vw - var(--max)) / 2 - 20px));
    bottom: clamp(18px, 3vw, 46px);
  }
  .page-hero__sun .sun { animation: sol-sale 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .page-hero h1, .page-hero p { max-width: min(56ch, 62%); }
  .page-hero h1 { max-width: min(14ch, 62%); }
}
.page-hero__inner { padding-block: clamp(2rem, 5vw, 3.5rem) 0; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(3.1rem, 6vw + 1rem, 6.25rem); line-height: .88; max-width: 14ch; }
.page-hero p { font-size: clamp(1.05rem, .5vw + .95rem, 1.22rem); max-width: 56ch; }
.page-hero .waves { height: clamp(50px, 7vw, 100px); margin-top: .5rem; }

.page-body { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(2rem, 2vw + 1.3rem, 2.8rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.6rem; margin-top: 1.6rem; }
.prose li { margin-bottom: .45rem; }
.prose code { font-size: .9em; background: var(--cielo-claro); padding: .1em .35em; border-radius: 4px; }
.prose .leyenda-grande { margin-top: 0; }

.nota {
  background: var(--arena);
  border: 2px solid var(--atlantico); border-radius: 14px;
  box-shadow: var(--sombra);
  padding: 1.25rem 1.4rem; margin: 2rem 0;
}
.nota p:last-child, .nota ul:last-child { margin-bottom: 0; }
.nota__title { font-family: var(--display); font-weight: 900; font-size: 1.6rem; line-height: 1; margin-bottom: .5rem; }

.contacto-card {
  display: grid; gap: .4rem;
  background: var(--espuma); border: 2px solid var(--atlantico); border-radius: 16px;
  box-shadow: 8px 8px 0 var(--atlantico);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin: 0 0 2.5rem; max-width: 640px;
}
.contacto-card__org { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 2vw + 1.4rem, 2.6rem); line-height: 1; margin: 0; }
.contacto-card .btn { justify-self: start; }
.contacto-card__mail { font-weight: 700; font-size: clamp(1.05rem, 1vw + .85rem, 1.35rem); overflow-wrap: anywhere; margin: 0 0 .75rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--atlantico); color: var(--espuma); padding-bottom: calc(var(--legal-h) + env(safe-area-inset-bottom, 0px)); }
.site-footer .waves { height: clamp(50px, 6vw, 90px); background: var(--espuma); margin-bottom: -1px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.25rem;
  padding-block: clamp(2rem, 4vw, 3rem) 2rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer .footer-brand { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: .9; margin: 0 0 .6rem; }
.site-footer p { font-size: .95rem; }
.footer-title { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--sol-claro); margin: 0 0 .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .2rem; }
.footer-links a { display: inline-block; padding: .3rem 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-mail { font-weight: 700; overflow-wrap: anywhere; }
.footer-bottom {
  border-top: 1px solid rgba(221, 239, 250, .3);
  padding-block: 1.5rem 2rem;
  display: grid; gap: 1rem;
}
.footer-disclosure { max-width: 90ch; color: var(--cielo-claro); font-size: .9rem; margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; font-weight: 800; text-transform: uppercase; font-size: .85rem; margin: 0; }

/* ---------- Barra legal fija ---------- */
.legal-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  min-height: var(--legal-h);
  padding: .45rem var(--gutter) calc(.45rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  background: var(--sol); color: var(--atlantico);
  border-top: 2px solid var(--atlantico);
  font-weight: 800; text-transform: uppercase; text-align: center;
  font-size: clamp(.72rem, .5vw + .6rem, .92rem); line-height: 1.2; letter-spacing: .02em;
  margin: 0;
}
.legal-bar .leyenda__18 { width: 2.3rem; height: 2.3rem; font-size: 1.05rem; background: var(--atlantico); color: var(--sol); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header, .legal-bar, .waves, .nav-toggle { display: none !important; }
  body { padding: 0; background: #fff; }
  .section--navy { background: #fff; color: #000; }
}
