/* =====================================================
   HPC Helpline - Luxury Retreat Style (#7)
   Architecture: Classic Multi-Page (#1)
   Generated: 2026-02-04
   ===================================================== */

/* CSS Variables - Luxury Retreat Palette */
:root {
  --primary: #2C3E50;
  --primary-dark: #1a252f;
  --secondary: #8B7355;
  --secondary-light: #a89175;
  --accent: #D4AF37;
  --accent-light: #e6c860;
  --text: #1A1A1A;
  --text-light: #555555;
  --text-muted: #777777;
  --background: #FAF8F5;
  --background-white: #FFFFFF;
  --background-cream: #F5F0E8;
  --border-light: #E8E2D9;
  --shadow: rgba(44, 62, 80, 0.1);
  --shadow-gold: rgba(212, 175, 55, 0.2);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E4A6 50%, #D4AF37 100%);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', 'Lato', sans-serif;
  --transition: all 0.3s ease;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

a:hover {
  color: var(--secondary);
}

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

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.text-navy { color: var(--primary); }
.bg-white { background-color: var(--background-white); }
.bg-cream { background-color: var(--background-cream); }
.bg-navy { background-color: var(--primary); color: #fff; }

.section-padding {
  padding: 5rem 0;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  margin: 1rem auto 2rem;
}

.gold-line-left {
  margin-left: 0;
  margin-right: auto;
}

/* Skip Link - Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background-white);
  box-shadow: 0 2px 20px var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-text span {
  color: var(--accent);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background-white);
  min-width: 220px;
  box-shadow: 0 10px 30px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-top: 3px solid var(--accent);
  list-style: none;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--background-cream);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  border: none !important;
}

.nav-cta:hover {
  background: var(--accent-light);
  color: var(--primary) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(44, 62, 80, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-phone svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

/* Inner Page Hero */
.hero-inner {
  min-height: 40vh;
  margin-top: 80px;
  display: flex;
  align-items: center;
}

.hero-inner h1 {
  font-size: 2.75rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-gold-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-gold-outline:hover {
  background: var(--accent);
  color: var(--primary);
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: var(--primary);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.trust-item span {
  font-weight: 500;
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--background-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 30px var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow);
}

.card-image {
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Program Cards */
.program-card {
  border-top: 4px solid var(--accent);
}

.program-card .card-icon {
  width: 60px;
  height: 60px;
  background: var(--background-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.program-card .card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-light);
}

.feature-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-card .icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}

/* =====================================================
   GRID LAYOUTS
   ===================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* =====================================================
   ABOUT PREVIEW
   ===================================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview-image {
  position: relative;
}

.about-preview-image img {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px var(--shadow);
}

.about-preview-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--accent);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-preview-content h2 {
  margin-bottom: 1rem;
}

.about-preview-content ul {
  list-style: none;
  margin: 1.5rem 0;
}

.about-preview-content li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
}

.about-preview-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-section {
  background: var(--primary);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--background-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px var(--shadow);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: 30px;
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-program {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-phone {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.cta-phone a {
  color: var(--accent);
}

.cta-phone a:hover {
  color: var(--accent-light);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent);
}

/* =====================================================
   BREADCRUMBS
   ===================================================== */
.breadcrumbs {
  padding: 1rem 0;
  background: var(--background-cream);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumbs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: '›';
  color: var(--text-muted);
}

.breadcrumbs-list a {
  color: var(--text-muted);
}

.breadcrumbs-list a:hover {
  color: var(--accent);
}

.breadcrumbs-list .current {
  color: var(--primary);
  font-weight: 500;
}

/* =====================================================
   PAGE LAYOUT WITH SIDEBAR
   ===================================================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 4rem 0;
}

.page-content {
  min-width: 0;
}

.page-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background: var(--background-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px var(--shadow);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}

.sidebar-links a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}

.sidebar-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.sidebar-cta h4 {
  color: #fff;
  border-bottom-color: var(--accent);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.sidebar-cta .phone {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  margin-bottom: 1rem;
}

.content-section h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-section ul,
.content-section ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* =====================================================
   PROGRAM SECTIONS
   ===================================================== */
.program-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-light);
}

.program-section:last-child {
  border-bottom: none;
}

.program-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.program-icon {
  width: 80px;
  height: 80px;
  background: var(--background-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent);
}

.program-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--accent);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.program-features {
  background: var(--background-cream);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.program-features h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.program-features ul {
  list-style: none;
  margin: 0;
}

.program-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.program-features li:last-child {
  border-bottom: none;
}

.program-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--background-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--background-cream);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

/* =====================================================
   INSURANCE LOGOS
   ===================================================== */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.insurance-item {
  background: var(--background-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 2px 10px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  font-weight: 600;
  color: var(--primary);
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-form {
  background: var(--background-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--shadow-gold);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* =====================================================
   MAP SECTION
   ===================================================== */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* =====================================================
   BLOG CARDS
   ===================================================== */
.blog-card {
  background: var(--background-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 30px var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-meta .category {
  color: var(--accent);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-card h3 a {
  color: var(--primary);
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card p {
  flex-grow: 1;
}

.blog-card .read-more {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--background-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 30px var(--shadow);
  text-align: center;
}

.team-card-image {
  height: 280px;
  background: var(--background-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-image svg {
  width: 80px;
  height: 80px;
  fill: var(--secondary);
  opacity: 0.5;
}

.team-card-content {
  padding: 1.5rem;
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.team-card .title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-card .credentials {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =====================================================
   AMENITIES LIST
   ===================================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--background-white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px var(--shadow);
}

.amenity-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* =====================================================
   PRIVACY & LEGAL PAGES
   ===================================================== */
.legal-content {
  background: var(--background-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 30px var(--shadow);
}

.legal-content h2 {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .insurance-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .nav-main {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--background-white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-main.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-inner {
    min-height: 35vh;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .trust-items {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .trust-item {
    justify-content: center;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-preview-image {
    order: -1;
  }

  .about-preview-image::before {
    display: none;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-phone {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-sidebar {
    grid-template-columns: 1fr;
  }

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

  .insurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .section-padding {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .card-content {
    padding: 1.25rem;
  }

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

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
