/* =============================================================
   STRIDE FOOT HEALTH CLINIC — MAIN STYLESHEET
   Palette: Navy #1a2b4a | Teal #2e8b7a | Sky #5b9ec9 | Oatmeal #f5f0e8
   ============================================================= */

/* Smooth cross-fade between full-page navigations instead of a hard cut.
   No-op in browsers that don't support it yet (Safari/Firefox) — they
   just keep the existing instant-swap behavior. */
@view-transition {
  navigation: auto;
}

/* Self-hosted fonts — same files Google Fonts served, but same-origin
   (no extra DNS/TLS round-trips to fonts.googleapis.com / fonts.gstatic.com). */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallback faces: occupy the same box as the real webfont
   while it loads, so the eventual swap doesn't reflow/shift the layout. */
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia');
  size-adjust: 122.74%;
  ascent-override: 75.28%;
  descent-override: 23.38%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 138.27%;
  ascent-override: 70.06%;
  descent-override: 17.44%;
  line-gap-override: 0%;
}
/* Android ships Noto Serif/Roboto, not Georgia/Arial — local() above
   silently fails to match there, so it needs its own matched fallback. */
@font-face {
  font-family: 'Cormorant Garamond Fallback Android';
  src: local('Noto Serif');
  size-adjust: 101.12%;
  ascent-override: 91.37%;
  descent-override: 28.38%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback Android';
  src: local('Roboto');
  size-adjust: 116.50%;
  ascent-override: 83.16%;
  descent-override: 20.71%;
  line-gap-override: 0%;
}

:root {
  --navy:       #1a2b4a;
  --navy-dark:  #111e35;
  --navy-mid:   #243659;
  --teal:       #2e8b7a;
  --teal-light: #3aa692;
  --teal-dark:  #22685c;
  --sky:        #5b9ec9;
  --sky-light:  #7db8d8;
  --oatmeal:    #f5f0e8;
  --oatmeal-dark: #ede5d5;
  --cream:      #faf7f2;
  --text-dark:  #1a2b4a;
  --text-mid:   #3a4d6a;
  --text-light: #6b7c96;
  --white:      #ffffff;
  --border:     rgba(26,43,74,0.12);

  --font-serif: 'Cormorant Garamond', 'Cormorant Garamond Fallback', 'Cormorant Garamond Fallback Android', Georgia, serif;
  --font-sans:  'Inter', 'Inter Fallback', 'Inter Fallback Android', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius:     3px;
  --radius-md:  5px;
  --shadow:     0 2px 12px rgba(26,43,74,0.1);
  --shadow-md:  0 4px 24px rgba(26,43,74,0.14);
  --shadow-lg:  0 8px 40px rgba(26,43,74,0.18);

  --transition: 0.25s ease;
  --nav-h:      72px;
}

/* ===================== BASE RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--oatmeal);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 500;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--sky-light); }

.section-title {
  color: var(--navy);
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===================== LAYOUT ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.text-center-block {
  text-align: center;
  margin-bottom: 3rem;
}
.text-center-block .lead-text { margin: 0.75rem auto 0; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

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

.btn-secondary {
  background: #024964;
  color: var(--white);
  border-color: #024964;
}
.btn-secondary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover { background: var(--oatmeal); }

.btn-large { padding: 0.9rem 2.25rem; font-size: 0.95rem; }
.btn-sm    { padding: 0.55rem 1.25rem; font-size: 0.8rem; }
.btn-full  { width: 100%; }

/* ===================== NAVIGATION ===================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(2,73,100,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .nav-inner { padding: 0 2rem; } }

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
  align-items: flex-start;
}
/* Nav logo: 50% larger than original 40px = 60px */
.nav-logo .logo-img {
  height: 60px;
  width: auto;
  max-width: 240px;
}
.logo-stride {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-light);
  font-weight: 400;
}

/* Always show nav links — no hamburger */
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links li a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-links li a.nav-cta {
  background: var(--cream);
  color: var(--navy);
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
}
.nav-links li a.nav-cta:hover { background: var(--white); color: var(--navy); }
.nav-links li a.nav-cta.active { background: var(--white); color: var(--navy); }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-links.open { max-height: 80vh; overflow-y: auto; }
  .nav-links li a { padding: 0.9rem 1.5rem; border-radius: 0; }
  .nav-links li a.nav-cta { margin: 0.5rem 1.5rem; text-align: center; }
}

/* ===================== PARALLAX ===================== */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .parallax-bg { background-attachment: scroll; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
}
.hero-home { background-image: url('../img/pexels-andrew-7400269.webp'); }
@media (max-width: 768px) {
  .hero-home { background-image: url('../img/pexels-andrew-7400269-mobile.webp'); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,30,53,0.82) 0%, rgba(26,43,74,0.65) 60%, rgba(46,139,122,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}
@media (min-width: 768px) { .hero-content { padding: 5rem 2rem 3.5rem; } }

.hero-content-inner {
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 1rem;
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 768px) { .page-hero-content { padding: 5rem 2rem 3.5rem; } }
.page-hero-content h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero-content p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 560px; }

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
  border-bottom: 2px solid var(--teal);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.trust-item svg { width: 14px; height: 14px; color: var(--sky-light); flex-shrink: 0; }
.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.2);
  display: none;
}
@media (min-width: 768px) { .trust-divider { display: block; } }

/* ===================== SECTIONS ===================== */
section:not(.hero):not(.page-hero):not(.trust-bar):not(.parallax-callout):not(.section-areas):not(.site-footer) {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  section:not(.hero):not(.page-hero):not(.trust-bar):not(.parallax-callout):not(.section-areas):not(.site-footer) {
    padding: 6rem 0;
  }
}

/* ===================== INTRO GRID ===================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid.reverse .intro-image { order: 2; }
  .intro-grid.reverse .intro-content { order: 1; }
}
.intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) { .intro-image img { height: 500px; } }
.section-about-intro .intro-image img { height: 580px; }
@media (min-width: 900px) { .section-about-intro .intro-image img { height: 680px; } }
.intro-content p { color: var(--text-mid); margin-bottom: 1rem; }
.intro-content .btn { margin-top: 0.75rem; }

/* ===================== SERVICES GRID ===================== */
.section-services { background: var(--oatmeal-dark); }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-intro-text {
  color: var(--text-mid);
  max-width: 560px;
  margin: 0.5rem auto 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.03); }
.service-card-img { overflow: hidden; }
.service-card-body {
  padding: 1.5rem;
}
.service-icon {
  width: 36px;
  height: 36px;
  background: rgba(46,139,122,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}
.service-icon svg { width: 18px; height: 18px; color: var(--teal); }
.service-card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card-body p { font-size: 0.88rem; color: var(--text-mid); margin: 0; line-height: 1.6; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ===================== PARALLAX CALLOUT ===================== */
.parallax-callout {
  position: relative;
  padding: 6rem 0;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,74,0.72);
}
.parallax-overlay.dark { background: rgba(10,20,40,0.8); }
.callout-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.callout-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.callout-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.callout-content .btn { margin-top: 0; }

/* ===================== WHY GRID ===================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 40px;
  height: 40px;
  background: rgba(46,139,122,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.why-icon svg { width: 20px; height: 20px; color: var(--teal); }
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.88rem; color: var(--text-mid); margin: 0; line-height: 1.6; }

/* ===================== TESTIMONIALS ===================== */
.section-testimonials { background: var(--navy); }
.section-testimonials .section-label { color: var(--sky-light); }
.section-testimonials .section-title { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.09); }
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}
.testimonial-stars svg { width: 14px; height: 14px; color: var(--sky-light); }
.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-card cite {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sky-light);
  letter-spacing: 0.06em;
  font-style: normal;
}

/* ===================== AREAS SECTION ===================== */
.section-areas {
  position: relative;
  padding: 6rem 0;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.areas-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.areas-content h2 { color: var(--white); margin-bottom: 0.75rem; }
.areas-content > p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.areas-grid span {
  background: rgba(91,158,201,0.25);
  border: 1px solid rgba(91,158,201,0.4);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
}
.areas-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}

/* ===================== CTA BLOCK ===================== */
.section-cta-block { background: var(--oatmeal-dark); }
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  .cta-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
  }
}
.cta-block-content .section-label { color: var(--sky-light); }
.cta-block-content h2 { color: var(--white); margin-bottom: 0.75rem; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.cta-block-content > p { color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; }
.cta-contact-details { display: flex; flex-direction: column; gap: 0.625rem; }
.cta-contact-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sky-light);
  transition: color var(--transition);
}
.cta-contact-link:hover { color: var(--white); }
.cta-contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: #024964;
  padding: 4rem 0 0;
  border-top: 3px solid var(--teal);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; } }

/* Footer logo: 150% larger than original 32px = 80px, left aligned */
.footer-logo {
  display: block;
  margin-bottom: 1.25rem;
}
.footer-logo .logo-img {
  height: 80px;
  width: auto;
  max-width: 325px;
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 0.75rem; }
.footer-credential {
  font-size: 0.78rem;
  color: var(--sky-light);
  line-height: 1.7;
  font-weight: 500;
}
.footer-shield {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12.5px;
  margin: 0 0 0.85rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.footer-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateY(-3.75px);
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-nav ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  display: block;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--sky-light); }

.footer-contact ul { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; }
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact ul li svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--sky-light); }
.footer-contact ul li a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-contact ul li a:hover { color: var(--white); }
.footer-areas p { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom ul { display: flex; gap: 1.5rem; }
.footer-bottom ul li a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom ul li a:hover { color: rgba(255,255,255,0.7); }

/* Mobile: tighten footer height */
@media (max-width: 768px) {
  .site-footer { padding: 2.25rem 0 0; }
  .footer-grid { gap: 1.75rem; margin-bottom: 1.75rem; }
  .footer-logo .logo-img { height: 56px; }
  .footer-logo { margin-bottom: 0.85rem; }
  .footer-brand p { margin-bottom: 0.5rem; }
  .footer-nav h4, .footer-contact h4 { margin-bottom: 0.6rem; }
  .footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .footer-nav ul li a { padding: 0.2rem 0; }
  .footer-contact ul { gap: 0.45rem; margin-bottom: 1rem; }
  .footer-bottom { padding: 1rem 0; gap: 0.5rem; }
}

/* ===================== ABOUT PAGE ===================== */
.section-about-intro { background: var(--cream); }
.section-credentials { background: var(--oatmeal-dark); }
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .credentials-grid { grid-template-columns: 1fr 1fr; } }

.credential-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.credential-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.credential-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,43,74,0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.credential-icon svg { width: 22px; height: 22px; color: var(--navy); }
.credential-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.credential-item p { font-size: 0.88rem; color: var(--text-mid); margin: 0; }

.section-who-help { background: var(--cream); }
.who-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) { .who-help-grid { grid-template-columns: 1fr 1fr; } }
.who-help-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.who-help-content p { color: var(--text-mid); }
.help-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.help-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.help-list li svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

/* ===================== TREATMENTS PAGE ===================== */
.section-treatments-intro { background: var(--cream); text-align: center; }
.section-treatment-blocks { background: var(--oatmeal); }
.section-treatment-blocks .container { display: flex; flex-direction: column; gap: 0; }

.treatment-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.treatment-block:last-child { border-bottom: none; }
@media (min-width: 900px) {
  .treatment-block { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .treatment-block.reverse .treatment-block-img { order: 2; }
  .treatment-block.reverse .treatment-block-content { order: 1; }
}

.treatment-block-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) { .treatment-block-img img { height: 420px; } }

.treatment-block-content { padding-top: 1.5rem; }
@media (min-width: 900px) { .treatment-block-content { padding-top: 0; } }
.treatment-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: rgba(46,139,122,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.treatment-block-content h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.treatment-block-content p { color: var(--text-mid); margin-bottom: 0.875rem; }
.treatment-block-content .btn { margin-top: 0.75rem; }

/* ===================== PRICING PAGE ===================== */
.section-pricing { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(46,139,122,0.15), var(--shadow-md);
}
.pricing-card-wide {
  grid-column: 1 / -1;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .pricing-card-wide { grid-column: 1 / -1; }
}

.pricing-card-header {
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.pricing-card.featured .pricing-card-header { background: var(--teal); }
.pricing-card-header h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
}
.pricing-price .price-amount {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
}
.pricing-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pricing-card-body > p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.pricing-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.83rem;
  color: var(--text-mid);
}
.pricing-includes li svg { width: 14px; height: 14px; color: var(--teal); flex-shrink: 0; }
.pricing-card-body .btn { margin-top: auto; }

.pricing-notes {
  background: var(--oatmeal);
  border-left: 3px solid var(--sky);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.pricing-notes h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 0.5rem; }
.pricing-notes p { font-size: 0.875rem; color: var(--text-mid); margin: 0; }

.section-policy { background: var(--oatmeal-dark); }
.policy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .policy-grid { grid-template-columns: 1fr 1fr; } }
.policy-block {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.policy-icon {
  width: 44px;
  height: 44px;
  background: rgba(46,139,122,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.policy-icon svg { width: 22px; height: 22px; color: var(--teal); }
.policy-block h3 { font-size: 1.2rem; margin-bottom: 0.875rem; }
.policy-block p { font-size: 0.875rem; color: var(--text-mid); }

/* ===================== FAQ PAGE ===================== */
.section-faq { background: var(--cream); }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
  }
  .faq-intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
}
.faq-intro p { color: var(--text-mid); margin-bottom: 1.5rem; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-question[aria-expanded="true"] { color: var(--teal); }
.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
  transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-answer.open { max-height: 600px; }
.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

.section-faq-cta { background: var(--navy); }
.faq-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.faq-cta-inner h2 { color: var(--white); margin-bottom: 0.875rem; }
.faq-cta-inner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.faq-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.faq-cta-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.faq-cta-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ===================== CONTACT PAGE ===================== */
.section-contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.5rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .contact-details { display: contents; }
  .contact-booking { order: 1; }
  .contact-methods { order: 2; }
  .contact-areas { order: 3; }
}

.contact-booking {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.contact-method:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.contact-method-icon {
  width: 44px;
  height: 44px;
  background: rgba(46,139,122,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon svg { width: 20px; height: 20px; color: var(--teal); }
.contact-method-text { display: flex; flex-direction: column; gap: 0.125rem; }
.contact-method-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); font-weight: 500; }
.contact-method-text strong { font-size: 1rem; color: var(--navy); }

.contact-areas h3 { font-size: 0.75rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.875rem; }
.areas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}
.areas-tags span {
  background: rgba(91,158,201,0.12);
  border: 1px solid rgba(91,158,201,0.3);
  color: var(--navy-mid);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
}
.areas-note-small { font-size: 0.8rem; color: var(--text-light); margin-top: 0.5rem; }

.booking-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
/* Match the banner's bottom to the email card (2 cards = 44px icon + 40px padding + 2px border = 86px each, + 16px gap = 188px) */
@media (min-width: 768px) {
  .booking-banner { min-height: 188px; }
}
.booking-banner-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.booking-banner-icon svg { width: 22px; height: 22px; color: var(--sky-light); }
.booking-banner-text strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 0.375rem; }
.booking-banner-text p { color: rgba(255,255,255,0.65); font-size: 0.83rem; line-height: 1.55; margin-bottom: 1rem; }

/* ===================== CONTACT FORM ===================== */
.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--text-mid); margin-bottom: 2rem; }

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.form-alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.form-alert-success { background: rgba(46,139,122,0.1); border: 1px solid rgba(46,139,122,0.3); color: var(--teal-dark); }
.form-alert-success svg { color: var(--teal); }
.form-alert-error { background: rgba(180,50,50,0.08); border: 1px solid rgba(180,50,50,0.25); color: #7a2020; }
.form-alert-error svg { color: #b43232; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; position: relative; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
}
.required { color: var(--teal); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,139,122,0.12);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #b43232;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }

.form-error-msg {
  font-size: 0.75rem;
  color: #b43232;
  display: none;
}
.form-error-msg.visible { display: block; }

/* ===================== TERMS PAGE ===================== */
.section-terms { background: var(--oatmeal-dark); }
.terms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .terms-grid { grid-template-columns: 1fr 1fr; } }
.terms-block {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.terms-block h3 { font-size: 1.2rem; margin-bottom: 0.875rem; }
.terms-block p { font-size: 0.875rem; color: var(--text-mid); margin-bottom: 0.875rem; }
.terms-block p:last-child { margin-bottom: 0; }

/* ===================== AOS (simple fallback) ===================== */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="60"]  { transition-delay: 0.06s; }
[data-aos][data-aos-delay="80"]  { transition-delay: 0.08s; }
[data-aos][data-aos-delay="120"] { transition-delay: 0.12s; }
[data-aos][data-aos-delay="160"] { transition-delay: 0.16s; }
[data-aos][data-aos-delay="180"] { transition-delay: 0.18s; }
[data-aos][data-aos-delay="240"] { transition-delay: 0.24s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.30s; }

/* ===================== UTILITIES ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
