/* ============================================================
   Empatyca.io – Main Stylesheet
   Color Palette:
     --cream:        #F3EFE5
     --sage:         #93AC96
     --teal-mid:     #70968E
     --teal-deep:    #507C78
     --teal-dark:    #3A5E5A
     --white:        #FFFFFF
     --text-dark:    #1E2D2C
     --text-mid:     #4A5E5C
     --neon-green:   #39FF14  (HUD overlay only)
============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --cream:       #F3EFE5;
  --sage:        #93AC96;
  --teal-mid:    #70968E;
  --teal-deep:   #507C78;
  --teal-dark:   #3A5E5A;
  --white:       #FFFFFF;
  --text-dark:   #1E2D2C;
  --text-mid:    #4A5E5C;
  --neon:        #39FF14;
  --overlay:     rgba(30, 45, 44, 0.55);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(80,124,120,0.12);
  --shadow-lg: 0 12px 48px rgba(80,124,120,0.18);
  --transition: 0.28s ease;
}

/* ---------- 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-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  font-style: normal;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-mid); }

/* ---------- Utility Classes ---------- */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.bg-cream    { background: var(--cream); }
.bg-teal     { background: var(--teal-deep); }
.bg-dark     { background: var(--teal-dark); }

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--white);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-deep);
  color: var(--white);
  border-color: var(--teal-deep);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn-outline:hover { background: var(--teal-deep); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--white);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ============================================================
   HEADER / NAV
============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(243,239,229,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(80,124,120,0.12);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 20px rgba(80,124,120,0.15); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-wrap img { width: 68px; height: 68px; object-fit: contain; }
.logo-text { line-height: 1.1; }
.logo-text .brand-name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal-dark);
  display: block;
}
.logo-text .brand-tagline {
  font-size: 0.68rem;
  font-style: italic;
  color: var(--teal-mid);
  display: block;
  letter-spacing: 0.02em;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--teal-deep); background: rgba(80,124,120,0.08); }
.nav-link .chevron { font-size: 0.65rem; transition: transform var(--transition); }
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(80,124,120,0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.dropdown a:hover { color: var(--teal-deep); background: var(--cream); padding-left: 26px; }

/* Nav CTA */
.nav-cta { margin-left: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(80,124,120,0.1);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: block;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--teal-deep); background: var(--cream); }
.mobile-sub { padding-left: 20px; }
.mobile-sub a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
}
.mobile-sub a:hover { color: var(--teal-deep); }

/* ============================================================
   HERO SECTION
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 74px;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 55%, var(--teal-mid) 100%);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(30,45,44,0.72) 0%,
    rgba(58,94,90,0.60) 50%,
    rgba(30,45,44,0.35) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  padding: 80px 0 80px;
}

.hero-text .badge { background: rgba(147,172,150,0.35); color: #c8e6c4; border: 1px solid rgba(147,172,150,0.5); }
.hero-text h1 { color: var(--white); margin: 16px 0 24px; }
.hero-text p { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 520px; margin-bottom: 36px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* HUD / AR display */
.hero-hud {
  background: rgba(10,30,28,0.72);
  border: 1px solid rgba(57,255,20,0.25);
  border-radius: var(--radius);
  padding: 20px 22px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(57,255,20,0.08), var(--shadow-lg);
  max-width: 380px;
  font-size: 0.88em;
}
.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.hud-title {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--neon);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hud-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57,255,20,0.5); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 6px rgba(57,255,20,0); }
}
.hud-resident {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(57,255,20,0.1);
  margin-bottom: 10px;
}
.hud-resident:last-child { border-bottom: none; margin-bottom: 0; }
.hud-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--teal-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.hud-info { flex: 1; }
.hud-name {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--neon);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hud-detail {
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  color: rgba(57,255,20,0.65);
  margin-top: 2px;
}
.hud-status {
  font-family: 'Courier New', monospace;
  font-size: 0.62rem;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hud-status.ok   { background: rgba(57,255,20,0.15); color: var(--neon); border: 1px solid rgba(57,255,20,0.3); }
.hud-status.alert { background: rgba(255,180,0,0.15); color: #ffb400; border: 1px solid rgba(255,180,0,0.3); }
.hud-status.care  { background: rgba(80,124,120,0.25); color: #7ed6d0; border: 1px solid rgba(80,124,120,0.4); }

.hud-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(57,255,20,0.1);
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.hud-stat { text-align: center; }
.hud-stat-num {
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon);
  display: block;
}
.hud-stat-label {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  color: rgba(57,255,20,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
}
.scroll-mouse {
  width: 24px; height: 36px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll-anim 1.8s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
.scroll-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   STATS STRIP
============================================================ */
.stats-strip {
  background: var(--teal-deep);
  padding: 36px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 20px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
}


/* ============================================================
   FEATURE CARDS
============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(80,124,120,0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--teal-deep));
  border-radius: var(--radius) var(--radius) 0 0;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cream), rgba(147,172,150,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p  { font-size: 0.88rem; }

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-header { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-header h2 { margin: 12px 0 16px; }
.section-header p { font-size: 1.05rem; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--teal-deep));
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 0 12px;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--teal-deep));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(80,124,120,0.3);
}
.step-item h4 { margin-bottom: 8px; }
.step-item p { font-size: 0.87rem; }

/* ============================================================
   IMAGE + TEXT TWO-COL
============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.img-frame img { width: 100%; height: 420px; object-fit: cover; }
.img-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.img-badge-icon { font-size: 1.4rem; }
.img-badge-text strong { display: block; font-size: 0.85rem; color: var(--teal-dark); font-weight: 700; }
.img-badge-text span  { font-size: 0.75rem; color: var(--text-mid); }

.content-list { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.content-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.content-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--teal-deep));
  color: white;
  font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-top: 2px;
}

/* ============================================================
   TESTIMONIAL / QUOTE CARDS
============================================================ */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.quote-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--teal-deep);
  position: relative;
}
.quote-card::before { content: '\201C'; font-size: 4rem; color: var(--sage); position: absolute; top: 10px; left: 24px; line-height: 1; opacity: 0.4; }
.quote-text { font-size: 0.92rem; color: var(--text-mid); padding-top: 20px; line-height: 1.7; }
.quote-author { margin-top: 18px; }
.quote-author strong { font-size: 0.88rem; color: var(--teal-dark); display: block; }
.quote-author span   { font-size: 0.78rem; color: var(--text-mid); }

/* ============================================================
   PRICING CARDS
============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid rgba(80,124,120,0.12);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--teal-deep);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-10px); box-shadow: var(--shadow-lg); }
.pricing-badge {
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-dark));
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-head {
  padding: 28px 28px 20px;
  background: var(--cream);
}
.pricing-tier {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.pricing-desc { font-size: 0.82rem; color: var(--text-mid); }
.pricing-body { padding: 24px 28px 32px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--text-mid);
}
.pricing-feature .check { color: var(--teal-deep); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.pricing-cta { width: 100%; text-align: center; justify-content: center; }

/* ============================================================
   INSIGHTS / BLOG
============================================================ */
.insights-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.article-list { display: flex; flex-direction: column; gap: 28px; }
.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(80,124,120,0.1);
  transition: var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-img { height: 160px; object-fit: cover; width: 100%; }
.article-content { padding: 20px 20px 20px 0; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.article-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  background: rgba(80,124,120,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}
.article-date { font-size: 0.78rem; color: var(--text-mid); }
.article-content h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text-dark); }
.article-content h3 a:hover { color: var(--teal-deep); }
.article-content p { font-size: 0.85rem; line-height: 1.6; }
.article-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--teal-deep); margin-top: 12px;
  transition: gap var(--transition);
}
.article-read-more:hover { gap: 10px; }

/* Sidebar */
.sidebar-cta {
  background: linear-gradient(160deg, var(--teal-deep), var(--teal-dark));
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.sidebar-cta h3 { color: white; margin-bottom: 12px; font-size: 1.2rem; }
.sidebar-cta p  { color: rgba(255,255,255,0.78); font-size: 0.88rem; margin-bottom: 24px; }

/* ============================================================
   FULL ARTICLE PAGE
============================================================ */
.article-page { padding-top: 120px; }
.article-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep));
  padding: 64px 0 80px;
  margin-bottom: -40px;
}
.article-hero-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.article-hero h1 { color: white; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.article-hero .article-meta { margin-top: 16px; }
.article-hero .article-tag { background: rgba(255,255,255,0.15); color: white; }
.article-hero .article-date { color: rgba(255,255,255,0.65); }
.article-body-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 56px 64px;
  position: relative;
  z-index: 1;
}
.article-body h2 { font-size: 1.4rem; margin: 36px 0 14px; color: var(--teal-dark); }
.article-body h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--text-dark); }
.article-body p  { font-size: 0.96rem; line-height: 1.8; margin-bottom: 16px; }
.article-body ul { padding-left: 24px; margin-bottom: 16px; }
.article-body ul li { list-style: disc; font-size: 0.95rem; line-height: 1.7; color: var(--text-mid); margin-bottom: 6px; }
.article-body blockquote {
  border-left: 4px solid var(--teal-deep);
  background: var(--cream);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--teal-dark);
}
.article-img-full { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); margin: 28px 0; }

/* ============================================================
   WHO WE SERVE TABS
============================================================ */
.serve-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.serve-tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--teal-deep);
  background: transparent;
  color: var(--teal-deep);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.serve-tab-btn:hover,
.serve-tab-btn.active { background: var(--teal-deep); color: white; }

.serve-pane { display: none; }
.serve-pane.active { display: grid; }
.serve-pane { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ============================================================
   WHAT IS EMPATYCA – SUB-TABS
============================================================ */
.sub-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid rgba(80,124,120,0.15);
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 0;
  flex-wrap: nowrap;
}
.sub-tab-btn {
  padding: 12px 22px;
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.sub-tab-btn:hover  { color: var(--teal-deep); }
.sub-tab-btn.active { color: var(--teal-deep); border-bottom-color: var(--teal-deep); }

.sub-pane { display: none; }
.sub-pane.active { display: block; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(80,124,120,0.15);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}
.faq-q:hover { background: var(--cream); }
.faq-q .faq-icon { font-size: 1.1rem; color: var(--teal-deep); transition: transform var(--transition); flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }

/* ============================================================
   BENEFIT CARDS (residents / caregivers)
============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.benefit-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(80,124,120,0.1);
  transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-icon { font-size: 2rem; margin-bottom: 14px; }
.benefit-card h4 { margin-bottom: 8px; color: var(--teal-dark); }
.benefit-card p  { font-size: 0.87rem; }

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -300px; right: -200px;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.55); }
.footer-brand p { font-size: 0.85rem; max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--white); }
.footer-links { display: flex; gap: 20px; }

/* ============================================================
   MODAL / POPUP FORMS
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,45,44,0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-mid);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
}
.modal-close:hover { background: var(--cream); color: var(--text-dark); }
.modal h2 { margin-bottom: 6px; font-size: 1.6rem; }
.modal p.modal-sub { font-size: 0.88rem; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(80,124,120,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal-deep); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 14px; justify-content: center; margin-top: 4px; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { color: var(--teal-dark); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  padding: 140px 0 72px;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 60%, var(--teal-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -350px; right: -200px;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 600px; margin: 16px auto 0; }

/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ============================================================
   BACK LINK
============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 32px;
  transition: gap var(--transition);
}
.back-link:hover { gap: 10px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-hud { max-width: 480px; margin: 0 auto; }
  .steps-grid::before { display: none; }
  .insights-layout { grid-template-columns: 1fr; }
  .sidebar-cta { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: scale(1); }
}
@media (max-width: 768px) {
  .main-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .two-col, .serve-pane { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .article-card { grid-template-columns: 1fr; }
  .article-img { height: 200px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-body-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .serve-tabs { gap: 6px; }
  .serve-tab-btn { padding: 8px 14px; font-size: 0.8rem; }
}
