/* Fonts loaded via Google Fonts in HTML head: Inter + DM Sans */

#demo-request,
#contact,
section[id] {
  scroll-margin-top: 100px;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(1.05);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ===== CSS Variables ===== */
:root {
  --primary: #265242;
  --primary-dark: #1a3b2f;
  --lime: #D6FF33;
  --accent: #1FB282;
  --accent-blue: #6BA3D6;
  --accent-orange: #F4763B;
  --text-dark: #212121;
  --text-light: #6b7280;
  --text-cream: #FCFAF2;
  --bg-cream: #FCFAF2;
  --bg-beige: #DECFBF;
  --border: #e2e0d6;
  --shadow: 0 4px 6px -1px rgba(38, 82, 66, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(38, 82, 66, 0.12);
  --radius: 8px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-cream);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.1;
  color: var(--text-dark);
}

h1, h2 { font-weight: 700; }
h3, h4, h5, h6 { font-weight: 600; }

h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lime {
  background: var(--lime);
  color: var(--primary);
  animation: limeGlow 2.5s ease-in-out infinite;
}

.btn-lime:hover {
  background: #c4eb2e;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(214, 255, 50, 0.6);
  animation: none;
}

@keyframes limeGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(214, 255, 50, 0.2); }
  50% { box-shadow: 0 0 18px rgba(214, 255, 50, 0.5), 0 0 30px rgba(214, 255, 50, 0.2); }
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg-cream);
}

.btn-white {
  background: var(--bg-cream);
  color: var(--primary);
}

.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

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

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-cream);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 28px;
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header .logo:hover img {
  transform: scale(1.06);
  opacity: 0.85;
}

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

.nav-links a {
  font-size: 0.6875rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  position: relative;
  font-family: 'DM Sans', sans-serif;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta .btn {
  padding: 0.625rem 1.75rem;
  font-size: 0.75rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero Section (Video/Image) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video-bg,
.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(38, 82, 66, 0.8) 0%,
    rgba(38, 82, 66, 0.6) 50%,
    rgba(38, 82, 66, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: 12rem 0 6rem;
}

.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* ===== Split Sections (Image + Text, Asymmetric) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-image:hover img {
  transform: scale(1.03);
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 6rem;
}

.split-content .section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.split-content h2 {
  margin-bottom: 1.5rem;
}

.split-content p {
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.split-content .btn {
  align-self: flex-start;
}

/* Split on dark background */
.split-dark {
  background: var(--primary);
}

.split-dark .split-content {
  color: white;
}

.split-dark .split-content .section-label {
  color: var(--lime);
}

.split-dark .split-content h2,
.split-dark .split-content h3 {
  color: white;
}

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

/* Reverse layout */
.split-reverse {
  direction: rtl;
}

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

/* ===== Full-Bleed Image Section ===== */
.full-bleed {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-bleed-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(38, 82, 66, 0.85) 0%, rgba(38, 82, 66, 0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
}

.full-bleed-content {
  max-width: 500px;
  padding-left: 6rem;
}

.full-bleed-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.full-bleed-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ===== Stat Strip ===== */
.stat-strip {
  background: var(--primary);
  padding: 4rem 0;
}

.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}

/* ===== Section Styles ===== */
.section {
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}

.sticky-cards-section {
  z-index: 1;
}

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

.section-gradient {
  background: linear-gradient(180deg, #f7f5f0 0%, #e8e4db 100%);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: white;
}

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

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

.section-header {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.section-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.section-dark .section-label {
  color: var(--lime);
}

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

/* ===== How It Works (Image Cards) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.step-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.step-card:hover .step-card-image img {
  transform: scale(1.05);
}

.step-card-body {
  padding: 2rem;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
  margin: 0;
}

.section-dark .step-card {
  color: var(--text-dark);
}

.section-dark .step-card h3 {
  color: var(--text-dark);
}

.section-dark .step-card p {
  color: var(--text-light);
}

/* ===== Image Mosaic ===== */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 1rem;
}

.mosaic-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

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

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-item:first-child {
  grid-row: span 2;
}

/* ===== Features/Services Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(38, 82, 66, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-dark .feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.section-dark .feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--lime);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.section-dark .feature-icon {
  background: rgba(214, 255, 51, 0.15);
}

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

.feature-card p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  flex: 1;
}

.feature-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
  font-family: 'DM Sans', sans-serif;
}

.section-dark .feature-link {
  color: var(--lime);
}

.feature-link:hover {
  gap: 0.75rem;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Testimonials Marquee */
.testimonials-marquee {
  overflow-x: hidden;
  width: 100%;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: testimonials-scroll 60s linear infinite;
}

@keyframes testimonials-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonials-track .testimonial-card {
  width: 450px;
  min-width: 450px;
  flex-shrink: 0;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--accent-orange);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.author-avatar {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar-placeholder {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.875rem;
}

.author-info h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--primary);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(214, 255, 51, 0.1) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--lime);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-item span {
  color: var(--text-light);
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  background: var(--bg-cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38, 82, 66, 0.1);
}

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

/* ===== Form Validation States ===== */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group .error-message {
  display: none;
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: 0.375rem;
  font-family: 'DM Sans', sans-serif;
}

.form-group.error .error-message {
  display: block;
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: var(--accent);
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-brand .logo img {
  height: 24px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  font-size: 0.9375rem;
}

.footer-column h4 {
  color: var(--lime);
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--lime);
  color: var(--primary);
}

/* ===== Video Section ===== */
.video-section {
  background: var(--bg-alt);
}

.video-player {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(38, 82, 66, 0.2);
}

.video-player video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ===== Partners ===== */
.partners {
  padding: 2rem 0;
}

.partners-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-family: 'DM Sans', sans-serif;
}

.partners-marquee {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-marquee.paused .partners-track {
  animation-play-state: paused;
}

.pause-motion-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.pause-motion-btn:hover {
  opacity: 1;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partners-track .partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-track .partner-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partners-track .partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.partners-track .partner-logo--invert img {
  filter: grayscale(100%) invert(1);
}

.partners-track .partner-logo--invert:hover img {
  filter: invert(1);
  opacity: 1;
}


/* ===== Legal Content Pages ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

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

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-body);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: var(--primary);
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.section-dark .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.section-dark .faq-question {
  color: #fff;
}

.section-dark .faq-question:hover {
  color: var(--lime);
}

.section-dark .faq-icon {
  color: var(--lime);
}

.section-dark .faq-answer-inner {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Pulmonary Rehab Stats ===== */
.pulmonary-rehab-stats {
  background: #265242;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.pulmonary-rehab-stats .stat-strip-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pulmonary-rehab-stats .stat-item .number {
  white-space: nowrap;
}

.pulmonary-rehab-stats .section-header h2 {
  color: #fff;
}

.pulmonary-rehab-stats .section-header p {
  color: rgba(255,255,255,0.8);
  max-width: none;
}

.pulmonary-rehab-stats .stat-item .number {
  color: #D4E157;
}

.pulmonary-rehab-stats .stat-item .label {
  color: rgba(255,255,255,0.8);
}

/* ===== FAQ Tabs ===== */
.faq-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}

.faq-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: 'DM Sans', 'Inter', sans-serif;
  transition: color 0.2s, border-color 0.2s;
}

.faq-tab.active {
  color: #265242;
  border-bottom-color: #265242;
}

.faq-tab:hover {
  color: #265242;
}

/* ===== Page Header (Inner Pages) ===== */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 255, 51, 0.08) 0%, transparent 70%);
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.page-header .section-label {
  color: var(--lime);
}

/* ===== Image Header (with background photo) ===== */
.image-header {
  position: relative;
  padding: 12rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.image-header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.image-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(38, 82, 66, 0.7), rgba(38, 82, 66, 0.85));
  z-index: 1;
}

.image-header .container {
  position: relative;
  z-index: 2;
}

.image-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.image-header p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.image-header .section-label {
  color: var(--lime);
}

.scroll-indicator {
  display: inline-block;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.8);
  animation: bounceDown 2s ease infinite;
  transition: color 0.2s;
}

.scroll-indicator:hover {
  color: var(--lime);
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ===== Product Showcase ===== */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h2 {
  margin-bottom: 1rem;
}

.product-info p {
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.spec-item {
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spec-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.spec-item p {
  font-size: 0.875rem;
  margin: 0;
}

/* ===== Blog / Article Cards ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

a.article-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-img {
  height: 220px;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.article-body {
  padding: 1.75rem;
}

.article-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
}

.article-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.article-body h3 a:hover {
  color: var(--primary);
}

.article-body p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ===== Editorial Layout ===== */
.editorial-intro {
  margin: 0 auto;
  text-align: center;
}

.editorial-intro h2 {
  margin-bottom: 1rem;
}

.editorial-intro p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.editorial-benefits {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.editorial-benefit {
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
}

.editorial-benefit:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.editorial-benefit h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.editorial-benefit p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
}

/* ===== Care Cards ===== */
.care-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.care-header {
  position: sticky;
  top: 120px;
}

.care-header h2 {
  margin-bottom: 1rem;
}

.care-header p {
  color: var(--text-light);
  line-height: 1.7;
}

.care-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.care-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.care-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(38, 82, 66, 0.12);
}

.care-card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.4;
}

.care-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(214, 255, 51, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

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

.care-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .care-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .care-header {
    position: static;
  }
}

/* ===== Zeph Effect ===== */
.zeph-effect-section {
  overflow: hidden;
}

.zeph-effect-header {
  text-align: center;
  margin-bottom: 3rem;
}

.zeph-effect-header h2 {
  color: #fff;
}

.zeph-effect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.zeph-effect-center {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.zeph-effect-center::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 82, 66, 0.6) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.zeph-effect-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.zeph-effect-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zeph-effect-item {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.zeph-effect-item::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(100, 160, 130, 0.45);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.zeph-effect-item--tl::before {
  top: -20px;
  left: -30px;
}

.zeph-effect-item--tr::before {
  top: -10px;
  right: -30px;
}

.zeph-effect-item--br::before {
  bottom: -20px;
  right: -20px;
}

.zeph-effect-item h3 {
  color: var(--lime);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.zeph-effect-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.zeph-effect-item--tl {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.zeph-effect-item--tr {
  grid-column: 3;
  grid-row: 1;
}

.zeph-effect-item--br {
  grid-column: 3;
  grid-row: 2;
}

@media (max-width: 768px) {
  .zeph-effect-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    text-align: center;
  }

  .zeph-effect-center {
    grid-column: 1;
    grid-row: auto;
  }

  .zeph-effect-item--tl,
  .zeph-effect-item--tr,
  .zeph-effect-item--br {
    grid-column: 1;
    grid-row: auto;
    text-align: center;
  }
}

/* ===== Work With Us Cards ===== */
.work-with-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.work-card {
  padding: 2rem;
}

.work-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(214, 255, 51, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.work-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.work-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .work-with-us-grid {
    grid-template-columns: 1fr;
  }
}

.editorial-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.editorial-stat {
  text-align: center;
}

.editorial-stat-number {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.editorial-stat p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* ===== Benefits Grid ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.benefit-block:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.benefit-block h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: white;
}

.benefit-block p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* ===== Outcomes Grid (ring charts) ===== */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.outcome-card {
  text-align: center;
  padding: 0;
  border-radius: var(--radius-lg);
  border: none;
  background: transparent;
  transition: var(--transition);
  overflow: hidden;
}

.outcome-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.outcome-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.outcome-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.outcome-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== Sticky Scroll Cards ===== */
.sticky-cards {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 10vh;
}

.sticky-cards-section {
  position: relative;
  z-index: 1;
}

.sticky-card {
  position: sticky;
  top: calc(80px + var(--card-index) * 48px);
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  background: #faf8f5;
}

.sticky-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.sticky-card:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .sticky-cards {
    max-width: 100%;
    padding-bottom: 5vh;
  }

  .sticky-card {
    top: calc(60px + var(--card-index) * 40px);
    margin-bottom: 2rem;
  }
}

.outcome-card--custom {
  padding: 2rem 1.5rem;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.dot--improved {
  background: var(--lime);
}

.dot--baseline {
  background: var(--accent);
  opacity: 0.35;
}

.ring-chart {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--percent) * 1%), #e8ede9 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
}

.ring-chart::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: white;
}

.ring-value {
  position: relative;
  z-index: 1;
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Ring chart variation: solid filled circle (no cutout) */
.ring-chart--solid::before {
  display: none;
}
.ring-chart--solid .ring-value {
  color: white;
}

/* Ring chart variation: thicker ring with filled background */
.ring-chart--filled::before {
  width: 80px;
  height: 80px;
}

/* ===== Attendance Comparison ===== */
.attendance-comparison {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.attendance-bar-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3rem;
  height: 300px;
  margin-bottom: 1.5rem;
}
.attendance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 120px;
}
.attendance-bar {
  width: 100%;
  height: var(--bar-height);
  border-radius: 0.5rem 0.5rem 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.75rem;
  min-height: 40px;
}
.attendance-item--zeph .attendance-bar {
  background: var(--primary);
}
.attendance-item--industry .attendance-bar {
  background: var(--text-light);
  padding-top: 0;
  position: relative;
  min-height: 12px;
}
.attendance-item--industry .attendance-value {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.attendance-value {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.attendance-label {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}
.attendance-caption {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ===== Facts Grid ===== */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fact-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-number {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.fact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.fact-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

/* ===== Clinical Data / Charts ===== */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.chart-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.chart-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bar-label {
  width: 100px;
  font-size: 0.8125rem;
  color: var(--text-light);
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 28px;
  background: var(--bg-cream);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.5s ease;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.bar-fill.primary { background: var(--primary); }
.bar-fill.accent { background: var(--accent); }
.bar-fill.lime { background: var(--lime); color: var(--primary); }
.bar-fill.blue { background: var(--accent-blue); }

/* ===== Science Grid (legacy support) ===== */
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.science-content h2 {
  margin-bottom: 1.5rem;
}

.science-content p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.science-list {
  margin: 2rem 0;
}

.science-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.science-list .check {
  width: 28px;
  height: 28px;
  background: var(--lime);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.science-list span {
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 3px;
}

/* ===== Team Grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Separates the executive row (CMO / CEO / CTO) from the rest of the team.
   Spans every grid column and fades out at the edges so it reads as a
   soft hairline rather than a full-bleed border. */
.team-divider {
  grid-column: 1 / -1;
  height: 1px;
  margin: 0.5rem 0;
  background: linear-gradient(90deg, transparent 0%, rgba(38, 82, 66, 0.2) 50%, transparent 100%);
}

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

.team-card:hover {
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 2rem;
  font-weight: 700;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--accent);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  display: block;
}

.team-card p {
  font-size: 0.8125rem;
  margin: 0;
}

/* ===== Team Members (About Page) ===== */
.team-member {
  text-align: left;
}

.team-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-bottom: 1.25rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.team-member h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.team-member p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

#team .team-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 3rem;
}

@media (max-width: 768px) {
  #team .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* ===== Comparison Table ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.comparison-table th {
  background: var(--primary);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--text-dark);
}

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

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check-mark {
  color: var(--accent);
  font-weight: 700;
}

.comparison-table .dash {
  color: var(--border);
}

/* ===== Trust Bar (legacy) ===== */
.trust-bar {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-stat {
  padding: 2rem 1rem;
}

.trust-stat .number {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-stat .label {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.trust-divider {
  width: 40px;
  height: 2px;
  background: var(--lime);
  margin: 0.75rem auto 0;
}

/* ===== Hero Staggered Entrance Animations ===== */
.hero-content .hero-label,
.hero-content h1,
.hero-content p,
.hero-content .hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-content .hero-label { animation-delay: 0.2s; }
.hero-content h1 { animation-delay: 0.4s; }
.hero-content p { animation-delay: 0.6s; }
.hero-content .hero-buttons { animation-delay: 0.8s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Partner Logo Hover Animation ===== */
.partners-track .partner-logo {
  transition: transform 0.3s ease;
}

.partners-track .partner-logo:hover {
  transform: translateY(-5px) scale(1.15);
  z-index: 2;
}

/* ===== CTA Section Background Gradient Animation ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  background-size: 200% 200%;
  animation: ctaGradient 6s ease infinite;
}

@keyframes ctaGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Card Hover Lift + Shadow ===== */
.feature-card,
.testimonial-card,
.step-card,
.article-card,
.team-card,
.chart-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover,
.testimonial-card:hover,
.step-card:hover,
.article-card:hover,
.team-card:hover,
.chart-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -8px rgba(38, 82, 66, 0.15);
}

/* ===== Stat Number Bounce-In ===== */
.stat-item.counted .number {
  animation: statBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes statBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ===== Blog Article Page Styles ===== */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 3px solid var(--lime);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(214, 255, 51, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-dark);
}

.article-content strong {
  color: var(--text-dark);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: 'DM Sans', sans-serif;
}

.article-back-link:hover {
  color: var(--accent);
}

/* ===== Animated Steps (scroll-triggered timeline) ===== */
.animated-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.animated-steps-content {
  display: flex;
  flex-direction: column;
}

.animated-step {
  display: flex;
  gap: 1.5rem;
  padding: 4rem 0;
  min-height: 60vh;
  align-items: center;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.animated-step:last-child {
  border-bottom: none;
}

.animated-step.active {
  opacity: 1;
}

.animated-step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: rgba(214, 255, 51, 0.15);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.5s ease, color 0.5s ease;
}

.animated-step.active .animated-step-number {
  background: var(--lime);
  color: var(--primary);
}

.animated-step-text h3 {
  margin-bottom: 0.75rem;
}

.animated-step-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.animated-steps-visual {
  position: relative;
}

.animated-steps-sticky {
  position: sticky;
  top: 20vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.05);
}

.animated-step-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-step-image:first-child {
  position: relative;
}

.animated-step-image.active {
  opacity: 1;
  transform: scale(1);
}

.animated-step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ===== Page Transitions ===== */
.page-transition {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Skip Link (A11y) ===== */
/* ===== Accessibility ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  z-index: 9999;
  transition: top 0.3s ease;
  font-weight: 700;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0;
}

/* Focus-visible outlines for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.split-dark .btn:focus-visible,
.cta-section .btn:focus-visible,
.footer .social-links a:focus-visible {
  outline-color: var(--lime);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.social-links a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: 50%;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video-bg {
    animation: none;
  }
}

/* ===== Dark Mode ===== */
[data-theme="dark"] {
  --bg-cream: #1a1a1a;
  --bg-beige: #2a2a2a;
  --text-dark: #f0efe8;
  --text-light: #a0a0a0;
  --border: #333;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .header {
  background: #1a1a1a;
}

[data-theme="dark"] .feature-card {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form {
  background: #222;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: #2a2a2a;
  color: #f0efe8;
}

[data-theme="dark"] .nav-links.active {
  background: #1a1a1a;
}

[data-theme="dark"] .step-card {
  background: #222;
}

[data-theme="dark"] .article-card {
  background: #222;
}

[data-theme="dark"] .chart-card {
  background: #222;
}

[data-theme="dark"] .team-card {
  background: #222;
}

[data-theme="dark"] .spec-item {
  background: #222;
}

.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: var(--transition);
  color: var(--text-dark);
}

.theme-toggle:hover {
  border-color: var(--primary);
}

/* ===== Responsive Design ===== */
@media (max-width: 1300px) {
  .split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-image {
    height: 400px;
  }

  .split-content {
    padding: 3rem 2rem;
  }

  .split-reverse {
    direction: ltr;
  }

  .science-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-stats,
  .stat-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-stats {
    gap: 2rem;
  }

  .editorial-stat-number {
    font-size: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .full-bleed-content {
    padding-left: 3rem;
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px 250px;
  }

  .mosaic-item:first-child {
    grid-row: auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .animated-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .animated-step {
    min-height: auto;
    padding: 2rem 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-cream);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active a {
    font-size: 1.125rem;
  }

  .nav-links.active ~ .nav-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  }

  .nav-links.active ~ .nav-cta .btn {
    width: 100%;
    text-align: center;
  }

  .animated-steps-sticky {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 10rem 0 4rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .split-content {
    padding: 3rem 1.5rem;
  }

  .split-content p {
    max-width: 100%;
  }

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

  .trust-stats,
  .stat-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item .number {
    font-size: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

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

  .full-bleed {
    height: 50vh;
  }

  .full-bleed-content {
    padding: 0 2rem;
  }

  .full-bleed-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .full-bleed-overlay {
    background: linear-gradient(to right, rgba(38, 82, 66, 0.9), rgba(38, 82, 66, 0.5));
  }

  .cta-section {
    padding: 4rem 0;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

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

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

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

  .partners-track {
    gap: 2rem;
  }

  .partners-track .partner-logo img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 9rem 0 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    text-align: center;
  }

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

  .stat-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .editorial-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .editorial-stat-number {
    font-size: 3rem;
  }

  .editorial-benefits {
    gap: 2rem;
  }

  .editorial-benefit {
    padding-bottom: 2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-header p {
    font-size: 0.9375rem;
  }

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

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

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

  .ring-chart {
    width: 120px;
    height: 120px;
  }

  .ring-chart::before {
    width: 84px;
    height: 84px;
  }

  .ring-chart--filled::before {
    width: 64px;
    height: 64px;
  }

  .ring-value {
    font-size: 1.5rem;
  }

  .fact-number {
    font-size: 2.5rem;
  }

  .split-image {
    height: 280px;
  }

  .full-bleed {
    height: 40vh;
    min-height: 350px;
  }

  .full-bleed-content {
    padding: 0 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .faq-question {
    font-size: 0.875rem;
    padding: 1rem 0;
  }

  .contact-info {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .cta-section {
    padding: 3.5rem 0;
  }

  .cta-section h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .partners-track {
    gap: 1.5rem;
  }

  .partners-track .partner-logo img {
    height: 26px;
  }
}

/* ===== Outcomes Grid — card variant (science.html) ===== */
.outcomes-grid--cards {
  max-width: 900px;
  margin: 0 auto;
  gap: 1.5rem;
}

.outcomes-grid--cards img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* ===== Features Grid — two-column variant (patients.html) ===== */
.features-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .features-grid--two {
    grid-template-columns: 1fr;
  }
}

/* ===== Attendance Section (science.html) ===== */
.attendance-section {
  background: var(--bg-cream);
  padding: 5rem 0;
}

.attendance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.attendance-copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.attendance-bars {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-end;
}

.attendance-bar {
  text-align: center;
}

.attendance-bar__value {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.attendance-bar__shape {
  width: 140px;
  border-radius: 0.5rem 0.5rem 0 0;
  margin: 0 auto;
}

.attendance-bar__shape--zeph {
  background: var(--lime);
  height: 200px;
}

.attendance-bar__shape--industry {
  background: rgba(0, 0, 0, 0.15);
  height: 8px;
}

.attendance-bar__label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .attendance-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .attendance-section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .attendance-bars {
    gap: 1.25rem;
  }

  .attendance-bar__shape {
    width: 100%;
    max-width: 120px;
  }

  .attendance-bar__shape--zeph {
    height: 160px;
  }
}

/* ===== Image header — mobile sizing ===== */
@media (max-width: 768px) {
  .image-header {
    padding: 9rem 0 3.5rem;
  }

  .image-header p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}
