/* =========================================
   Healthy Feet — Main Stylesheet
   Design system: Notion-inspired
   See /design/DESIGN.md for full spec

   Colour palette (Healthy Feet blues):
     White:         #ffffff
     Off-white:     #f8fbfd
     Pale blue:     #daeef7
     Mid blue:      #a8d8ea
     Accent blue:   #3a9cbf   ← replaces Notion Blue
     Dark navy:     #1e3a4a   ← replaces Notion warm dark
     Logo green:    #43a748   ← sampled from logo ring; used on top bar & footer
     Body text:     rgba(0,0,0,0.85)
     Secondary:     #615d59   ← adopted from Notion
     Muted:         #a39e98   ← adopted from Notion

   Typography: Inter (Google Fonts)
   Negative letter-spacing at display sizes
   4-layer whisper shadow on cards
   1px solid rgba(0,0,0,0.1) borders throughout
   4px radius buttons/inputs, 12px cards, 9999px pills
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: rgba(0,0,0,0.9);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: #3a9cbf; text-decoration: none; transition: color 0.15s; }
a:hover { color: #1e3a4a; }

h1, h2, h3, h4 {
  color: #1e3a4a;
  font-weight: 700;
  line-height: 1.04;
  font-feature-settings: "lnum", "locl";
}

/* Sub-heading level: 26px / 1.63rem, line-height 1.23, -0.625px tracking */
h3 {
  font-size: 1.38rem;
  letter-spacing: -0.625px;
  line-height: 1.23;
}

/* Focus visible — all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #3a9cbf;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(58,156,191,0.15);
}

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 80px 0; }
#services   { padding-top: 40px; }
#results    { padding-top: 48px; }
#results .section-heading { margin-bottom: 32px; }
.section-alt { background: #f8fbfd; }

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
/* Section heading: 48px / 3rem, line-height 1.00, -1.5px tracking */
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1.5px;
  line-height: 1.0;
  margin-bottom: 16px;
}
.section-heading p {
  max-width: 540px;
  margin: 0 auto;
  color: #615d59;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.divider {
  width: 48px; height: 2px;
  background: #3a9cbf;
  margin: 16px auto 0;
  border-radius: 9999px;
}

/* ===== Services grid (landing page) — 4×2 ===== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    rgba(0,0,0,0.04)    0px 4px 18px,
    rgba(0,0,0,0.027)   0px 2.025px 7.847px,
    rgba(0,0,0,0.02)    0px 0.8px 2.925px,
    rgba(0,0,0,0.01)    0px 0.175px 1.041px;
}

.svc-card {
  padding: 28px 24px;
  background: #ffffff;
  border-right: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Last card in each row — no right border */
.svc-card:nth-child(4n) {
  border-right: none;
}

/* Cards in the last row — no bottom border */
.svc-card:nth-last-child(-n+4) {
  border-bottom: none;
}

.svc-card:hover {
  background: #f8fbfd;
  box-shadow: inset 0 2px 12px rgba(0,0,0,0.06);
}

/* ── Placeholder cards ──────────────────────
   Dashed inset outline, muted palette,
   no hover state change.
   ─────────────────────────────────────────── */
.svc-card--placeholder {
  background: #f8fbfd;
  outline: 1.5px dashed rgba(0,0,0,0.14);
  outline-offset: -10px;
}
.svc-card--placeholder:hover {
  background: #f8fbfd;
  box-shadow: none;
}
.svc-card--placeholder .svc-num {
  color: #c8c4c0;
}
.svc-card--placeholder h3 {
  color: #b5b0ab;
}
.svc-card--placeholder p {
  color: #c8c4c0;
}

.svc-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3a9cbf;
  letter-spacing: 0.125px;
  margin-bottom: 14px;
}

.svc-card h3 {
  font-size: 1.38rem;
  font-weight: 700;
  color: #1e3a4a;
  letter-spacing: -0.625px;
  line-height: 1.23;
  margin-bottom: 12px;
}

.svc-card p {
  font-size: 1rem;
  color: #615d59;
  line-height: 1.6;
}

.svc-footnote {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #a39e98;
}

/* --- Buttons (Notion-style: 4px radius, scale active) --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.33;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
/* Active/pressed: scale(0.9) per spec */
.btn:active { transform: scale(0.9); }

.btn-primary {
  background: #3a9cbf;
  color: #ffffff;
  border-color: #3a9cbf;
}
.btn-primary:hover { background: #2d8aab; border-color: #2d8aab; color: #fff; }

.btn-outline {
  background: transparent;
  color: #3a9cbf;
  border-color: #3a9cbf;
}
.btn-outline:hover { background: #3a9cbf; color: #fff; }

.btn-white {
  background: #ffffff;
  color: #1e3a4a;
  border-color: rgba(255,255,255,0.8);
}
.btn-white:hover { background: rgba(255,255,255,0.88); color: #1e3a4a; }

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 3px;
  padding-bottom: 3px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 34px; height: 34px;
  background: #3a9cbf;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a4a;
  letter-spacing: -0.25px;
}
.logo-text span { color: #3a9cbf; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
/* Nav links: Inter 15px weight 600, near-black */
.nav-links a {
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: #1e3a4a;
  background: rgba(0,0,0,0.05);
}
.nav-links .btn {
  padding: 8px 16px;
  font-size: 0.88rem;
  margin-left: 8px;
}
/* Ensure primary CTA text stays white — overrides the .nav-links a colour rule */
.nav-links .btn-primary,
.nav-links .btn-primary:hover {
  color: #ffffff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #1e3a4a;
  border-radius: 9999px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1e3a4a 0%, #3a9cbf 100%);
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Pill badge — 9999px radius, 12px 600 weight, positive tracking */
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: #daeef7;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

/* Display hero: -2px letter-spacing, weight 700, line-height 1.0 */
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 20px;
}

/* Body large: 20px / 1.25rem, weight 600, line-height 1.40, -0.125px tracking */
.hero p {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.4;
  letter-spacing: -0.125px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
}

.hero-card h3 {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1rem;
  letter-spacing: -0.125px;
  line-height: 1.5;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero-stat { text-align: center; }
/* Metric: 40px+ weight 700, tight tracking */
.hero-stat-num {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.0;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.125px;
}

/* --- Trust bar (pill icons) --- */
.trust-bar {
  background: #daeef7;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.trust-items {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a4a;
}
.trust-item .icon {
  width: 28px; height: 28px;
  background: #3a9cbf;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* --- Service cards (whisper border + 4-layer shadow) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* 4-layer card shadow — max individual opacity 0.04 */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow 0.2s;
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
}
.service-card:hover {
  box-shadow:
    rgba(0,0,0,0.07)  0px 8px 28px,
    rgba(0,0,0,0.045) 0px 4px 12px,
    rgba(0,0,0,0.03)  0px 1.5px 4.5px,
    rgba(0,0,0,0.015) 0px 0.3px 1.5px;
}

.service-icon {
  width: 48px; height: 48px;
  background: #daeef7;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

/* Card title: 22px / 1.375rem, weight 700, line-height 1.27, -0.25px tracking */
.service-card h3 {
  font-size: 1.375rem;
  letter-spacing: -0.25px;
  line-height: 1.27;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: #615d59;
  margin-bottom: 16px;
  line-height: 1.6;
}
.service-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a9cbf;
  letter-spacing: -0.25px;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 14px; right: 20px;
  font-size: 3.5rem;
  line-height: 1;
  color: #daeef7;
  font-family: Georgia, serif;
}

.stars { color: #f0a500; font-size: 0.88rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.9rem;
  color: #615d59;
  margin-bottom: 18px;
  font-style: italic;
  line-height: 1.65;
}

.testimonial-author { display: flex; align-items: center; gap: 10px; }
/* Author avatar: pill circle */
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 9999px;
  background: #daeef7;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #3a9cbf;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  color: #1e3a4a;
  font-size: 0.875rem;
  letter-spacing: -0.125px;
}
.author-location {
  font-size: 0.75rem;
  color: #a39e98;
  font-weight: 500;
  letter-spacing: 0.125px;
  margin-top: 1px;
}

/* --- Forms (4px radius, whisper border) --- */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3a4a;
  margin-bottom: 6px;
}

/* Inputs: 4px radius, 8px 12px padding (spec: 6px — kept slightly larger for form usability), whisper border */
input, select, textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  font-size: 0.94rem;
  font-family: inherit;
  color: rgba(0,0,0,0.9);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
input::placeholder, textarea::placeholder { color: #a39e98; }
input:focus, select:focus, textarea:focus {
  border-color: #3a9cbf;
  box-shadow: 0 0 0 2px rgba(58,156,191,0.15);
}
textarea { resize: vertical; min-height: 120px; }

/* Form card: 16px radius (featured card), 5-layer deep shadow */
.form-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 40px;
  box-shadow:
    rgba(0,0,0,0.01) 0px 1px 3px,
    rgba(0,0,0,0.02) 0px 3px 7px,
    rgba(0,0,0,0.02) 0px 7px 15px,
    rgba(0,0,0,0.04) 0px 14px 28px,
    rgba(0,0,0,0.05) 0px 23px 52px;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.about-photo-wrap { position: relative; }
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #daeef7, #a8d8ea);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a9cbf;
  font-size: 4rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
}
.about-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: #3a9cbf;
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow:
    rgba(0,0,0,0.04) 0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px;
}

/* Sub-heading secondary: ~32px, -1.25px tracking */
.about-bio h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -1.25px;
  line-height: 1.04;
  margin-bottom: 4px;
}
.about-bio .subtitle {
  color: #3a9cbf;
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 20px;
}
.about-bio p {
  margin-bottom: 16px;
  color: #615d59;
  font-size: 0.95rem;
  line-height: 1.7;
}

.qualifications { list-style: none; margin-top: 24px; }
.qualifications li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
  color: #615d59;
}
.qualifications li:last-child { border-bottom: none; }
.qual-icon {
  width: 22px; height: 22px;
  background: #daeef7;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #3a9cbf;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: stretch; }
.contact-left { display: flex; flex-direction: column; height: 100%; }
.contact-left-bottom { flex: 1; display: flex; flex-direction: column; padding-top: 28px; }
.map-hover-wrap:hover .map-ring-overlay { opacity: 0; }

.contact-info h3 {
  font-size: 1.25rem;
  letter-spacing: -0.25px;
  margin-bottom: 20px;
  line-height: 1.27;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: #daeef7;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #3a9cbf;
  font-size: 1rem;
  flex-shrink: 0;
}
/* Badge micro-label style for contact headings */
.contact-detail-text strong {
  display: block;
  color: #1e3a4a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-detail-text span { font-size: 0.9rem; color: #615d59; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.social-link:active { transform: scale(0.95); }

.social-link.instagram { color: #e1306c; border-color: rgba(225,48,108,0.35); }
.social-link.instagram:hover { background: #e1306c; color: #fff; border-color: #e1306c; }

.social-link.facebook { color: #1877f2; border-color: rgba(24,119,242,0.35); }
.social-link.facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }

.social-link.tiktok { color: #010101; border-color: rgba(0,0,0,0.2); }
.social-link.tiktok:hover { background: #010101; color: #fff; border-color: #010101; }

/* --- Payment placeholder --- */
.payment-section {
  background: #f8fbfd;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin-top: 32px;
}
.payment-section h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.25px;
}
.payment-section p { font-size: 0.875rem; color: #615d59; margin-bottom: 20px; line-height: 1.6; }
.payment-icons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.payment-badge {
  padding: 5px 14px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: #615d59;
  background: #fff;
}

/* --- Page hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #1e3a4a 0%, #3a9cbf 100%);
  padding: 32px 0;
  text-align: center;
  color: #fff;
}
/* Page hero: section-heading scale, -1.5px tracking, 3rem max */
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1.5px;
  line-height: 1.0;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* --- Page hero variant: background image with overlay ---
   Add class page-hero--img to any .page-hero section,
   then set style="background-image:url('...')" inline.
   Mimics the landing page hero treatment exactly. */
.page-hero--img {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #1e3a4a; /* fallback if image hasn't loaded */
}
.page-hero--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 74, 0.55);
  z-index: 0;
}
.page-hero--img .container {
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.site-footer {
  background: #1e3a4a;
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

/* Footer col headings: badge micro-label style */
.footer-col h4 {
  color: rgba(255,255,255,0.95);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.125px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.15s;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.4);
}

/* --- Before / After photos (reviews page) --- */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.ba-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Pill label — 9999px */
.ba-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(30,58,74,0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  z-index: 1;
}

.ba-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f8fbfd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #a39e98;
}

.ba-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background: #f8fbfd;
  display: block;
}

/* Reviews list: wider cards to accommodate photos */
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}

/* --- Notification toast (5-layer deep shadow) --- */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1e3a4a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow:
    rgba(0,0,0,0.01) 0px 1px 3px,
    rgba(0,0,0,0.02) 0px 3px 7px,
    rgba(0,0,0,0.02) 0px 7px 15px,
    rgba(0,0,0,0.04) 0px 14px 28px,
    rgba(0,0,0,0.05) 0px 23px 52px;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1rem; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-card     { display: none; }
  .about-grid    { grid-template-columns: 1fr; }
  .about-badge   { right: 0; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .form-row      { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 86px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow:
      rgba(0,0,0,0.04) 0px 4px 18px,
      rgba(0,0,0,0.027) 0px 2px 7.85px;
  }
  .nav-links.open { display: flex; }
  .hamburger     { display: flex; }
  .hero          { padding: 64px 0 48px; }
  /* Section spacing: 80px desktop → 48px mobile per spec */
  .section       { padding: 48px 0; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-card     { padding: 24px 20px; }
  .trust-items   { gap: 16px; }
  .container     { padding: 0 20px; }
  .reviews-list  { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero h1             { font-size: 1.75rem; letter-spacing: -1px; }
  .section-heading h2  { font-size: 1.5rem; letter-spacing: -0.75px; }
  .page-hero h1        { font-size: 1.6rem; letter-spacing: -1px; }
}

/* =========================================
   Scroll fade-in
   Intersection Observer adds .is-visible
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger helpers — apply alongside .fade-in */
.fade-delay-1 { transition-delay: 0.10s; }
.fade-delay-2 { transition-delay: 0.20s; }
.fade-delay-3 { transition-delay: 0.30s; }
.fade-delay-4 { transition-delay: 0.40s; }

/* =========================================
   Landing page hero  (lp-hero)
   Full-height, centred, dark gradient
   ========================================= */
.lp-hero {
  background: linear-gradient(145deg, #1e3a4a 0%, #2d6f8a 55%, #3a9cbf 100%);
  color: #fff;
  min-height: 88vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.lp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.lp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}
/* Display hero — ~64px scale, -2px tracking */
.lp-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 20px;
}
.lp-hero .lp-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  line-height: 1.55;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.lp-hero .hero-actions {
  justify-content: center;
  gap: 14px;
}
/* Scroll hint */
.lp-scroll-hint {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.125px;
}
.lp-scroll-hint svg {
  animation: lp-bounce 1.8s ease-in-out infinite;
}
@keyframes lp-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* =========================================
   Landing page — About section
   ========================================= */
.lp-about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}
.lp-about-photo {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
  position: relative;
}
.lp-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-about-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #daeef7 0%, #a8d8ea 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #3a9cbf;
  font-size: 4.5rem;
}
.lp-about-placeholder span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  color: #3a9cbf;
  opacity: 0.7;
}
/* Subtle badge overlaid on photo */
.lp-photo-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #3a9cbf;
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow:
    rgba(0,0,0,0.04) 0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px;
}
.lp-about-text .section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  color: #3a9cbf;
  margin-bottom: 14px;
}
.lp-about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -1.25px;
  line-height: 1.04;
  color: #1e3a4a;
  margin-bottom: 8px;
}
.lp-about-text .lp-about-role {
  font-size: 0.94rem;
  font-weight: 600;
  color: #3a9cbf;
  margin-bottom: 20px;
}
.lp-about-text p {
  font-size: 0.95rem;
  color: #615d59;
  line-height: 1.75;
  margin-bottom: 14px;
}
.lp-about-text .btn { margin-top: 10px; }

/* =========================================
   Landing page — B&A preview grid
   ========================================= */
/* ── Why You Need a Foot Practitioner section ── */
.why-intro {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #4a6070;
  font-style: italic;
  border-left: 4px solid #3a9cbf;
  padding-left: 24px;
  text-align: left;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a4a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.why-card p {
  font-size: 0.92rem;
  color: #5a6f7c;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { font-size: 1rem; }
}

.ba-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ba-pair-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
  transition: box-shadow 0.2s;
}
.ba-pair-card:hover {
  box-shadow:
    rgba(0,0,0,0.07)  0px 8px 28px,
    rgba(0,0,0,0.045) 0px 4px 12px,
    rgba(0,0,0,0.03)  0px 1.5px 4.5px,
    rgba(0,0,0,0.015) 0px 0.3px 1.5px;
}
.ba-pair-card .before-after {
  margin-bottom: 0;
  border-radius: 0;
}
.ba-pair-footer {
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.8rem;
  color: #615d59;
  font-weight: 500;
  text-align: center;
}

/* =========================================
   Before/After Carousel  (previous-patients)
   ========================================= */
.ba-carousel-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.ba-carousel {
  background: #0d2030;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.15);
  overflow: hidden;
  box-shadow:
    rgba(0,0,0,0.01) 0px 1px 3px,
    rgba(0,0,0,0.02) 0px 3px 7px,
    rgba(0,0,0,0.02) 0px 7px 15px,
    rgba(0,0,0,0.04) 0px 14px 28px,
    rgba(0,0,0,0.05) 0px 23px 52px;
}
/* Slides */
.ba-slide { display: none; }
.ba-slide.active { display: block; }

.ba-slide-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d2030;
}
.ba-state-before,
.ba-state-after {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
}
.ba-state-after { opacity: 0; pointer-events: none; }
.ba-state-after.revealed { opacity: 1; pointer-events: auto; }

/* Carousel image placeholder */
.ba-slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.25);
  font-size: 2.5rem;
}
.ba-slide-placeholder figcaption {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.125px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}
.ba-slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel label (Before / After pill) */
.ba-carousel-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14,32,48,0.8);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Reveal button */
.ba-reveal-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  color: #1e3a4a;
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  z-index: 5;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.ba-reveal-btn:hover { background: #fff; }
.ba-reveal-btn:active { transform: translateX(-50%) scale(0.94); }
.ba-reveal-btn.hidden { display: none; }

/* Controls bar */
.ba-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #1e3a4a;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ba-nav-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit;
  transition: background 0.15s;
}
.ba-nav-btn:hover  { background: rgba(255,255,255,0.16); }
.ba-nav-btn:active { transform: scale(0.9); }
.ba-dots { display: flex; gap: 7px; align-items: center; }
.ba-dot {
  width: 7px; height: 7px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s, width 0.25s;
  border: none;
}
.ba-dot.active { background: #fff; width: 20px; }
.ba-counter {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  min-width: 36px;
  text-align: right;
}

/* =========================================
   Previous Patients — mixed testimonial grid
   ========================================= */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
/* Written review card */
.pp-review-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
}
.pp-review-card::before {
  content: '"';
  position: absolute;
  top: 14px; right: 18px;
  font-size: 3.5rem;
  line-height: 1;
  color: #daeef7;
  font-family: Georgia, serif;
}
.pp-review-text {
  font-size: 0.9rem;
  color: #615d59;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 16px;
}
.pp-reviewer {
  font-size: 0.8rem;
  color: #a39e98;
  font-weight: 600;
  letter-spacing: 0.125px;
}
/* B&A photo card in pp-grid */
.pp-ba-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
}
.pp-ba-card .before-after {
  margin-bottom: 0;
  border-radius: 0;
}
.pp-ba-caption {
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.8rem;
  color: #615d59;
  font-weight: 500;
  text-align: center;
}

/* =========================================
   Responsive — new components
   ========================================= */
@media (max-width: 900px) {
  .lp-about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .lp-about-photo    { max-width: 400px; margin: 0 auto; }
  .lp-photo-badge    { right: 0; }
  .ba-preview-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-hero           { min-height: 85vh; padding: 72px 0 64px; }
  .lp-hero h1        { font-size: 2.25rem; letter-spacing: -1.25px; }
  .ba-preview-grid   { grid-template-columns: 1fr; }
  .ba-carousel-wrap  { margin: 0 -4px; }
  .pp-grid           { grid-template-columns: 1fr; }
}

/* =========================================
   Top contact bar
   ========================================= */
.top-bar {
  background: #1e3a4a;
  color: rgba(255,255,255,0.9);
  padding: 13px 0;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
}
.top-bar-item a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s;
}
.top-bar-item a:hover { color: #fff; }
.top-bar-item svg { opacity: 0.75; flex-shrink: 0; }
.top-bar-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* =========================================
   Hero split — landing page
   Photo slides up on load; catchline beside
   ========================================= */
.hero-split { background: #fff; overflow: hidden; }

.hero-split-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  min-height: 88vh;
}

/* Left — photo column */
.hs-photo-col {
  position: relative;
  overflow: hidden;
  background: #eef5f8;
}
.hs-photo-wrap {
  width: 100%;
  height: 100%;
  animation: photoSlideUp 1.0s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}
.hs-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Placeholder when no photo */
.hs-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(170deg, #daeef7 0%, #a8d8ea 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

@keyframes photoSlideUp {
  from { transform: translateY(110vh); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* Right — text column */
.hs-text-col {
  display: flex;
  align-items: center;
  padding: 80px 72px;
  background: #fff;
}
.hs-text-inner {
  max-width: 520px;
  animation: heroTextIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hs-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  color: #3a9cbf;
  margin-bottom: 16px;
}
/* Catchline — display scale, max compression */
.hs-catchline {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 14px;
}
.hs-catchline-accent {
  white-space: nowrap;
}
.hs-rule {
  width: 100%;
  height: 3px;
  background: #3a9cbf;
  border-radius: 9999px;
  margin-bottom: 14px;
}
.hs-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.25px;
  margin-bottom: 4px;
}
.hs-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3a9cbf;
  margin-bottom: 18px;
}
.hs-bio {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 16px;
}
.hs-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================
   Stats / count-up section
   ========================================= */
.stats-section {
  background: #1e3a4a;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.stat-block {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 8px;
  font-feature-settings: "lnum","locl";
}
.stat-desc {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.125px;
  text-transform: uppercase;
}

/* =========================================
   BA4 — 4 individual before/after cards
   Square aspect ratio, arrow reveals after
   ========================================= */
.ba4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}
.ba4-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
  background: #eef5f8;
}
.ba4-before,
.ba4-after {
  position: absolute;
  inset: 0;
}
.ba4-before img,
.ba4-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder panel */
.ba4-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #daeef7, #a8d8ea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(58,156,191,0.35);
}
.ba4-placeholder svg { width: 48px; height: 48px; }
/* After panel: wipe-reveal via clip-path */
.ba4-after {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ba4-card.revealed .ba4-after {
  clip-path: inset(0 0% 0 0);
}
/* Label pill */
.ba4-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14,32,48,0.72);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 9999px;
  z-index: 5;
  backdrop-filter: blur(4px);
}
/* Circular arrow button */
.ba4-arrow-btn {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  box-shadow: rgba(0,0,0,0.18) 0px 2px 10px;
  transition: background 0.15s;
  color: #1e3a4a;
}
.ba4-arrow-btn:hover  { background: #fff; }
.ba4-arrow-btn:active { transform: translateX(-50%) scale(0.9); }
.ba4-arrow-btn svg {
  transition: transform 0.35s ease;
  display: block;
}
.ba4-card.revealed .ba4-arrow-btn svg {
  transform: rotate(180deg);
}

/* =========================================
   Logo image — transparent PNG, no white ring
   ========================================= */
.logo-img-wrap {
  display: inline-flex;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* =========================================
   Compact footer override
   ========================================= */
.site-footer          { padding: 24px 0 12px; }
.footer-grid          { grid-template-columns: 1.8fr 1fr 1fr; gap: 32px; margin-bottom: 16px; }

/* =========================================
   Responsive — new components
   ========================================= */
@media (max-width: 1000px) {
  .hero-split-grid  { grid-template-columns: 1fr; }
  .hs-photo-col     { min-height: 70vw; max-height: 520px; }
  .hs-text-col      { padding: 56px 40px; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .stat-block       { padding: 20px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-block:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-block:last-child,
  .stat-block:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}
@media (max-width: 640px) {
  .top-bar           { display: none; }
  .hs-text-col       { padding: 40px 24px; }
  .hs-catchline      { font-size: 2rem; letter-spacing: -1.25px; }
  .hs-catchline-accent { white-space: normal; }
  .ba4-grid          { gap: 10px; }
  .footer-grid       { grid-template-columns: 1fr; }
  .hs-photo-col      { min-height: 85vw; max-height: 480px; }
  .hs-photo-wrap img { object-position: center 15%; }
}

/* =========================================
   Redesigned hero — full-bleed banner behind
   centred 960px content card on top
   ========================================= */

/* =========================================
   Qualifications banner — lean strip
   ========================================= */
.quals-section {
  background: #1e3a4a;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.quals-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.qual-item {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 0 40px;
}
.qual-item:first-child { padding-left: 0; }
.qual-item:last-child  { padding-right: 0; }
.qual-divider {
  width: 1px;
  min-height: 56px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  align-self: stretch;
}
/* White circle — acronym above, green tick below, both inside */
.qual-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}
.qual-circle-acronym {
  font-size: 0.7rem;
  font-weight: 900;
  color: #1e3a4a;
  letter-spacing: 0.1px;
  line-height: 1;
}
.qual-circle-tick {
  color: #22c55e;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.qual-text { flex: 1; }
.qual-name {
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.125px;
  line-height: 1.35;
  margin-bottom: 5px;
}
.qual-desc {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
}

/* Scroll slide-up animation */
.slide-up {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-section {
  width: 100%;
  min-height: 82vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/website-banner.png');
  background-size: cover;
  background-position: center;
  background-color: #1e3a4a;
}
/* Light blue tinted overlay matching the site colour scheme */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 74, 0.55);
  z-index: 0;
}

/* Centred content container — transparent so full-bleed banner shows behind it */
.hs-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

/* ── Left column: photo ── */
.hero-section .hs-photo-col {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  position: static;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  animation: photoSlideUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}

/* Photo wrap fills the full column */
.hero-section .hs-photo-wrap {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  animation: none;
  box-shadow: none;
}

/* Image fills the wrap */
.hero-section .hs-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Right column ── */
.hero-section .hs-text-col {
  flex: unset;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  overflow: visible;
  /* Reset old padding / background from the split-grid layout */
  padding: 0;
  background: transparent;
  align-items: stretch;
  animation: heroTextIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}


/* ── About card ───────────────────────────
   Reuses .form-card for solid white,
   opaque appearance. Reduces the default
   40px padding to fit the layout better.
   ─────────────────────────────────────────── */
.hs-about-card {
  padding: 0;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.hs-enquire-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: auto;
  box-sizing: border-box;
}

.hs-catchline-accent {
  color: #3a9cbf;
  white-space: nowrap;
}


/* ── Mobile stack (< 768px) ───────────────
   Order: photo → counters → about → buttons
   ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hs-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 20px 48px;
  }

  .hero-section .hs-photo-col {
    width: 100%;
    max-width: 340px;
    max-height: 400px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
  }

  .hero-section .hs-text-col {
    padding: 0;
    width: 100%;
    text-align: center;
  }
}

/* ── Services grid — tablet (2 cols) ── */
@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Reset 4-col edge rules */
  .svc-card:nth-child(4n) {
    border-right: 1px solid rgba(0,0,0,0.1);
  }
  .svc-card:nth-last-child(-n+4) {
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  /* Apply 2-col edge rules */
  .svc-card:nth-child(2n) {
    border-right: none;
  }
  .svc-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* ── Services grid — mobile (1 col) ── */
@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  /* Reset all edge rules */
  .svc-card:nth-child(4n),
  .svc-card:nth-child(2n) {
    border-right: 1px solid rgba(0,0,0,0.1);
  }
  .svc-card:nth-last-child(-n+4),
  .svc-card:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  /* Single column: no right border, only dividers between rows */
  .svc-card {
    border-right: none;
  }
  .svc-card:last-child {
    border-bottom: none;
  }
}

/* ── Qualifications mobile stack (< 640px) ── */
@media (max-width: 640px) {
  .quals-grid {
    flex-direction: column;
    gap: 16px;
  }
  .qual-item {
    padding: 0;
  }
  .qual-divider {
    display: none;
  }
}

/* =========================================
   Testimonial marquee — infinite auto-scroll
   Track holds 10 cards (5 originals + 5 clones).
   translateX(-50%) = exactly 5 card-widths,
   always seamless regardless of card width.
   ========================================= */
.tm-outer {
  width: 100%;
  overflow: hidden;
  margin-top: 52px;
  padding-bottom: 20px; /* reveal card shadow */
}

.tm-track {
  display: flex;
  width: max-content;
  animation: tm-scroll 32s linear infinite;
  will-change: transform;
}

/* Pause on hover so users can read comfortably */
.tm-outer:hover .tm-track {
  animation-play-state: paused;
}

@keyframes tm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tm-card {
  width: 20vw;
  min-width: 240px;
  padding: 0 10px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.tmc-inner {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2.025px 7.847px,
    rgba(0,0,0,0.02)  0px 0.8px 2.925px,
    rgba(0,0,0,0.01)  0px 0.175px 1.041px;
  height: 100%;
  box-sizing: border-box;
}

.tmc-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e3a4a;
  letter-spacing: -0.125px;
  margin-bottom: 6px;
}

.tmc-stars {
  color: #f0a500;
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.tmc-text {
  font-size: 0.875rem;
  color: #615d59;
  line-height: 1.65;
  font-style: italic;
}

/* =========================================
   Contact section — 2-column layout
   Left: animated form  |  Right: map placeholder
   ========================================= */

/* Clip the off-screen form so it doesn't create a horizontal scrollbar */
#contact { overflow: hidden; }

.contact-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* ── Left column: form slides in from left ── */
.contact-form-col {
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  will-change: transform;
}
.contact-form-col.is-visible {
  transform: translateX(0);
  opacity: 1;
}
/* Make the form card fill the full column height */
.contact-form-col .form-card {
  height: 100%;
  box-sizing: border-box;
}

/* ── Right column: map placeholder (static, no animation) ── */
/* TODO: replace with Google Maps embed of Colchester with radius ring */
.contact-map-placeholder {
  background: #1e3a4a;
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 48px 36px;
}
.cmp-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 18px;
}
.cmp-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.25px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.cmp-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  font-weight: 500;
  letter-spacing: 0.125px;
}

/* ── Mobile: single column, form on top ── */
@media (max-width: 768px) {
  .contact-2col {
    grid-template-columns: 1fr;
  }
  .contact-map-placeholder {
    min-height: 240px;
  }
}

/* =========================================
   Get in Touch — landing page
   Dark section, 2-col: form (left, animated)
   + square map placeholder (right, static)
   ========================================= */

/* Section: light off-white background (matches section-alt), overflow hidden
   clips the off-screen form so no horizontal scrollbar appears */
.git-section {
  background: #f8fbfd;
  overflow: hidden;
}

/* Two-column grid — equal widths so form and map match */
.git-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Left column: form slides in from the left ──
   Start state: off-screen left (translateX(-100vw)) + invisible.
   JS adds .is-visible once section enters viewport — fires once only. */
.git-form-col {
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  will-change: transform;
}
.git-form-col.is-visible {
  transform: translateX(0);
  opacity: 1;
}

/* ── Right column: square map placeholder ──
   aspect-ratio: 1/1 guarantees a perfect square at any width.
   Dark navy background contrasts cleanly against the light section.
   Dashed border uses accent colour (#3a9cbf). Static — no animation. */
/* TODO: replace with Google Maps embed of Colchester with radius ring */
.git-map-placeholder {
  aspect-ratio: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  background: #1e3a4a;
  border: 2px dashed #3a9cbf;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
}

.git-map-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 18px;
}

.git-map-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.25px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.git-map-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  font-weight: 500;
  letter-spacing: 0.125px;
}

/* ── Mobile (<768px): single column, form on top, map stays square ── */
@media (max-width: 768px) {
  .git-grid {
    grid-template-columns: 1fr;
  }
  /* aspect-ratio: 1/1 already keeps the map square at any width */
}

/* =========================================
   PRICING CARDS — services.html
   Two large side-by-side cards with slide-in
   animations on page load.
   ========================================= */

@keyframes slideFromLeft {
  from { transform: translateX(-80px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slideFromRight {
  from { transform: translateX(80px);  opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes priceFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pricingFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}

/* Cards fade in on page load — left card first, right card 0.2s delayed */
.pricing-card:first-child {
  animation: pricingFadeIn 0.6s ease-out both;
}
.pricing-card:last-child {
  animation: pricingFadeIn 0.6s ease-out 0.2s both;
}

.pricing-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.05),
    0 12px 32px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 8px 20px rgba(58,156,191,0.1),
    0 20px 48px rgba(0,0,0,0.06);
}

/* Featured variant — accent border and tinted shadow */
.pricing-card--featured {
  border-color: #3a9cbf;
  box-shadow:
    0 1px 2px rgba(58,156,191,0.06),
    0 4px 12px rgba(58,156,191,0.1),
    0 12px 32px rgba(58,156,191,0.08);
}
.pricing-card--featured:hover {
  box-shadow:
    0 2px 4px rgba(58,156,191,0.1),
    0 8px 20px rgba(58,156,191,0.14),
    0 20px 48px rgba(58,156,191,0.12);
}

.pricing-card-badge {
  display: inline-block;
  background: rgba(58,156,191,0.12);
  color: #3a9cbf;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 3px 10px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.pricing-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(58,156,191,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #3a9cbf;
  flex-shrink: 0;
}

.pricing-card-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1e3a4a;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.pricing-card-desc {
  font-size: 0.92rem;
  color: #6b7d8a;
  line-height: 1.65;
  margin-bottom: 24px;
}

.pricing-card-price {
  font-size: 3rem;
  font-weight: 800;
  color: #1e3a4a;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card-price-note {
  font-size: 0.82rem;
  color: #9baab5;
  margin-bottom: 28px;
  line-height: 1.4;
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1; /* push button to bottom */
}
.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.75);
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.45;
}
.pricing-card-features li:last-child { border-bottom: none; }
.pricing-card-features li::before {
  content: '✓';
  color: #3a9cbf;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
  padding: 14px;
  margin-top: auto;
}

/* Note paragraph below the grid */
.pricing-note {
  text-align: center;
  max-width: 560px;
  margin: 36px auto 0;
  font-size: 0.92rem;
  color: #6b7d8a;
  line-height: 1.6;
  animation: priceFadeUp 0.6s ease-out 0.4s both;
}

/* Mobile: stack cards */
@media (max-width: 680px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
  .pricing-card-price { font-size: 2.4rem; }
}

/* =========================================
   TREATMENTS LIST — services page
   Displayed below pricing cards as pill tags
   ========================================= */
.treatments-section {
  margin-top: 72px;
  text-align: center;
}
.treatments-section h3 {
  font-size: 1.38rem;
  font-weight: 700;
  color: #1e3a4a;
  letter-spacing: -0.625px;
  margin-bottom: 8px;
}
.treatments-section .divider {
  margin: 0 auto 24px;
}
.treatments-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto 24px;
}
.treatment-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 9999px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(0,0,0,0.82);
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2.025px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
}
.treatment-pill::before {
  content: '✓';
  color: #3a9cbf;
  font-weight: 700;
  font-size: 0.88rem;
}
.treatments-note {
  font-size: 0.9rem;
  color: #6b7d8a;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* =========================================
   SERVICE TABLE — 2-col × 4-row grid
   Each cell: image placeholder left,
   service name + description right.
   ========================================= */
.svc-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.svc-table-item {
  display: flex;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    rgba(0,0,0,0.04)  0px 4px 18px,
    rgba(0,0,0,0.027) 0px 2.025px 7.85px,
    rgba(0,0,0,0.02)  0px 0.8px 2.93px,
    rgba(0,0,0,0.01)  0px 0.175px 1.04px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.svc-table-item:hover {
  transform: translateY(-2px);
  box-shadow:
    rgba(0,0,0,0.06)  0px 8px 24px,
    rgba(0,0,0,0.04)  0px 4px 12px,
    rgba(0,0,0,0.02)  0px 1px 4px;
}
/* Left: image placeholder */
.svc-table-img {
  position: relative;
  width: 130px;
  flex-shrink: 0;
  align-self: stretch;
  background: linear-gradient(160deg, #daeef7 0%, #a8d8ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(58,156,191,0.4);
  min-height: 120px;
  overflow: hidden;
}
.svc-table-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.svc-table-img svg { width: 36px; height: 36px; }
/* Right: text content */
.svc-table-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-table-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a4a;
  letter-spacing: -0.25px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.svc-table-body p {
  font-size: 0.875rem;
  color: #615d59;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .svc-table-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .svc-table-img { width: 100px; }
}

/* ── Slim stats bar (previous-patients, inside section) ── */
/* ── Before & After Marquee ─────────────────────────────── */
.bam-outer {
  width: 100%;
  overflow: hidden;
  margin-top: 28px;
  padding-bottom: 16px;
}
.bam-track {
  display: flex;
  width: max-content;
  animation: bam-scroll 28s linear infinite;
  will-change: transform;
}
.bam-outer:hover .bam-track {
  animation-play-state: paused;
}
@keyframes bam-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.bam-card {
  width: 28vw;
  min-width: 300px;
  max-width: 420px;
  padding: 0 10px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.bam-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bam-photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #e8f4f9;
  aspect-ratio: 1/1;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.bam-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bam-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(30,58,74,0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  z-index: 2;
}
.bam-badge--after {
  background: rgba(58,156,191,0.88);
}
.bam-caption {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e3a4a;
  margin-top: 10px;
  letter-spacing: -0.2px;
}

.pp-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .pp-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
.pp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #3a9cbf;
  border-radius: 10px;
  padding: 10px 12px;
}
.pp-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.pp-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-align: center;
}
.pp-stat-divider {
  display: none;
}

/* ── Before/After Toggle Grid (previous-patients) ── */
.bat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bat-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.bat-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f7fa;
}
.bat-img-wrap--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f7fa;
}
.bat-ph-icon { color: rgba(58,156,191,0.35); }
.bat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bat-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(30,58,74,0.82);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.bat-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #3a9cbf;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.bat-btn:hover { background: #1e3a4a; transform: scale(1.1); }
.bat-btn.revealed { transform: rotate(180deg); }
.bat-btn.revealed:hover { background: #1e3a4a; transform: rotate(180deg) scale(1.1); }
.bat-caption {
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e3a4a;
  text-align: center;
  background: #fff;
}

/* ── 4-column reviews grid ── */
.reviews-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.r4-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.r4-card .stars { font-size: 0.85rem; color: #f59e0b; letter-spacing: 1px; }
.r4-text {
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.r4-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e3a4a;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .bat-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-4-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .bat-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-4-grid { grid-template-columns: 1fr; }
}
