/* =================================================================
   PERO SPORTING CLUB — preview
   Design system: deep crest navy + single energetic lime accent.
   Mobile-first, no framework. Display: Anton · Body/UI: Inter.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand (derived from the navy crest) */
  --navy:      #111E36;   /* deep brand navy */
  --navy-600:  #1A2C4E;   /* raised navy panels */
  --navy-500:  #243a63;   /* hover / borders on dark */
  --ink:       #0E1626;   /* headings on light */
  --paper:     #F5F7FB;   /* page background */
  --surface:   #FFFFFF;   /* cards */
  --muted:     #54607A;   /* secondary text on light */
  --muted-2:   #8A95AC;   /* tertiary text on light */
  --line:      #E3E8F1;   /* hairlines on light */
  --line-dark: #2A3C5E;   /* hairlines on navy */

  /* Single accent */
  --lime:      #B7F23D;   /* energetic accent */
  --lime-600:  #A6E223;   /* accent hover */
  --on-lime:   #0E1626;   /* text on accent (high contrast) */

  /* Text on dark */
  --on-navy:        #F4F7FD;
  --on-navy-muted:  #AEBAD2;

  /* Type */
  --display: "Anton", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.78rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.125rem, 1rem + 0.7vw, 1.35rem);
  --fs-h3:      clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h2:      clamp(2rem, 1.3rem + 3vw, 3.4rem);
  --fs-h1:      clamp(2.6rem, 1.4rem + 5.6vw, 6rem);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(14,22,38,.06), 0 2px 8px rgba(14,22,38,.05);
  --shadow-md: 0 8px 24px rgba(14,22,38,.10);
  --shadow-lg: 0 24px 60px rgba(14,22,38,.20);

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible { outline-color: var(--lime); }

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -120px;
  background: var(--lime); color: var(--on-lime);
  padding: .7rem 1.1rem; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 1200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--ink { background: var(--ink); color: var(--on-navy); }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.04; font-weight: 400; }
.display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 400;
}
.h1 { font-family: var(--display); text-transform: uppercase; font-size: var(--fs-h1); line-height: .92; letter-spacing: .005em; }
.h2 { font-family: var(--display); text-transform: uppercase; font-size: var(--fs-h2); line-height: .96; }
.h3 { font-family: var(--body); font-weight: 800; font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.section--navy .lead, .section--ink .lead { color: var(--on-navy-muted); }
.prose p { color: var(--muted); max-width: 64ch; }
.prose p + p { margin-top: 1rem; }
.section--navy .prose p, .section--ink .prose p { color: var(--on-navy-muted); }

/* Eyebrow + signature court-line mark */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 30px; height: 4px;
  background: var(--lime);
  border-radius: 2px;
  flex: none;
}
.section--navy .eyebrow, .section--ink .eyebrow { color: var(--on-navy-muted); }

.accent { color: var(--lime); }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head .h2 { margin-top: .9rem; }
.section-head .lead { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: 0 6px 18px rgba(183,242,61,.35); }
.btn-primary:hover { background: var(--lime-600); box-shadow: 0 10px 26px rgba(183,242,61,.45); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.section--navy .btn-ghost, .section--ink .btn-ghost,
.hero .btn-ghost {
  background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.35);
}
.section--navy .btn-ghost:hover, .section--ink .btn-ghost:hover,
.hero .btn-ghost:hover { border-color: var(--on-navy); background: rgba(255,255,255,.06); }

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* External-link arrow */
.btn .ext { font-size: .9em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(17,30,54,.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
}
/* Top scrim: keeps the transparent header legible over bright hero photos */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 220%;
  background: linear-gradient(to bottom, rgba(8,13,24,.72) 0%, rgba(8,13,24,.30) 55%, transparent 100%);
  pointer-events: none; z-index: -1; transition: opacity .3s var(--ease);
}
.site-header.is-solid::before { opacity: 0; }
.site-header:not(.is-solid) .nav-list a,
.site-header:not(.is-solid) .brand-text { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--on-navy); }
.brand-logo { width: 38px; height: 45px; object-fit: contain; }
.brand-text { font-weight: 800; font-size: 1.02rem; letter-spacing: .01em; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 400; letter-spacing: .03em; font-size: 1.18rem; text-transform: uppercase; }
.brand-text span { display: block; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-navy-muted); font-weight: 700; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-list a {
  display: block; padding: .55rem .85rem; border-radius: var(--radius-pill);
  color: var(--on-navy); font-weight: 600; font-size: .95rem;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-list a:hover { background: rgba(255,255,255,.08); }
.nav-list a[aria-current="page"] { color: var(--lime); }
.nav-close { display: none; }

.header-cta { margin-left: .75rem; padding: .65rem 1.25rem; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  margin-left: .35rem;
  border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--on-navy);
  border: 1px solid var(--line-dark);
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle .bars::before { transform: translateY(-7px); }
.nav-toggle .bars::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 820px);
  display: flex; align-items: flex-end;
  color: var(--on-navy);
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17,30,54,.50) 0%, rgba(17,30,54,.38) 38%, rgba(17,30,54,.95) 100%),
    linear-gradient(90deg, rgba(17,30,54,.72) 0%, rgba(17,30,54,.12) 62%);
}
.hero__inner { max-width: 50rem; }
.hero .h1 { margin-top: 1.1rem; text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 2px 30px rgba(0,0,0,.32); }
.hero .lead { color: #E4ECF8; margin-top: 1.25rem; max-width: 44ch; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.6rem);
  margin-top: clamp(1.9rem, 4vw, 2.8rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.stat__num { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: var(--lime); }
.stat__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted); margin-top: .35rem; font-weight: 600; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  color: var(--on-navy);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(2.5rem, 7vw, 4.5rem);
  overflow: hidden; isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,19,33,.88) 0%, rgba(13,19,33,.60) 60%, rgba(13,19,33,.40) 100%),
    linear-gradient(180deg, rgba(13,19,33,.28) 0%, rgba(13,19,33,.58) 100%);
}
.page-hero .h1 { margin-top: .9rem; font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.8rem); text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 3px 24px rgba(0,0,0,.30); }
.page-hero .lead { color: #E4ECF8; margin-top: 1rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
/* Eyebrow over photos: the base eyebrow colour is dark; lift it on hero/page-hero */
.hero .eyebrow, .page-hero .eyebrow { color: #C8D3E8; text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* Breadcrumb */
.breadcrumb { font-size: .82rem; color: #C8D3E8; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { opacity: .6; padding-inline: .4rem; }

/* ---------- Sport cards ---------- */
.cards { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d4dcea; }
.card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--lime); color: var(--on-lime);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .7rem; border-radius: var(--radius-pill);
}
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body p { color: var(--muted); font-size: .98rem; flex: 1; }
.card__link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: .4rem; font-weight: 700; color: var(--ink);
  align-self: flex-start;
}
.card__link .arrow { transition: transform .2s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }
.card__link::after { content: ""; }

/* ---------- Feature / split ---------- */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
.split--reverse .split__media { order: -1; }
.split__media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split__body .h2 { margin-top: .8rem; }
.split__body .prose { margin-top: 1.1rem; }
.split__cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* Feature list with court-tick bullets */
.feature-list { margin-top: 1.3rem; display: grid; gap: .7rem; }
.feature-list li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 16px; height: 4px; background: var(--lime); border-radius: 2px;
}
.section--navy .feature-list li, .section--ink .feature-list li { color: var(--on-navy-muted); }

/* ---------- Orari (hours) ---------- */
.hours-wrap { display: grid; gap: clamp(1.6rem,4vw,3rem); grid-template-columns: 1fr; align-items: start; }
.hours-card {
  background: var(--navy-600); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.hours-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line-dark);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .days { font-weight: 700; color: var(--on-navy); }
.hours-row .time { font-family: var(--display); font-size: 1.4rem; color: var(--lime); letter-spacing: .02em; }
.hours-note { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .85rem; color: var(--on-navy-muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(183,242,61,.2); flex: none; }

/* ---------- Location / map ---------- */
.map-embed {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 12; background: var(--navy-600);
  border: 1px solid var(--line-dark);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .9rem; text-align: center;
  padding: 1.5rem; color: var(--on-navy);
  background:
    linear-gradient(rgba(17,30,54,.82), rgba(17,30,54,.92)),
    repeating-linear-gradient(45deg, #1a2c4e 0 22px, #16243f 22px 44px);
}
.map-consent p { color: var(--on-navy-muted); font-size: .92rem; max-width: 32ch; }
.map-consent svg { width: 34px; height: 34px; color: var(--lime); }

.contact-list { display: grid; gap: 1.1rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-item .ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--lime); color: var(--on-lime);
}
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-item .v { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.contact-item a.v:hover { color: var(--muted); }
.section--navy .contact-item .k { color: var(--on-navy-muted); }
.section--navy .contact-item .v { color: var(--on-navy); }

/* ---------- Booking blocks (prenota) ---------- */
.book-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
.book-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 230px; padding: 1.6rem;
  border-radius: var(--radius); color: var(--on-navy);
  border: 1px solid var(--line-dark);
  isolation: isolate;
}
.book-card__media { position: absolute; inset: 0; z-index: -2; }
.book-card__media img { width: 100%; height: 100%; object-fit: cover; }
.book-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,30,54,.25), rgba(17,30,54,.9));
  transition: background .3s var(--ease);
}
.book-card:hover .book-card__media::after { background: linear-gradient(180deg, rgba(17,30,54,.15), rgba(17,30,54,.82)); }
.book-card h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.9rem; line-height: 1; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.book-card p { color: var(--on-navy-muted); font-size: .95rem; margin-top: .4rem; margin-bottom: 1.1rem; }
.book-card .btn { align-self: flex-start; }

.book-help {
  margin-top: 2rem; padding: 1.4rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.book-help p { color: var(--muted); flex: 1 1 280px; }
.book-help strong { color: var(--ink); }
.book-help .actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.4rem, 5vw, 3.5rem); }
.partner {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.1rem, 3vw, 1.6rem); color: var(--on-navy);
  opacity: .55; transition: opacity .2s var(--ease);
  display: inline-flex; align-items: center; gap: .5rem;
}
.partner:hover { opacity: 1; }
.partner small { font-family: var(--body); font-weight: 700; font-size: .6em; letter-spacing: .2em; color: var(--lime); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band .h2 { max-width: 18ch; }
.cta-band .court {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(90deg, transparent 49.6%, rgba(183,242,61,.18) 49.6% 50.4%, transparent 50.4%),
    radial-gradient(circle at center, transparent 78px, rgba(183,242,61,.16) 78px 81px, transparent 81px);
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-navy); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid {
  display: grid; gap: 2.2rem 1.6rem; grid-template-columns: 1fr;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand { color: var(--on-navy); }
.footer-brand p { color: var(--on-navy-muted); font-size: .95rem; margin-top: 1rem; max-width: 34ch; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-navy);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.footer-social a:hover { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.footer-social svg { width: 20px; height: 20px; }

.footer-col h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-muted); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a, .footer-col li { color: #C8D2E6; font-size: .95rem; }
.footer-col a:hover { color: var(--lime); }
.footer-col .addr { font-style: normal; line-height: 1.7; color: #C8D2E6; font-size: .95rem; }
.footer-col .addr strong { color: var(--on-navy); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: space-between;
  padding-block: 1.6rem 1.9rem;
  font-size: .82rem; color: var(--on-navy-muted);
}
.footer-bottom a:hover { color: var(--lime); }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; }
.footer-credit { color: var(--muted-2); }
.footer-credit strong { color: #C8D2E6; font-weight: 600; }
.cookie-prefs-btn { color: var(--on-navy-muted); text-decoration: underline; text-underline-offset: 3px; }
.cookie-prefs-btn:hover { color: var(--lime); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 1100; left: 50%; bottom: clamp(12px, 3vw, 24px);
  transform: translateX(-50%) translateY(20px);
  width: min(680px, calc(100% - 24px));
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.35rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.cookie.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.cookie h2 { font-family: var(--body); font-weight: 800; font-size: 1.05rem; }
.cookie p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.cookie p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.cookie__actions .btn { padding: .7rem 1.3rem; font-size: .92rem; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.mt-cta { margin-top: 1.8rem; }
.wa-float-hide { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  :root { --header-h: 80px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 0; }
  .hours-wrap { grid-template-columns: 1.05fr .95fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 1.6rem; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__inner .btn { flex: none; }
}

/* Mobile nav */
@media (max-width: 879px) {
  .nav {
    position: fixed; inset: 0; margin: 0; z-index: 1050;
    background: var(--navy);
    display: flex; flex-direction: column; justify-content: center;
    padding: 5rem var(--gutter) 2rem;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-list a { padding: .95rem 1rem; font-size: 1.35rem; font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; border-radius: 12px; }
  .nav-list a[aria-current="page"] { background: rgba(255,255,255,.06); }
  .nav-close {
    display: grid; place-items: center;
    position: absolute; top: 1rem; right: var(--gutter);
    width: 46px; height: 46px; border-radius: 12px; color: var(--on-navy);
    border: 1px solid var(--line-dark); font-size: 1.4rem;
  }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  body.nav-open { overflow: hidden; }
  .nav-extra { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); color: var(--on-navy-muted); }
  .nav-extra a { color: var(--on-navy); font-weight: 700; }
  .nav-extra .row { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .3rem; }
}
@media (min-width: 880px) { .nav-extra { display: none; } }

/* On phones, drop the brand subtitle and trim the CTA so the hamburger always fits */
@media (max-width: 480px) {
  .brand-text span { display: none; }
  .header-cta { padding: .58rem 1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
