/* ==========================================================================
   MCHS Rehab - mchsrehab.com
   Style: Calm Ocean (#1) | Architecture: Progressive Disclosure (#10)
   Generated: 2026-02-22
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #4A90A4;
  --primary-dark: #3A7A8E;
  --primary-light: #5BA0B4;
  --secondary: #7BC4C4;
  --secondary-light: #9DD6D6;
  --accent: #F0F7F4;
  --text: #2C3E50;
  --text-light: #5A6C7D;
  --text-muted: #8899A6;
  --bg-white: #FFFFFF;
  --bg-light: #F8FBFC;
  --bg-accent: #EDF5F7;
  --border: #D4E4EA;
  --border-light: #E8F0F3;
  --shadow-sm: 0 2px 8px rgba(74,144,164,0.08);
  --shadow-md: 0 4px 20px rgba(74,144,164,0.1);
  --shadow-lg: 0 8px 40px rgba(74,144,164,0.15);
  --shadow-xl: 0 16px 60px rgba(74,144,164,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-heading: 'Lato', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol { list-style: none; }

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

h1 { font-size: 2.75rem; font-weight: 300; letter-spacing: -0.5px; }
h2 { font-size: 2.125rem; font-weight: 300; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

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

strong { font-weight: 600; color: var(--text); }

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--transition);
}

.skip-nav:focus {
  top: 0;
  color: #fff;
}

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

/* --- Header / Navigation (Minimal: logo, phone, hamburger) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
  height: var(--header-height);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo span {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-cta {
  display: none;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.header-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 100px 32px 40px;
  overflow-y: auto;
}

.mobile-nav.open { right: 0; }

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--primary); }

.mobile-nav-cta {
  display: block;
  margin-top: 24px;
  padding: 16px 32px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  border: none;
}

.mobile-nav-phone {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary) !important;
  border: none !important;
}

/* --- Progress Bar --- */
.progress-bar-container {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border-light);
  z-index: 999;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.15s ease-out;
  border-radius: 0 2px 2px 0;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,144,164,0.85) 0%, rgba(123,196,196,0.65) 50%, rgba(74,144,164,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 24px;
}

.hero-content h1 {
  color: #fff;
  font-size: 3.25rem;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 strong {
  font-weight: 700;
  color: #fff;
}

.hero-subtitle {
  color: rgba(255,255,255,0.92);
  font-size: 1.25rem;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-phone {
  display: block;
  margin-top: 24px;
  color: rgba(255,255,255,0.9);
  font-size: 1.35rem;
  font-weight: 600;
}

.hero-phone a { color: #fff; }
.hero-phone a:hover { color: var(--secondary-light); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  display: block;
  margin: 8px auto 0;
  width: 24px;
  height: 24px;
  fill: rgba(255,255,255,0.7);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* --- Inner Page Hero --- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,170.7C960,181,1056,171,1152,144C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.75rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 16px auto 0;
  position: relative;
  z-index: 1;
}

/* Breadcrumbs */
.breadcrumbs {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.breadcrumbs a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,0.5); margin: 0 8px; }
.breadcrumbs .current { color: rgba(255,255,255,0.95); font-size: 0.9rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-ocean {
  background: var(--primary);
  color: #fff;
}
.btn-ocean:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* --- Progressive Disclosure Sections --- */
.pd-section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pd-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pd-section:nth-child(even) {
  background: var(--bg-light);
}

/* Continue Button */
.continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.continue-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.continue-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.continue-btn:hover svg { transform: translateY(2px); }

/* Skip Link */
.skip-to-content {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  padding: 12px 24px;
  background: rgba(74,144,164,0.9);
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.skip-to-content.visible {
  opacity: 1;
  visibility: visible;
}

.skip-to-content:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* --- Section Titles --- */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  margin: 16px auto 0;
}

.section-title p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--bg-light);
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}

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

.card-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-body {
  padding: 28px;
}

.card-body h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.card-link:hover { gap: 10px; }

/* --- Icon Card --- */
.icon-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

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

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

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

.icon-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.icon-card p { font-size: 0.9rem; }

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,144,164,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

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

/* --- Testimonial --- */
.testimonials-slider {
  max-width: 720px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: 48px 40px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: none;
}

.testimonial.active { display: block; }

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--secondary);
  line-height: 1;
  display: block;
  margin-bottom: -16px;
  font-family: Georgia, serif;
}

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

.testimonial-program {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 4px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all var(--transition);
}

.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

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

.stat-item { padding: 24px 16px; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.04)' d='M0,192L60,176C120,160,240,128,360,128C480,128,600,160,720,176C840,192,960,192,1080,176C1200,160,1320,128,1380,112L1440,96L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-phone {
  display: block;
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.cta-phone a { color: #fff; }
.cta-phone a:hover { color: var(--secondary-light); }

/* --- Wave Divider --- */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-white);
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  fill: var(--primary);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

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

.blog-card-image {
  position: relative;
  padding-top: 56%;
  overflow: hidden;
}

.blog-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--text);
  transition: color var(--transition);
}

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

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Timeline / Steps --- */
.steps-container {
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 52px;
  width: 2px;
  height: calc(100% - 52px);
  background: var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h3 { margin-bottom: 8px; }
.step-content p { font-size: 0.95rem; }

/* --- Daily Schedule --- */
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table thead { background: var(--primary); }
.schedule-table th {
  padding: 16px 20px;
  color: #fff;
  font-weight: 600;
  text-align: left;
  font-size: 0.95rem;
}

.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-light);
}

.schedule-table tbody tr:hover { background: var(--accent); }

/* --- Insurance Grid --- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.insurance-item {
  padding: 20px;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
}

.insurance-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.team-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-card .credentials { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; }

/* --- Footer --- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-about h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer-about p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

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

/* --- Map --- */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

/* --- Privacy / Legal Content --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p { font-size: 0.95rem; }

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* --- Responsive --- */
@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

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

  .hero-content h1 { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 2rem; }

  .pd-section { padding: 64px 0; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-col.reverse { direction: ltr; }

  .trust-items { gap: 24px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

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

  .header-phone span { display: none; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.85rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pd-section {
    opacity: 1;
    transform: none;
  }
}
