/*
Theme Name: Bega Village Motor Inn
Theme URI: https://www.begavillagemotorinn.com.au/
Description: Brochure theme for Bega Village Motor Inn, 98 Gipps Street, Bega NSW. Six fixed pages, no page builder, no external requests. Generated from the static site by wordpress/build-theme.py.
Author: Crew over cloud
Author URI: https://www.crewovercloud.com.au
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: All rights reserved
Text Domain: bega-village-motor-inn
*/

/* ==========================================================================
   Bega Village Motor Inn — site styles
   98 Gipps Street, Bega NSW 2550
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  /* Brand colours sampled from the Bega Village Motor Inn logo */
  --navy-900: #001845;   /* deepest navy — footer, overlays */
  --navy-800: #002164;   /* logo navy — header, primary dark */
  --navy-700: #0d3585;   /* links, hover */
  --blue-500: #0ca4ef;   /* logo river blue — icons, accents */
  --blue-100: #e2f4fe;

  --green-600: #3d8f24;
  --green-500: #4aa72d;  /* logo mountain green — calls to action */
  --green-200: #b9e5a5;

  --ink: #0e1b33;
  --body: #46566e;
  --muted: #6e7d94;

  --paper: #f7f9fc;
  --mist: #eaf1f8;
  --line: #d9e2ec;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0,24,69,.06), 0 2px 8px rgba(0,24,69,.05);
  --shadow-md: 0 4px 12px rgba(0,24,69,.08), 0 12px 32px rgba(0,24,69,.09);
  --shadow-lg: 0 12px 28px rgba(0,24,69,.14), 0 28px 64px rgba(0,24,69,.14);

  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --header-h: 92px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .55em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--navy-800); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 8px;
  z-index: 200; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* --- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-800); color: var(--blue-100); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--green-200); }

.lede { font-size: 1.12rem; color: var(--body); }
.section--navy .lede { color: var(--blue-100); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: .96rem; font-weight: 650; letter-spacing: .01em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--green-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-600); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--navy-700); color: #fff; }

.btn--sm { padding: 11px 22px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Header ------------------------------------------------------------- */
/* The logo is white-on-navy artwork, so the header carries the brand navy
   rather than recolouring the mark. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand__logo {
  height: 58px; width: auto; flex: none; display: block;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 8px;
  font-size: .93rem; font-weight: 550; color: rgba(255,255,255,.88); text-decoration: none;
  transition: background-color .16s, color .16s;
}
.nav a:hover { background: rgba(255,255,255,.13); color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.18); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: #fff; text-decoration: none; font-size: .95rem; white-space: nowrap;
}
.header-phone:hover { color: var(--green-200); }
.header-phone svg { flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.32); border-radius: 10px;
  background: rgba(255,255,255,.1); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(78vh, 660px);
  display: flex; align-items: center;
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* diagonal scrim for the headline, plus a bottom scrim so the stats row stays legible over grass */
  background:
    linear-gradient(180deg, rgba(0,24,69,0) 48%, rgba(0,24,69,.5) 100%),
    linear-gradient(105deg, rgba(0,24,69,.88) 0%, rgba(0,24,69,.66) 46%, rgba(0,24,69,.28) 100%);
}
/* padding-block only — a `padding` shorthand here would wipe out .wrap's side padding */
.hero__inner { position: relative; z-index: 2; padding-block: clamp(60px, 9vw, 110px); }
.hero__content { max-width: 660px; color: #fff; }
.hero h1 { color: #fff; margin-bottom: .3em; text-wrap: balance; }
.hero__sub {
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 30px; max-width: 54ch;
}
.hero .eyebrow { color: var(--green-200); }

/* flex rather than fixed columns — the row carries five stats and must wrap cleanly */
.hero__stats {
  display: flex; flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero__stat { color: #fff; }
.hero__stat b { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.hero__stat span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }

/* --- Page banner (inner pages) ------------------------------------------ */
.page-banner {
  position: relative; background: var(--navy-900);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
}
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,24,69,.9) 0%, rgba(0,24,69,.7) 60%, rgba(0,24,69,.5) 100%);
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: .25em; }
.page-banner p { color: rgba(255,255,255,.86); max-width: 62ch; font-size: 1.06rem; margin: 0; }
.page-banner .eyebrow { color: var(--green-200); }

.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.72); margin-top: 22px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 7px; opacity: .55; }

/* --- Quick info bar ----------------------------------------------------- */
.infobar { background: var(--white); border-bottom: 1px solid var(--line); }
.infobar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
}
.infobar__item {
  background: var(--white);
  padding: 26px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.infobar__item svg { flex: none; color: var(--blue-500); margin-top: 2px; }
.infobar__item strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.infobar__item span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }

/* --- Generic content grids ---------------------------------------------- */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-stack img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.media-stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }

/* --- Cards -------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 4/3; background: var(--mist); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,24,69,.9); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .35em; }
.card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: .85rem; color: var(--muted);
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__body p { font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 18px; }

/* Room feature chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li {
  font-size: .8rem; color: var(--navy-700);
  background: var(--blue-100); border-radius: 999px;
  padding: 5px 12px;
}

/* --- Feature (facility) tiles ------------------------------------------- */
.feature {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--blue-100); color: var(--navy-700);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { font-size: .93rem; margin: 0; }

/* --- Amenity lists ------------------------------------------------------ */
.amenity-group {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  break-inside: avoid;
}
.amenity-group h3 {
  font-size: 1.08rem; display: flex; align-items: center; gap: 11px;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line);
}
.amenity-group h3 svg { color: var(--blue-500); flex: none; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tick-list li {
  position: relative; padding-left: 27px;
  font-size: .94rem; color: var(--body); line-height: 1.5;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2314586a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center/11px no-repeat;
}
.tick-list li em { font-style: normal; color: var(--muted); font-size: .86em; }

/* --- Gallery ------------------------------------------------------------ */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 34px;
}
.gallery-filters button {
  font-family: var(--sans); font-size: .89rem; font-weight: 600;
  padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--body);
  cursor: pointer; transition: all .18s ease;
}
.gallery-filters button:hover { border-color: var(--blue-500); color: var(--navy-700); }
.gallery-filters button[aria-pressed="true"] {
  background: var(--navy-800); border-color: var(--navy-800); color: #fff;
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; margin: 0; padding: 0;
  border: 0; background: var(--mist); cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4/3;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 16, 46, .95);
  display: none; align-items: center; justify-content: center;
  padding: 32px 20px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(1180px, 94vw); max-height: 82vh;
  width: auto; object-fit: contain;
  border-radius: 8px; box-shadow: var(--shadow-lg);
}
.lightbox__cap {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.9); font-size: .93rem; text-align: center;
  background: rgba(0,0,0,.35); padding: 8px 18px; border-radius: 999px;
  max-width: 90vw;
}
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .18s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,.24); }
.lightbox__prev { left: 22px; }
.lightbox__next { right: 22px; }
.lightbox__close {
  position: absolute; top: 22px; right: 22px; transform: none;
  width: 46px; height: 46px; font-size: 1.35rem;
}

/* --- Reviews ------------------------------------------------------------ */
.score-badge {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 18px 26px;
}
.score-badge__num {
  font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: #fff;
}
.score-badge__txt { font-size: .9rem; line-height: 1.45; }
.score-badge__txt b { display: block; color: #fff; font-size: 1rem; }

.quote {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex; flex-direction: column;
}
.quote p { font-size: 1rem; color: rgba(255,255,255,.92); font-style: italic; }
.quote footer {
  margin-top: auto; padding-top: 16px;
  font-size: .84rem; color: var(--green-200); font-style: normal; letter-spacing: .04em;
}
.quote__stars { color: var(--green-200); letter-spacing: 3px; margin-bottom: 12px; font-size: .95rem; }

/* --- Location ----------------------------------------------------------- */
.distance-list { list-style: none; margin: 0; padding: 0; }
.distance-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.distance-list li:last-child { border-bottom: 0; }
.distance-list dt, .distance-list .place { color: var(--ink); font-weight: 550; font-size: .96rem; }
.distance-list .dist {
  color: var(--navy-700); font-weight: 650; font-size: .89rem; white-space: nowrap;
  background: var(--blue-100); padding: 3px 11px; border-radius: 999px;
}

.map-embed {
  border: 0; width: 100%; height: 100%; min-height: 420px;
  border-radius: var(--radius); box-shadow: var(--shadow-md); display: block;
}

/* --- Contact / forms ---------------------------------------------------- */
.contact-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

/* Email-us panel (replaces the old enquiry form) */
.contact-panel--email { text-align: center; }

.email-panel__icon {
  width: 62px; height: 62px; margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--blue-100); color: var(--navy-700);
  display: grid; place-items: center;
}

.email-address {
  display: block;
  margin: 24px 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  word-break: break-word;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.email-address:hover {
  color: var(--green-600);
  border-color: var(--green-500);
  background: #fff;
}

.email-panel__hint {
  font-size: .84rem; color: var(--muted);
  margin: 12px 0 0;
}

.email-checklist {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.email-checklist h3 {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .88rem; font-weight: 650; color: var(--ink); margin-bottom: 7px;
}
.field .req { color: var(--green-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  font-family: var(--sans); font-size: .97rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: var(--white);
  box-shadow: 0 0 0 3px rgba(12,164,239,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .83rem; color: var(--muted); margin-top: 14px; }

.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-lines li { display: flex; gap: 16px; align-items: flex-start; }
.contact-lines .ico {
  width: 44px; height: 44px; flex: none; border-radius: 11px;
  background: var(--blue-100); color: var(--navy-700); display: grid; place-items: center;
}
.contact-lines strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.contact-lines a { font-weight: 550; }
.contact-lines span { display: block; font-size: .93rem; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy-800);
  padding: clamp(52px, 7vw, 84px) 0;
  text-align: center;
}
.cta-band__media { position: absolute; inset: 0; opacity: .22; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin-inline: auto; margin-bottom: 30px; }
.cta-band .btn-row { justify-content: center; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 62px 0 0; font-size: .93rem; }
.site-footer h4 {
  color: #fff; font-family: var(--sans); font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,.74); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand__logo { height: 64px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: .92rem; }

.footer-bottom {
  margin-top: 52px; padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* --- Utility ------------------------------------------------------------ */
.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;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.note {
  background: var(--blue-100); border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; font-size: .93rem; color: var(--navy-900);
}
.note strong { color: var(--navy-900); }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .infobar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }

  .brand__logo { height: 46px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255,255,255,.16);
    box-shadow: var(--shadow-md);
    padding: 12px 16px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a {
    padding: 14px 12px; border-radius: 8px; font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .nav a:last-child { border-bottom: 0; }
  .nav .btn { margin-top: 12px; }

  .header-phone span { display: none; }
  .header-phone { padding: 10px; border: 1px solid rgba(255,255,255,.32); border-radius: 10px; }

  .split, .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .infobar__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  /* content spans the full width on phones, so darken the whole frame rather than one side */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(0,24,69,.88) 0%, rgba(0,24,69,.72) 55%, rgba(0,24,69,.8) 100%);
  }
  .hero__stats { gap: 16px 18px; }
  .hero__stat { flex: 0 0 calc(50% - 9px); }
  .hero__stat b { font-size: 1.25rem; }
  .hero__stat span { font-size: .72rem; letter-spacing: .07em; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-header, .nav, .cta-band, .site-footer, .gallery-filters, .lightbox { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero, .page-banner { min-height: auto; background: #fff; padding: 0 0 20px; }
  .hero__media, .page-banner__media { display: none; }
  .hero h1, .page-banner h1, .hero__sub, .page-banner p { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
