/* 180 Community Wellness Centers - Enhanced Stylesheet */
/* FIXED: Mobile menu slides from LEFT, mobile header layout corrected */

/* ============================================
   CSS CUSTOM PROPERTIES (CSS Variables)
   ============================================ */
:root {
  /* Brand Colors - From Duda */
  --red-primary: #D90018;
  --red-button: #C91313;
  --red-hover: #BB0F12;
  --red-dark: #A00F10;
  --gray-dark: #212121;
  --gray-medium: #333333;
  --gray-light: #F7F7F7;
  --white: #FFFFFF;
  --black: #000000;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Font Sizes - Responsive using clamp() */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 3px 11px rgba(118, 118, 118, 0.25);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-header: 1000;
  --z-modal: 2000;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-medium);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improve text rendering */
h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizeLegibility;
}

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

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--red-primary);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--red-primary);
  outline-offset: 2px;
}

/* Skip to main content link (accessibility) */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--red-primary);
  color: var(--white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
}

.skip-to-main:focus {
  top: 0;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--gray-dark);
}

h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-sm);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Screen Reader Only */
.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;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background-color: var(--gray-dark);
  color: var(--white);
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.top-bar-info {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.top-bar-social {
  display: flex;
  gap: var(--space-xs);
}

.top-bar-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: var(--white);
}

.top-bar-social a:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  color: var(--white);
}

.top-bar-social a:focus-visible {
  outline-color: var(--white);
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }
  
  .top-bar-info {
    flex-direction: column;
    gap: var(--space-xs);
  }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  gap: var(--space-md);
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

nav a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--gray-medium);
  text-transform: uppercase;
  padding: var(--space-xs);
  transition: color var(--transition-base);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--red-primary);
  transition: width var(--transition-base);
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--red-primary);
}

/* Active page indicator */
nav .nav-link--active {
  color: var(--red-primary) !important;
  font-weight: 700;
}

nav .nav-link--active::after {
  width: 100%;
}

/* ============================================
   DROPDOWN NAVIGATION
   Add this block to styles.css after the existing
   "nav .nav-link--active::after" rule (~line 403)
   ============================================ */

/* Parent item that has a dropdown */
nav li.has-dropdown {
  position: relative;
}

/* Chevron icon next to dropdown parent links */
nav li.has-dropdown > a .nav-chevron {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.65em;
  transition: transform var(--transition-base);
  vertical-align: middle;
}

nav li.has-dropdown.dropdown-open > a .nav-chevron,
nav li.has-dropdown:hover > a .nav-chevron {
  transform: rotate(180deg);
}

/* The dropdown panel */
nav li.has-dropdown .dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--red-primary);
  padding: 0.5rem 0;
  z-index: var(--z-dropdown);
  list-style: none;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base);
}

/* Show dropdown on hover (desktop) */
nav li.has-dropdown:hover .dropdown,
nav li.has-dropdown.dropdown-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
nav li.has-dropdown .dropdown li {
  border-bottom: none;
}

nav li.has-dropdown .dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), padding var(--transition-fast);
}

nav li.has-dropdown .dropdown a::after {
  display: none; /* Remove the underline animation on dropdown items */
}

nav li.has-dropdown .dropdown a:hover {
  background: var(--gray-light);
  color: var(--red-primary);
  padding-left: 1.5rem;
}

/* Divider between dropdown groups */
nav li.has-dropdown .dropdown .dropdown-divider {
  height: 1px;
  background: var(--gray-light);
  margin: 0.4rem 0;
}

/* ── Mobile dropdown styles ── */
@media (max-width: 992px) {

  nav li.has-dropdown .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--red-primary);
    border-radius: 0;
    padding: 0;
    margin: 0 0 0 1.5rem;
    min-width: unset;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  nav li.has-dropdown.dropdown-open .dropdown {
    max-height: 400px;
    padding: 0.25rem 0;
    pointer-events: auto;
  }

  nav li.has-dropdown .dropdown a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  nav li.has-dropdown .dropdown a:hover {
    padding-left: 1.25rem;
  }

  /* Mobile toggle button for parent items */
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
  }
}
/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--red-button);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  line-height: 1.2;
}

.btn:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn:active {
  transform: translateY(0);
}

.btn-large {
  padding: calc(var(--space-sm) + 0.25rem) calc(var(--space-lg) + 0.5rem);
  font-size: var(--text-xl);
}

.btn-secondary {
  background-color: var(--gray-dark);
}

.btn-secondary:hover {
  background-color: var(--gray-medium);
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
}

/* ============================================
   MOBILE MENU TOGGLE (HAMBURGER)
   ============================================ */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--gray-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hide the hamburger X animation — we use a separate close button now */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: none;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 1;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: none;
}

/* ============================================
   MOBILE MENU CLOSE BUTTON (inside nav panel)
   ============================================ */
.mobile-menu-close {
  display: none; /* Hidden on desktop */
}

/* ============================================
   HERO CAROUSEL - FIXED FOR MOBILE
   ============================================ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: var(--space-xl);
}

.carousel-slide--active {
  opacity: 1;
  position: relative;
}

.carousel-slide h1 {
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

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

  .carousel-slides {
    position: relative;
    min-height: 480px;
  }
  
  .carousel-slide {
    min-height: 480px;
    padding: 3rem 1rem;
  }

  .carousel-slide:not(.carousel-slide--active) {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
  }

  .carousel-slide--active {
    position: relative !important;
  }

  .carousel-slide h1 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Hero slide variants with different backgrounds */
.hero--therapy {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%),
              url('../images/hero-couple.jpg') center center/cover no-repeat;
}

.hero--empowering {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%),
              url('../images/hero-mom-daughter.jpg') center center/cover no-repeat;
}

.hero--quality {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%),
              url('../images/hero-family-four.jpg') center center/cover no-repeat;
}

/* ============================================
   CAROUSEL CONTROLS
   ============================================ */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--gray-dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background-color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control--prev {
  left: 20px;
}

.carousel-control--next {
  right: 20px;
}

@media (max-width: 768px) {
  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-control--prev {
    left: 10px;
  }
  
  .carousel-control--next {
    right: 10px;
  }
}

/* ============================================
   CAROUSEL PAUSE BUTTON
   ============================================ */
.carousel-pause {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--gray-dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-pause:hover {
  background-color: var(--white);
  transform: scale(1.1);
}

.carousel-pause[data-playing="false"] .fa-pause {
  display: none;
}

.carousel-pause[data-playing="false"]::before {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ============================================
   CAROUSEL INDICATORS (DOTS)
   ============================================ */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-indicator--active {
  background-color: var(--white);
  width: 32px;
  border-radius: 6px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

/* Label above headings */
.label {
  font-weight: bold;
  color: var(--red-primary);
  text-transform: uppercase;
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
  display: block;
  letter-spacing: 0.05em;
}

/* Mission Section */
.mission {
  background: linear-gradient(135deg, var(--red-button) 0%, var(--gray-dark) 100%);
  color: var(--white);
  text-align: center;
}

.mission h2 {
  color: var(--white);
}

.mission p {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* Contact Section */
.contact-section {
  background-color: var(--gray-light);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .two-col,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-card h3 {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.service-card p {
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.service-card .btn {
  margin-top: auto;
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item i {
  width: 60px;
  height: 60px;
  background-color: var(--red-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 24px;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-lg);
}

.contact-item a {
  color: var(--red-primary);
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ============================================
   FORMS
   ============================================ */
form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

input:not([type="submit"]),
textarea,
select {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 2px solid #ddd;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base);
  background-color: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--red-primary);
  outline: none;
}

/* Improve accessibility for placeholders */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #999;
  opacity: 1;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  appearance: none;
}

/* Form Labels */
label {
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: var(--space-xs);
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: var(--gray-light);
  padding: var(--space-xl) 0 var(--space-sm);
}

footer h4 {
  margin-bottom: var(--space-sm);
  color: var(--gray-dark);
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

footer a {
  transition: color var(--transition-base);
}

footer a:hover {
  color: var(--red-primary);
}

footer p {
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid #ddd;
  font-size: var(--text-sm);
  color: var(--gray-medium);
}

.footer-bottom a {
  color: var(--red-primary);
  text-decoration: underline;
}

/* ============================================
   MOBILE NAVIGATION - SLIDE FROM LEFT
   ============================================ */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
    display: flex;
    order: 1;
  }

  /* Hide hamburger when menu is open (it's inside the header, not the nav,
     but we don't want it peeking through) */
  body.mobile-menu-open .mobile-menu-toggle {
    visibility: hidden;
  }

  .logo {
    order: 2;
    margin: 0 auto;
  }

  .btn-phone {
    order: 3;
    padding: 0.5rem 0.75rem;
    font-size: var(--text-base);
  }

  .btn-phone .phone-number {
    display: none;
  }

  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* ── Nav panel ── */
  nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  
  nav.mobile-active {
    left: 0;
  }

  /* ── Close button (X) — top left of panel ── */
  .mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gray-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
  }

  .mobile-menu-close:hover {
    background: var(--gray-medium);
  }

  /* ── Menu list ── */
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    flex-grow: 1;
  }
  
  nav > ul > li {
    border-bottom: 1px solid #e8e8e8;
  }
  
  nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    color: var(--gray-dark);
  }

  nav > ul > li > a {
    font-weight: 700;
  }
  
  nav a::after {
    display: none;
  }
  
  /* Active page — red text */
  nav .nav-link--active {
    color: var(--red-primary) !important;
    background-color: transparent;
  }

  /* Dropdown parent when open — red text */
  nav li.has-dropdown.dropdown-open > a {
    color: var(--red-primary);
  }

  /* Chevron styling */
  nav li.has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  nav li.has-dropdown > a .nav-chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: auto;
    padding-left: 1rem;
  }

  nav li.has-dropdown.dropdown-open > a .nav-chevron {
    transform: rotate(180deg);
  }

    /* ── Dropdown submenu (mobile) ── */
  nav li.has-dropdown .dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border-top: none;
    border-left: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    min-width: unset;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: max-height 0.35s ease;
    background: var(--gray-light);
    left: auto;
  }

  nav li.has-dropdown.dropdown-open .dropdown {
    max-height: 500px;
    pointer-events: auto;
  }

  nav li.has-dropdown .dropdown li {
    border-bottom: 1px solid #e0e0e0;
  }

  nav li.has-dropdown .dropdown li:last-child {
    border-bottom: none;
  }

    nav li.has-dropdown .dropdown a {
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-medium);
    text-transform: none;
    white-space: normal;
    word-wrap: break-word;
  }

  nav li.has-dropdown .dropdown a:hover {
    color: var(--red-primary);
    background: rgba(217, 0, 24, 0.04);
    padding-left: 2rem;
  }

  /* Hide dropdown divider on mobile */
  nav li.has-dropdown .dropdown .dropdown-divider {
    display: none;
  }

    /* ── Mobile nav footer (CTA + social) ── */
  .mobile-nav-footer {
    padding: var(--space-lg) var(--space-lg);
    margin-top: auto;
    text-align: center;
    border-top: 1px solid #e8e8e8;
  }

  .mobile-nav-footer .btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
    margin-bottom: var(--space-lg);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: var(--text-base);
  }

  .mobile-nav-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
  }

  .mobile-nav-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gray-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-base);
  }

  .mobile-nav-social a:hover {
    background: var(--red-primary);
    transform: translateY(-2px);
    color: var(--white);
  }
  
  /* ── Dark overlay behind menu ── */
  body.mobile-menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
}

/* Hide mobile nav footer on desktop */
@media (min-width: 1025px) {
  .mobile-nav-footer {
    display: none;
  }

  .mobile-menu-close {
    display: none;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .header-content {
    flex-wrap: wrap;
  }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .carousel-slide,
  .carousel-control,
  .carousel-indicator,
  .hamburger-line {
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid var(--white);
  }
  
  nav a {
    text-decoration: underline;
  }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Optimize animations */
.service-card,
.btn,
.top-bar-social a {
  will-change: transform;
}

/* Lazy load optimization */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ============================================
   PAGE HERO BANNER
   Used on: About, Contact, Forms, Team, etc.
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--red-button) 0%, var(--gray-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.page-hero p {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin-bottom: 0;
}

.page-hero--with-image {
  background-size: cover;
  background-position: center;
}

.page-hero-divider {
  width: 80px;
  height: 4px;
  background: var(--white);
  margin: var(--space-lg) auto 0;
  border-radius: 2px;
}

/* ============================================
   SERVICE SECTIONS (with optional bg images)
   Used on: Services overview, individual pages
   ============================================ */
.service-section {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.service-section .two-col {
  position: relative;
  z-index: 2;
}

.service-section img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* Background image variant — base */
.service-section--bg {
  color: var(--white);
}

.service-section--bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.service-section--bg h2,
.service-section--bg h3,
.service-section--bg p,
.service-section--bg li {
  color: var(--white);
}

.service-section--bg .label {
  color: #FFD700;
}

/* Dark overlay variant */
.service-section--dark {
  background: linear-gradient(135deg, rgba(33, 33, 33, 0.93) 0%, rgba(51, 51, 51, 0.9) 100%),
              var(--section-bg-image, none) center center/cover no-repeat;
}

/* Red overlay variant */
.service-section--red {
  background: linear-gradient(135deg, rgba(201, 19, 19, 0.9) 0%, rgba(160, 15, 16, 0.92) 100%),
              var(--section-bg-image, none) center center/cover no-repeat;
}

/* Deep (dark-to-red) overlay variant */
.service-section--deep {
  background: linear-gradient(135deg, rgba(33, 33, 33, 0.92) 0%, rgba(201, 19, 19, 0.85) 100%),
              var(--section-bg-image, none) center center/cover no-repeat;
}

/* ============================================
   CHECK LISTS
   Used on: Services, About, any page with
   feature/benefit lists
   ============================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.6rem;
  font-size: var(--text-base);
  line-height: 1.5;
}

.check-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--red-primary);
  position: absolute;
  left: 0;
  top: 0.15em;
}

.service-section--bg .check-list li::before {
  color: #FFD700;
}

/* Two-column variant */
.check-list--two-col {
  columns: 2;
  column-gap: var(--space-lg);
}

@media (max-width: 600px) {
  .check-list--two-col {
    columns: 1;
  }
}

/* ============================================
   QUOTE / TESTIMONIAL BLOCK
   Used on: About, could reuse on any page
   ============================================ */
.quote-block {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--gray-light);
}

.quote-block .quote-icon {
  font-size: 3rem;
  color: var(--red-primary);
  opacity: 0.3;
  margin-bottom: var(--space-sm);
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--gray-dark);
  max-width: 800px;
  margin: 0 auto var(--space-md);
  line-height: 1.4;
}

.quote-block cite {
  display: block;
  font-family: var(--font-heading);
  font-style: normal;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  color: var(--gray-medium);
}

/* ============================================
   INFO CARDS (side-by-side panels)
   Used on: About (hours/agreement), Contact, etc.
   ============================================ */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.info-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.info-card-header i {
  width: 48px;
  height: 48px;
  background: var(--red-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-card-header h3 {
  margin-bottom: 0;
  font-size: var(--text-xl);
}

@media (max-width: 768px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LEADERSHIP / PROFILE CARD
   Used on: About, Team pages
   ============================================ */
.leadership-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--red-primary);
}

.leadership-card .leader-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 3px solid var(--red-primary);
}

.leadership-card h3 {
  margin-bottom: 0.25rem;
  text-transform: none;
}

.leadership-card .leader-title {
  color: var(--red-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  display: block;
}

@media (max-width: 600px) {
  .leadership-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================
   BENEFIT / TAG PILLS
   Used on: About, Services, any feature list
   ============================================ */
.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.benefit-tag {
  background: var(--white);
  border: 2px solid var(--red-primary);
  color: var(--gray-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition-base);
}

.benefit-tag:hover {
  background: var(--red-primary);
  color: var(--white);
}

/* ============================================
   THERAPY TYPE ICON CARDS
   Used on: Services overview, talk therapy page
   ============================================ */
.therapy-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.therapy-type-card {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.therapy-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.therapy-type-card .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 2rem;
  color: var(--red-primary);
  transition: all var(--transition-base);
}

.therapy-type-card:hover .icon-circle {
  background: var(--red-primary);
  color: var(--white);
}

.therapy-type-card h4 {
  margin-bottom: 0;
  font-size: var(--text-base);
}

@media (max-width: 768px) {
  .therapy-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .therapy-types {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .therapy-type-card {
    padding: var(--space-md) var(--space-xs);
  }

  .therapy-type-card .icon-circle {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ============================================
   JUMP NAVIGATION (pill links bar)
   Used on: Services, any long-scroll page
   ============================================ */
.service-nav {
  background: var(--gray-light);
  padding: var(--space-md) 0;
  border-bottom: 1px solid #ddd;
}

.service-nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-nav-links a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--red-primary);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  color: var(--red-primary);
  transition: all var(--transition-base);
}

.service-nav-links a:hover {
  background: var(--red-primary);
  color: var(--white);
}

@media (max-width: 600px) {
  .service-nav-links {
    gap: 0.4rem;
  }

  .service-nav-links a {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* ============================================
   ADDITIONAL / FEATURE CARDS GRID
   Used on: Services, About, any card grid
   ============================================ */
.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.additional-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.additional-card i {
  color: var(--red-primary);
  font-size: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.additional-card h4 {
  color: var(--gray-dark);
  margin-bottom: 0.25rem;
  font-size: var(--text-base);
}

.additional-card p {
  font-size: var(--text-sm);
  color: var(--gray-medium);
  margin-bottom: 0;
}

/* On dark backgrounds */
.service-section--bg .additional-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-section--bg .additional-card i {
  color: #FFD700;
}

.service-section--bg .additional-card h4 {
  color: var(--white);
}

.service-section--bg .additional-card p {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   TEAM / STAFF PROFILE CARDS
   Used on: Team index, individual team pages
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.team-card-body {
  padding: var(--space-md) var(--space-lg);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  text-transform: none;
}

.team-card .team-role {
  color: var(--red-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  display: block;
  margin-bottom: var(--space-sm);
}

.team-card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

/* ============================================
   INVERTED BUTTON (white on dark sections)
   Used on: CTA sections, bg-image sections
   ============================================ */
.btn-white {
  background: var(--white);
  color: var(--red-primary);
}

.btn-white:hover {
  background: var(--gray-light);
  color: var(--red-hover);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .top-bar,
  header,
  .hero-carousel,
  footer,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  .section {
    page-break-inside: avoid;
  }
}
/* ============================================
   PAGE HERO (Inner Pages)
   Reusable hero banner for About, Services, 
   Contact, Forms, and all inner pages
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%),
              linear-gradient(135deg, var(--gray-dark) 0%, var(--red-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.page-hero h1 {
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-sm);
}

.page-hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-hero {
    padding: var(--space-2xl) 0;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

/* ============================================
   CONTACT FORM CARD
   Card-style form with logo header,
   matching the Duda contact page layout
   ============================================ */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-form-header {
  text-align: center;
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
}

.contact-form-logo {
  max-width: 200px;
  height: auto;
  margin: 0 auto var(--space-sm);
}

.contact-form-header h3 {
  color: var(--gray-dark);
  margin-bottom: 0;
}

.contact-form-card form {
  padding: var(--space-sm) var(--space-lg) var(--space-lg);
}

/* Side-by-side email + phone row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT ITEM ICON - ROUND VARIANT
   Red circle icons matching Duda screenshot
   (already have square icons in base styles,
   this ensures the round look from the original)
   ============================================ */
.contact-item i {
  border-radius: 50%;
}
/* ============================================
   FORMS PAGE STYLES
   ============================================ */

/* Form Selector Cards */
.form-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.form-card {
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.form-card i {
  font-size: 48px;
  color: var(--red-primary);
  transition: transform var(--transition-base);
}

.form-card h3 {
  font-size: var(--text-lg);
  margin-bottom: 0;
}

.form-card-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--text-sm);
  color: var(--red-primary);
}

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

.form-card:hover i {
  transform: scale(1.1);
}

.form-card--active {
  border-color: var(--red-primary);
  background: linear-gradient(135deg, rgba(217, 0, 24, 0.03) 0%, rgba(217, 0, 24, 0.08) 100%);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .form-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Intake Form Sections */
.intake-form-section {
  display: none;
}

.intake-form-section--active {
  display: block;
}

.intake-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
}

.intake-form-card h2 {
  text-align: center;
  margin-bottom: var(--space-xs);
  font-size: var(--text-3xl);
}

.intake-form-card > p {
  text-align: center;
  color: var(--gray-medium);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .intake-form-card {
    padding: var(--space-md);
  }
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--space-sm);
}

.form-group label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-dark);
  margin-bottom: 0;
}

/* Form Row Layouts */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.form-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .form-row,
  .form-row-3,
  .form-row-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .form-row-4 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Fieldsets & Radio Groups */
.form-fieldset {
  border: none;
  padding: var(--space-md) 0;
  margin: 0 0 var(--space-sm);
}

.form-fieldset legend {
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
}

.radio-group {
  display: flex;
  gap: var(--space-lg);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red-primary);
  cursor: pointer;
}

/* ============================================
   HYBRID HERO - LEFT-ALIGNED WITH GRADIENT FADE
   Combines Duda's editorial left-aligned layout
   with the new site's dual CTA buttons
   ============================================ */

/* Override carousel slide to left-align */
.carousel-slide {
  text-align: left;
  justify-content: flex-start;
  align-items: center;
}

.carousel-slide .container {
  max-width: 1200px;
  width: 100%;
}

.carousel-slide h1 {
  max-width: 700px;
  font-size: var(--text-5xl);
  line-height: 1.1;
}

.carousel-slide .hero-subtitle {
  max-width: 600px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-lg);
}

.hero-buttons {
  justify-content: flex-start;
}

/* Left-to-right gradient fade (dark left, image visible right) */
.hero--therapy {
  background: linear-gradient(to right, 
      rgba(0, 0, 0, 0.85) 0%, 
      rgba(0, 0, 0, 0.7) 30%, 
      rgba(0, 0, 0, 0.35) 55%, 
      rgba(0, 0, 0, 0.1) 75%, 
      rgba(0, 0, 0, 0.05) 100%),
    url('../images/hero-couple.jpg') center center/cover no-repeat;
}

.hero--empowering {
  background: linear-gradient(to right, 
      rgba(0, 0, 0, 0.85) 0%, 
      rgba(0, 0, 0, 0.7) 30%, 
      rgba(0, 0, 0, 0.35) 55%, 
      rgba(0, 0, 0, 0.1) 75%, 
      rgba(0, 0, 0, 0.05) 100%),
    url('../images/hero-mom-daughter.jpg') center center/cover no-repeat;
}

.hero--quality {
  background: linear-gradient(to right, 
      rgba(0, 0, 0, 0.85) 0%, 
      rgba(0, 0, 0, 0.7) 30%, 
      rgba(0, 0, 0, 0.35) 55%, 
      rgba(0, 0, 0, 0.1) 75%, 
      rgba(0, 0, 0, 0.05) 100%),
    url('../images/hero-family-four.jpg') center center/cover no-repeat;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
  .carousel-slide {
    text-align: left;
    padding: 3rem 1.5rem;
  }

  .carousel-slide h1 {
    max-width: 100%;
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .carousel-slide .hero-subtitle {
    max-width: 100%;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
  }

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

  /* On mobile, use a more even overlay since text fills width */
  .hero--therapy,
  .hero--empowering,
  .hero--quality {
    background-image: 
      linear-gradient(to right, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.4) 100%),
      var(--bg-fallback);
  }

  .hero--therapy {
    --bg-fallback: url('../images/hero-couple.jpg');
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.4) 100%),
      url('../images/hero-couple.jpg') center center/cover no-repeat;
  }

  .hero--empowering {
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.4) 100%),
      url('../images/hero-mom-daughter.jpg') center center/cover no-repeat;
  }

  .hero--quality {
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.4) 100%),
      url('../images/hero-family-four.jpg') center center/cover no-repeat;
  }
}

/* ============================================
   PREVENT FLASH OF UNSTYLED CONTENT (FOUC)
   While nav/footer components load
   ============================================ */
#nav-placeholder,
#footer-placeholder {
  min-height: 0;
}

/* Ensure header sticks properly after component load */
#nav-placeholder + .hero-carousel,
header + .hero-carousel {
  margin-top: 0;
}
/* ============================================
   MOBILE HERO FIXES
   - Give text more left padding so arrows don't overlap
   - Slightly reduce subtitle size on small screens
   ============================================ */
@media (max-width: 768px) {
  .carousel-slide {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }

  .carousel-slide .hero-subtitle {
    font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    letter-spacing: 0.03em;
  }
}