
/* RecovHQ Redesign — Startup/Modern Theme */
/* Prefix: rh- */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Figtree:wght@300;400;500;600;700&display=swap');

:root {
  --rh-green: #10B981;
  --rh-green-light: #D1FAE5;
  --rh-green-dark: #059669;
  --rh-dark: #111827;
  --rh-gray-900: #1F2937;
  --rh-gray-700: #374151;
  --rh-gray-500: #6B7280;
  --rh-gray-300: #D1D5DB;
  --rh-gray-100: #F3F4F6;
  --rh-white: #FFFFFF;
  --rh-accent: #34D399;
  --rh-orange: #F59E0B;
  --rh-radius: 12px;
  --rh-radius-lg: 16px;
  --rh-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --rh-shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --rh-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Figtree', sans-serif;
  color: var(--rh-gray-700);
  background: var(--rh-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Lexend', sans-serif; color: var(--rh-dark); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 600; }

a { color: var(--rh-green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rh-green-dark); }

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

.rh-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.rh-topbar {
  background: var(--rh-dark);
  color: var(--rh-white);
  font-size: .875rem;
  padding: 8px 0;
}
.rh-topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.rh-topbar a { color: var(--rh-accent); font-weight: 600; }
.rh-topbar-cta {
  background: var(--rh-green);
  color: white !important;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .8rem;
  display: inline-flex; align-items: center; gap: 6px;
}

/* Header */
.rh-header {
  background: var(--rh-white);
  border-bottom: 1px solid var(--rh-gray-100);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--rh-shadow);
}
.rh-header-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
}
.rh-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.rh-logo-text { font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--rh-dark); }
.rh-logo-text span { color: var(--rh-green); }

.rh-nav { display: flex; align-items: center; gap: 28px; }
.rh-nav a { color: var(--rh-gray-700); font-weight: 500; font-size: .95rem; transition: color .2s; }
.rh-nav a:hover { color: var(--rh-green); }

.rh-nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rh-green); color: white !important; padding: 10px 20px;
  border-radius: var(--rh-radius); font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .2s;
}
.rh-nav-phone:hover { background: var(--rh-green-dark); transform: translateY(-1px); }

.rh-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.rh-hamburger svg { width: 28px; height: 28px; color: var(--rh-dark); }

.rh-mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--rh-white); z-index: 200; padding: 80px 24px 24px;
  flex-direction: column; gap: 0;
}
.rh-mobile-menu.rh-open { display: flex; }
.rh-mobile-menu a {
  display: block; padding: 16px 0; font-size: 1.25rem; font-weight: 500;
  color: var(--rh-dark); border-bottom: 1px solid var(--rh-gray-100);
}
.rh-mobile-close {
  position: absolute; top: 20px; right: 20px; background: none; border: none;
  font-size: 2rem; cursor: pointer; color: var(--rh-dark);
}

/* Hero */
.rh-hero {
  background: linear-gradient(135deg, #064E3B 0%, #111827 50%, #1F2937 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.rh-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(16,185,129,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(52,211,153,.1) 0%, transparent 50%);
}
.rh-hero-content { position: relative; z-index: 1; text-align: center; }
.rh-hero h1 { color: white; margin-bottom: 16px; }
.rh-hero p { color: rgba(255,255,255,.8); font-size: 1.25rem; max-width: 650px; margin: 0 auto 32px; }

.rh-search-box {
  max-width: 640px; margin: 0 auto;
  display: flex; background: white; border-radius: var(--rh-radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  overflow: hidden;
}
.rh-search-box input {
  flex: 1; border: none; padding: 18px 24px; font-size: 1.1rem;
  font-family: 'Figtree', sans-serif; outline: none; background: transparent;
}
.rh-search-box button {
  background: var(--rh-green); color: white; border: none; padding: 18px 32px;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: background .2s;
}
.rh-search-box button:hover { background: var(--rh-green-dark); }

/* Stats bar */
.rh-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: -50px; position: relative; z-index: 2;
}
.rh-stat-card {
  background: white; border-radius: var(--rh-radius); padding: 24px;
  text-align: center; box-shadow: var(--rh-shadow-lg);
}
.rh-stat-num { font-family: 'Lexend', sans-serif; font-size: 2rem; font-weight: 800; color: var(--rh-green); }
.rh-stat-label { color: var(--rh-gray-500); font-size: .9rem; margin-top: 4px; }

/* Section */
.rh-section { padding: 80px 0; }
.rh-section-alt { background: var(--rh-gray-100); }
.rh-section-title { text-align: center; margin-bottom: 48px; }
.rh-section-title p { color: var(--rh-gray-500); font-size: 1.1rem; max-width: 600px; margin: 12px auto 0; }

/* Cards */
.rh-card {
  background: white; border-radius: var(--rh-radius); overflow: hidden;
  box-shadow: var(--rh-shadow); transition: transform .3s, box-shadow .3s;
}
.rh-card:hover { transform: translateY(-4px); box-shadow: var(--rh-shadow-lg); }

.rh-card-gradient {
  height: 8px;
  background: linear-gradient(90deg, var(--rh-green), var(--rh-accent));
}
.rh-card-body { padding: 24px; }
.rh-card-title { font-size: 1.125rem; margin-bottom: 8px; }
.rh-card-title a { color: var(--rh-dark); }
.rh-card-title a:hover { color: var(--rh-green); }
.rh-card-meta { color: var(--rh-gray-500); font-size: .875rem; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.rh-card-desc { color: var(--rh-gray-700); font-size: .9rem; line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Stars */
.rh-stars { color: #FBBF24; font-size: .9rem; display: inline-flex; gap: 1px; }
.rh-stars-dim { color: var(--rh-gray-300); }

/* Badges */
.rh-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
}
.rh-badge-green { background: var(--rh-green-light); color: #065F46; }
.rh-badge-orange { background: #FEF3C7; color: #92400E; }

/* Grid */
.rh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Treatment grid (icons) */
.rh-treatment-card {
  background: white; border-radius: var(--rh-radius); padding: 24px;
  text-align: center; box-shadow: var(--rh-shadow); transition: transform .2s, box-shadow .2s;
}
.rh-treatment-card:hover { transform: translateY(-2px); box-shadow: var(--rh-shadow-md); }
.rh-treatment-icon { font-size: 2rem; margin-bottom: 12px; }
.rh-treatment-name { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: .95rem; color: var(--rh-dark); }

/* States alphabetical list */
.rh-states-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.rh-state-link {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: 8px; color: var(--rh-gray-700); font-weight: 500;
  transition: background .2s, color .2s;
}
.rh-state-link:hover { background: var(--rh-green-light); color: var(--rh-green-dark); }
.rh-state-count { font-size: .8rem; color: var(--rh-gray-500); margin-left: auto; }

/* Testimonials */
.rh-testimonial {
  background: white; border-radius: var(--rh-radius); padding: 32px;
  box-shadow: var(--rh-shadow); position: relative;
}
.rh-testimonial::before {
  content: '"'; position: absolute; top: 12px; left: 20px;
  font-size: 4rem; color: var(--rh-green-light); font-family: Georgia, serif; line-height: 1;
}
.rh-testimonial-text { font-style: italic; color: var(--rh-gray-700); margin-bottom: 16px; padding-top: 24px; }
.rh-testimonial-author { font-weight: 600; color: var(--rh-dark); }
.rh-testimonial-role { font-size: .875rem; color: var(--rh-gray-500); }

/* FAQ */
.rh-faq details { border-bottom: 1px solid var(--rh-gray-100); }
.rh-faq summary {
  padding: 20px 0; cursor: pointer; font-family: 'Lexend', sans-serif;
  font-weight: 600; font-size: 1.05rem; color: var(--rh-dark);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.rh-faq summary::-webkit-details-marker { display: none; }
.rh-faq summary::after { content: '+'; font-size: 1.5rem; color: var(--rh-green); transition: transform .2s; }
.rh-faq details[open] summary::after { content: '−'; }
.rh-faq .rh-faq-answer { padding: 0 0 20px; color: var(--rh-gray-700); line-height: 1.7; }

/* CTA Banner */
.rh-cta-banner {
  background: linear-gradient(135deg, var(--rh-green) 0%, #059669 100%);
  padding: 60px 0; text-align: center;
}
.rh-cta-banner h2 { color: white; margin-bottom: 12px; }
.rh-cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 28px; font-size: 1.1rem; }
.rh-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--rh-green-dark) !important; padding: 16px 36px;
  border-radius: var(--rh-radius); font-family: 'Lexend', sans-serif;
  font-weight: 700; font-size: 1.15rem; box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: transform .2s;
}
.rh-cta-btn:hover { transform: translateY(-2px); }

/* Footer */
.rh-footer {
  background: var(--rh-dark);
  color: rgba(255,255,255,.6);
  padding: 24px 0;
  font-size: .875rem;
}
.rh-footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.rh-footer a { color: rgba(255,255,255,.6); }
.rh-footer a:hover { color: var(--rh-accent); }
.rh-footer-links { display: flex; gap: 24px; }

/* Breadcrumb */
.rh-breadcrumb {
  padding: 16px 0; font-size: .875rem; color: var(--rh-gray-500);
}
.rh-breadcrumb a { color: var(--rh-gray-500); }
.rh-breadcrumb a:hover { color: var(--rh-green); }
.rh-breadcrumb span { margin: 0 8px; }

/* Center page */
.rh-center-hero {
  background: linear-gradient(135deg, #064E3B 0%, #111827 100%);
  padding: 48px 0; color: white;
}
.rh-center-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.rh-sidebar { position: sticky; top: 80px; }
.rh-sidebar-box {
  background: white; border-radius: var(--rh-radius); padding: 24px;
  box-shadow: var(--rh-shadow-md); margin-bottom: 24px;
}
.rh-sidebar-cta {
  background: linear-gradient(135deg, var(--rh-green), var(--rh-green-dark));
  color: white; border-radius: var(--rh-radius); padding: 24px; text-align: center;
  margin-bottom: 24px;
}
.rh-sidebar-cta-btn {
  display: block; background: white; color: var(--rh-green-dark) !important;
  padding: 14px; border-radius: 8px; font-weight: 700; font-size: 1.1rem;
  margin-top: 16px; text-align: center;
}

/* Tabs */
.rh-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--rh-gray-100); margin-bottom: 32px; overflow-x: auto; }
.rh-tab {
  padding: 12px 24px; font-weight: 600; color: var(--rh-gray-500); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: 'Lexend', sans-serif; font-size: .95rem;
}
.rh-tab.rh-active { color: var(--rh-green); border-bottom-color: var(--rh-green); }
.rh-tab-content { display: none; }
.rh-tab-content.rh-active { display: block; }

/* Insurance / Trust bar */
.rh-trust-bar {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 40px 0;
}
.rh-trust-item { text-align: center; }
.rh-trust-icon { font-size: 1.5rem; margin-bottom: 4px; }
.rh-trust-label { font-size: .8rem; color: var(--rh-gray-500); }

/* Show more */
.rh-hidden { display: none !important; }
.rh-show-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rh-green-light); color: var(--rh-green-dark);
  padding: 12px 24px; border-radius: var(--rh-radius);
  font-weight: 600; border: none; cursor: pointer; font-family: 'Figtree', sans-serif;
  transition: background .2s;
}
.rh-show-more-btn:hover { background: #A7F3D0; }

/* Back to top */
.rh-back-top {
  position: fixed; bottom: 80px; right: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--rh-green); color: white; border: none;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  box-shadow: var(--rh-shadow-md); font-size: 1.2rem;
}
.rh-back-top.rh-visible { display: flex; }

/* Mobile bottom nav */
.rh-mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid var(--rh-gray-100);
  z-index: 100; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.rh-mobile-nav-inner { display: flex; justify-content: space-around; }
.rh-mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: .7rem; color: var(--rh-gray-500); text-decoration: none;
  font-weight: 500;
}
.rh-mobile-nav-item svg { width: 24px; height: 24px; }
.rh-mobile-nav-item--active { color: var(--rh-green); }

/* Animations */
@keyframes rh-fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.rh-animate { animation: rh-fadeUp .5s ease-out forwards; }

/* Blog card */
.rh-blog-card { display: flex; flex-direction: column; }
.rh-blog-thumb {
  height: 180px; border-radius: var(--rh-radius) var(--rh-radius) 0 0;
  background: linear-gradient(135deg, var(--rh-green-light), #ECFDF5);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

/* Sticky CTA mobile */
.rh-sticky-cta-mobile {
  display: none;
  position: fixed; bottom: 56px; left: 0; right: 0; z-index: 95;
  background: var(--rh-green); padding: 12px 20px; text-align: center;
}
.rh-sticky-cta-mobile a {
  color: white !important; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .rh-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rh-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rh-center-layout { grid-template-columns: 1fr; }
  .rh-sidebar { position: static; }
}
@media (max-width: 768px) {
  .rh-topbar { display: none; }
  .rh-nav { display: none; }
  .rh-hamburger { display: block; }
  .rh-stats { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .rh-grid-4, .rh-grid-3, .rh-grid-2 { grid-template-columns: 1fr; }
  .rh-hero { padding: 48px 0 72px; }
  .rh-hero h1 { font-size: 1.75rem; }
  .rh-search-box { flex-direction: column; }
  .rh-search-box input { padding: 14px 16px; }
  .rh-search-box button { padding: 14px; }
  .rh-mobile-nav { display: block; }
  .rh-sticky-cta-mobile { display: block; }
  .rh-section { padding: 48px 0; }
  body { padding-bottom: 120px; }
  .rh-trust-bar { gap: 20px; }
}
@media (max-width: 480px) {
  .rh-stats { gap: 12px; }
  .rh-stat-card { padding: 16px; }
  .rh-stat-num { font-size: 1.5rem; }
}

/* Article */
.rh-article { max-width: 760px; margin: 0 auto; }
.rh-article h2 { margin: 32px 0 16px; }
.rh-article p { margin-bottom: 16px; line-height: 1.8; }
.rh-article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.rh-article-author { display: flex; align-items: center; gap: 10px; }
.rh-author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rh-green-light); display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: var(--rh-green-dark); font-size: .9rem;
}
.rh-reading-time { color: var(--rh-gray-500); font-size: .875rem; }
.rh-share-buttons { display: flex; gap: 8px; margin-top: 32px; }
.rh-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px; font-size: .8rem; font-weight: 500;
  color: white !important; text-decoration: none;
}

/* Placeholder images */
.rh-placeholder-img {
  width: 100%; height: 200px; border-radius: var(--rh-radius) var(--rh-radius) 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: white;
}

/* Print */
@media print { .rh-topbar, .rh-mobile-nav, .rh-sticky-cta-mobile, .rh-back-top { display: none !important; } }
