/* ═══════════════════════════════════════════════════════════
   King's Lodge Design System
   Specialist Neurological & Complex Care — Surrey
   ═══════════════════════════════════════════════════════════ */

:root {
  --kl-plum: #5E2A58;
  --kl-plum-light: #7A3D72;
  --kl-plum-dark: #4A1F46;
  --kl-plum-subtle: rgba(94, 42, 88, 0.06);
  --kl-cream: #FDF8F0;
  --kl-cream-dark: #F5EDE0;
  --kl-gold: #C9A84C;
  --kl-gold-light: #E8D5A0;
  --kl-gold-subtle: rgba(201, 168, 76, 0.15);
  --kl-warm-grey: #6B6362;
  --kl-warm-grey-light: #9A9493;
  --kl-dark: #2D2424;
  --kl-white: #FFFFFF;
  --kl-green: #4A7C59;
  --kl-green-light: #E8F5E9;
  --kl-red-soft: #C75B5B;
  --kl-shadow-sm: 0 2px 8px rgba(45, 36, 36, 0.06);
  --kl-shadow-md: 0 4px 16px rgba(45, 36, 36, 0.1);
  --kl-shadow-lg: 0 8px 32px rgba(45, 36, 36, 0.14);
  --kl-radius-sm: 6px;
  --kl-radius-md: 12px;
  --kl-radius-lg: 20px;
  --kl-transition: 0.3s ease;
  --kl-max-width: 1200px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--kl-dark); background: var(--kl-cream); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kl-plum); text-decoration: none; transition: color var(--kl-transition); }
a:hover { color: var(--kl-plum-light); }
ul, ol { list-style: none; }
::selection { background: var(--kl-plum); color: #fff; }
:focus-visible { outline: 3px solid var(--kl-plum-light); outline-offset: 2px; border-radius: 2px; }

/* Skip Link */
.skip-link { position: absolute; top: -100%; left: 1rem; padding: 0.75rem 1.5rem; background: var(--kl-plum); color: #fff; z-index: 9999; border-radius: 0 0 var(--kl-radius-sm) var(--kl-radius-sm); font-weight: 600; }
.skip-link:focus { top: 0; }

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

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; color: var(--kl-dark); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.03em; }
p { margin-bottom: 1rem; }
.text-gold { color: var(--kl-gold); }
.text-plum { color: var(--kl-plum); }
.gold-accent { color: var(--kl-gold); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }

/* ─── Top Bar ────────────────────────────────────────────── */
.top-bar { background: var(--kl-plum-dark); color: #fff; padding: 0.5rem 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #fff; transition: color var(--kl-transition); }
.top-bar a:hover { color: var(--kl-gold-light); }
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; }
.top-bar-left svg { width: 14px; height: 14px; margin-right: 0.3rem; vertical-align: middle; }
.top-bar-right { display: flex; align-items: center; gap: 1.5rem; }
.top-bar .location { display: flex; align-items: center; gap: 0.3rem; opacity: 0.85; }
.beds-badge { display: inline-block; background: var(--kl-green); color: #fff; padding: 0.25rem 0.75rem; border-radius: 2rem; font-weight: 600; font-size: 0.8rem; animation: pulse-badge 3s ease-in-out infinite; }
@keyframes pulse-badge { 0%,100% { box-shadow: 0 0 0 0 rgba(74,124,89,0.4); } 50% { box-shadow: 0 0 0 6px rgba(74,124,89,0); } }

/* ─── Navigation ─────────────────────────────────────────── */
.main-nav { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; transition: box-shadow var(--kl-transition), padding var(--kl-transition); }
.main-nav.scrolled { box-shadow: var(--kl-shadow-md); }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; height: 80px; transition: height var(--kl-transition); }
.main-nav.scrolled .container { height: 64px; }
.logo { display: flex; align-items: center; gap: 0.75rem; color: var(--kl-dark); }
.logo-phoenix { width: 48px; height: 48px; transition: width var(--kl-transition), height var(--kl-transition); }
.main-nav.scrolled .logo-phoenix { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; line-height: 1.1; color: var(--kl-plum); }
.logo-tagline { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kl-gold); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links li { position: relative; }
.nav-links > li > a { display: flex; align-items: center; gap: 0.3rem; padding: 0.5rem 1rem; color: var(--kl-dark); font-size: 0.95rem; font-weight: 500; position: relative; white-space: nowrap; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 0; left: 1rem; right: 1rem; height: 2px; background: var(--kl-plum); transform: scaleX(0); transition: transform var(--kl-transition); transform-origin: left; }
.nav-links > li:hover > a::after, .nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links > li > a:hover { color: var(--kl-plum); }
.dropdown-arrow { font-size: 0.6rem; transition: transform 0.2s; }
.nav-links li:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: var(--kl-shadow-lg); border-radius: 0 0 var(--kl-radius-md) var(--kl-radius-md); padding: 0.5rem 0; z-index: 200; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; }
.nav-links li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 400; color: var(--kl-dark); transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease; }
.dropdown a:hover { background: var(--kl-plum-subtle); color: var(--kl-plum); padding-left: 1.4rem; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { font-weight: 600; color: var(--kl-dark); font-size: 1.05rem; }
.nav-phone:hover { color: var(--kl-plum); }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--kl-plum); color: #fff; padding: 0.7rem 1.6rem; border-radius: var(--kl-radius-sm); font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer; transition: all 0.25s; }
.btn-primary:hover { background: var(--kl-plum-light); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(94,42,88,0.3); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--kl-plum); padding: 0.65rem 1.5rem; border-radius: var(--kl-radius-sm); font-weight: 600; font-size: 0.9rem; border: 2px solid var(--kl-plum); cursor: pointer; transition: all 0.25s; }
.btn-secondary:hover { background: var(--kl-plum); color: #fff; }
.btn-white { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--kl-plum); padding: 0.85rem 2rem; border-radius: var(--kl-radius-sm); font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all 0.25s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--kl-shadow-lg); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.12); color: #fff; padding: 0.85rem 2rem; border: 1.5px solid rgba(255,255,255,0.5); border-radius: var(--kl-radius-sm); font-weight: 600; font-size: 0.95rem; backdrop-filter: blur(4px); transition: all 0.25s; }
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: #fff; color: #fff; }
.btn-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--kl-plum); font-size: 1.1rem; }
.btn-phone svg { width: 20px; height: 20px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--kl-dark); transition: 0.3s; }

/* Mobile Nav */
.mobile-nav { display: none; position: fixed; inset: 0; background: rgba(74,31,70,0.97); z-index: 999; padding: 5rem 2rem 2rem; overflow-y: auto; }
.mobile-nav.active { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.mobile-nav a { color: #fff; font-family: var(--font-display); font-size: 1.25rem; padding: 0.75rem; }
.mobile-nav a:hover { color: var(--kl-gold-light); }
.mobile-nav .close-btn { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(94,42,88,0.55) 0%, rgba(74,31,70,0.4) 50%, rgba(45,36,36,0.5) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 800px; padding: 2rem; }
.hero-badge { display: inline-block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 1.5rem; padding: 0.5rem 1.5rem; border: 1px solid rgba(255,255,255,0.35); border-radius: 2px; font-weight: 500; backdrop-filter: blur(4px); background: rgba(255,255,255,0.08); }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; line-height: 1.7; opacity: 0.92; max-width: 620px; margin: 0 auto 1rem; font-weight: 300; }
.hero-beds { display: inline-block; background: var(--kl-green); color: #fff; padding: 0.4rem 1.25rem; border-radius: 2rem; font-weight: 600; font-size: 0.9rem; margin: 1rem 0 2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Small Hero (interior pages) */
.hero-small { position: relative; padding: 6rem 0 4rem; text-align: center; overflow: hidden; background: linear-gradient(135deg, var(--kl-plum-dark) 0%, var(--kl-plum) 100%); color: #fff; }
.hero-small h1 { color: #fff; margin-bottom: 0.5rem; }
.hero-small p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb { padding: 1rem 0; font-size: 0.85rem; color: var(--kl-warm-grey); }
.breadcrumb a { color: var(--kl-plum); font-weight: 500; }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar { background: #fff; border-bottom: 1px solid #eee; padding: 2rem 0; }
.stats-bar .container { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1000px; }
.stat-item { flex: 1; text-align: center; padding: 0.5rem 1.5rem; border-right: 1px solid #eee; }
.stat-item:last-child { border-right: none; }
.stat-icon { margin-bottom: 0.5rem; }
.stat-icon svg { width: 28px; height: 28px; color: var(--kl-plum); }
.stat-number { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--kl-plum-dark); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.8rem; color: var(--kl-warm-grey); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }

/* ─── Sections ───────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-cream { background: var(--kl-cream); }
.section-white { background: var(--kl-white); }
.section-plum { background: var(--kl-plum-dark); color: #fff; }
.section-plum h2, .section-plum h3 { color: #fff; }
.section-plum p { color: rgba(255,255,255,0.85); }
.section-subtle { background: var(--kl-plum-subtle); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { color: var(--kl-plum-dark); margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; color: var(--kl-warm-grey); max-width: 600px; margin: 0 auto; }

/* ─── Cards ──────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--kl-radius-md); padding: 2rem; transition: all 0.3s; border: 1px solid transparent; box-shadow: var(--kl-shadow-sm); }
.card:hover { transform: translateY(-4px); box-shadow: var(--kl-shadow-lg); border-color: var(--kl-gold-light); }
.card-icon { width: 56px; height: 56px; margin-bottom: 1.25rem; background: var(--kl-plum); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 24px; height: 24px; color: #fff; }
.card h3 { margin-bottom: 0.75rem; color: var(--kl-plum-dark); }
.card p { font-size: 0.95rem; line-height: 1.6; color: var(--kl-warm-grey); }
.card-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1rem; font-weight: 600; font-size: 0.9rem; color: var(--kl-plum); transition: gap 0.3s ease, color 0.3s ease; }
.card-link:hover { gap: 0.5rem; color: var(--kl-plum-light); }

/* Image Card */
.img-card { background: #fff; border-radius: var(--kl-radius-md); overflow: hidden; box-shadow: var(--kl-shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.img-card:hover { transform: translateY(-3px); box-shadow: var(--kl-shadow-md); }
.img-card-img { aspect-ratio: 4/3; overflow: hidden; }
.img-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.img-card:hover .img-card-img img { transform: scale(1.05); }
.img-card-body { padding: 1.25rem; }
.img-card-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.img-card-body p { font-size: 0.88rem; color: var(--kl-warm-grey); margin-bottom: 0; }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial-card { background: rgba(255,255,255,0.08); border-radius: var(--kl-radius-md); padding: 2rem; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s ease, background 0.3s ease; }
.testimonial-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }
.testimonial-card .stars { color: var(--kl-gold); margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-card blockquote { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; line-height: 1.6; margin-bottom: 1rem; }
.testimonial-card cite { font-style: normal; font-size: 0.85rem; opacity: 0.65; }
/* Light bg variant */
.testimonial-light { background: var(--kl-plum-subtle); border: 1px solid rgba(94,42,88,0.1); }
.testimonial-light blockquote { color: var(--kl-dark); }
.testimonial-light cite { color: var(--kl-warm-grey); }

/* ─── CTA Bar ────────────────────────────────────────────── */
.cta-bar { padding: 4rem 0; background: var(--kl-plum); color: #fff; text-align: center; }
.cta-bar h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-bar p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Two Column ─────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-text h2 { margin-bottom: 1.25rem; color: var(--kl-plum-dark); }
.two-col-text p { color: var(--kl-warm-grey); }
.two-col-image { border-radius: var(--kl-radius-md); overflow: hidden; box-shadow: var(--kl-shadow-lg); }
.two-col-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ─── Feature List ───────────────────────────────────────── */
.feature-list { list-style: none; margin-top: 1rem; }
.feature-list li { padding: 0.5rem 0; font-size: 0.95rem; color: var(--kl-warm-grey); display: flex; align-items: baseline; gap: 0.6rem; }
.feature-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--kl-gold); flex-shrink: 0; margin-top: 0.4rem; }

/* ─── Accordion / FAQ ────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--kl-cream-dark); }
.accordion-btn { width: 100%; background: none; border: none; padding: 1.25rem 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--kl-plum-dark); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color var(--kl-transition); }
.accordion-btn:hover { color: var(--kl-plum); }
.accordion-btn .arrow { transition: transform 0.3s; font-size: 0.8rem; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-content p { padding: 0 0 1.25rem; font-size: 0.95rem; line-height: 1.7; color: var(--kl-warm-grey); }
.accordion-item.open .accordion-content { max-height: 500px; }
.accordion-item.open .arrow { transform: rotate(180deg); }

/* ─── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--kl-dark); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--kl-cream-dark); border-radius: var(--kl-radius-sm); font-family: var(--font-body); font-size: 1rem; color: var(--kl-dark); background: #fff; transition: border-color var(--kl-transition); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--kl-plum); outline: none; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.8rem; color: var(--kl-warm-grey-light); margin-top: 0.3rem; }

/* ─── Timeline ───────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--kl-gold-light); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: 0.3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--kl-plum); border: 3px solid var(--kl-cream); margin-left: -6px; }
.timeline-item h3 { color: var(--kl-plum); margin-bottom: 0.25rem; font-size: 1.1rem; }
.timeline-item .time { font-size: 0.85rem; font-weight: 600; color: var(--kl-gold); margin-bottom: 0.5rem; }

/* ─── Team ───────────────────────────────────────────────── */
.team-card { text-align: center; background: #fff; border-radius: var(--kl-radius-md); padding: 2rem; box-shadow: var(--kl-shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: var(--kl-shadow-md); }
.team-card-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; background: var(--kl-plum-subtle); display: flex; align-items: center; justify-content: center; }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-photo .initials { font-family: var(--font-display); font-size: 2rem; color: var(--kl-plum); font-weight: 600; }
.team-card h3 { margin-bottom: 0.25rem; }
.team-card .role { font-size: 0.9rem; color: var(--kl-plum); font-weight: 600; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.88rem; color: var(--kl-warm-grey); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer { background: var(--kl-plum-dark); color: rgba(255,255,255,0.7); padding: 3.5rem 0 1.5rem; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; font-family: var(--font-body); }
.footer p, .footer a { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); transition: color 0.3s ease; }
.footer a:hover { color: var(--kl-gold-light); }
.footer ul li { margin-bottom: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.5rem; text-align: center; font-size: 0.8rem; }
.footer-cqc { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; padding: 0.5rem 1rem; background: rgba(255,255,255,0.08); border-radius: var(--kl-radius-sm); font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.footer-cqc .cqc-badge { font-weight: 700; color: var(--kl-green); }

/* ─── Back to Top ────────────────────────────────────────── */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--kl-plum); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--kl-shadow-md); transition: all 0.3s; z-index: 90; opacity: 0; pointer-events: none; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--kl-plum-light); transform: scale(1.08); }
.back-to-top svg { width: 20px; height: 20px; }

/* ─── Scroll Animations ──────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Content Page Layout ────────────────────────────────── */
.page-content { padding: 3rem 0 5rem; }
.page-content .container { max-width: 900px; }
.page-content h2 { color: var(--kl-plum-dark); margin: 2rem 0 1rem; }
.page-content h3 { color: var(--kl-plum); margin: 1.5rem 0 0.75rem; }
.page-content p { color: var(--kl-warm-grey); line-height: 1.8; }
.page-content ul { margin: 1rem 0; padding-left: 1.5rem; }
.page-content ul li { margin-bottom: 0.5rem; color: var(--kl-warm-grey); list-style: disc; }

/* Related conditions sidebar */
.related-conditions { background: var(--kl-plum-subtle); border-radius: var(--kl-radius-md); padding: 1.5rem; margin-top: 2rem; }
.related-conditions h4 { color: var(--kl-plum-dark); margin-bottom: 1rem; }
.related-conditions a { display: block; padding: 0.4rem 0; font-size: 0.9rem; color: var(--kl-plum); font-weight: 500; transition: color 0.3s ease, padding-left 0.3s ease; }
.related-conditions a:hover { color: var(--kl-plum-light); padding-left: 0.3rem; }

/* Condition page CTA */
.condition-cta { background: var(--kl-plum-subtle); border-radius: var(--kl-radius-md); padding: 2.5rem; text-align: center; margin-top: 3rem; }
.condition-cta h3 { color: var(--kl-plum-dark); margin-bottom: 0.75rem; }
.condition-cta p { color: var(--kl-warm-grey); margin-bottom: 1.5rem; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .stats-bar .container { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; border-right: none; padding: 1rem; }
  .hero { min-height: 70vh; }
  .section { padding: 3.5rem 0; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .top-bar-left { gap: 0.75rem; font-size: 0.78rem; }
  .top-bar .location { display: none; }
  .card-grid, .card-grid-4 { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-ghost, .btn-primary { width: 100%; max-width: 280px; justify-content: center; }
  .container { padding: 0 1.25rem; }
}

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

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  .top-bar, .main-nav, .mobile-nav, .back-to-top, .cta-bar, .hero-ctas { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .hero { min-height: auto; padding: 2rem 0; }
  .section { padding: 1.5rem 0; }
  a { color: #000; text-decoration: underline; }
}

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