/* ============================================
   Clovis Wellness & Healing Center
   Style: Clinical Trust #3
   Architecture: Full-Screen Sections #8
   Generated: 2026-02-08
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1E5AA8;
  --primary-dark: #164785;
  --primary-light: #2B6FC0;
  --secondary: #4A90D9;
  --accent: #28A745;
  --accent-dark: #1E8236;
  --text: #212529;
  --text-light: #6C757D;
  --text-white: #FFFFFF;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-dark: #1A1F2E;
  --border: #DEE2E6;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-md: rgba(0, 0, 0, 0.12);
  --radius: 4px;
  --radius-md: 8px;
  --transition: 0.3s ease;
  --font-heading: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 500;
}

.skip-nav:focus {
  top: 0;
  color: var(--text-white);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(222, 226, 230, 0.5);
  height: var(--header-height);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

.site-header.transparent {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header.transparent:not(.scrolled) .nav-link,
.site-header.transparent:not(.scrolled) .header-phone a {
  color: var(--text-white);
}

.site-header.transparent:not(.scrolled) .logo {
  color: var(--text-white);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(30, 90, 168, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.header-phone a {
  color: var(--primary);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--accent);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: none;
  letter-spacing: 0;
}

.btn-cta:hover {
  background: var(--accent-dark);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-primary {
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(30, 90, 168, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

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

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Full-Screen Sections Architecture --- */
.fullscreen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.fullscreen-section:first-of-type {
  padding-top: 0;
}

.fullscreen-section:not(:first-of-type) {
  padding-top: var(--header-height);
}

/* --- Dot Navigation --- */
.dot-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dot-nav__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

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

.dot-nav__dot .dot-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.dot-nav__dot:hover .dot-label {
  opacity: 1;
}

/* --- Progress Bar --- */
.progress-bar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 999;
  transition: width 0.15s ease;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 90, 168, 0.85) 0%, rgba(26, 31, 46, 0.75) 100%);
  z-index: 1;
}

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

.hero h1 {
  color: var(--text-white);
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-phone {
  margin-top: 1.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-phone a {
  color: var(--text-white);
}

.hero-phone a:hover {
  text-decoration: underline;
}

/* --- Section Styles --- */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.section--light {
  background: var(--bg-light);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-white);
}

.section--dark p {
  color: rgba(255,255,255,0.85);
}

.section--primary {
  background: var(--primary);
  color: var(--text-white);
}

.section--primary h2,
.section--primary h3 {
  color: var(--text-white);
}

.section--primary h2::after {
  background: var(--text-white);
}

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

.trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

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

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

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 90, 168, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card__link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.card__link:hover svg {
  transform: translateX(4px);
}

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

.stat-item {
  padding: 1.5rem;
}

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

.section--primary .stat-number,
.section--dark .stat-number {
  color: var(--text-white);
}

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

.section--primary .stat-label,
.section--dark .stat-label {
  color: rgba(255,255,255,0.8);
}

/* --- Amenities Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  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.05);
}

.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--text-white);
}

.gallery-item__overlay h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- Testimonials --- */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 2rem;
}

.testimonial.active {
  display: block;
}

.testimonial__quote {
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial__quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary);
  font-family: Georgia, serif;
  line-height: 0;
  position: relative;
  top: 0.3em;
  margin-right: 0.1em;
}

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

.testimonial__program {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

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

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .cta-phone {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.cta-banner .cta-phone a {
  color: var(--text-white);
}

/* --- Image + Text Layout --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section--reverse {
  direction: rtl;
}

.split-section--reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

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

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
}

.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(30, 90, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.team-card__avatar svg {
  width: 48px;
  height: 48px;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-card__title {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.team-card__creds {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Programs Tabs --- */
.programs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.programs-nav__btn {
  padding: 0.65rem 1.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
}

.programs-nav__btn:hover,
.programs-nav__btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.program-panel {
  display: none;
}

.program-panel.active {
  display: block;
}

/* --- Levels of Care --- */
.levels-timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.level-step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.level-step:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.level-step:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.level-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 0.75rem;
}

.level-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.level-step p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Daily Schedule --- */
.schedule-list {
  max-width: 600px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  min-width: 100px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.schedule-activity {
  font-size: 0.95rem;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--primary);
}

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

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

.faq-answer__inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
}

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

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

.insurance-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
}

.insurance-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--shadow);
}

/* --- Admissions Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

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

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-info-item a {
  color: var(--primary);
  font-weight: 600;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

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

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

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.blog-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

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

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

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

.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--text-light);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* --- Blog Full Post --- */
.blog-post {
  max-width: 780px;
  margin: 0 auto;
}

.blog-post h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post h2::after {
  display: none;
}

.blog-post ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.blog-post ul li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

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

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2::after {
  display: none;
}

.legal-content p,
.legal-content li {
  color: var(--text-light);
  font-size: 0.95rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.35rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs span {
  margin: 0 0.4rem;
}

/* --- Inner Page Hero --- */
.page-hero {
  padding: 8rem 2rem 4rem;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: var(--text-white);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 90, 168, 0.88) 0%, rgba(26, 31, 46, 0.8) 100%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero h1 {
  color: var(--text-white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 2rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary);
  margin-top: 0.75rem;
}

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

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

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

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

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(30, 90, 168, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 800;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --- Substances List --- */
.substance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.substance-tag {
  padding: 0.5rem 1.25rem;
  background: rgba(30, 90, 168, 0.08);
  border: 1px solid rgba(30, 90, 168, 0.15);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
}

/* --- Modality List --- */
.modality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.modality-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.modality-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.modality-item span {
  font-weight: 500;
}

/* --- Packing List --- */
.packing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.packing-col h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.packing-list {
  list-style: none;
}

.packing-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.packing-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.packing-list--bring li::before {
  background: var(--accent);
}

.packing-list--avoid li::before {
  background: #DC3545;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.comparison-table td {
  font-size: 0.9rem;
  color: var(--text-light);
}

.comparison-table tr:hover td {
  background: var(--bg-light);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }

  .hero h1 { font-size: 2.5rem; }
  .page-hero h1 { font-size: 2.25rem; }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-section--reverse {
    direction: ltr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .dot-nav {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1.05rem; }
  .page-hero h1 { font-size: 1.85rem; }
  .page-hero { min-height: 280px; padding: 6rem 1.5rem 3rem; }

  .section { padding: 3.5rem 1.25rem; }

  .hamburger {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    box-shadow: -5px 0 30px var(--shadow-md);
    transition: right var(--transition);
    z-index: 999;
    align-items: stretch;
  }

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

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .header-phone {
    display: none;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .trust-bar__inner {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .levels-timeline {
    flex-direction: column;
  }

  .level-step:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .level-step:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

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

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

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

  .programs-nav {
    gap: 0.35rem;
  }

  .programs-nav__btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

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

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.65rem 0.5rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .cta-banner .cta-phone {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

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