/* ============================================
   Family Tree Chiropractic — Design System
   Premium Restorative Healthcare
   Lancaster Neuropathy
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Brand palette (locked) */
  --color-forest:        #173A2E;  /* Deep Forest Green — primary */
  --color-forest-soft:   #1F4D3D;  /* Lighter forest for hover */
  --color-forest-deep:   #112C22;  /* Deeper for layered dark sections */
  --color-gold:          #B4862B;  /* Premium Gold — accent */
  --color-gold-soft:     #C99A3F;  /* Gold hover */
  --color-walnut:        #6B4E2E;  /* Rich Walnut — grounding */
  --color-slate:         #738A97;  /* Soft Slate — supporting */
  --color-cream:         #F5F4EE;  /* Warm Cream — main bg */
  --color-paper:         #FFFFFF;  /* Pure white for cards */

  /* Aliases — keep legacy class names cascading cleanly */
  --bg-primary:          var(--color-cream);
  --bg-white:            var(--color-paper);
  --bg-dark:             var(--color-forest);
  --bg-dark-alt:         var(--color-forest-deep);
  --accent-green:        var(--color-forest);
  --accent-green-light:  var(--color-forest-soft);
  --accent-gold:         var(--color-gold);
  --cta-dark:            var(--color-forest);
  --cta-hover:           var(--color-forest-soft);
  --text-dark:           #0F2A21;
  --text-body:           #3A3A3A;
  --text-light:          var(--color-cream);
  --text-muted:          #6B6B6B;
  --border-light:        rgba(23, 58, 46, 0.10);
  --border-dark:         rgba(245, 244, 238, 0.18);
  --border-gold:         rgba(180, 134, 43, 0.45);

  /* Typography */
  --font-heading: 'Cinzel', 'Trajan Pro', Georgia, 'Times New Roman', serif;
  --font-primary: 'Montserrat', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-pad: clamp(20px, 4vw, 40px);

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(23, 58, 46, 0.06);
  --shadow-md: 0 8px 30px rgba(23, 58, 46, 0.10);
  --shadow-lg: 0 20px 60px rgba(23, 58, 46, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: 0.025em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: 0.03em;
}

h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
}

p {
  margin-bottom: 1em;
}

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

.label {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-forest);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
  border-radius: 0;
}

.subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container--wide {
  max-width: 1400px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(245, 244, 238, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 40px;
  box-shadow: 0 1px 20px rgba(23, 58, 46, 0.08);
  border-bottom: 1px solid var(--border-gold);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  color: var(--text-dark);
  z-index: 1001;
  background: linear-gradient(135deg, rgba(6, 35, 19, 0.85) 0%, rgba(6, 35, 19, 0.70) 60%, rgba(6, 35, 19, 0.55) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 8px 18px 8px 8px;
  border-radius: 50px;
  border: 1px solid rgba(180, 134, 43, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.nav__logo .nav__logo-name {
  color: var(--color-cream);
}

/* Strip the pill panel from footer logos — they sit on forest already */
.footer .nav__logo {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 16px;
  transform: scale(0.85);
  transform-origin: top left;
}

/* Footer logo: icon scales to match the full height of the text stack */
.footer .nav__logo img {
  width: 90px !important;
  height: 90px !important;
}

.footer .nav__logo-name {
  font-size: 1.65rem;
}

.footer .nav__logo-sub {
  font-size: 0.93rem;
}

.footer .nav__logo-tag {
  font-size: 0.87rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1px;
}

/* Two-leaf branch divider above "Lancaster Neuropathy" in the footer */
.footer .nav__logo-tag::before {
  content: '';
  display: block;
  width: 240px;
  height: 28px;
  margin-bottom: 0;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 28'><line x1='0' y1='13' x2='82' y2='13' stroke='%23B4862B' stroke-width='1'/><line x1='118' y1='13' x2='200' y2='13' stroke='%23B4862B' stroke-width='1'/><line x1='100' y1='22' x2='100' y2='17' stroke='%23B4862B' stroke-width='1'/><g transform='translate(100 17)'><path d='M 0 0 Q 6 -7 0 -14 Q -6 -7 0 0 Z' fill='%23B4862B' transform='rotate(-30)'/><path d='M 0 0 Q 6 -7 0 -14 Q -6 -7 0 0 Z' fill='%23B4862B' transform='rotate(30)'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.footer .nav__logo-sub::before,
.footer .nav__logo-sub::after {
  width: 27px;
}


.nav__logo svg {
  width: 40px;
  height: 40px;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--color-forest);
}

.nav__logo-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: var(--fw-medium);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-gold);
}

.nav__logo-sub::before,
.nav__logo-sub::after {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.nav__logo-tag {
  font-family: var(--font-primary);
  font-weight: var(--fw-medium);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-cream);
  opacity: 0.9;
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: var(--fw-medium);
  color: #FFFFFF;
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.04em;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-gold);
}

.nav--scrolled .nav__link {
  color: var(--color-forest);
  font-weight: var(--fw-semibold);
}

.nav--scrolled .nav__link:hover {
  color: var(--color-gold);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__dropdown-toggle::after {
  content: '';
  border: none;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  transition: all var(--transition);
}

.nav__dropdown-item:hover {
  background: var(--bg-primary);
  color: var(--color-forest);
}

/* Nested submenu (e.g. Chiropractic Care → Chiropractic for Kids) */
.nav__dropdown-submenu {
  position: relative;
}

.nav__dropdown-item--has-submenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav__dropdown-item--has-submenu::after {
  content: '›';
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.55;
  margin-left: auto;
}

.nav__dropdown-submenu-menu {
  position: absolute;
  top: -12px;
  left: calc(100% + 6px);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}

.nav__dropdown-submenu:hover > .nav__dropdown-submenu-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav--scrolled .nav__toggle span {
  background: var(--color-forest);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-forest);
  color: var(--color-cream);
}

.btn--primary:hover {
  background: var(--color-forest-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(23, 58, 46, 0.30);
}

.btn--secondary {
  background: transparent;
  color: var(--color-forest);
  border: 1px solid var(--color-forest);
}

.btn--secondary:hover {
  background: var(--color-forest);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-cream);
  color: var(--color-forest);
}

.btn--white:hover {
  background: var(--color-paper);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(23, 58, 46, 0.18);
}

.btn--call {
  background: var(--color-gold);
  color: var(--color-forest);
  font-size: 1rem;
  padding: 18px 42px;
  letter-spacing: 0.08em;
  animation: pulse-btn 2.6s ease-in-out infinite;
}

.btn--call:hover {
  background: var(--color-gold-soft);
  color: var(--color-forest);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(180, 134, 43, 0.42);
  animation: none;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.btn--nav {
  padding: 10px 24px;
  font-size: 0.8rem;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(180, 134, 43, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(180, 134, 43, 0); }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 44, 34, 0.78) 0%,
    rgba(17, 44, 34, 0.50) 55%,
    rgba(17, 44, 34, 0.25) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) var(--container-pad);
  max-width: none;
  margin: 0;
  width: 100%;
}

.hero__content h1 {
  color: var(--color-cream);
  margin-bottom: 24px;
  max-width: 800px;
}

.hero__content .subtitle {
  color: rgba(245, 244, 238, 0.95);
  margin-bottom: 40px;
  max-width: 560px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Service page hero — taller, top-aligned for the floating green panel */
.hero--service {
  min-height: 72vh;
  align-items: flex-start;
}

.hero--service .hero__content {
  background: linear-gradient(135deg, rgba(6, 35, 19, 0.85) 0%, rgba(6, 35, 19, 0.70) 60%, rgba(6, 35, 19, 0.55) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: var(--color-cream);
  padding: clamp(40px, 4vw, 56px) clamp(32px, 4vw, 52px);
  border-radius: 18px;
  max-width: 720px;
  width: auto;
  margin: clamp(96px, 10vh, 130px) clamp(28px, 6vw, 88px) clamp(40px, 6vh, 70px) clamp(16px, 3vw, 40px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(180, 134, 43, 0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero--service .hero__content .label {
  margin-bottom: 0;
}

.hero--service .hero__content h1 {
  line-height: 1.05;
  margin: 0;
}

.hero--service .hero__content .subtitle {
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 600px) {
  .hero--service .hero__content {
    padding: clamp(28px, 6vw, 44px) clamp(24px, 5vw, 36px);
    margin: clamp(80px, 11vh, 110px) clamp(14px, 4vw, 28px) clamp(36px, 6vh, 60px) clamp(14px, 4vw, 28px);
    gap: 12px;
  }
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--color-forest);
  color: var(--color-cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-cream);
}

.section--dark .label {
  color: var(--color-gold);
}

.section--dark .label::before {
  background: var(--color-gold);
}

.section--dark .subtitle {
  color: rgba(245, 244, 238, 0.78);
}

.section--white {
  background: var(--color-paper);
}

.section__header {
  margin-bottom: 60px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .label {
  justify-content: center;
}

.section__header--center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Split Layout (text + image) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.split__image:hover img {
  transform: scale(1.03);
}

/* --- Service Cards (horizontal carousel) --- */
.services-carousel {
  overflow: hidden;
  padding: 20px var(--container-pad) 40px;
  position: relative;
  cursor: grab;
}

.services-carousel:active {
  cursor: grabbing;
}

.services-carousel__track {
  display: flex;
  gap: 20px;
  will-change: transform;
  transition: transform 0.05s linear;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 300px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__bg {
  transform: scale(1.08);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.service-card__content {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 18px 22px;
  color: var(--color-cream);
  background: linear-gradient(135deg, rgba(6, 35, 19, 0.85) 0%, rgba(6, 35, 19, 0.70) 60%, rgba(6, 35, 19, 0.55) 100%);
  border-radius: 12px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--color-cream);
}

.service-card__desc {
  font-size: 0.9rem;
  opacity: 0.88;
  line-height: 1.55;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--color-paper);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(23, 58, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--color-forest);
  font-size: 1.5rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* On dark background */
.section--dark .feature-card {
  background: var(--color-forest-deep);
  border-color: var(--border-dark);
}

.section--dark .feature-card:hover {
  border-color: var(--border-gold);
}

.section--dark .feature-card__icon {
  background: rgba(180, 134, 43, 0.14);
  color: var(--color-gold);
}

.section--dark .feature-card__title {
  color: var(--color-cream);
}

.section--dark .feature-card__text {
  color: rgba(245, 244, 238, 0.72);
}

/* --- Testimonial Section --- */
.testimonial {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.testimonial__bg {
  position: absolute;
  inset: 0;
}

.testimonial__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 20%;
}

.testimonial__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.testimonial__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  color: var(--color-cream);
  line-height: 1.35;
  margin-bottom: 32px;
}

.testimonial__author {
  color: rgba(245, 244, 238, 0.82);
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Stats Row --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
  padding: 60px 0;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-bold);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section--dark .stat__label {
  color: rgba(245, 244, 238, 0.7);
}

/* --- Symptoms / Benefits List --- */
.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  color: var(--text-body);
}

.check-list__item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-gold);
}

.check-list__item svg {
  flex-shrink: 0;
  color: var(--color-gold);
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.check-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(23, 58, 46, 0.10);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.check-list__text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* --- CTA Block --- */
.cta-block {
  text-align: center;
  padding: var(--section-pad) var(--container-pad);
  background: var(--color-forest);
  border-radius: var(--radius-lg);
  margin: 0 var(--container-pad);
  border: 1px solid var(--border-gold);
}

.cta-block h2 {
  color: var(--color-cream);
  margin-bottom: 16px;
}

.cta-block .subtitle {
  color: rgba(245, 244, 238, 0.78);
  margin: 0 auto 40px;
}

/* --- Footer --- */
.footer {
  background: var(--color-forest);
  color: rgba(245, 244, 238, 0.78);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__brand p {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.65;
  color: rgba(245, 244, 238, 0.72);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.footer__link {
  display: block;
  font-size: 0.92rem;
  padding: 6px 0;
  color: rgba(245, 244, 238, 0.72);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__bottom {
  border-top: 1px solid rgba(180, 134, 43, 0.35);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(245, 244, 238, 0.55);
  letter-spacing: 0.04em;
}

/* Footer logo overrides for dark background */
.footer .nav__logo-name {
  color: var(--color-cream);
}

.footer .nav__logo-sub {
  color: var(--color-gold);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--color-cream);
    padding: 100px 40px 40px;
    gap: 24px;
    z-index: 1000;
  }

  .nav__links--open .nav__link {
    font-size: 1.4rem;
    font-weight: var(--fw-semibold);
    color: var(--color-forest);
  }

  .nav__links--open .nav__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding-left: 20px;
    background: transparent;
    border: none;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split--reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero--service {
    min-height: 50vh;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-block {
    margin: 0;
    border-radius: 0;
  }

  .nav {
    padding: 16px 20px;
  }

  .nav--scrolled {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .service-card {
    flex: 0 0 260px;
    height: 340px;
  }
}
