/* ============================================================
   Moyock Animal Hospital — main stylesheet
   ============================================================ */

/* ---------- Self-hosted fonts (latin subsets, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito-sans-latin-var.woff2") format("woff2");
}

:root {
  /* Palette */
  --green-950: #0f2a21;
  --green-900: #14342b;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-100: #d8f3dc;
  --cream: #faf7f1;
  --sand: #f0eae0;
  --ink: #22302a;
  --muted: #5b6d63;
  --line: #e4ddd0;
  --white: #ffffff;
  --amber: #e9c46a;
  --amber-dark: #c99b34;
  --coral: #e76f51;
  --coral-dark: #c94f32;
  --danger-bg: #fdf1ec;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  /* Misc */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(20, 52, 43, 0.08);
  --shadow-md: 0 10px 30px rgba(20, 52, 43, 0.14);
  --shadow-lg: 0 24px 60px rgba(20, 52, 43, 0.22);
  --header-h: 76px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

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

a { color: var(--green-700); }
a:hover { color: var(--green-600); }

ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 800; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-800);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { flex: none; }

.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-600); color: #fff; }

.btn--accent { background: var(--amber); color: var(--green-900); }
.btn--accent:hover { background: #f0d084; color: var(--green-900); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: rgba(20, 52, 43, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.btn--danger { background: var(--coral); color: #fff; }
.btn--danger:hover { background: var(--coral-dark); color: #fff; }

.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900);
  color: #e8f2ec;
  font-size: 0.88rem;
  font-weight: 600;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  padding: 0.45rem 0;
  align-items: center;
}
.topbar a {
  color: #e8f2ec;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.topbar a:hover { color: var(--amber); }
.topbar svg { opacity: 0.85; }
.topbar__hours { margin-left: auto; color: #bcd6c8; }
@media (max-width: 760px) {
  .topbar__hours { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 241, 0.97);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(20, 52, 43, 0.1);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.12;
  padding-block: 0.5rem;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--green-700);
  border-radius: 14px;
  color: #fff;
}
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.72rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--green-100); color: var(--green-800); }
.site-nav a[aria-current="page"] { background: var(--green-700); color: #fff; }
.nav-cta { flex: none; }
@media (max-width: 1020px) {
  .nav-cta { display: none; }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--green-800);
  border-radius: 12px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1.25px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.15rem; }
  .site-nav a { padding: 0.8rem 1rem; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
}
.hero__slides, .hero__slides img { position: absolute; inset: 0; }
.hero__slide {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 42, 33, 0.82) 0%, rgba(15, 42, 33, 0.55) 45%, rgba(15, 42, 33, 0.18) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 6rem 7rem;
  max-width: 640px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(233, 196, 106, 0.16);
  border: 1px solid rgba(233, 196, 106, 0.5);
  color: var(--amber);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #dfeee6;
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}
.hero__dots button {
  width: 24px; /* 24px+ touch target */
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hero__dots button::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease;
}
.hero__dots button.is-active { transform: scale(1.1); }
.hero__dots button.is-active::after { background: var(--amber); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(1200px 400px at 85% -60%, rgba(82, 183, 136, 0.35), transparent),
    linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #fff;
  padding-block: 4.2rem;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero p { color: #d7eadf; max-width: 68ch; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--sand { background: var(--sand); }
.section--green { background: var(--green-900); color: #dff0e7; }
.section--green h2, .section--green h3 { color: #fff; }

.eyebrow {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.7rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section--green .section-head p { color: #b9d4c6; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.99rem; }
.card .icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card__link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card__link::after { content: "→"; transition: transform 0.18s ease; }
.card__link:hover::after { transform: translateX(4px); }

/* ---------- Split layout (text + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--flip .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  background: var(--amber);
  color: var(--green-900);
  border-radius: 16px;
  padding: 0.9rem 1.2rem;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
@media (max-width: 900px) { .split__badge { right: 10px; } }

.check-list { list-style: none; padding: 0; margin-top: 1.2rem; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.check-list svg { flex: none; margin-top: 0.28rem; color: var(--green-600); }

/* ---------- Info strips / contact chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--green-800); }
.chip svg { color: var(--green-600); }

/* ---------- Hours table ---------- */
.hours-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hours-card table { width: 100%; border-collapse: collapse; }
.hours-card th, .hours-card td {
  padding: 0.85rem 1.4rem;
  text-align: left;
  font-size: 0.98rem;
}
.hours-card thead th {
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.hours-card tbody tr { border-top: 1px solid var(--line); }
.hours-card tbody tr.is-today { background: var(--green-100); }
.hours-card td:last-child { text-align: right; font-weight: 700; color: var(--green-800); }
.hours-note { padding: 0.9rem 1.4rem; background: var(--sand); font-size: 0.9rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote-card .stars { color: var(--amber-dark); display: flex; gap: 2px; }
.quote-card blockquote {
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.65;
}
.quote-card blockquote::before { content: "“"; color: var(--green-500); font-family: var(--font-display); font-size: 1.6em; line-height: 0; vertical-align: -0.28em; margin-right: 2px; }
.quote-card cite {
  font-style: normal;
  font-weight: 800;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}
.quote-card cite::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232d6a4f'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
}

/* ---------- Staff ---------- */
.staff-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.staff-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.staff-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.staff-card__role {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.3rem;
}
.staff-card__body p { font-size: 0.95rem; color: var(--muted); margin-top: 0.7rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-grid button {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid button:hover img { transform: scale(1.06); }
.gallery-grid button::after {
  content: "⤢";
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(15, 42, 33, 0.75);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-grid button:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 20, 16, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.9rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }

/* ---------- Tables (emergency page) ---------- */
.table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table th, .data-table td {
  padding: 0.8rem 1.2rem;
  text-align: left;
  font-size: 0.96rem;
  vertical-align: top;
}
.data-table thead th {
  background: var(--green-800);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr { border-top: 1px solid var(--line); }
.data-table tbody tr:nth-child(even) { background: #fbfaf7; }
.data-table a { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Alert banners ---------- */
.alert {
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid;
}
.alert svg { flex: none; margin-top: 0.15rem; }
.alert--danger {
  background: var(--danger-bg);
  border-color: #f2c4b3;
  color: #7c2d12;
}
.alert--info {
  background: var(--green-100);
  border-color: #b7e4c7;
  color: var(--green-900);
}
.alert h3 { margin-bottom: 0.3rem; color: inherit; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 300px at 15% 120%, rgba(233, 196, 106, 0.25), transparent),
    linear-gradient(120deg, var(--green-800), var(--green-600));
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: #d9eee3; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: #b9d0c4;
  margin-top: 0;
  font-size: 0.95rem;
}
.footer-emergency {
  background: var(--coral-dark);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
}
/* More specific than .site-footer a below so the color isn't overridden */
.site-footer .footer-emergency a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-main { grid-template-columns: 1fr; } }
.site-footer h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #b9d0c4; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.footer-brand .brand__mark { background: var(--green-600); }
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.15;
}
.footer-tagline { max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7fa192;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide.is-active img { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Page-specific helpers ---------- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.2rem; margin-bottom: 0.8rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.5rem; }

.page-hero + .section { padding-top: clamp(3rem, 6vw, 4.5rem); }

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

.sticky-cta {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: none;
}
@media (max-width: 640px) {
  .sticky-cta { display: block; }
  .sticky-cta .btn { box-shadow: var(--shadow-lg); }
}
