@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&display=swap');

/* CDS Wetrooms & Mobility — Shared Stylesheet */

/* ─── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }  /* clears the sticky .nav-inner, so #anchors and the
                                                      skip link don't land underneath it */

/* ─── Skip Link ─────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--charcoal); color: var(--white); padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 14px; font-weight: 700; z-index: 9999; text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ─── Focus Rings ────────────────────────────── */
:focus-visible { outline: 3px solid #8FC3E0; outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a2535;
  background: #fff;
}

/* ─── Tokens ────────────────────────────────────── */
:root {
  --blue-deep:   #1A6FA8;
  --blue-mid:    #5599C4;
  --blue-light:  #8FC3E0;
  --blue-pale:   #EAF3FA;
  --blue-tint:   #D6E9F5;
  --navy:        #122943;
  --charcoal:    #2B2B2B;
  --white:       #FFFFFF;
  --grey-50:     #F8FAFC;
  --grey-100:    #F0F4F8;
  --grey-200:    #DDE8F0;
  --grey-500:    #64748B;
  --grey-700:    #334155;
  --grey-900:    #1A2535;
  --gold:        #F59E0B;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(18,41,67,0.08);
  --shadow-md:   0 4px 16px rgba(18,41,67,0.12);
  --shadow-lg:   0 8px 32px rgba(18,41,67,0.16);
}

/* ─── Typography ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--grey-700); line-height: 1.7; text-wrap: pretty; }
a  { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Utility ────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 8vw, 84px) 0; }
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue-mid);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-intro { font-size: 1.1rem; color: var(--grey-700); max-width: 600px; margin-bottom: 40px; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none;
  min-height: 48px;
}
.btn-primary { background: var(--blue-deep); color: var(--white); border-color: var(--blue-deep); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--blue-deep); border-color: var(--blue-deep); }
.btn-secondary:hover { background: var(--blue-pale); text-decoration: none; transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--blue-deep); border-color: var(--white); }
.btn-white:hover { background: var(--blue-pale); text-decoration: none; }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ─── NAV ────────────────────────────────────────── */
.nav { background: var(--charcoal); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-family: 'Baloo 2', Georgia, serif; font-size: 17px; font-weight: 700;
  white-space: nowrap; text-decoration: none;
}
.nav-logo:hover { text-decoration: none; opacity: 0.92; }
.nav-drop { height: 48px; width: auto; flex-shrink: 0; }
/* 54px of actual logo, against 56px of box that was ~42px of logo and the rest
   transparent padding baked into the PNG. Diane: the header text was hard to
   read. The bar grew to 76px to carry it. */
.nav-lockup { height: 54px; width: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: all 0.15s; text-decoration: none;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); text-decoration: none; }
.nav-link.active { color: white; font-weight: 700; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-mid); color: white; font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: var(--radius-sm); margin-left: 8px;
  transition: all 0.15s; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-deep); text-decoration: none; }

/* ─── Hamburger ──────────────────────────────── */
.nav-hamburger {
  display: none; background: transparent; border: none; cursor: pointer;
  color: white; padding: 8px; border-radius: var(--radius-sm);
  margin-left: auto; flex-shrink: 0; line-height: 0;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }

/* ─── PAGE HERO (interior pages) ─────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  padding: 56px 0;
  position: relative; z-index: 0;
  overflow: hidden;
}
.page-hero .section-label { color: rgba(255,255,255,0.65); }
.page-hero h1 { color: white; margin-bottom: 12px; font-size: clamp(2.75rem, 7vw, 4.5rem); line-height: 1.05; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; font-size: 1.1rem; }

/* ─── HERO SIDE LOGO (watermark) ──────────────── */
.page-hero .container, .trade-hero .container, .hero .container { position: relative; }
.hero-side-logo {
  position: absolute; top: 50%; right: -40px; transform: translateY(-50%);
  width: 440px; height: auto; opacity: 0.22; pointer-events: none;
  z-index: -1;
}
@media (max-width: 900px) { .hero-side-logo { display: none; } }

/* ─── TRUST BAR ──────────────────────────────────── */
.trust-bar { background: var(--grey-50); border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); padding: 18px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--grey-700); white-space: nowrap; }
.trust-icon { width: 28px; height: 28px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; color: var(--blue-mid); }
.trust-divider { display: none; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { font-size: 16px; margin-bottom: 14px; display: inline-flex; }
.footer-brand .nav-drop { height: 36px; }
.footer-brand p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.62); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; text-decoration: none; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.62); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .nav-hamburger { display: flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--charcoal); flex-direction: column;
    padding: 12px 16px 16px; border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg); z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 14px; font-size: 15px; }
}
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .page-hero { padding: 40px 0; }
  .trust-bar-inner { gap: 20px; }
  .trust-divider { display: none; }
}

/* ─── Footer SVG icons ───────────────────────── */
.footer-col svg { vertical-align: middle; margin-right: 4px; flex-shrink: 0; }

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


/* ─── Mobile Call Bar ────────────────────────────── */
/* Fixed bottom CTA on phones only. The audience is 65+, disabled and
   caregivers, and no prices are published — every route ends in an
   enquiry, so the enquiry action stays one thumb away. */
.mobile-cta { display: none; }

@media (max-width: 600px) {
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    background: var(--white);
    border-top: 1px solid var(--grey-200);
    box-shadow: 0 -2px 12px rgba(18,41,67,0.12);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 12px 8px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: none;
  }
  .mobile-cta a:hover, .mobile-cta a:focus { text-decoration: none; }
  .mobile-cta .mc-call   { background: var(--blue-deep); color: var(--white); }
  .mobile-cta .mc-enquire{ background: var(--white); color: var(--blue-deep); }
  .mobile-cta svg { flex: 0 0 auto; }
  /* keep the bar from covering the end of the page */
  body { padding-bottom: 60px; }
}


/* ─── Google Reviews ─────────────────────────────── */
/* Shared by index.html and about.html. Static markup, no third-party
   script: a review widget would drag in cookies and force a consent
   banner onto a 65+ audience, which is the one thing this site has
   deliberately avoided. Trade-off accepted: the section is refreshed
   by hand when new reviews land. */

.reviews-section { background: var(--grey-50); border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }

.reviews-head { margin-bottom: 40px; }

/* Rating is stated as text as well as stars — the stars are
   reinforcement, never the only carrier of the score. */
.reviews-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.reviews-score { font-size: 16px; color: var(--grey-700); margin: 0; }
.reviews-score strong { color: var(--navy); font-weight: 700; font-size: 1.15rem; }
.reviews-google { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--grey-700); }
.reviews-google svg { flex-shrink: 0; }

.review-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.review-stars svg { width: 18px; height: 18px; flex-shrink: 0; }
.reviews-summary .review-stars svg { width: 22px; height: 22px; }

/* Aggregate rating star row. Renders a fractional score honestly: a grey
   base row with a gold copy clipped to the exact percentage, so 4.6 shows
   as four-and-a-bit stars rather than being rounded up to five. The numeric
   score sits next to it in real text and is what actually carries the
   rating — see the Reviews Component notes in design-system.md. */
.review-rating { position: relative; display: inline-block; line-height: 0; }
.review-rating .rs-base,
.review-rating .rs-fill { display: inline-flex; gap: 2px; }
.review-rating .rs-base { color: var(--grey-200); }
.review-rating .rs-fill {
  position: absolute; top: 0; left: 0;
  width: 92%;                 /* 4.6 / 5 */
  overflow: hidden;
  color: var(--gold);
}
.review-rating svg { width: 22px; height: 22px; flex-shrink: 0; }

.reviews-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; }

.review-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 24px;
}
.review-card blockquote { margin: 14px 0 0; flex: 1; }
/* 16px floor. This is a customer's own sentence, not chrome — it is
   the whole reason the section exists, so it does not get shrunk. */
.review-card blockquote p { font-size: 16px; line-height: 1.65; color: var(--grey-700); margin: 0; }
.review-card blockquote p::before { content: '\201C'; }
.review-card blockquote p::after { content: '\201D'; }

.review-meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--grey-200); }
.review-author { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
/* .review-date is deliberately retained with no current consumer. Dates were
   pulled 2026-08-26 at Bish's call while the newest review is 16 months old;
   they go back in as soon as the review drive lands something recent, and the
   markup is one <span> per card. Do not delete this rule as dead code. */
.review-date { display: block; font-size: 14px; color: var(--grey-700); margin-top: 2px; }

.reviews-foot { margin-top: 32px; }

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
