/* Sfootcare Solution
   Palette taken from the "Broch Complete" brochure; teal and lime from the logo. */
:root {
  --olive: #464E2E;
  --olive-deep: #2F341E;
  --sage: #B6C4A2;
  --sage-soft: #D3DCC5;
  --mist: #E5E8E0;
  --paper: #F4F6F1;
  --white: #FFFFFF;
  --teal: #13606F;
  --lime: #82C82A;
  --error: #A12A1F;

  --text: var(--olive-deep);
  --text-muted: #4E5440;

  --font-display: "Gloock", Georgia, "Times New Roman", serif;
  --font-body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.889rem;
  --step-0: 1.125rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 2.8rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 4.4rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: clamp(3.5rem, 2rem + 6vw, 6.5rem);

  --wrap: 72rem;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 0 0;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

[hidden] { display: none !important; }

a { color: var(--teal); text-underline-offset: 0.2em; }
a:hover { color: var(--olive-deep); }

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

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--olive-deep);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.btn-light { background: var(--sage); color: var(--olive-deep); }
.btn-light:hover { background: var(--white); color: var(--olive-deep); }
.btn-ghost { border-color: var(--sage); color: var(--white); }
.btn-ghost:hover { background: var(--sage); color: var(--olive-deep); }
.btn-dark { background: var(--olive); color: var(--white); }
.btn-dark:hover { background: var(--olive-deep); color: var(--white); }
.btn:active { transform: scale(0.98); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--mist);
  border-bottom: 1px solid var(--sage);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 5rem;
  padding-block: 0.5rem;
}
.brand img { width: 88px; height: auto; }
.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 0.6rem 0.8rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius-pill);
}
.nav-list a:hover { background: var(--sage-soft); }
.nav-list a.nav-book { background: var(--olive); color: var(--white); padding-inline: 1.1rem; }
.nav-list a.nav-book:hover { background: var(--olive-deep); }
.nav-toggle { display: none; }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--olive-deep);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-call svg { width: 1.2rem; height: 1.2rem; fill: var(--teal); }

@media (max-width: 960px) {
  .header-call { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--olive);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--olive-deep);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: var(--space-2) clamp(1rem, 4vw, 2rem) var(--space-3);
    background: var(--mist);
    border-bottom: 1px solid var(--sage);
    box-shadow: 0 12px 24px rgba(47, 52, 30, 0.12);
  }
  .nav-list a { padding: 0.85rem 0.5rem; font-size: var(--step-0); border-radius: 0; }
  .nav-list a.nav-book { margin-top: var(--space-1); text-align: center; border-radius: var(--radius-pill); }
  .js .nav-list:not(.is-open) { display: none; }
}

/* Hero */
.hero {
  background: var(--olive);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: var(--space-5);
  padding-top: var(--space-6);
}
.hero-copy { padding-bottom: var(--space-6); }
.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--sage);
  margin-bottom: var(--space-2);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.05;
  color: var(--white);
  max-width: 13ch;
}
.hero-lede {
  max-width: 34rem;
  margin-top: var(--space-3);
  color: var(--mist);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-4);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: var(--space-4) 0 0;
  padding: var(--space-3) 0 0;
  border-top: 1px solid rgba(182, 196, 162, 0.45);
  list-style: none;
  font-size: 1rem;
  color: var(--sage);
}
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
}

/* The arch: the brochure's signature shape */
.hero-arch {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-arch);
  overflow: hidden;
  background: var(--sage);
  border: 10px solid var(--sage);
  border-bottom: 0;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-4); padding-top: var(--space-5); }
  .hero-copy { padding-bottom: 0; }
  .hero-arch { max-width: 22rem; width: 85%; margin-inline: auto; aspect-ratio: 5 / 5; }
}

/* Sections */
.section { padding-block: var(--space-6); }
.section-title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--olive-deep);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2) var(--space-5);
  align-items: end;
  margin-bottom: var(--space-5);
}
.section-intro { max-width: 36rem; color: var(--text-muted); }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Who I visit */
.visit { background: var(--paper); }
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.visit-item h3 { font-family: var(--font-display); font-size: var(--step-2); margin: var(--space-2) 0 var(--space-1); }
.visit-item p { color: var(--text-muted); max-width: 30ch; }
.icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
  fill: none;
  stroke: var(--olive-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 820px) {
  .visit-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* Treatments: pill capsules echo the brochure */
.pill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1.25rem 1.25rem 1.25rem 2rem;
  border: 1.5px solid var(--olive);
  border-radius: var(--radius-pill);
}
.pill h3 { font-family: var(--font-display); font-size: var(--step-1); }
.pill-text p { margin-top: 0.25rem; font-size: 1rem; color: var(--text-muted); }
.rates {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.rate {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-4);
  border-radius: 2rem;
  background: var(--sage-soft);
}
.rate h3 { font-family: var(--font-display); font-size: var(--step-2); }
.rate p { font-size: 1rem; color: var(--text-muted); }
.rate .rate-price {
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--olive-deep);
  font-variant-numeric: tabular-nums;
}
.rate-main { background: var(--olive); }
.rate-main h3, .rate-main .rate-price { color: var(--white); }
.rate-main p { color: var(--mist); }
.treatments-note { margin-top: var(--space-4); }
@media (max-width: 900px) {
  .pill-list { grid-template-columns: 1fr; }
  .rates { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pill { border-radius: 2rem; padding: 1.25rem 1.5rem; }
}

/* About */
.about { background: var(--sage); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-6);
  align-items: center;
}
.about-arch {
  border-radius: var(--radius-arch);
  overflow: hidden;
  border: 10px solid var(--olive);
  aspect-ratio: 3 / 4;
}
.about-arch img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { margin-top: var(--space-2); max-width: 38rem; }
.about-copy .section-title { margin-bottom: var(--space-3); }
.about-sub {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-top: var(--space-5);
}
.creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}
.creds li {
  padding-left: 1rem;
  border-left: 3px solid var(--olive);
}
.creds strong { display: block; font-weight: 500; }
.creds span { font-size: 1rem; color: var(--text-muted); }
@media (max-width: 820px) {
  .about-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .about-arch { max-width: 20rem; width: 80%; }
  .creds { grid-template-columns: 1fr; }
}

/* Steps: a genuine sequence, so numbers are earned */
.steps { background: var(--paper); }
/* Mobile clinic banner: illustrated scene with a card resting on the sky */
.clinic-banner {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--mist);
}
.clinic-scene { width: 100%; aspect-ratio: 1200 / 560; object-fit: cover; }
.clinic-card {
  position: absolute;
  top: clamp(1rem, 3vw, 2.25rem);
  left: clamp(1rem, 3vw, 2.25rem);
  max-width: 24rem;
  padding: var(--space-3) var(--space-4);
  border-radius: 1.5rem;
  background: rgba(244, 246, 241, 0.94);
  box-shadow: 0 12px 30px rgba(47, 52, 30, 0.12);
}
.clinic-card h3 { font-family: var(--font-display); font-size: var(--step-2); }
.clinic-card p { margin-top: 0.5rem; font-size: 1rem; color: var(--text-muted); }
.clinic-points {
  display: grid;
  gap: 0.35rem;
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 400;
}
.clinic-points li { display: flex; align-items: baseline; gap: 0.6rem; }
.clinic-points li::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
  transform: translateY(-0.1rem);
}
@media (max-width: 900px) {
  .clinic-banner { display: flex; flex-direction: column-reverse; background: var(--paper); }
  .clinic-card {
    position: static;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--sage-soft);
  }
  .clinic-scene { aspect-ratio: 16 / 9; object-position: 70% 100%; }
}
.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step-list li { counter-increment: step; }
.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--step-1);
}
.step-list h3 { font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 0.4rem; }
.step-list p { font-size: 1rem; color: var(--text-muted); }
@media (max-width: 900px) {
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .step-list { grid-template-columns: 1fr; }
}

/* Results gallery */
.gallery-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1.5px dashed var(--olive);
  border-radius: 2rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--sage-soft);
}
.gallery figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
}
.gallery-sub {
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.gallery-sub + .pairs, .gallery-sub + .conditions { margin-top: 0; }
.conditions + .gallery-sub, .pairs + .gallery-sub { margin-top: var(--space-5); }

/* Before/after pairs share one rounded frame, split down the middle */
.pairs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.pair-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--olive);
}
.pair-shot { position: relative; aspect-ratio: 3 / 4; }
.tag {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--olive-deep);
  font-size: var(--step--1);
  font-weight: 500;
}
.tag-after { background: var(--olive); color: var(--white); }

.conditions {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2);
}
.condition img { aspect-ratio: 3 / 4; border-radius: 1.25rem; }
.condition-wide img { aspect-ratio: auto; height: calc(100% - 2.6rem); }
@media (max-width: 1000px) {
  .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conditions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .condition-wide { grid-column: 1 / -1; }
  .condition-wide img { aspect-ratio: 4 / 3; height: auto; }
}
@media (max-width: 640px) {
  .pairs { grid-template-columns: 1fr; }
  .conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Areas */
.areas { background: var(--olive); color: var(--white); }
.areas .section-title { color: var(--white); }
.areas .section-intro { color: var(--mist); margin-top: var(--space-2); }
.areas-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: var(--space-6);
  align-items: center;
}
.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}
.town-list li {
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 1rem;
}
.town-list li:first-child { background: var(--sage); color: var(--olive-deep); font-weight: 500; }
.areas-note { margin-top: var(--space-4); color: var(--mist); }
.areas-note a { color: var(--sage); }
.areas-note a:hover { color: var(--white); }
.areas-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.areas-photo { margin: 0; }
.areas-photo img {
  border-radius: 2rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 10px solid var(--sage);
}
@media (max-width: 820px) {
  .areas-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .areas-photo { max-width: 26rem; }
}

/* Reviews */
.reviews { background: var(--mist); }
.reviews-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--paper);
  border-radius: 2rem;
}
.reviews-empty p { max-width: 40rem; }
.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}
.review { padding: var(--space-4); background: var(--paper); border-radius: 2rem; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; }
.review-by { margin-top: var(--space-2); font-size: 1rem; color: var(--text-muted); }

/* FAQ */
.faq { background: var(--paper); }
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-5);
}
.faq-list details { border-bottom: 1px solid var(--sage); }
.faq-list details:first-child { border-top: 1px solid var(--sage); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: 1.1rem 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--olive-deep);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 200ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 1.25rem; color: var(--text-muted); max-width: 42rem; }
@media (max-width: 820px) {
  .faq-inner { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* Book */
.book { background: var(--sage); }
.book-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-6);
  align-items: start;
}
.book-copy > p { margin-top: var(--space-2); max-width: 30rem; }
.contact-list {
  display: grid;
  gap: 0.6rem;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.25rem;
  padding: 0.6rem 1.2rem 0.6rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover { background: var(--white); }
.contact-list svg {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--olive);
  fill: none;
  stroke: var(--white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list li:first-child svg { fill: var(--white); stroke: none; }
.contact-list strong { font-weight: 500; margin-right: 0.35rem; }
.hours { margin-top: var(--space-4); }
.hours strong { font-weight: 500; }

.book-form {
  display: grid;
  gap: var(--space-3);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  border-radius: 2rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 1rem; }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #7C8466;
  border-radius: 0.9rem;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-help { font-size: var(--step--1); color: var(--text-muted); }
.field-error { font-size: var(--step--1); font-weight: 500; color: var(--error); }
.form-summary {
  padding: var(--space-2);
  border: 2px solid var(--error);
  border-radius: 1rem;
  background: var(--white);
}
.form-summary p { font-weight: 500; }
.form-summary ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--error); }
.form-privacy { font-size: var(--step--1); color: var(--text-muted); }
.btn-submit { justify-self: start; }
.btn-submit[disabled] { opacity: 0.5; cursor: progress; }
.form-status { font-weight: 500; }
.form-status:empty { display: none; }
@media (max-width: 820px) {
  .book-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .btn-submit { justify-self: stretch; }
}

/* Footer */
.site-footer { background: var(--olive-deep); color: var(--mist); padding-top: var(--space-5); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: var(--space-4);
}
.footer-links { margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.footer-links li + li { margin-top: 0.35rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.footer-badge {
  display: grid;
  place-items: center;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: var(--sage);
  margin-bottom: var(--space-2);
}
.footer-badge img { width: 6.5rem; }
.footer-col h2 { font-family: var(--font-display); font-size: var(--step-1); color: var(--white); margin-bottom: 0.5rem; }
.footer-col p, .footer-brand p { font-size: 1rem; }
.site-footer a { color: var(--sage); }
.site-footer a:hover { color: var(--white); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-block: var(--space-3);
  border-top: 1px solid rgba(182, 196, 162, 0.3);
  font-size: var(--step--1);
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--olive-deep);
  }
  .mobile-bar a {
    display: grid;
    place-items: center;
    min-height: 3rem;
    border: 1.5px solid var(--sage);
    border-radius: var(--radius-pill);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
  }
  .mobile-bar a.mobile-bar-book { background: var(--sage); color: var(--olive-deep); }
}

/* Privacy page */
.legal { padding-block: var(--space-6); }
.legal h1 { font-family: var(--font-display); font-size: var(--step-3); margin-bottom: var(--space-3); }
.legal h2 { font-family: var(--font-display); font-size: var(--step-1); margin: var(--space-4) 0 var(--space-1); }
.legal p, .legal li { max-width: 42rem; }
.legal p + p { margin-top: var(--space-2); }

/* One orchestrated moment: the hero arch rises on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-arch { animation: arch-rise 900ms var(--ease-out) both; }
  @keyframes arch-rise {
    from { transform: translateY(2.5rem); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
