/* ============================================================
   VITAL RECOVERY SERVICES — Shared Site Styles
   ============================================================ */

:root {
  --purple: #3D1F82;
  --purple-dark: #150B3A;
  --purple-mid: #2A146A;
  --gold: #C9A96E;
  --bg: #FAFAFA;
  --bg-alt: #F3F1F8;
  --text: #1B1B1B;
  --text-muted: #6B7280;
  --border: #E5E1F0;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(61,31,130,0.10);
  --shadow-lg: 0 12px 48px rgba(61,31,130,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.2; }
h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
h4 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover { background: var(--purple-mid); transform: translateY(-1px); }
.btn-primary.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-primary.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-primary.btn-full { width: 100%; padding: 16px; font-size: 1rem; margin-top: 8px; border-radius: 8px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-outline.btn-lg { padding: 16px 40px; font-size: 1rem; }

.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  margin-top: 16px;
}
.btn-outline-purple:hover { background: var(--purple); color: white; }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--purple); background: var(--bg-alt); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--text); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 10px 4px; font-size: 0.95rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.nav-mobile .btn-primary { margin-top: 12px; text-align: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-inner .btn-primary { display: none; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3D1F82ee 0%, #150B3Af0 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: flex;
  gap: 64px;
  align-items: center;
}
.hero-guide-panel {
  flex-shrink: 0;
  max-width: 260px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
}
.guide-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.5;
}
.guide-btns { display: flex; flex-direction: column; gap: 10px; }
.guide-btn {
  display: block;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
  background: rgba(255,255,255,0.04);
}
.guide-btn:hover { background: rgba(255,255,255,0.14); border-color: white; }
.hero-main { flex: 1; color: white; }
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-main h1 { color: white; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero-content { flex-direction: column; gap: 32px; padding: 64px 20px; }
  .hero-guide-panel { max-width: 100%; width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { text-align: center; }
}

/* ── WHY CAREGIVING ── */
.why-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.why-section .container { display: flex; flex-direction: column; }
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.why-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 20px;
}
.why-card h3 { color: var(--text); margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 768px) {
  .why-cards { grid-template-columns: 1fr; }
  .why-section { padding: 64px 0; }
}

/* ── SPECIALTIES ── */
.specialties-section {
  padding: 96px 0;
  background: white;
}
.specialty-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.specialty-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.specialty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.specialty-img { height: 240px; overflow: hidden; }
.specialty-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.specialty-card:hover .specialty-img img { transform: scale(1.04); }
.specialty-body { padding: 32px; }
.specialty-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.specialty-body p { color: var(--text-muted); line-height: 1.7; }

@media (max-width: 768px) {
  .specialty-cards { grid-template-columns: 1fr; }
  .specialties-section { padding: 64px 0; }
}

/* ── INCLUDED ── */
.included-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.check {
  color: var(--purple);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .included-section { padding: 64px 0; }
  .included-grid { grid-template-columns: 1fr 1fr; }
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 96px 0;
  color: white;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
}
.cta-inner h2 { color: white; margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 48px;
}
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.footer-contact a:hover, .site-footer a:hover { color: var(--gold); }
.footer-disclaimer p { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 48px 0 0; }
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,8,40,0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-box h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 8px; }
.modal-box > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--purple); }
.form-success { text-align: center; padding: 24px; }
.form-success p { color: var(--purple); font-weight: 600; font-size: 1rem; }

/* ── INNER PAGES ── */
.page-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  padding: 80px 0 72px;
}
.page-hero .section-eyebrow { color: var(--gold); }
.page-hero h1 { color: white; margin: 8px 0 20px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 620px; line-height: 1.7; margin-bottom: 32px; }

.page-body { padding: 80px 0; }
.page-body p { color: var(--text-muted); line-height: 1.8; font-size: 1rem; margin-bottom: 16px; }
.page-body h2 { margin: 48px 0 20px; }
.page-body h3 { color: var(--text); margin: 32px 0 12px; }
.page-body ul { padding-left: 20px; color: var(--text-muted); line-height: 2; margin-bottom: 20px; }
.page-body ul li { margin-bottom: 4px; }

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 40px 0;
}
@media (max-width: 720px) { .two-col-grid { grid-template-columns: 1fr; } }

.services-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 24px 0 40px;
}
.services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}
.services-list li::before { content: "✓"; color: var(--purple); font-weight: 700; }

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 24px 0 40px;
}
.procedure-tag {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  color: var(--purple);
}

/* ── FAQ PAGE ── */
.faq-label {
  text-align: center;
  padding: 48px 0 0;
}
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.4;
}
.faq-q .faq-chevron { color: var(--purple); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-a {
  display: none;
  margin-top: 20px;
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.97rem;
}
.faq-a p { margin-bottom: 14px; }
.faq-a strong { color: var(--text); }
.faq-item.open .faq-a { display: block; }

/* ── COMPLICATION ARTICLE ── */
.complication-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.complication-entry {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.complication-entry:first-child { padding-top: 0; }
.complication-entry h3 { font-size: 1.5rem; margin-bottom: 6px; }
.complication-entry p { color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }

/* ── ABOUT PAGE ── */
.about-hero-inner { display: flex; gap: 64px; align-items: center; }
.about-quote {
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin: 24px 0;
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .page-hero { padding: 56px 0 48px; }
  .page-body { padding: 56px 0; }
}
