@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-pale: #f0fdfa;
  --gold: #c9a84c;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.16);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--teal-light); }

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

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--teal-light); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--teal-light) !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0d3d3a 100%);
  display: flex; align-items: center;
  padding: 100px 2rem 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(13,148,136,0.15) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(13,148,136,0.12);
  top: -100px; right: -100px;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(13,148,136,0.15);
  border: 1px solid rgba(13,184,166,0.3);
  color: var(--teal-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

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

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
}

.stat { border-left: 2px solid var(--teal); padding-left: 1rem; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--white); font-weight: 700; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── LEAD FORM (Hero) ── */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  background: var(--teal);
  margin: -2rem -2rem 1.5rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-align: center;
}

.form-card-header h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.form-card-header p {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray-600); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

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

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-submit:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.3); }

.form-privacy {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
}

.helpline-bar {
  background: var(--gold);
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.helpline-bar a { color: var(--navy); font-weight: 700; }

/* ── SECTION COMMONS ── */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--text-light); max-width: 560px; }

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 2rem;
}

.trust-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}

.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; font-weight: 500; color: var(--gray-600);
}

.trust-icon { font-size: 1.1rem; }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }

.step-card {
  text-align: center;
  padding: 2rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }

.step-num {
  width: 52px; height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step-card p { font-size: 0.9rem; color: var(--text-light); }

/* ── FEATURED REHABS ── */
.featured-rehabs { background: var(--navy); }
.featured-rehabs .section-label { color: var(--teal-light); }
.featured-rehabs .section-title { color: var(--white); }
.featured-rehabs .section-sub { color: rgba(255,255,255,0.6); }

.rehabs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }

.rehab-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.rehab-card:hover { background: rgba(255,255,255,0.09); border-color: var(--teal); transform: translateY(-3px); }

.rehab-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 50px;
  margin-bottom: 1rem;
}

.rehab-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.5rem; }
.rehab-location { color: var(--teal-light); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.75rem; }
.rehab-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 1.25rem; }

.rehab-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.tag {
  background: rgba(13,148,136,0.15);
  border: 1px solid rgba(13,184,166,0.25);
  color: var(--teal-light);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 50px;
}

.rehab-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1rem; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover { border-color: var(--teal-light); color: var(--teal-light); }

/* ── AREAS ── */
.areas { background: var(--off-white); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }

.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}

.area-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.area-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.area-card h3 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--navy); }
.area-card p { font-size: 0.8rem; color: var(--text-light); }
.area-count { font-size: 0.75rem; font-weight: 700; color: var(--teal); margin-top: 0.5rem; }

/* ── TREATMENT TYPES ── */
.treatment-types { background: var(--white); }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.type-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}

.type-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.type-icon { font-size: 2rem; margin-bottom: 1rem; }
.type-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.type-card p { font-size: 0.875rem; color: var(--text-light); }
.type-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--teal); font-size: 0.85rem; font-weight: 600; margin-top: 0.75rem; }
.type-link:hover { gap: 0.5rem; }

/* ── INSURANCE ── */
.insurance-section {
  background: linear-gradient(135deg, var(--teal-pale) 0%, var(--white) 100%);
  border-top: 1px solid rgba(13,148,136,0.15);
  border-bottom: 1px solid rgba(13,148,136,0.15);
}

.insurance-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.insurance-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.insurance-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-size: 0.9rem; font-weight: 500;
}

.insurance-check { color: var(--teal); font-size: 1.1rem; }

.insurance-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}

.insurance-cta h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1rem; }
.insurance-cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 1.5rem; }

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition);
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.35); }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.quote-mark { font-size: 3rem; color: var(--teal); line-height: 1; font-family: 'Playfair Display', serif; margin-bottom: 0.5rem; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-light); font-style: italic; margin-bottom: 1.25rem; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.9rem; }
.author-name { font-weight: 600; font-size: 0.875rem; }
.author-detail { font-size: 0.775rem; color: var(--text-light); }

/* ── FAQ ── */
.faq-section { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600; font-size: 0.95rem;
  background: var(--off-white);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}

.faq-question:hover { background: var(--gray-100); }
.faq-question .faq-icon { color: var(--teal); font-size: 1.2rem; transition: var(--transition); }
.faq-answer { padding: 1.25rem 1.5rem; font-size: 0.875rem; color: var(--text-light); line-height: 1.75; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ── BOTTOM CTA ── */
.bottom-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3d3a 100%);
  text-align: center;
  padding: 6rem 2rem;
}

.bottom-cta h2 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
.bottom-cta p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2rem; }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}

.btn-ghost:hover { border-color: var(--teal-light); color: var(--teal-light); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-top: 0.75rem; max-width: 280px; line-height: 1.7; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); font-weight: 700; }
.footer-logo span { color: var(--teal-light); }

.footer-col h4 { color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: var(--transition); }
.footer-col a:hover { color: var(--teal-light); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.25); max-width: 1100px; margin: 1rem auto 0; line-height: 1.6; }

/* ── SUCCESS MESSAGE ── */
.success-message {
  display: none;
  background: var(--teal-pale);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  color: var(--teal);
  font-weight: 600;
  margin-top: 1rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 130px 2rem 60px;
  text-align: center;
}

.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.breadcrumb a { color: var(--teal-light); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 480px; }
  .rehabs-grid, .steps-grid, .types-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .insurance-inner { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .rehabs-grid, .steps-grid, .types-grid, .testimonials-grid, .areas-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-inner { justify-content: center; }
  .hero { padding: 90px 1.25rem 50px; }
  section { padding: 3.5rem 1.25rem; }
}

/* ── 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); }
