/*
Theme Name:  RENEW Health & Wellness
Theme URI:   https://wellnessbyrenew.com
Author:      Kennedy Media Group
Author URI:  https://kennedymedia.com
Description: Custom WordPress theme for RENEW Health and Wellness Center, McAllen TX. Built on a proprietary design system — no page builder required.
Version:     1.1.0
License:     Private
Text Domain: renew
*/

/* ============================================================
   DESIGN TOKENS
   Single source of truth for the entire site's visual system
   ============================================================ */
:root {
  /* Sage greens */
  --sage-50:  #f0f7f0;
  --sage-100: #d9eeda;
  --sage-200: #b0d9b1;
  --sage-300: #7cbd7e;
  --sage-500: #2e8b35;
  --sage-600: #1e6e25;
  --sage-700: #165420;
  --sage-800: #0f3a17;
  --sage-900: #08220d;

  /* Gold / ivory */
  --gold-400: #edcc58;
  --gold-500: #d4a820;
  --gold-600: #b08a18;
  --ivory-50:  #fffdf5;
  --ivory-100: #fdf7e3;
  --ivory-200: #faeec0;

  /* Warm neutrals */
  --warm-400: #c2ba93;
  --warm-500: #a89f6e;
  --warm-600: #8a8150;
  --warm-700: #6b6238;
  --warm-800: #4c4526;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  72px;
  --space-2xl: 96px;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(30,110,37,0.08);
  --shadow-card-hover: 0 16px 40px rgba(30,110,37,0.14);
  --shadow-float: 0 8px 48px rgba(30,110,37,0.10);

  /* Transitions */
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sage-700);
  background: var(--ivory-50);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-600); text-decoration: none; }
a:hover { color: var(--sage-700); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--sage-800);
  font-weight: 500;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

button, input, textarea, select {
  font-family: var(--font-body);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow  { max-width: 780px;  margin: 0 auto; padding: 0 24px; }
.container--wide    { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.section { padding: var(--space-xl) 0; }
.section--sm { padding: var(--space-lg) 0; }
.section--lg { padding: var(--space-2xl) 0; }

/* Backgrounds */
.bg-ivory   { background: var(--ivory-50); }
.bg-sage-50 { background: var(--sage-50); }
.bg-sage-100{ background: var(--sage-100); }
.bg-dark    { background: linear-gradient(135deg, var(--sage-700) 0%, var(--sage-600) 55%, var(--sage-500) 100%); }

/* Botanical pattern overlay */
.botanical-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%237cbd7e' stroke-width='0.5' opacity='0.3'%3E%3Cellipse cx='40' cy='20' rx='6' ry='14' transform='rotate(-20 40 20)'/%3E%3Cellipse cx='20' cy='55' rx='5' ry='12' transform='rotate(30 20 55)'/%3E%3Cellipse cx='62' cy='58' rx='5' ry='11' transform='rotate(-15 62 58)'/%3E%3Cpath d='M40 34 Q38 50 35 68' stroke-width='0.7'/%3E%3Cpath d='M20 67 Q32 60 40 70'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   DESIGN COMPONENTS
   ============================================================ */

/* Gold rule */
.gold-rule {
  background: linear-gradient(90deg, transparent, var(--gold-500) 30%, var(--gold-500) 70%, transparent);
  height: 1px;
  border: none;
  display: block;
}
.gold-rule--left {
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-500) 60%, transparent 100%);
  height: 1px;
}

/* Eyebrow label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow--center { justify-content: center; }
.eyebrow .gold-rule { width: 40px; flex-shrink: 0; }

/* Section heading group */
.section-header {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-header--left {
  margin-left: 0;
  text-align: left;
}
.section-header .eyebrow { margin-bottom: 20px; }
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-800);
}

/* Badge / pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sage-100);
  color: var(--sage-700);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sage-200);
}
.badge--gold {
  background: var(--ivory-200);
  color: #644c0a;
  border-color: var(--gold-400);
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--sage-300);
}
.card--dark {
  background: var(--sage-700);
  border-color: var(--sage-800);
  color: var(--ivory-50);
}

/* Card icon */
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-sm);
  transition: background var(--transition), color var(--transition);
}
.card:hover .card-icon { background: var(--sage-600); color: #fff; }
.card-icon svg { stroke: var(--sage-600); transition: stroke var(--transition); }
.card:hover .card-icon svg { stroke: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition), box-shadow var(--transition), background var(--transition);
  line-height: 1;
}
.btn--primary {
  background: var(--sage-600);
  color: var(--ivory-50);
}
.btn--primary:hover {
  opacity: 0.88;
  box-shadow: 0 8px 28px rgba(30,110,37,0.25);
  color: var(--ivory-50);
}
.btn--ghost {
  background: transparent;
  color: var(--sage-600);
  border: 1.5px solid var(--sage-600);
}
.btn--ghost:hover {
  background: var(--sage-50);
  color: var(--sage-700);
}
.btn--light {
  background: var(--ivory-50);
  color: var(--sage-700);
}
.btn--light:hover {
  opacity: 0.92;
  box-shadow: 0 8px 28px rgba(30,110,37,0.15);
  color: var(--sage-700);
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Testimonial cards */
.testi-card {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.testi-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0;
  color: var(--sage-100);
  position: absolute;
  top: 2.5rem;
  left: 1.5rem;
  pointer-events: none;
}
.testi-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--sage-700);
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-md);
  padding-top: var(--space-sm);
}
.testi-meta { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-600);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 14px; color: var(--sage-800); font-family: var(--font-body); }
.testi-detail { font-size: 12px; color: var(--warm-600); font-family: var(--font-body); }
.stars { color: var(--gold-500); font-size: 13px; margin-bottom: 12px; }

/* Stat strip */
.stat-strip {
  background: var(--sage-700);
  padding: 32px 0;
}
.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-strip__item {
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-strip__item:last-child { border-right: none; }
.stat-strip__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ivory-50);
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-strip__label {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-200);
}

/* Trust contact item */
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  transition: background var(--transition);
}
.trust-item:hover { background: var(--sage-100); }
.trust-item__icon {
  width: 36px; height: 36px;
  background: var(--sage-100);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-700);
  display: block;
  font-family: var(--font-body);
}
.trust-item__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--sage-800);
  display: block;
  font-family: var(--font-body);
}
.trust-item__sub {
  font-size: 11px;
  color: var(--sage-600);
  font-family: var(--font-body);
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--sage-700) 0%, var(--sage-600) 55%, var(--sage-500) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--ivory-50);
  margin-bottom: 14px;
}
.cta-strip p {
  color: rgba(255,253,245,0.78);
  max-width: 460px;
  margin: 0 auto var(--space-md);
  font-size: 1rem;
  line-height: 1.7;
}
.cta-strip .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Accordion / FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 10px;
}
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--sage-800);
}
.faq-toggle svg { flex-shrink: 0; transition: transform 0.3s ease; stroke: var(--sage-600); }
.faq-toggle.open svg { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 14px;
  line-height: 1.7;
  color: var(--warm-800);
  padding: 0 24px;
}
.faq-body.open { max-height: 300px; padding: 0 24px 20px; }

/* Inline contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height, 72px);        /* single height source of truth */
  background: rgba(255,253,245,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sage-100);
  transition: box-shadow 0.3s ease;
  overflow: visible;                          /* allow logo to be fully visible */
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(30,110,37,0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;                               /* fills the fixed header height */
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo wrapper — centred vertically, never overflows header */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;                             /* remove inline baseline gap */
}
.site-logo img,
.site-logo__img {
  height: var(--logo-height, 48px);
  width: auto;
  max-height: calc(var(--header-height, 72px) - 16px); /* never exceed header */
  display: block;
  object-fit: contain;
}
/* WP custom logo wraps in <a> — flatten it */
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}
.site-logo .custom-logo-link img {
  height: var(--logo-height, 48px);
  width: auto;
  max-height: calc(var(--header-height, 72px) - 16px);
  display: block;
}

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-700);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.site-nav a:hover { background: var(--sage-50); color: var(--sage-600); }
.site-nav a.current-menu-item { color: var(--sage-600); font-weight: 600; }
.site-nav .nav-book {
  background: var(--sage-600);
  color: var(--ivory-50) !important;
  padding: 10px 22px;
  margin-left: 8px;
}
.site-nav .nav-book:hover { opacity: 0.88; background: var(--sage-600); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--sage-700);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--ivory-50);
  border-bottom: 1px solid var(--sage-100);
  z-index: 999;
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--sage-700);
  padding: 14px 0;
  border-bottom: 1px solid var(--sage-100);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .nav-book {
  display: block;
  text-align: center;
  margin-top: 16px;
  background: var(--sage-600);
  color: var(--ivory-50) !important;
  padding: 14px;
  border-radius: var(--radius-pill);
}

/* Push content below fixed header — tracks the CSS custom property */
.header-spacer { height: var(--header-height, 72px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--sage-900);
  color: rgba(255,253,245,0.75);
  font-family: var(--font-body);
}

.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand .footer-logo,
.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 220px;
  margin-bottom: 16px;
  display: block;
  object-fit: contain;
}
/* When using primary logo inverted (no footer logo uploaded) */
.footer-brand .footer-logo--inverted {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
/* WP custom-logo in footer — strip default styles */
.footer-brand .custom-logo-link {
  display: block;
  line-height: 0;
  margin-bottom: 16px;
}
.footer-brand .custom-logo-link img {
  height: 44px;
  width: auto;
  max-width: 220px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
}
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 260px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,253,245,0.5);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  color: rgba(255,253,245,0.75);
  margin-bottom: 10px;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--ivory-50); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,253,245,0.45);
}
.footer-bottom a { color: rgba(255,253,245,0.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,253,245,0.75); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sage-50);
  padding: var(--space-xl) 0 0;
  min-height: 90vh;
}
.hero__blob {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse 70% 80% at 90% 50%, rgba(176,217,177,0.45), transparent);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: var(--sage-800);
  margin-bottom: 20px;
}
.hero__title em { color: var(--sage-600); font-style: italic; }
.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--warm-800);
  max-width: 480px;
  margin-bottom: 10px;
}
.hero__sub2 {
  font-size: 1rem;
  color: var(--warm-600);
  max-width: 480px;
  margin-bottom: var(--space-md);
}
.hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.hero__trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--warm-700);
}
.hero__trust-divider { width: 1px; height: 14px; background: var(--warm-400); }

/* Hero photo column */
.hero__photo-wrap { position: relative; }
.hero__photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 580px;
  box-shadow: 0 24px 60px rgba(30,110,37,0.15);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero__photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(15,58,23,0.6));
  border-radius: 0 0 24px 24px;
}
.hero__photo-name {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  z-index: 1;                                 /* sits above gradient, below float cards */
}
.hero__photo-name p:first-child {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}
.hero__photo-name p:last-child { font-size: 13px; color: var(--sage-200); font-family: var(--font-body); }

/* Floating cards on hero */
.hero__float-cred {
  position: absolute;
  bottom: 90px;                               /* raised — clear of name text */
  left: -28px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  border: 1px solid var(--sage-200);
  box-shadow: 0 8px 32px rgba(30,110,37,0.14);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 250px;
  z-index: 2;
  animation: fadeUp 0.6s ease 0.4s both;
}
.hero__float-tag {
  position: absolute;
  top: 20px;                                  /* sits inside top of photo frame */
  right: -16px;
  background: var(--sage-600);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  max-width: 200px;
  z-index: 2;
  animation: fadeUp 0.6s ease 0.3s both;
}
.hero__float-tag p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
}

/* ============================================================
   ABOUT / IV PAGE HERO — two-column photo layout
   ============================================================ */
/* Floating stat card on about/IV hero — positioned relative to photo wrap */
.page-hero-photo-wrap {
  position: relative;
}
.page-hero-float-card {
  position: absolute;
  top: 20px;
  left: -20px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  border: 1px solid var(--sage-200);
  box-shadow: 0 8px 28px rgba(30,110,37,0.12);
  z-index: 2;
  white-space: nowrap;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--sage-50);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero__blob {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse 70% 80% at 90% 50%, rgba(176,217,177,0.4), transparent);
  pointer-events: none;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  color: var(--sage-800);
  margin-bottom: 18px;
}
.page-hero h1 em { color: var(--sage-600); }
.page-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--warm-800);
  max-width: 560px;
  margin: 0 auto var(--space-md);
}
.page-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }


/* ============================================================
   HEALTHIE IFRAME — wide, responsive, no clipping
   ============================================================ */
.healthie-iframe-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;                           /* keep rounded corners */
  border-radius: 0;                           /* inner of card, corners on card */
}
#healthie-iframe {
  width: 100%;
  min-height: 860px;
  border: none;
  display: block;
  /* Let Healthie control its own scroll — no transform clipping */
  overflow: auto;
}
@media (max-width: 768px) {
  #healthie-iframe { min-height: 1100px; }
}

/* Booking page uses wider container */
.page-booking .container,
.page-booking .container--narrow {
  max-width: 1000px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s ease forwards; }
.fade-up--1 { animation-delay: 0.1s; opacity: 0; }
.fade-up--2 { animation-delay: 0.22s; opacity: 0; }
.fade-up--3 { animation-delay: 0.35s; opacity: 0; }
.fade-up--4 { animation-delay: 0.48s; opacity: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero__inner { gap: 32px; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding-bottom: var(--space-xl); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo-wrap { order: -1; }
  .hero__float-cred { display: none; }
  .hero__float-tag { display: none; }
  .hero__title { font-size: clamp(2.2rem, 7vw, 3rem); }

  .stat-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-strip__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 16px; }
  .stat-strip__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-strip__item:nth-last-child(-n+2) { border-bottom: none; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; }

  .cta-strip .btn-row { flex-direction: column; align-items: center; }

  .page-hero { text-align: left; }
  .page-hero .eyebrow { justify-content: flex-start; }
  .page-hero__badges { justify-content: flex-start; }

  .section-header { text-align: left; }
  .section-header .eyebrow { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .container, .container--narrow, .container--wide { padding: 0 16px; }
  .hero__cta-row { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ROGUE CSS NEUTRALISATION
   Override WordPress core, Gutenberg, and common plugin styles
   that leak into non-block themes and break our design system.
   ============================================================ */

/* ── WordPress core ── */
.wp-block-image,
.wp-caption { margin: 0; max-width: 100%; }
img { max-width: 100%; height: auto; }

/* Gutenberg layout styles injected even in classic themes */
.wp-site-blocks,
.wp-block-group__inner-container { max-width: none; padding: 0; margin: 0; }

/* Default WP paragraph spacing reset */
.entry-content p:last-child { margin-bottom: 0; }

/* ── CF7 default styles — we use our own ── */
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 0; border: none; }
.wpcf7-form-control-wrap { display: block; position: static; }
span.wpcf7-not-valid-tip { display: block; }

/* ── WP nav menu defaults ── */
.site-nav ul,
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li,
.mobile-nav li { display: contents; }  /* flatten WP-generated <li> wrappers */

/* ── RankMath / Yoast breadcrumb ── */
.rank-math-breadcrumb,
.yoast-breadcrumb { display: none; }

/* ── WP Admin Bar compensation ── */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .mobile-nav  { top: calc(var(--header-height, 72px) + var(--wp-admin--admin-bar--height, 32px)); }

/* ── Cherry widget z-index — keep below mobile menu ── */
#floatingEstimator,
[class*="cherry"],
[id*="cherry"] { z-index: 900 !important; }
.mobile-nav { z-index: 999; }
.site-header { z-index: 1000; }

/* ── Healthie iframe — prevent browser adding scrollbars to the container ── */
.healthie-iframe-wrap { -webkit-overflow-scrolling: touch; }

/* ── Screen-reader utility ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Skip to content link (accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--sage-700);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 0;
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
