/* ================================================================
   ABSOLUTE WELLNESS CLINIC — Stylesheet
   Design: Learning Xperience Consulting, Feb 2026
   Brand: Warm + Grounding — "Feels Like a Deep Exhale"
   ================================================================ */

/* ── Design Tokens ── */
:root {
  --brown: #4E4137;
  --brown-mid: #6B5A4E;
  --brown-light: #9B8B80;
  --warm: #CEB99F;
  --warm-light: #ECD9C6;
  --warm-pale: #FAF7F4;
  --teal: #4E8A7E;
  --teal-dark: #3D7A6E;
  --teal-light: #8DC5B8;
  --teal-pale: #E6F3EF;
  --text: #2C3338;
  --text-mid: #5A6368;
  --text-light: #6B7278;
  --bg: #FAF7F4;
  --bg-alt: #F3F1EC;
  --white: #FFFFFF;
  --border: #E5E0DA;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-xs: 0 1px 4px rgba(78,65,55,0.04);
  --shadow-sm: 0 2px 8px rgba(78,65,55,0.06);
  --shadow-md: 0 4px 24px rgba(78,65,55,0.08);
  --shadow-lg: 0 12px 48px rgba(78,65,55,0.12);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 500;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--teal); }

/* Focus ring for accessibility */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 32px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   SKIP LINK — ADA: keyboard-only users can jump to main content
   ================================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--brown);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 247, 244, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border);
  background: rgba(250, 247, 244, 0.96);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 36px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.nav.scrolled .nav-brand img { height: 30px; }

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.nav-brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--brown); }
.nav-links a:hover::after { width: 100%; }

/* Nav CTA — more height, aligned with text */
.nav-cta {
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--teal);
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s var(--ease) !important;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white) !important;
}

/* Yarn Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.yarn-burger {
  width: 28px;
  height: 22px;
}

.yarn-strand {
  fill: none;
  stroke-linecap: round;
}

/* Hide old spans if any remain */
.nav-toggle span { display: none; }

/* Close button — positioned inside mobile menu */
.nav-close-item { list-style: none; position: absolute; top: 24px; right: 24px; }
.nav-close-btn {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  z-index: 1000;
}

.nav-close-btn svg {
  width: 16px;
  height: 16px;
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,51,56,0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.nav-overlay.visible { display: block; opacity: 1; }

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

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 28px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s var(--ease);
    z-index: 999;
    align-items: flex-start;
  }

  .nav-links.open { right: 0; }
  .nav-links.open .nav-close-btn { display: flex; }

  .nav-links a {
    font-size: 1.05rem;
    padding: 8px 0;
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px !important;
    margin-top: 12px;
    font-size: 0.95rem !important;
  }
}

/* ================================================================
   BUTTONS — Shared styles
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(107,170,158,0.3);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(107,170,158,0.3);
}

/* Secondary button — brown, clear contrast */
.btn-secondary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(78,65,55,0.25);
}

.btn-secondary:hover {
  background: var(--brown-mid);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(78,65,55,0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
  padding: 12px 24px;
  border: 1.5px solid var(--teal);
  border-radius: 50px;
  transition: all 0.3s var(--ease);
  background: transparent;
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(250,247,244,0.96) 0%,
    rgba(250,247,244,0.88) 40%,
    rgba(107,170,158,0.06) 100%
  );
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-text { max-width: 560px; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--brown);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-dark);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

/* Hero image card */
.hero-image-card {
  position: relative;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 0.6s forwards;
}

.hero-image-card img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* Floating stat card on hero image */
.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-float-icon {
  width: 40px; height: 40px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-icon svg { width: 20px; height: 20px; color: var(--teal); }

.hero-float-card p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.hero-float-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brown);
}

/* floatUp removed — was too distracting */

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-image-card { max-width: 340px; margin: 0 auto; }
  .hero-float-card { left: 50%; transform: translateX(-50%); bottom: -28px; width: 85%; max-width: 320px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ================================================================
   EXHALE — Emotional breather
   ================================================================ */
.exhale {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.exhale-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--teal-light));
  margin: 0 auto 40px;
}

.exhale blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--brown);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.exhale p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ================================================================
   SECTION SHARED
   ================================================================ */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 56px;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services {
  padding: 100px 0;
  background: var(--white);
}

.service-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.service-tab {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.service-tab:hover { border-color: var(--teal-light); color: var(--teal-dark); }

.service-tab.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.service-tab:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--teal);
  border-radius: 0 2px 2px 0;
  transition: height 0.4s var(--ease);
}

.service-card:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before { height: 100%; }

.service-card:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -1px;
}

.service-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.badge-core { background: var(--teal-pale); color: #2E6358; }
.badge-specialized { background: var(--warm-light); color: var(--brown); }
.badge-premium { background: #F5EDE4; color: #5C4A32; }
.badge-b2b { background: #E8EDF2; color: #4A5568; }
.badge-community { background: var(--teal-pale); color: #2E6358; }

.service-card h3 {
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.service-card-lead {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--teal-dark);
  margin-bottom: 12px;
  line-height: 1.6;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.service-card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 16px;
  transition: gap 0.3s var(--ease);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
  font-family: var(--font-body);
}

/* No hover gap change on toggle */

.service-detail {
  display: none;
  /* Hidden in cards — content read by JS for panel */
}

.service-detail h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 16px 0 8px;
}

.service-detail h4:first-child { margin-top: 0; }

.service-detail ul { list-style: none; padding: 0; }

.service-detail li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.6;
}

.service-detail li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
}

/* ================================================================
   IMAGE BREAK — Full-width image between sections
   ================================================================ */
.image-break {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--white) 0%,
    transparent 15%,
    transparent 85%,
    var(--bg) 100%
  );
}

@media (max-width: 768px) {
  .image-break { height: 240px; }
}

/* ================================================================
   WHY — Approach / Values
   ================================================================ */
.why {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.why-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.why-beliefs {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.why-beliefs li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-beliefs li:last-child { border-bottom: none; }

.belief-marker {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.belief-marker svg { width: 14px; height: 14px; }

.belief-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}

.belief-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image img { height: 320px; }
}

/* ================================================================
   PILLARS
   ================================================================ */
.pillars {
  padding: 100px 0;
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.pillar {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

.pillar:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: var(--teal-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon svg { width: 24px; height: 24px; color: var(--teal); }

.pillar h3 {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

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

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  padding: 120px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.about-photo-wrap { position: sticky; top: 120px; }

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-credentials {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.credential-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--teal-pale);
  color: var(--teal-dark);
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--brown);
  margin-bottom: 8px;
}

.about-role {
  font-size: 0.95rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 32px;
}

.about-approach {
  background: var(--warm-pale);
  border-left: 3px solid var(--warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 28px 32px;
  margin: 32px 0;
}

.about-approach-heading,
.about-approach h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 8px;
}

.about-approach p {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
}

.about-bio {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.about-bio p { margin-bottom: 20px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap { position: static; max-width: 340px; margin: 0 auto; }
}

/* ================================================================
   FOUNDATION
   ================================================================ */
.foundation {
  padding: 80px 0;
  background: var(--teal-pale);
}

.foundation-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.foundation-icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.foundation-icon svg { width: 32px; height: 32px; color: var(--teal); }

.foundation-text h3 {
  font-size: 1.3rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.foundation-text p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .foundation-inner { flex-direction: column; text-align: center; }
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.contact-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.contact-card:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--teal-pale);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg { width: 28px; height: 28px; color: var(--teal); }

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-card .btn { width: 100%; }

.contact-info { margin-top: 48px; text-align: center; }

.contact-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-detail svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.contact-detail span, .contact-detail a { font-size: 0.9rem; color: var(--text-mid); }

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-mid);
  transition: all 0.3s var(--ease);
}

.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.social-link svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { flex-direction: column; align-items: center; gap: 16px; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  padding: 48px 0;
  background: var(--brown);
  color: rgba(255,255,255,0.88);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img { height: 28px; opacity: 0.9; }
.footer-brand span { font-family: var(--font-heading); font-size: 0.95rem; color: rgba(255,255,255,0.95); }
.footer p { font-size: 0.82rem; line-height: 1.6; }
.footer a { color: rgba(255,255,255,0.9); }
.footer a:hover { color: var(--teal-light); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ================================================================
   STATS COUNTER BANNER
   ================================================================ */
.stats-banner {
  padding: 64px 0;
  background: var(--brown);
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(107,170,158,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(206,185,159,0.12) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-number .stat-value {
  display: inline-block;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ================================================================
   TESTIMONIAL SECTION
   ================================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--warm-pale);
  position: relative;
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--teal-light);
  opacity: 0.4;
  margin-bottom: -32px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--brown);
  line-height: 1.7;
  margin-bottom: 32px;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Testimonial dots (for multiple) */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal-light);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 16px;
  box-sizing: content-box;
  background-clip: content-box;
}

.testimonial-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

/* ================================================================
   PARALLAX IMAGE BREAK
   ================================================================ */
.image-break-parallax {
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
}

.image-break-parallax img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center 30%;
  position: absolute;
  top: -20%;
  transition: transform 0.1s linear;
  will-change: transform;
}

.image-break-parallax .parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(78,65,55,0.5) 0%,
    rgba(107,170,158,0.25) 100%
  );
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-text {
  text-align: center;
  color: var(--white);
  z-index: 2;
  padding: 0 32px;
}

.parallax-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.parallax-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .image-break-parallax { height: 320px; }
}

/* ================================================================
   SERVICE CARD ICON ENHANCEMENT
   ================================================================ */
.service-card-icon {
  width: 48px; height: 48px;
  background: var(--teal-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.4s var(--ease);
}

.service-card-icon svg {
  width: 22px; height: 22px;
  color: var(--teal);
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-card-icon {
  background: var(--teal);
}

.service-card:hover .service-card-icon svg {
  color: var(--white);
}

/* ================================================================
   APPROACH IMAGE GALLERY
   ================================================================ */
.approach-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.approach-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.approach-gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 30%;
}

.approach-gallery-item .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(78,65,55,0.85), transparent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .approach-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .approach-gallery { grid-template-columns: 1fr; }
  .approach-gallery-item img { height: 180px; }
}

/* ================================================================
   IMAGE GALLERY SECTION
   ================================================================ */
.image-gallery-section {
  padding: 56px 0;
  background: var(--white);
}

/* ================================================================
   COMMUNITY & TELEHEALTH SECTION
   ================================================================ */
.community {
  padding: 100px 0;
  background: var(--bg-alt);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.community-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.community-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.community-feature-icon {
  width: 44px; height: 44px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.community-feature-icon svg {
  width: 20px; height: 20px;
  color: var(--teal);
}

.community-feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brown);
  margin-bottom: 4px;
}

.community-feature p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.community-img-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.community-img-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.community-img-secondary {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 200px;
}

/* Inline images: hidden on desktop, shown on mobile */
.community-img-inline {
  display: none;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 240px;
}

.community-img-inline.community-img-below {
  margin-top: 28px;
  max-height: 200px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .community-grid { grid-template-columns: 1fr; gap: 40px; }
  .community-images { display: none; }
  .community-img-inline { display: block; margin-bottom: 24px; }
}

/* ================================================================
   TESTIMONIAL SLIDER
   ================================================================ */
.testimonial-slider {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider .testimonial-card {
  display: none;
  text-align: center;
}

.testimonial-slider .testimonial-card.active {
  display: block;
}

/* ================================================================
   PILLAR ICON HOVER — subtle color change only
   ================================================================ */
.pillar:hover .pillar-icon {
  background: var(--teal);
}

.pillar:hover .pillar-icon svg {
  color: var(--white);
}

.pillar-icon {
  transition: background 0.4s var(--ease);
}

/* Exhale line — static, no animation */

/* About photo — no hover tilt */

/* Contact card — clean, no shine effect */

/* ================================================================
   SERVICE CARD — Expanded inline state
   ================================================================ */
.service-card.expanded {
  grid-column: 1 / -1;
  border-color: var(--teal-light);
  box-shadow: var(--shadow-md);
  background: var(--white);
  position: relative;
}

.service-card.expanded .service-card-toggle .toggle-label {
  /* Text updated by JS */
}

.service-card.expanded .service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.service-card.expanded .service-detail h4 {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
  padding-bottom: 4px;
}

.service-card.expanded .service-detail h4:not(:first-child) {
  margin-top: 8px;
}

.service-card.expanded .service-detail ul {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card.expanded .service-detail li {
  font-size: 0.87rem;
  color: var(--text-mid);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.55;
}

.service-card.expanded .service-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
}

.service-card.expanded .service-card-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.service-card.expanded .service-card-close svg {
  width: 14px;
  height: 14px;
  color: var(--text-mid);
}

.service-card.expanded .service-card-close:hover {
  background: var(--teal-pale);
  border-color: var(--teal-light);
}

/* Hide close button when not expanded */
.service-card-close {
  display: none;
}

@media (max-width: 768px) {
  .service-card.expanded .service-detail {
    grid-template-columns: 1fr;
  }
  .service-card.expanded .service-detail ul {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   SMOOTH GRADIENT BORDER ON FOUNDATION
   ================================================================ */
.foundation-inner {
  border-radius: var(--radius);
  background: var(--white);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.foundation-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--teal), var(--warm));
  border-radius: 4px 0 0 4px;
}

/* ================================================================
   NAV LINK ACTIVE STATE PILL
   ================================================================ */
.nav-links a.active {
  color: var(--brown) !important;
}

.nav-links a.active::after {
  width: 100%;
  background: var(--teal);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide reveals — subtle */
.reveal-left {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal — subtle */
.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered reveals */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
  .nav, .skip-link, .nav-overlay { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .reveal { opacity: 1; transform: none; }
  body { background: white; }
  section { padding: 40px 0; }
}
