/* ==========================================================================
   Bridgewater Motel — shared stylesheet (copied from the BHA site so the sister sites match)
   --------------------------------------------------------------------------
   1.  Design tokens (swap these values for your own design system)
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons
   6.  Site header & navigation
   7.  Heroes
   8.  Property cards & catalogue
   9.  Amenity chips & icon lists
   10. Comparison table
   11. FAQ accordion (CSS only)
   12. Process timeline
   13. Testimonials
   14. Walking-distance list
   15. Galleries
   16. Stats & callouts
   18. Forms
   19. Policy / long-form content
   20. Footer
   21. Utilities
   23. Print
   24. Bridgewater additions
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {

  /* --- Colour ----------------------------------------------------------- */
  /* New brand palette (24-Hour Check-In Stays branding kit). The original
     token names are kept so every rule below works unchanged — only the
     values have moved to the new palette:
       Deep Teal #073F48 · Vivid Turquoise #00B8B0 · Sunshine Gold #FFC857
       Crisp White #FFFFFF · Pale Aqua #E7F8F5                               */
  --color-green:        #00B8B0;   /* Vivid Turquoise — ACCENT ONLY, never small text on light */
  --color-green-deep:   #008C86;   /* darker turquoise, safe for icon strokes on white (4.1:1) */
  --color-forest:       #073F48;   /* Deep Teal — headings, dark sections, footer */
  --color-forest-soft:  #0B4650;   /* dark section layering (cards on Deep Teal) */
  --color-gold:         #FFC857;   /* Sunshine Gold — primary booking buttons, badges */
  --color-gold-deep:    #00706A;   /* deep turquoise for small accent text on light
                                      backgrounds (eyebrows, meta lines) — 5.4:1 on
                                      Pale Aqua, so it clears WCAG AA */
  --color-cream:        #FFFFFF;   /* Crisp White — page background */
  --color-cream-warm:   #E7F8F5;   /* Pale Aqua — alternating section background */
  --color-charcoal:     #073F48;   /* Deep Teal — body text */
  --color-muted:        #4A6A70;   /* secondary text — 5.3:1 on Pale Aqua */
  --color-white:        #FFFFFF;
  --color-line:         #CDE6E3;   /* hairlines and borders */
  --color-line-dark:    #24606A;   /* hairlines on dark sections */
  --color-turquoise-on-dark: #2EC4BC; /* turquoise text on dark cards — 4.9:1 */

  /* --- Semantic --------------------------------------------------------- */
  --color-bg:           var(--color-cream);
  --color-bg-alt:       var(--color-cream-warm);
  --color-text:         var(--color-charcoal);
  --color-heading:      var(--color-forest);
  --color-link:         #073F48;   /* Deep Teal, underlined within paragraphs */
  --color-link-hover:   var(--color-gold-deep);
  --color-focus:        #1B4FD8;   /* high-contrast focus ring */

  /* --- Typography ------------------------------------------------------- */
  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
                  "Times New Roman", serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --text-xs:   0.8125rem;   /* 13px */
  --text-sm:   0.9375rem;   /* 15px */
  --text-base: 1.0625rem;   /* 17px */
  --text-md:   1.1875rem;   /* 19px */
  --text-lg:   1.375rem;    /* 22px */
  --text-xl:   1.75rem;     /* 28px */
  --text-2xl:  2.125rem;    /* 34px */
  --text-3xl:  2.625rem;    /* 42px */
  --text-4xl:  3.25rem;     /* 52px */

  --leading-tight: 1.15;
  --leading-snug:  1.3;
  --leading-body:  1.65;

  --tracking-wide: 0.14em;

  /* --- Spacing ---------------------------------------------------------- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6.5rem;

  --section-y:        var(--space-3xl);
  --section-y-large:  var(--space-4xl);

  /* --- Sizing ----------------------------------------------------------- */
  --container:        76rem;
  --container-narrow: 46rem;
  --container-wide:   92rem;
  --gutter:           1rem;

  /* --- Radius ----------------------------------------------------------- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* --- Elevation & motion ---------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(7, 63, 72, 0.06);
  --shadow-md: 0 6px 20px rgba(7, 63, 72, 0.08);
  --shadow-lg: 0 18px 44px rgba(7, 63, 72, 0.14);
  --transition: 160ms ease;

  --border: 1px solid var(--color-line);
}

@media (min-width: 48em) {
  :root { --gutter: 2rem; }
}

@media (min-width: 64em) {
  :root { --gutter: 2.5rem; }
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

svg { flex-shrink: 0; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25rem; }
li + li { margin-top: var(--space-2xs); }

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--transition);
}
a:hover { color: var(--color-link-hover); }

hr {
  border: 0;
  border-top: var(--border);
  margin: var(--space-2xl) 0;
}

/* Visible, high-contrast focus for every interactive element */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--color-green);
  color: var(--color-forest);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 200;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-forest);
  color: var(--color-cream);
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  color: var(--color-cream);
}

.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;
}


/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); }
.section--tight  { padding-block: var(--space-2xl); }
.section--large  { padding-block: var(--section-y-large); }

.section--alt   { background: var(--color-bg-alt); }
.section--white { background: var(--color-white); }

.section--dark {
  background: var(--color-forest);
  color: #F1FAF9;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--color-white); }
/* Buttons are excluded — otherwise this rule out-specifies .btn--primary and
   paints green text onto the gold fill. */
.section--dark a:not(.btn) { color: var(--color-green); }
.section--dark a:not(.btn):hover { color: var(--color-white); }
.section--dark .eyebrow { color: var(--color-green); }
.section--dark .section-intro { color: #BFD9DB; }

.section-head {
  max-width: 42rem;
  margin-bottom: var(--space-2xl);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--wide { max-width: 54rem; }

.section-intro {
  font-size: var(--text-md);
  color: var(--color-muted);
  margin-top: var(--space-md);
}

/* Generic responsive grids */
.grid { display: grid; gap: var(--space-lg); }

@media (min-width: 40em) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60em) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--2-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
}
@media (min-width: 40em) and (max-width: 59.99em) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Asymmetric split — image one side, copy the other */
.split {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 62em) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-3xl); }
  .split--wide-media { grid-template-columns: 1.3fr 1fr; }
  .split--wide-copy  { grid-template-columns: 1fr 1.3fr; }
  .split--reverse > :first-child { order: 2; }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 3 / 2; }


/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.625rem); }
h3, .h3 { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); line-height: var(--leading-snug); }
h4, .h4 { font-size: var(--text-lg); line-height: var(--leading-snug); }
h5, .h5 { font-size: var(--text-md); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: var(--space-sm);
}

.lead {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-muted);
}

.prose > * + * { margin-top: var(--space-md); }
.prose h2 { margin-top: var(--space-2xl); }
.prose h3 { margin-top: var(--space-xl); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: var(--space-2xs); }

.text-accent { color: var(--color-gold-deep); }
.rule-accent {
  width: 3.5rem;
  height: 3px;
  background: var(--color-green);
  border: 0;
  margin: 0 0 var(--space-lg);
  border-radius: var(--radius-pill);
}
.section-head--center .rule-accent { margin-inline: auto; }


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-forest);
}
.btn--primary:hover {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.section--dark .btn--primary:hover,
.hero .btn--primary:hover,
.duo-hero .btn--primary:hover,
.page-hero .btn--primary:hover,
.property-hero--dark .btn--primary:hover,
.callout .btn--primary:hover,
.site-footer .btn--primary:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-forest);
}
.page-hero--light .btn--primary:hover {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.btn--dark {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-cream);
}
.btn--dark:hover {
  background: var(--color-forest-soft);
  border-color: var(--color-forest-soft);
  color: var(--color-white);
}

.btn--secondary {
  background: var(--color-white);
  border-color: var(--color-forest);
  color: var(--color-forest);
}
.btn--secondary:hover {
  background: var(--color-forest);
  color: var(--color-cream);
}

.btn--on-dark {
  background: transparent;
  border-color: var(--color-green);
  color: var(--color-green);
}
.btn--on-dark:hover {
  background: var(--color-green);
  color: var(--color-forest);
}

.btn--small { padding: 0.6rem 1.1rem; font-size: var(--text-xs); }
.btn--full  { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--color-green);
  padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: var(--color-gold); }
.link-arrow svg { transition: transform var(--transition); }
.link-arrow:hover svg { transform: translateX(3px); }


/* ==========================================================================
   6. SITE HEADER & NAVIGATION
   ========================================================================== */

/* The header is white rather than cream so the logo artwork — which ships on a
   solid white background — sits flush without a visible tile behind it. */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--color-white);
  border-bottom: var(--border);
}
/* Keep Book Now in view. On wide screens the header stays at the top as you
   scroll; below that the header is taller, so a slim booking bar sits along
   the bottom of the screen instead. */
@media (min-width: 72em) {
  .site-header { position: sticky; top: 0; }
}
.mobile-book-bar { display: none; }
@media (max-width: 71.99em) {
  .mobile-book-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom));
    background: var(--color-white);
    border-top: var(--border);
    box-shadow: 0 -4px 16px rgba(7, 63, 72, 0.08);
  }
  .mobile-book-bar .btn { flex: 1; justify-content: center; }
  body { padding-bottom: 6rem; }
}
@media print { .mobile-book-bar { display: none; } }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.brand__logo {
  display: block;
  width: auto;
  height: 3.5rem;        /* the 24-Hour Check-In Stays artwork is portrait, 203x301 */
}
/* Business name beside the parent-brand logo, as in the branding kit header */
.brand { gap: var(--space-sm); }
.brand__name {
  padding-left: var(--space-sm);
  border-left: 1px solid var(--color-line);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-forest);
}

.site-nav { width: 100%; order: 3; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--border);
  padding-top: var(--space-sm);
}
.site-nav__list li { margin: 0; }
.site-nav__link {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  /* Labels break as a unit — never "Cobb & Co" above "House". */
  white-space: nowrap;
}
.site-nav__link:hover {
  color: var(--color-forest);
  border-bottom-color: var(--color-green);
}
.site-nav__link[aria-current="page"] {
  color: var(--color-forest);
  border-bottom-color: var(--color-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-forest);
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-gold-deep); }

@media (min-width: 40em) {
  .header-phone { display: inline-flex; }
  .brand__logo { height: 4rem; }
  .brand__name { font-size: 1.0625rem; }
}

/* Eight nav labels, a phone number and a CTA need roughly 1150px before they
   can share one line comfortably. Below that the nav drops to its own full-width
   row, where it has space to wrap between items instead of inside them. */
@media (min-width: 76em) {
  .site-header__inner {
    flex-wrap: nowrap;
    gap: var(--space-lg);
    padding-block: var(--space-md);
  }
  .site-nav { width: auto; order: 0; margin-inline: auto; }
  .site-nav__list {
    border-top: 0;
    padding-top: 0;
    gap: 1.15rem;
    flex-wrap: nowrap;
  }
  .site-nav__link { font-size: 0.875rem; }
  .brand__logo { height: 4.25rem; }
}

@media (min-width: 86em) {
  .site-nav__list { gap: 1.5rem; }
  .site-nav__link { font-size: var(--text-sm); }
}


/* ==========================================================================
   7. HEROES
   ========================================================================== */

/* --- Home hero: full-bleed image, dark scrim, copy bottom-left ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--color-forest);
  color: var(--color-white);
  display: flex;
  align-items: flex-end;
  min-height: 30rem;
  padding-block: var(--space-3xl) var(--space-2xl);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(4, 44, 51, 0.55) 0%,
    rgba(4, 44, 51, 0.45) 35%,
    rgba(4, 44, 51, 0.88) 100%
  );
}
.hero__inner { max-width: 44rem; }
.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
.hero__lead {
  font-size: var(--text-md);
  color: #E8F5F4;
  max-width: 34rem;
}
.hero .eyebrow { color: var(--color-green); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
  padding-left: 0;
}
.hero__meta li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #E8F5F4;
}
.hero__meta svg { color: var(--color-green); }

/* Light, sunlit variant (home page) using the room artwork from the branding
   kit. The artwork sits on the right and fades into a matching warm-white
   wall on the left, where the copy is set in Deep Teal. On narrow screens it
   becomes a band above the copy. */
.hero--light {
  --hero-wall: #FCF7F1;
  display: block;
  background: var(--hero-wall);
  color: var(--color-forest);
  padding-top: 0;
  border-bottom: 1px solid var(--color-line);
}
.hero--light::after { display: none; }
.hero--light .hero__bg {
  position: static;
  height: 15rem;
  object-position: 70% 75%;
}
.hero--light .hero__inner { padding-top: var(--space-xl); }
.hero--light h1 { color: var(--color-forest); }
.hero--light .eyebrow { color: var(--color-gold-deep); }
.hero--light .hero__lead { color: var(--color-forest); }
.hero--light .hero__meta { border-top-color: var(--color-line); }
.hero--light .hero__meta li { color: var(--color-forest); }
.hero--light .hero__meta svg { color: var(--color-green-deep); }
.hero--light .btn--primary:hover {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}
@media (min-width: 62em) {
  .hero--light {
    display: flex;
    align-items: center;
    min-height: clamp(36rem, 38vw, 46rem);   /* a little taller on wide screens */
    padding-block: var(--space-3xl);
  }
  /* The artwork keeps its own proportions instead of stretching to a fixed
     share of the width, so wide screens show the whole picture rather than an
     enlarged strip through the middle of it. */
  .hero--light .hero__bg {
    position: absolute;
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    aspect-ratio: 880 / 970;
    max-width: 56%;
    object-position: center 70%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
            mask-image: linear-gradient(to right, transparent 0%, #000 32%);
  }
  .hero--light .hero__inner { padding-top: 0; }
  .hero--light .hero__inner > * { max-width: 36rem; }
}

@media (min-width: 62em) {
  .hero { min-height: 40rem; padding-block: var(--space-4xl) var(--space-3xl); }
}

/* --- Duo hero: two photographs side by side ----------------------------
   Used on the properties catalogue, where the whole point is that there are
   exactly two places to choose between. Splitting the banner also halves how
   far each photo is stretched, so both stay sharp on a large monitor.
   On phones the second pane is dropped rather than squeezed to a sliver. */
.duo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;            /* nothing escapes the banner box */
  display: flex;
  align-items: flex-end;
  min-height: 22rem;
  padding-block: var(--space-3xl) var(--space-xl);
  background: var(--color-forest);
  color: var(--color-white);
}
.duo-hero__panes {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1fr;
  /* An explicit row is essential. Left implicit, the row sizes to the image's
     natural height (~1200px) instead of the banner's, and the photos spill out
     over the section below. */
  grid-template-rows: 100%;
  gap: 0;
  background: var(--color-green);   /* shows through the gap as a hairline */
}
.duo-hero__panes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duo-hero__pane--second { display: none; }

.duo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(4, 44, 51, 0.50) 0%,
    rgba(4, 44, 51, 0.62) 45%,
    rgba(4, 44, 51, 0.92) 100%
  );
}
.duo-hero__inner { max-width: 44rem; }
.duo-hero h1 { color: var(--color-white); margin-bottom: var(--space-md); text-wrap: balance; }
.duo-hero .eyebrow { color: var(--color-green); }
.duo-hero__lead {
  font-size: var(--text-md);
  color: #E8F5F4;
  max-width: 38rem;
  margin: 0;
}

@media (min-width: 48em) {
  .duo-hero__panes { grid-template-columns: 1fr 1fr; gap: 3px; }
  .duo-hero__pane--second { display: block; }
}
@media (min-width: 62em) {
  .duo-hero { min-height: 30rem; padding-block: var(--space-4xl) var(--space-2xl); }
}

/* --- Page hero: compact, no image -------------------------------------- */
.page-hero {
  background: var(--color-forest);
  color: #F1FAF9;
  padding-block: var(--space-2xl) var(--space-3xl);
  border-bottom: 4px solid var(--color-green);
}
.page-hero h1 { color: var(--color-white); max-width: 22ch; text-wrap: balance; }
.page-hero .eyebrow { color: var(--color-green); }
.page-hero__lead {
  font-size: var(--text-md);
  color: #BFD9DB;
  max-width: 40rem;
  margin-top: var(--space-md);
}

/* --- Page hero, light variant -------------- */
.page-hero--light {
  background: var(--color-cream-warm);
  color: var(--color-charcoal);
  border-bottom-color: var(--color-gold);
}
.page-hero--light h1 { color: var(--color-forest); }
.page-hero--light .eyebrow { color: var(--color-gold-deep); }
.page-hero--light .page-hero__lead { color: var(--color-muted); }

/* --- Property hero: split image + detail card -------------------------- */
.property-hero { background: var(--color-cream); }
.property-hero--dark {
  background: var(--color-forest);
  color: #F1FAF9;
}
.property-hero--dark h1,
.property-hero--dark h2 { color: var(--color-white); }
.property-hero--dark .eyebrow { color: var(--color-green); }
.property-hero--dark .property-hero__lead { color: #BFD9DB; }
.property-hero--dark .property-hero__facts { border-color: var(--color-line-dark); }
.property-hero--dark .property-hero__fact dt { color: var(--color-green); }
.property-hero--dark .property-hero__fact dd { color: var(--color-white); }

.property-hero__grid {
  display: grid;
  gap: var(--space-xl);
  padding-block: var(--space-2xl);
}
.property-hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
/* Portrait video tours sit in the same slot as the hero photo. The height cap
   keeps the page heading in view on phones and short laptop screens. */
.property-hero__media--video { display: flex; justify-content: center; }
.property-hero__video {
  display: block;
  width: 100%;
  max-width: min(22.5rem, 30vh);
  height: auto;
  aspect-ratio: 480 / 856;
  background: var(--color-forest);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 48em) {
  .property-hero__video { max-width: min(22.5rem, 39vh); }
}

.property-hero__lead {
  font-size: var(--text-md);
  color: var(--color-muted);
  margin-top: var(--space-md);
}

.property-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0 0;
  padding-top: var(--space-lg);
  border-top: var(--border);
}
.property-hero__fact { margin: 0; }
.property-hero__fact dt {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 0.2rem;
}
.property-hero__fact dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-forest);
}

@media (min-width: 62em) {
  .property-hero__grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: var(--space-3xl);
    padding-block: var(--space-3xl);
  }
  .property-hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .property-hero--reverse .property-hero__media { order: 2; }
  /* Swap the column widths too, so the photo gets the wider column on both
     layouts and is the same size on every property page. */
  .property-hero__grid.property-hero--reverse { grid-template-columns: 1fr 1.15fr; }
  /* Video tours always sit on the right, with matching columns on both pages. */
  .property-hero__media--video { order: 2; }
  .property-hero__grid:has(> .property-hero__media--video) { grid-template-columns: 1fr 1.15fr; }
  .property-hero__grid:has(> .property-hero__media--video) .property-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 75em) {
  .property-hero__grid:has(> .property-hero__media--video) .property-hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(max-content, 1fr); }
}


/* ==========================================================================
   8. PROPERTY CARDS & CATALOGUE
   ========================================================================== */

.property-grid {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 58em) {
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
}

.property-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
}
.property-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-green);
}

.property-card__media {
  position: relative;
  overflow: hidden;
}
.property-card__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.property-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--color-green);
  color: var(--color-forest);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.property-card__badge--gold { background: var(--color-gold); }

.property-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-lg);
  gap: var(--space-sm);
}
@media (min-width: 40em) {
  .property-card__body { padding: var(--space-xl); }
}
.property-card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.property-card__title { margin: 0; }
.property-card__title a {
  color: var(--color-forest);
  text-decoration: none;
}
.property-card__title a:hover { text-decoration: underline; }
.property-card__text { color: var(--color-muted); margin: 0; }
.property-card__foot { margin-top: auto; padding-top: var(--space-md); }
.property-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }


/* ==========================================================================
   9. AMENITY CHIPS & ICON LISTS
   ========================================================================== */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li { margin: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--color-cream-warm);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-charcoal);
  white-space: nowrap;
}
.chip svg { color: var(--color-green-deep); }

.section--dark .chip {
  background: var(--color-forest-soft);
  border-color: var(--color-line-dark);
  color: #F1FAF9;
}
.section--dark .chip svg { color: var(--color-green); }

/* Icon feature list (two columns on wider screens) */
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm) var(--space-lg);
}
@media (min-width: 40em) {
  .icon-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: var(--text-sm);
}
.icon-list svg {
  color: var(--color-green-deep);
  margin-top: 0.2rem;
}
.section--dark .icon-list svg { color: var(--color-green); }

/* Feature cards */
.feature {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  height: 100%;
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--color-cream-warm);
  color: var(--color-forest);
  margin-bottom: var(--space-md);
}
.feature h3 { font-size: var(--text-lg); margin-bottom: var(--space-xs); }
.feature p { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }

.section--dark .feature {
  background: var(--color-forest-soft);
  border-color: var(--color-line-dark);
}
.section--dark .feature__icon {
  background: rgba(0, 184, 176, 0.16);
  color: var(--color-turquoise-on-dark);
}
.section--dark .feature p { color: #BFD9DB; }

/* Two-accent variant: brings Sunshine Gold in alongside Turquoise so a dark
   section of feature cards doesn't read as one flat colour. Gold and
   Turquoise alternate across the cards in a checkerboard on a 3-column grid. */
.section--accented .section-head .eyebrow { color: var(--color-gold); }
.section--accented .feature { border-top: 3px solid var(--color-green); }
.section--accented .grid > :nth-child(even) .feature,
.section--accented .grid > .feature:nth-child(even) { border-top-color: var(--color-gold); }
.section--accented .grid > :nth-child(even) .feature__icon,
.section--accented .grid > .feature:nth-child(even) .feature__icon {
  background: rgba(255, 200, 87, 0.16);
  color: var(--color-gold);
}


/* ==========================================================================
   10. COMPARISON TABLES
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
  font-size: var(--text-sm);
}
.compare-table caption {
  caption-side: top;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  border-bottom: var(--border);
}
.compare-table th,
.compare-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line);
}
.compare-table thead th {
  background: var(--color-cream-warm);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-forest);
}
.compare-table tbody th {
  font-weight: 700;
  color: var(--color-forest);
  width: 12rem;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th { background: rgba(0, 184, 176, 0.07); }

/* Yes/no cells — never colour alone, always a word plus a mark */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}
.mark--yes { color: #00706A; }
.mark--no  { color: #8A3A2E; }


/* ==========================================================================
   11. FAQ ACCORDION (CSS only — <details> / <summary>)
   ========================================================================== */

.faq {
  display: grid;
  gap: var(--space-sm);
  max-width: 50rem;
}
.faq__item {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--color-green); box-shadow: var(--shadow-sm); }

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-forest);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__item summary:hover { background: var(--color-cream-warm); }
.faq__item summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: -3px;
}

/* Plus / minus indicator drawn in CSS so no icon font is needed */
.faq__icon {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  border: 2px solid var(--color-green-deep);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-green-deep);
}
.faq__icon::before { width: 0.6rem; height: 2px; }
.faq__icon::after  { width: 2px; height: 0.6rem; transition: opacity var(--transition); }
.faq__item[open] .faq__icon::after { opacity: 0; }

.faq__body {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.faq__body > :first-child { margin-top: 0; }

.section--dark .faq__item {
  background: var(--color-forest-soft);
  border-color: var(--color-line-dark);
}
.section--dark .faq__item summary { color: var(--color-white); }
.section--dark .faq__item summary:hover { background: rgba(255, 255, 255, 0.05); }
.section--dark .faq__body { color: #BFD9DB; }
.section--dark .faq__icon { border-color: var(--color-green); }
.section--dark .faq__icon::before,
.section--dark .faq__icon::after { background: var(--color-green); }


/* ==========================================================================
   12. PROCESS TIMELINE
   ========================================================================== */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.timeline__step {
  position: relative;
  margin: 0;
  padding: 0 0 var(--space-xl) 3.25rem;
  counter-increment: step;
}
.timeline__step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-forest);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
}
.timeline__step::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  left: 1.09rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--color-line);
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:last-child::after { display: none; }
.timeline__step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2xs); }
.timeline__step p { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }

.section--dark .timeline__step::after { background: var(--color-line-dark); }
.section--dark .timeline__step p { color: #BFD9DB; }

@media (min-width: 64em) {
  .timeline--horizontal {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-lg);
  }
  .timeline--horizontal .timeline__step {
    padding: 3.5rem 0 0 0;
  }
  .timeline--horizontal .timeline__step::after {
    top: 1.05rem;
    left: 2.6rem;
    right: -1.5rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }
}


/* ==========================================================================
   13. TESTIMONIALS
   ========================================================================== */

/* Individual review card — also used standalone in a plain grid */
.review {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  /* No `height: 100%` — an explicit cross-size cancels `align-items: stretch`,
     which left the carousel cards at ragged heights. Letting it stay auto means
     both the flex track and the grid equalise them for free. */
  margin: 0;
  padding: var(--space-lg);
  background: var(--color-white);
  border: var(--border);
  border-top: 4px solid var(--color-green);
  border-radius: var(--radius-lg);
}
.review--gold { border-top-color: var(--color-gold); }

.review__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--color-forest);
}
.review__foot {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: var(--border);
  font-size: var(--text-sm);
}
.review__name {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--color-charcoal);
}
.review__where { color: var(--color-muted); font-size: var(--text-xs); }

.section--dark .review {
  background: var(--color-forest-soft);
  border-color: var(--color-line-dark);
  border-top-color: var(--color-green);
}
.section--dark .review__text { color: var(--color-white); }
.section--dark .review__foot { border-top-color: var(--color-line-dark); }
.section--dark .review__name { color: var(--color-turquoise-on-dark); }
.section--dark .review__where { color: #BFD9DB; }

/* Static grid of the same cards, for the About page */
.review-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 48em) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 74em) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* ==========================================================================
   14. WALKING-DISTANCE LIST
   ========================================================================== */

.walk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--border);
}
.walk-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin: 0;
  padding: var(--space-md) 0;
  border-bottom: var(--border);
}
.walk-list__place { font-weight: 600; color: var(--color-forest); }
.walk-list__note {
  display: block;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-muted);
}
.walk-list__time {
  flex: none;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-gold-deep);
  white-space: nowrap;
}

.section--dark .walk-list,
.section--dark .walk-list li { border-color: var(--color-line-dark); }
.section--dark .walk-list__place { color: var(--color-white); }
.section--dark .walk-list__note { color: #BFD9DB; }
.section--dark .walk-list__time { color: var(--color-green); }


/* ==========================================================================
   15. GALLERIES
   ========================================================================== */

.gallery {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 46em) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); } }
@media (min-width: 72em) { .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery img:hover { transform: scale(1.015); box-shadow: var(--shadow-md); }
.gallery figcaption {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* One feature image spanning two columns */
@media (min-width: 46em) {
  .gallery__wide { grid-column: span 2; }
  .gallery__wide img { aspect-ratio: 8 / 5; }
}


/* ==========================================================================
   16. STATS & CALLOUTS
   ========================================================================== */

.stats {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 58em) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats li { margin: 0; }
.stats__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.05;
  color: var(--color-white);
}
.stats__label {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: #BFD9DB;
}
.section--alt .stats__value,
.section--white .stats__value { color: var(--color-forest); }
.section--alt .stats__label,
.section--white .stats__label { color: var(--color-muted); }

/* Callout band */
.callout {
  background: var(--color-forest);
  color: #F1FAF9;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
.callout h2 { color: var(--color-white); margin-bottom: var(--space-xs); }
.callout p { color: #BFD9DB; margin: 0; }
.callout .btn-row { margin-top: 0; }
/* The callout is a dark band that can sit inside a light section, so its
   inline links need their own colour or they inherit the dark-on-dark link. */
.callout a:not(.btn) { color: var(--color-green); }
.callout a:not(.btn):hover { color: var(--color-white); }
@media (min-width: 58em) {
  .callout { grid-template-columns: 1.4fr auto; padding: var(--space-2xl) var(--space-3xl); }
}

.callout--gold {
  background: var(--color-gold);
  color: var(--color-forest);
}
.callout--gold h2 { color: var(--color-forest); }
.callout--gold p { color: var(--color-forest); }
.callout--gold a:not(.btn) { color: var(--color-forest); }
.callout--gold a:not(.btn):hover { color: var(--color-forest); text-decoration-thickness: 2px; }

/* Note / aside box */
.note {
  border-left: 4px solid var(--color-gold);
  background: var(--color-cream-warm);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
}
.note strong { color: var(--color-forest); }

.section--dark .note {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--color-green);
  color: #BFD9DB;
}
.section--dark .note strong { color: var(--color-white); }


/* ==========================================================================
   18. FORMS
   ========================================================================== */

.form {
  display: grid;
  gap: var(--space-lg);
}
.form__row { display: grid; gap: var(--space-lg); }
@media (min-width: 40em) {
  .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }

.field label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-forest);
}
.field__hint {
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.req {
  color: #8A3A2E;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23073F48' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--color-green-deep); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(0, 184, 176, 0.35);
  outline: none;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
/* Only flag a field once the visitor has actually interacted with it.
   `:invalid` alone (or with :placeholder-shown) turns every empty required
   field red on page load, which is hostile and looks broken. */
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #8A3A2E;
  background-color: #FDF7F6;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}
.form__consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--color-green-deep);
}
.form__consent label { font-weight: 400; color: var(--color-charcoal); }

.form__footnote {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.form-panel {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 40em) { .form-panel { padding: var(--space-2xl); } }


/* ==========================================================================
   19. POLICY / LONG-FORM CONTENT
   ========================================================================== */

.policy-layout {
  display: grid;
  gap: var(--space-2xl);
}
@media (min-width: 64em) {
  .policy-layout { grid-template-columns: 16rem 1fr; gap: var(--space-3xl); align-items: start; }
  .policy-nav { position: sticky; top: var(--space-xl); }
}

.policy-nav {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.policy-nav h2 {
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: var(--space-sm);
}
.policy-nav ul { list-style: none; margin: 0; padding: 0; }
.policy-nav li { margin: 0; border-top: var(--border); }
.policy-nav li:first-child { border-top: 0; }
.policy-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.policy-nav a:hover { text-decoration: underline; }

.policy-block { scroll-margin-top: 6rem; }
.policy-block + .policy-block { margin-top: var(--space-2xl); }
.policy-block h2 {
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-green);
}
.policy-list { padding-left: 1.2rem; }
.policy-list li { margin-bottom: var(--space-sm); }

/* ==========================================================================
   20. CONTACT BLOCKS & STATIC MAP
   ========================================================================== */

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}
.contact-list li { display: flex; gap: var(--space-md); margin: 0; }
.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: var(--radius-md);
  background: var(--color-cream-warm);
  color: var(--color-forest);
}
.contact-list__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 0.1rem;
}
.contact-list__value {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-forest);
  text-decoration: none;
}
a.contact-list__value:hover { text-decoration: underline; }

/* Interactive Google Maps embed.
   The iframe is Google's own; our pages still ship no JavaScript of their own.
   The address is repeated as real text below so it stays readable (and
   crawlable) if the embed is blocked by a privacy extension or fails to load. */
.map-embed {
  position: relative;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-cream-warm);
  aspect-ratio: 4 / 3;
}
@media (min-width: 40em) { .map-embed { aspect-ratio: 3 / 2; } }

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-address {
  border: var(--border);
  border-top: 0;
  border-left: 4px solid var(--color-gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-white);
  padding: var(--space-lg);
}
.map-address__title {
  margin: 0 0 var(--space-2xs);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-forest);
}
.map-address__lines {
  margin: 0 0 var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.map-address .link-arrow { font-size: var(--text-xs); }

/* ==========================================================================
   20b. LOCAL GUIDE — image-led editorial layout
   A photograph that runs the full width with the headline card lapping over it.
   ========================================================================== */

.guide-hero {
  background: var(--color-cream-warm);
  padding-bottom: var(--space-2xl);
}
.guide-hero__media {
  height: 16rem;
  overflow: hidden;
}
.guide-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.guide-hero__card {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: var(--space-xl);
  background: var(--color-cream);
  border-top: 5px solid var(--color-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.guide-hero__card h1 { margin-bottom: var(--space-sm); text-wrap: balance; }
.guide-hero__card p {
  font-size: var(--text-md);
  color: var(--color-muted);
  margin: 0;
}
@media (min-width: 62em) {
  .guide-hero__media { height: 27rem; }
  .guide-hero__card {
    max-width: 46rem;
    margin-top: -5.5rem;
    padding: var(--space-2xl);
  }
}

/* Photo cards */
.guide-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 46em) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 74em) { .guide-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.guide-card__media { overflow: hidden; }
.guide-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}
.guide-card:hover .guide-card__media img { transform: scale(1.03); }
.guide-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-xs);
  padding: var(--space-lg);
}
.guide-card__kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.guide-card h3 { font-size: var(--text-lg); margin: 0; }
.guide-card p { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }

/* Full-width alternating image / copy rows */
.band { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 64em) {
  .band { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
  .band--flip > :first-child { order: 2; }
}
.band__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.band__caption {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ==========================================================================
   21. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-forest);
  color: #BFD9DB;
  padding-block: var(--space-3xl) var(--space-xl);
  font-size: var(--text-sm);
  border-top: 5px solid var(--color-green);
}
.site-footer a { color: #F1FAF9; text-decoration: none; }
.site-footer a:hover { color: var(--color-green); text-decoration: underline; }

.site-footer__grid {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 46em) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68em) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-2xl); }
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: var(--space-md);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 var(--space-xs); }

.footer-brand__name {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}
.footer-brand p { color: #B3CFD2; }

.footer-contact li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}
.footer-contact svg { color: var(--color-green); margin-top: 0.22rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-line-dark);
  font-size: var(--text-xs);
  color: #A3C3C6;
}
.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.site-footer__bottom li { margin: 0; }


/* ==========================================================================
   22. UTILITIES
   ========================================================================== */

.mt-0  { margin-top: 0 !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }
.mb-0  { margin-bottom: 0 !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.mb-xl { margin-bottom: var(--space-xl) !important; }

.text-center { text-align: center; }
.measure { max-width: 38rem; }
.no-bullets { list-style: none; padding-left: 0; }


/* ==========================================================================
   23. PRINT
   ========================================================================== */

@media print {
  .site-header, .site-footer, .skip-link, .btn, .btn-row { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .faq__item[open] .faq__body, .faq__body { display: block !important; }
}


/* ==========================================================================
   24. BRIDGEWATER ADDITIONS
   ========================================================================== */

/* Home hero. A real photo can't sit behind text the way the BHA artwork does,
   so the copy lines up with the logo and the photo fills the right-hand side.
   The aspect-ratio and max-width stop it being cropped on very wide screens. */
.hero--light { --hero-wall: #FFFFFF; }
.hero--light .hero__bg { object-position: 22% 45%; }
@media (min-width: 62em) {
  .hero--light .hero__inner { max-width: var(--container-wide); }
  /* Stops where the photo starts (42% of the width), so text never sits on it */
  .hero--light .hero__inner > * { max-width: min(36rem, calc(42vw - var(--gutter))); }
  .hero--light .hero__meta {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: var(--space-sm) var(--space-xl);
  }
  .hero--light .hero__bg {
    aspect-ratio: 2000 / 1333;
    max-width: 58%;
    object-position: left center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%);
            mask-image: linear-gradient(to right, transparent 0%, #000 20%);
  }
}

/* Bridgewater Motel logos. The header lockup already includes the name, so
   it replaces BHA's logo-plus-wordmark pair. The footer uses the inverse
   stacked logo, white on Deep Teal, at the same size as BHA's. */
.brand__logo--wide { height: 3.5rem; }
@media (min-width: 40em) { .brand__logo--wide { height: 4.25rem; } }
@media (min-width: 76em) { .brand__logo--wide { height: 4.75rem; } }
.footer-brand__logo { display: block; width: 150px; height: auto; margin: 0 0 var(--space-md); }

/* Page banner with a photo behind it (Food). The Deep Teal fade is heaviest
   on the left, where the text sits, and opens up on the right to show the
   town. On phones the text spans the width, so the fade is even. */
.page-hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-3xl) var(--space-4xl);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(4, 44, 51, 0.94) 0%,
    rgba(4, 44, 51, 0.82) 45%,
    rgba(4, 44, 51, 0.40) 100%);
}
@media (max-width: 47.99em) {
  .page-hero--photo::after { background: rgba(4, 44, 51, 0.86); }
}
.page-hero--photo .page-hero__lead { color: #E8F5F4; }

/* Food cards: one per brand colour, so the three places read as different
   kinds of stop. Text colours are chosen per card to pass AA. */
.food-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  height: 100%;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  border-top: 4px solid transparent;
}
.food-card h3 { font-size: var(--text-xl); margin: 0 0 var(--space-2xs); }
.food-card p { margin: 0; font-size: var(--text-sm); }
.food-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
}
.food-card__kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.food-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}
.food-card__link svg { transition: transform var(--transition); }
.food-card__link:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.food-card__link:hover svg { transform: translateX(3px); }

.food-card--aqua { background: var(--color-cream-warm); border-top-color: var(--color-green); color: var(--color-forest); }
.food-card--aqua .food-card__icon { background: var(--color-white); color: var(--color-forest); }
.food-card--aqua .food-card__kicker { color: var(--color-gold-deep); }
.food-card--aqua p { color: var(--color-muted); }
.food-card--aqua .food-card__link { color: var(--color-forest); }

.food-card--dark { background: var(--color-forest); border-top-color: var(--color-gold); color: #F1FAF9; }
.food-card--dark h3 { color: var(--color-white); }
.food-card--dark p { color: #BFD9DB; }
.food-card--dark .food-card__icon { background: rgba(0, 184, 176, 0.16); color: var(--color-turquoise-on-dark); }
.food-card--dark .food-card__kicker { color: var(--color-turquoise-on-dark); }
.food-card--dark .food-card__link { color: var(--color-white); }
.food-card--dark .food-card__link:hover { color: var(--color-gold); }
.food-card--dark .food-card__link:focus-visible { outline-color: var(--color-gold); }

.food-card--gold { background: var(--color-gold); border-top-color: var(--color-forest); color: var(--color-forest); }
.food-card--gold h3, .food-card--gold p, .food-card--gold .food-card__kicker { color: var(--color-forest); }
.food-card--gold .food-card__icon { background: rgba(255, 255, 255, 0.6); color: var(--color-forest); }

/* Book Now always on screen (Helena's request).
   Computers and tablets: the header, with its Book Now button, always stays at
   the top, however short the browser window is.
   Phones, including a phone turned sideways: the header scrolls away, and a
   slim Book Now / Call bar stays at the bottom instead, because a fixed header
   would take up too much of a small touch screen. */
.book-bar { display: none; }
@media (max-width: 47.99em), (max-height: 37.49em) and (pointer: coarse) {
  .book-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
    background: var(--color-white);
    border-top: var(--border);
    box-shadow: 0 -6px 20px rgba(7, 63, 72, 0.12);
  }
  .book-bar .btn { padding-block: 0.8rem; }
  /* Room under the footer so the bar never covers its last line */
  body { padding-bottom: 5rem; }
}
/* Five menu items fit on one line from about 990px, so the header goes to a
   single row sooner than BHA's (which has eight). That keeps the fixed header
   slim on laptops. */
@media (min-width: 62em) {
  .site-header__inner { flex-wrap: nowrap; gap: var(--space-lg); padding-block: var(--space-md); }
  .site-nav { width: auto; order: 0; margin-inline: auto; }
  .site-nav__list { border-top: 0; padding-top: 0; gap: 1.15rem; flex-wrap: nowrap; }
}
@media (min-width: 48em) and (min-height: 37.5em), (min-width: 48em) and (pointer: fine) {
  .site-header { position: sticky; top: 0; }
  /* Anchor links land below the fixed header, not under it */
  html { scroll-padding-top: 10.5rem; }
  .policy-nav { top: 10.5rem; }
  /* The scroll padding already clears the header, so policy sections need only a small gap */
  .policy-block { scroll-margin-top: var(--space-md); }
}
@media (min-width: 62em) and (min-height: 37.5em), (min-width: 62em) and (pointer: fine) {
  html { scroll-padding-top: 8rem; }
  .policy-nav { top: 8rem; }
}
@media print {
  .book-bar { display: none !important; }
  body { padding-bottom: 0; }
}

/* A taller banner on wide screens, so the photo isn't reduced to a thin strip */
@media (min-width: 62em) {
  .guide-hero__media { height: clamp(27rem, 28vw, 36rem); }
}

/* Room facts sit two by two, so "King, queen + 2 singles" stays on one line */
@media (min-width: 62em) {
  .property-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Seven cards laid out 2 + 3 + 2, so the last row never leaves one on its own */
@media (min-width: 46em) {
  .property-grid--seven { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
  .property-grid--seven > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 74em) {
  .property-grid--seven { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .property-grid--seven > * { grid-column: span 2; }
  .property-grid--seven > :nth-child(-n+2),
  .property-grid--seven > :nth-child(n+6) { grid-column: span 3; }
}
.property-card .chips { margin-top: var(--space-xs); }

/* Wider table for the seven-room comparison */
.compare-table--wide { min-width: 56rem; }
.compare-table--wide tbody th { width: auto; }
.compare-table tbody th a { color: var(--color-forest); }

/* Two-photo gallery, for rooms with a short set of photos */
@media (min-width: 46em) {
  .gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Links inside feature cards */
.feature p a { color: var(--color-forest); }
.section--dark .feature p a { color: var(--color-turquoise-on-dark); }
.feature p + p { margin-top: var(--space-md); }

/* Dark notes need readable links */
.section--dark .note a { color: var(--color-turquoise-on-dark); }

/* Date, number and text inputs share one height, and a label that wraps on
   one field no longer pushes its input out of line with its neighbours */
.field input,
.field select { min-height: 3.1rem; }
.form__row--3 { align-items: end; }

/* --- Site plan -----------------------------------------------------------
   Wide enough to read on a phone, inside a track that scrolls sideways. */
.plan-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  padding: var(--space-md);
}
.plan-scroll:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}
.plan { display: block; width: 100%; min-width: 58rem; height: auto; }
.plan-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
@media (min-width: 66em) {
  .plan { min-width: 0; }
  .plan-hint { display: none; }
}
.plan text { font-family: var(--font-body); fill: #073F48; font-weight: 600; }
.plan__p { font-size: 15px; }
.plan__small { font-size: 13.5px; }
.plan__tiny { font-size: 12px; }
.plan__label { font-size: 21px; font-weight: 700 !important; }
.plan__title { font-family: var(--font-heading) !important; font-size: 28px; }
.plan__room { font-size: 19px; font-weight: 700 !important; }
.plan__road { font-size: 20px; letter-spacing: 0.08em; }
.plan__river { font-size: 22px; letter-spacing: 0.3em; }
.plan text.plan__badge { fill: #FFFFFF; font-size: 15px; font-weight: 700; }
.plan text.plan__badge-sm { fill: #FFFFFF; font-size: 12.5px; font-weight: 700; }
.plan text.plan__room-on-dark { fill: #FFFFFF; font-size: 26px; font-weight: 700; }

/* --- Printing the Site Map ------------------------------------------------ */
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  .plan-print.page-hero { background: none; border: 0; padding: 0; }
  .plan-print .eyebrow, .plan-print .page-hero__lead { display: none; }
  .plan-print .plan-scroll { overflow: visible; border: 0; padding: 0; }
  .plan { min-width: 0; }
  .plan-hint, .plan-extra { display: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}


/* ==========================================================================
   WordPress: Contact Form 7 markup inside the existing form styles
   ========================================================================== */

.form .hidden-fields-container { display: none; }
.field .wpcf7-form-control-wrap { display: block; }
.form__consent .wpcf7-form-control-wrap,
.form__consent .wpcf7-list-item { display: block; margin: 0; }
.form__consent .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #8A3A2E;
}
.form .wpcf7-response-output {
  margin: 0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.form .wpcf7-spinner { margin: var(--space-sm) auto 0; display: block; }

/* When one label in a row wraps onto two lines (the date fields at some
   widths), keep the inputs in that row lined up along the bottom. */
.form__row > .field > label + * { margin-top: auto; }
