/* ==========================================================
   Sierra Morena Sport Club — The SM Club · Reloaded
   Paleta tomada de la identidad del club: azul marino del logo,
   crema, terracota de "Hazte socio" y amarillo pelota de la escuela.
   ========================================================== */

:root {
  --navy: #1d3143;
  --navy-2: #2f4a5f;
  --navy-3: #3d5b72;
  --cream: #f1ebdf;
  --paper: #f8f5ef;
  --ink: #16222d;
  --ink-soft: #4a5866;
  --terra: #b3602d;
  --terra-dark: #8f4a20;
  --ball: #e6ef3a;
  --pitch: #2f5b45;
  --line: rgba(22, 34, 45, .16);
  --line-light: rgba(241, 235, 223, .22);

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.02; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

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

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  font-size: clamp(48px, 9vw, 148px);
  line-height: .92;
}
.display em, .h2 em, .h3 em { font-style: italic; }
.h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 80px);
  letter-spacing: -.015em;
  line-height: .98;
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.kicker {
  font-family: var(--sans);
  font-variation-settings: "wdth" 75;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cond {
  font-variation-settings: "wdth" 70;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--ink-soft); max-width: 38ch; }
.muted { color: var(--ink-soft); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 24px 15px;
  background: var(--bg); color: var(--fg);
  font-variation-settings: "wdth" 80;
  font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--bg); border-radius: var(--radius);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn::after {
  content: ""; width: 22px; height: 1px; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; transition: width .25s;
}
.btn:hover::after { width: 34px; }
.btn:hover { --bg: var(--terra); border-color: var(--terra); color: #fff; }
.btn--terra { --bg: var(--terra); --fg: #fff; }
.btn--terra:hover { --bg: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--ball { --bg: var(--ball); --fg: var(--ink); }
.btn--ball:hover { --bg: #fff; border-color: #fff; color: var(--ink); }

.link {
  font-variation-settings: "wdth" 80; font-weight: 600; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link:hover { color: var(--terra); }

/* ---------- Logo (máscara PNG del club, recoloreable) ---------- */
.logo {
  display: block; width: 176px; aspect-ratio: 1; margin: -50px 0 -50px -28px;
  background: currentColor;
  -webkit-mask: url(../img/logo.png) center / contain no-repeat;
  mask: url(../img/logo.png) center / contain no-repeat;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--cream);
  transition: background .35s, color .35s, box-shadow .35s;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px;
}
.site-header.is-solid, body.page-light .site-header {
  background: var(--paper); color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}
.brand { text-decoration: none; display: flex; align-items: center; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  font-variation-settings: "wdth" 78; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 0; position: relative; white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 11px 16px 10px; }
.nav .btn::after { display: none; }
.site-header:not(.is-solid) .nav .btn { --bg: var(--cream); --fg: var(--navy); }
body.page-light .site-header .nav .btn, .site-header.is-solid .nav .btn { --bg: var(--navy); --fg: var(--cream); }
.nav .btn:hover { --bg: var(--terra) !important; --fg: #fff !important; }

.menu-toggle {
  display: none; background: none; border: 0; color: inherit; padding: 10px; margin-right: -10px; cursor: pointer;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  font-variation-settings: "wdth" 78;
}
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s; }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--navy); color: var(--cream);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 20px var(--gutter) 40px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a:not(.btn) {
    font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 34px;
    font-variation-settings: normal; font-weight: 400;
    width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-light);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; --bg: var(--ball) !important; --fg: var(--ink) !important; padding: 16px 24px; }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open .site-header { background: var(--navy); color: var(--cream); box-shadow: none; }
  body.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero de portada ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--cream);
  display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: var(--navy);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 33, 45, .55) 0%, rgba(20, 33, 45, 0) 30%),
    linear-gradient(0deg, rgba(20, 33, 45, .92) 0%, rgba(20, 33, 45, .35) 45%, rgba(20, 33, 45, 0) 70%);
}
.hero__body { position: relative; align-self: end; padding-top: 140px; padding-bottom: clamp(32px, 5vw, 64px); }
.hero__eyebrow { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.hero__eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--ball); }
.hero h1 { max-width: 12ch; }
.hero h1 .cond {
  display: block; font-family: var(--sans); font-size: .34em; letter-spacing: .04em;
  margin-top: .28em; line-height: 1;
}
.hero__row { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: end; justify-content: space-between; margin-top: 36px; }
.hero__row p { max-width: 44ch; margin: 0; font-size: clamp(17px, 1.4vw, 20px); color: rgba(241, 235, 223, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__strip {
  position: relative; border-top: 1px solid var(--line-light);
  background: rgba(20, 33, 45, .6); backdrop-filter: blur(6px);
}
.hero__strip ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__strip li {
  padding: 18px 0 18px 20px; border-left: 1px solid var(--line-light);
  font-size: 14px; line-height: 1.35; color: rgba(241, 235, 223, .8);
}
.hero__strip li:first-child { border-left: 0; padding-left: 0; }
.hero__strip b { display: block; color: var(--cream); font-weight: 600; font-variation-settings: "wdth" 80; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin-bottom: 2px; }
@media (max-width: 760px) {
  .hero__strip ul { grid-template-columns: 1fr 1fr; }
  .hero__strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__strip li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

/* ---------- Cabecera de páginas interiores ---------- */
.page-head { padding: 150px 0 0; }
.page-head__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px);
  align-items: end; padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line);
}
.page-head .kicker { color: var(--terra); display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.page-head .kicker::before { content: attr(data-n); color: var(--ink-soft); }
.page-head .display { font-size: clamp(54px, 8.4vw, 132px); }
.page-head .lead { margin-bottom: 0; }
.page-banner { margin-top: clamp(28px, 4vw, 56px); position: relative; }
.page-banner img { width: 100%; height: clamp(300px, 56vw, 700px); object-fit: cover; }
.page-banner figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--paper);
  padding: 12px 18px 0 0; font-size: 13px; color: var(--ink-soft);
}
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 100px) 0; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy .muted, .section--navy .lead { color: rgba(241, 235, 223, .72); }
.section--cream { background: var(--cream); }
.section--pitch { background: var(--pitch); color: var(--cream); }
.section--pitch .lead, .section--pitch .muted { color: rgba(241, 235, 223, .78); }

.sec-label {
  display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: baseline;
  border-top: 1px solid currentColor; padding-top: 14px; margin-bottom: clamp(36px, 5vw, 72px);
}
.section--navy .sec-label, .section--pitch .sec-label { border-color: var(--line-light); }
.sec-label .kicker:first-child { opacity: .6; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; }
.col-4 { grid-column: span 4; } .col-8 { grid-column: span 8; }
.push-7 { grid-column: 7 / -1; } .push-8 { grid-column: 8 / -1; } .push-9 { grid-column: 9 / -1; }
@media (max-width: 860px) {
  .split > * { grid-column: 1 / -1 !important; }
}

.prose p { max-width: 58ch; }
.prose .h2, .prose .h3 { margin-bottom: 28px; }

/* ---------- Índice de actividades (portada) ---------- */
.activities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.activity { border-bottom: 1px solid var(--line); position: relative; }
.activity a {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.1fr) 40px; gap: 24px; align-items: center;
  padding: 26px 0; text-decoration: none; transition: padding .3s, color .3s;
}
.activity__n { font-variation-settings: "wdth" 75; font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--ink-soft); }
.activity__t { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -.01em; }
.activity__d { color: var(--ink-soft); font-size: 16px; max-width: 42ch; }
.activity__arrow { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background .3s, border-color .3s; }
.activity__arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translate(-65%, -50%) rotate(45deg);
}
.activity__thumb {
  position: absolute; right: 90px; top: 50%; width: 220px; aspect-ratio: 4 / 3; object-fit: cover;
  transform: translateY(-50%) rotate(-3deg) scale(.9); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .35s; z-index: 2;
  box-shadow: 0 24px 40px -18px rgba(22, 34, 45, .5);
}
@media (hover: hover) and (min-width: 1000px) {
  .activity a:hover { padding-left: 14px; color: var(--terra); }
  .activity a:hover .activity__arrow { background: var(--terra); border-color: var(--terra); color: #fff; }
  .activity a:hover ~ .activity__thumb { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
  .activity:hover .activity__d { opacity: .15; }
}
@media (max-width: 760px) {
  .activity a { grid-template-columns: 44px 1fr 36px; row-gap: 6px; }
  .activity__d { grid-column: 2 / 3; grid-row: 2; font-size: 15px; }
  .activity__arrow { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
}

/* ---------- Mosaico de fotos ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--cream); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption {
  position: absolute; left: 12px; bottom: 12px; color: var(--cream);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; font-variation-settings: "wdth" 80;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.m-a { grid-column: span 7; aspect-ratio: 4 / 3; }
.m-b { grid-column: span 5; aspect-ratio: 4 / 5; }
.m-c { grid-column: span 4; aspect-ratio: 1; }
.m-d { grid-column: span 4; aspect-ratio: 1; }
.m-e { grid-column: span 4; aspect-ratio: 1; }
.m-wide { grid-column: span 12; aspect-ratio: 21 / 9; }
.m-half { grid-column: span 6; aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .m-a, .m-b, .m-half { grid-column: span 12; aspect-ratio: 4 / 3; }
  .m-c, .m-d, .m-e { grid-column: span 6; }
  .m-e { grid-column: span 12; aspect-ratio: 16 / 9; }
  .m-wide { aspect-ratio: 4 / 3; }
}

/* ---------- Tablas de precios estilo marcador ---------- */
.board { border: 1px solid currentColor; }
.board__head {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 16px 20px; border-bottom: 1px solid currentColor;
}
.board__row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 16px 20px; border-bottom: 1px dashed var(--line);
}
.section--navy .board__row, .section--pitch .board__row { border-bottom-color: var(--line-light); }
.board__row:last-child { border-bottom: 0; }
.board__row small { display: block; color: var(--ink-soft); font-size: 14px; }
.section--navy .board__row small, .section--pitch .board__row small { color: rgba(241, 235, 223, .65); }
.board__price {
  font-family: var(--sans); font-variation-settings: "wdth" 68; font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  font-feature-settings: "tnum";
}
.board__price sub { font-size: .38em; vertical-align: baseline; letter-spacing: .06em; font-weight: 600; margin-left: 3px; opacity: .7; }
.board__note { padding: 14px 20px; font-size: 14px; border-top: 1px solid currentColor; }

/* ---------- Tarjeta de socio ---------- */
.member {
  position: relative; background: var(--terra); color: #fff; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.member__body { padding: clamp(32px, 5vw, 72px); }
.member__price {
  font-family: var(--sans); font-variation-settings: "wdth" 62; font-weight: 800;
  font-size: clamp(96px, 15vw, 220px); line-height: .82; letter-spacing: -.03em; margin: 20px 0 10px;
}
.member__price span { font-size: .22em; letter-spacing: .04em; font-weight: 600; margin-left: 8px; vertical-align: top; display: inline-block; margin-top: .5em; line-height: 1.1; }
.member ul { list-style: none; padding: 0; margin: 28px 0 34px; border-top: 1px solid rgba(255, 255, 255, .35); }
.member li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); display: flex; gap: 14px; }
.member li::before { content: "—"; opacity: .7; }
.member__media { position: relative; min-height: 320px; }
.member__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .member { grid-template-columns: 1fr; } .member__media { order: -1; min-height: 260px; } }

/* ---------- Marcador de torneo ---------- */
.scores { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.scores div { padding: 26px 20px 24px; border-left: 1px solid var(--line-light); }
.scores div:first-child { border-left: 0; padding-left: 0; }
.scores b {
  display: block; font-variation-settings: "wdth" 64; font-weight: 700; line-height: .9;
  font-size: clamp(42px, 5.4vw, 80px); color: var(--ball); letter-spacing: -.01em;
}
.scores span { font-size: 14px; color: rgba(241, 235, 223, .75); }
@media (max-width: 760px) {
  .scores { grid-template-columns: 1fr 1fr; }
  .scores div:nth-child(3) { border-left: 0; padding-left: 0; }
  .scores div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

/* ---------- Tarjetas de noticias / bloques ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.card { text-decoration: none; display: block; }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px; background: var(--cream); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__img img { transform: scale(1.04); }
.card .kicker { color: var(--terra); margin-bottom: 10px; display: block; }
.card h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.section--navy .card p { color: rgba(241, 235, 223, .7); }
.section--navy .card .kicker { color: var(--ball); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .card__img { aspect-ratio: 16 / 10; } }

/* ---------- Lista de datos ---------- */
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.facts li { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.section--navy .facts li, .section--pitch .facts li { border-bottom-color: var(--line-light); }
.facts li > span:first-child { font-variation-settings: "wdth" 78; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { border: 1px solid currentColor; padding: 7px 14px 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-variation-settings: "wdth" 80; border-radius: 40px; }

/* ---------- Citas / titular grande ---------- */
.quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 58px); line-height: 1.12; letter-spacing: -.01em;
  max-width: 22ch; margin: 0;
}
.quote-by { margin-top: 26px; }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; color: var(--cream); overflow: hidden; background: var(--navy); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band .wrap { position: relative; padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(80px, 11vw, 160px); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Formularios ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-variation-settings: "wdth" 78; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  padding: 10px 0; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.section--navy .field select option { color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--terra); }
.form small { color: var(--ink-soft); font-size: 14px; }
.section--navy .form small { color: rgba(241, 235, 223, .65); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Mapa ---------- */
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(.4) contrast(1.05); background: var(--cream); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 110px) 0 28px; }
.site-footer .logo { width: 200px; margin: -58px 0 -40px -34px; color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-variation-settings: "wdth" 78; font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(241, 235, 223, .55); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ball); }
.footer-claim { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; max-width: 16ch; margin-top: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 70px; padding-top: 22px; border-top: 1px solid var(--line-light);
  font-size: 13px; color: rgba(241, 235, 223, .55);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Botón flotante WhatsApp ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  background: var(--ball); color: var(--ink); text-decoration: none;
  padding: 12px 16px 12px 12px; border-radius: 40px;
  font-variation-settings: "wdth" 80; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(22, 34, 45, .55);
  transition: transform .25s;
}
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 24px; height: 24px; }
@media (max-width: 520px) { .wa span { display: none; } .wa { padding: 12px; } }

/* ---------- Aparición suave ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Utilidades ---------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: clamp(48px, 6vw, 90px); }
.mb-m { margin-bottom: 36px; }
.stack > * + * { margin-top: 18px; }
.ball-dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--ball); vertical-align: .12em; margin: 0 .12em; }
.terra { color: var(--terra); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tall { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.wide { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.caption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.section--navy .caption, .section--pitch .caption { color: rgba(241, 235, 223, .6); }
.offset-down { margin-top: clamp(0px, 10vw, 140px); }
@media (max-width: 860px) { .offset-down { margin-top: 0; } }
