/* ============================================================
   BioVital – Oktatási wellness platform – css/styles.css
   Method : mobile-first | Units: rem | Naming: kebab-case
   Architecture: single-file | Methodology: mobile-first
   Section classes: medical-healthcare pattern
   ============================================================ */

/* === MINIMAL RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, picture, video { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* === DESIGN TOKENS === */
:root {
  /* Colors */
  --color-primary:       #2d7a4f;
  --color-primary-hover: #246640;
  --color-primary-dark:  #1a5c38;
  --color-primary-light: #4caf50;
  --color-accent:        #6bc47e;
  --color-accent-light:  #e8f5e9;
  --color-danger-text:   #c62828;
  --color-danger-bg:     #fff3f3;
  --color-success-bg:    #f1f8f2;
  --color-bg:            #ffffff;
  --color-bg-alt:        #f5f7f5;
  --color-bg-dark:       #1e2d24;
  --color-text:          #2c2c2c;
  --color-text-muted:    #666666;
  --color-border:        #e0e8e2;
  --color-white:         #ffffff;

  /* Typography */
  --font-family:   system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-xs:       0.75rem;
  --font-sm:       0.875rem;
  --font-base:     1rem;
  --font-lg:       1.125rem;
  --font-xl:       1.25rem;
  --font-2xl:      1.5rem;
  --font-3xl:      2rem;
  --font-4xl:      2.5rem;
  --font-5xl:      3rem;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semi:   600;
  --weight-bold:   700;
  --lh-tight:      1.25;
  --lh-base:       1.65;
  --lh-relaxed:    1.8;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Border-radius */
  --r-sm:   0.375rem;
  --r-md:   0.5rem;
  --r-lg:   0.75rem;
  --r-xl:   1rem;
  --r-2xl:  1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.1);
  --shadow-green: 0 8px 24px rgba(45,122,79,0.18);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;
  --t-slow:   0.4s ease;

  /* Layout */
  --container-max: 1200px;
  --container-px:  1.5rem;

  /* Cookie consent override */
  --cc-primary:      #2d7a4f;
  --cc-primary-hover:#1a5c38;
  --cc-toggle-active:#2d7a4f;
}

/* === BASE === */
body {
  font-family: var(--font-family);
  font-size: var(--font-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--lh-tight);
  color: var(--color-text);
}
h1 { font-size: var(--font-3xl); }
h2 { font-size: var(--font-2xl); }
h3 { font-size: var(--font-xl); }
h4 { font-size: var(--font-lg); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: var(--weight-semi); }

/* === LAYOUT === */
.health-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* === BUTTONS === */
.health-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem var(--sp-8);
  font-size: var(--font-base);
  font-weight: var(--weight-semi);
  line-height: 1.2;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}

.health-btn:hover { transform: scale(1.04); }
.health-btn:active { transform: scale(0.98); }

.health-btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.health-btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-green);
}

.health-btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.health-btn--outline:hover {
  background: var(--color-accent-light);
  box-shadow: var(--shadow-green);
}

/* === HEADER / NAVIGATION === */
.health-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.health-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
}

.health-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
}

.health-nav__logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: var(--weight-bold);
  font-size: var(--font-lg);
  flex-shrink: 0;
}

.health-nav__logo-text {
  font-size: var(--font-xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.health-nav__logo-sub {
  font-size: var(--font-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-normal);
  letter-spacing: 0.03em;
  display: block;
}

.health-nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}

.health-nav__link {
  font-size: var(--font-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--sp-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t-base), border-color var(--t-base);
}

.health-nav__link:hover,
.health-nav__link.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.health-nav__cta {
  display: none;
  font-size: var(--font-sm);
  padding: var(--sp-3) var(--sp-6);
}

.health-nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}

.health-nav__burger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--r-full);
  transition: transform var(--t-base), opacity var(--t-base);
}

.health-nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.health-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.health-nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.health-nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) 0 var(--sp-6);
  border-top: 1px solid var(--color-border);
}

.health-nav__mobile.is-open { display: flex; }

.health-nav__mobile-link {
  font-size: var(--font-base);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  padding: var(--sp-3) var(--container-px);
  border-radius: var(--r-md);
  transition: background var(--t-base), color var(--t-base);
}

.health-nav__mobile-link:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
}

/* === HERO SECTION === */
.health-hero {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, #ffffff 60%);
  padding: var(--sp-16) 0 var(--sp-12);
  overflow: hidden;
}

.health-hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
  align-items: center;
}

.health-hero__content {
  flex: 1 1 320px;
}

.health-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  font-size: var(--font-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--sp-6);
}

.health-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--weight-bold);
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}

.health-hero__title span {
  color: var(--color-primary);
}

.health-hero__subtitle {
  font-size: var(--font-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
}

.health-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

.health-hero__img-wrap {
  flex: 1 1 280px;
  max-width: 520px;
}

.health-hero__img {
  width: 100%;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow);
}

.health-hero__img:hover { transform: scale(1.02); }

.health-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border);
}

.health-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--font-sm);
  color: var(--color-text-muted);
}

.health-hero__trust-icon {
  color: var(--color-primary);
  font-size: var(--font-lg);
}

/* === COMPARISON SECTION === */
.health-comparison {
  padding: var(--sp-20) 0;
  background: var(--color-bg-alt);
}

.health-comparison__heading {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.health-comparison__heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--sp-3);
}

.health-comparison__heading p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.health-comparison__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.health-comparison__col {
  flex: 1 1 280px;
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
}

.health-comparison__col--without {
  background: var(--color-danger-bg);
  border: 1px solid #fecdd3;
}

.health-comparison__col--with {
  background: var(--color-success-bg);
  border: 1px solid #bbf7d0;
}

.health-comparison__col-title {
  font-size: var(--font-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.health-comparison__col--without .health-comparison__col-title { color: var(--color-danger-text); }
.health-comparison__col--with   .health-comparison__col-title { color: var(--color-primary-dark); }

.health-comparison__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: var(--font-sm);
  line-height: var(--lh-base);
  color: var(--color-text);
}

.health-comparison__list li:last-child { border-bottom: none; }

.health-comparison__list li::before {
  content: '—';
  flex-shrink: 0;
  font-weight: var(--weight-bold);
  margin-top: 0.1em;
}

.health-comparison__col--without .health-comparison__list li::before { color: var(--color-danger-text); }
.health-comparison__col--with   .health-comparison__list li::before { color: var(--color-primary); content: '✓'; }

/* === EDUCATIONAL FEATURES SECTION === */
.health-features {
  padding: var(--sp-20) 0;
  background: var(--color-bg);
}

.health-features__heading {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.health-features__heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--sp-3);
}

.health-features__heading p {
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.health-features__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.health-features__card {
  flex: 1 1 280px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: default;
}

.health-features__card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-green);
  border-color: var(--color-accent);
}

.health-features__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.health-features__card h3 {
  font-size: var(--font-lg);
  margin-bottom: var(--sp-3);
  color: var(--color-primary-dark);
}

.health-features__card p {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

/* === KEY METRICS SECTION === */
.health-metrics {
  padding: var(--sp-20) 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.health-metrics__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  text-align: center;
}

.health-metrics__item {
  flex: 1 1 180px;
  padding: var(--sp-6);
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: transform var(--t-base);
}

.health-metrics__item:hover { transform: scale(1.04); }
.health-metrics__item:last-child { border-right: none; }

.health-metrics__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.health-metrics__label {
  font-size: var(--font-sm);
  color: rgba(255,255,255,0.85);
  font-weight: var(--weight-medium);
}

/* === TEAM EXPERTS SECTION === */
.health-team {
  padding: var(--sp-20) 0;
  background: var(--color-bg-alt);
}

.health-team__heading {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.health-team__heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--sp-3);
}

.health-team__heading p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.health-team__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.health-team__card {
  flex: 1 1 220px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.health-team__card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-green);
}

.health-team__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-accent-light);
}

.health-team__info {
  padding: var(--sp-6);
}

.health-team__name {
  font-size: var(--font-base);
  font-weight: var(--weight-bold);
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-1);
}

.health-team__role {
  font-size: var(--font-sm);
  color: var(--color-primary);
  font-weight: var(--weight-medium);
  margin-bottom: var(--sp-3);
}

.health-team__bio {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-base);
  margin-bottom: 0;
}

/* === FAQ SECTION === */
.health-faq {
  padding: var(--sp-20) 0;
  background: var(--color-bg);
}

.health-faq__heading {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.health-faq__heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--sp-3);
}

.health-faq__heading p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.health-faq__accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.health-faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.health-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-base);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  transition: background var(--t-fast), color var(--t-fast);
}

.health-faq__question:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

.health-faq__question.is-active {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

.health-faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-lg);
  transition: transform var(--t-base);
  font-style: normal;
}

.health-faq__question.is-active .health-faq__icon { transform: rotate(45deg); }

.health-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}

.health-faq__answer-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

/* === LEAD CAPTURE SECTION === */
.health-lead {
  padding: var(--sp-20) 0;
  background: linear-gradient(135deg, #f0faf3 0%, #e8f5e9 100%);
}

.health-lead__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.health-lead__badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.health-lead__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-4);
}

.health-lead__subtitle {
  color: var(--color-text-muted);
  font-size: var(--font-lg);
  margin-bottom: var(--sp-8);
}

.health-lead__form {
  background: var(--color-white);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.health-form__group {
  margin-bottom: var(--sp-5);
}

.health-form__label {
  display: block;
  font-size: var(--font-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  margin-bottom: var(--sp-2);
}

.health-form__label span { color: var(--color-primary); }

.health-form__input {
  width: 100%;
  padding: 0.875rem var(--sp-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  font-size: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
}

.health-form__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45,122,79,0.15);
}

.health-form__input::placeholder { color: #aab3ad; }

.health-form__checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  margin-bottom: var(--sp-5);
}

.health-form__checkbox-wrap input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.health-form__checkbox-label {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-base);
}

.health-form__checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.health-form__disclaimer {
  font-size: var(--font-xs);
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--sp-4);
  background: var(--color-bg-alt);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  border-left: 3px solid var(--color-primary-light);
}

.health-form__submit {
  width: 100%;
  padding: 1rem var(--sp-8);
  font-size: var(--font-lg);
  border-radius: var(--r-full);
}

.health-form__success {
  display: none;
  text-align: center;
  padding: var(--sp-8);
  background: var(--color-success-bg);
  border: 1px solid #bbf7d0;
  border-radius: var(--r-xl);
}

.health-form__success h3 {
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-3);
  font-size: var(--font-xl);
}

.health-form__success p { color: var(--color-text-muted); margin-bottom: 0; }

/* === DISCLAIMER NOTICE === */
.health-disclaimer-notice {
  padding: var(--sp-8) 0;
  background: #fffbeb;
  border-top: 2px solid #fde68a;
  border-bottom: 2px solid #fde68a;
}

.health-disclaimer-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  max-width: 900px;
  margin: 0 auto;
}

.health-disclaimer-notice__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.health-disclaimer-notice__text {
  font-size: var(--font-sm);
  color: #78350f;
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

.health-disclaimer-notice__text strong { font-weight: var(--weight-bold); }

/* === FOOTER === */
.health-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-16) 0 var(--sp-8);
}

.health-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}

.health-footer__brand {
  flex: 2 1 280px;
}

.health-footer__brand-name {
  font-size: var(--font-xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-bottom: var(--sp-3);
}

.health-footer__brand-desc {
  font-size: var(--font-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-6);
}

.health-footer__brand-disclaimer {
  font-size: var(--font-xs);
  color: rgba(255,255,255,0.45);
  line-height: var(--lh-relaxed);
  padding: var(--sp-4);
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-md);
  border-left: 3px solid var(--color-primary);
  margin-bottom: 0;
}

.health-footer__col {
  flex: 1 1 160px;
}

.health-footer__col-title {
  font-size: var(--font-sm);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-5);
}

.health-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.health-footer__nav-link {
  font-size: var(--font-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--t-base);
  cursor: pointer;
}

.health-footer__nav-link:hover { color: var(--color-accent); }

.health-footer__company {
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: flex-start;
  justify-content: space-between;
}

.health-footer__company-info {
  font-size: var(--font-xs);
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.health-footer__copyright {
  font-size: var(--font-xs);
  color: rgba(255,255,255,0.4);
  text-align: right;
  line-height: 1.8;
}

.health-footer__tagline {
  font-size: var(--font-xs);
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  font-weight: var(--weight-bold);
}

/* === LEGAL MODAL === */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.legal-modal.is-open { display: flex; }

.legal-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  cursor: pointer;
}

.legal-modal__box {
  position: relative;
  background: var(--color-bg);
  max-width: 820px;
  width: 90%;
  max-height: 88vh;
  overflow-y: auto;
  padding: var(--sp-10);
  border-radius: var(--r-2xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.legal-modal__close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  background: var(--color-bg-alt);
  border: none;
  border-radius: var(--r-full);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base);
}

.legal-modal__close:hover { background: var(--color-border); }

.legal-modal__box h2 {
  font-size: var(--font-2xl);
  margin-bottom: var(--sp-6);
  color: var(--color-primary-dark);
  padding-right: var(--sp-10);
}

.legal-modal__box h3 {
  font-size: var(--font-lg);
  color: var(--color-primary);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.legal-modal__box p {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}

.legal-modal__box ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.legal-modal__box ul li {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-2);
}

/* === PAGE HEADER (inner pages) === */
.health-page-header {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, #f5f7f5 100%);
  padding: var(--sp-16) 0 var(--sp-12);
  text-align: center;
}

.health-page-header h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-4);
}

.health-page-header p {
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: var(--font-lg);
  margin-bottom: 0;
}

/* === ABOUT PAGE === */
.health-about-content {
  padding: var(--sp-16) 0;
}

.health-about-content__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
  align-items: center;
}

.health-about-content__text {
  flex: 2 1 300px;
}

.health-about-content__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-5);
}

.health-about-content__text p {
  color: var(--color-text-muted);
  font-size: var(--font-base);
  line-height: var(--lh-relaxed);
}

.health-about-content__img-wrap {
  flex: 1 1 240px;
}

.health-about-content__img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.health-values {
  padding: var(--sp-16) 0;
  background: var(--color-bg-alt);
}

.health-values__heading {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.health-values__heading h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-3);
}

.health-values__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.health-values__item {
  flex: 1 1 200px;
  text-align: center;
  padding: var(--sp-8);
  background: var(--color-bg);
  border-radius: var(--r-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.health-values__item:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-green);
}

.health-values__icon { font-size: 2.5rem; margin-bottom: var(--sp-4); }

.health-values__item h3 {
  font-size: var(--font-base);
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-2);
}

.health-values__item p {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* === CONTACT PAGE === */
.health-contact-page {
  padding: var(--sp-16) 0;
}

.health-contact-page__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
}

.health-contact-page__form-wrap {
  flex: 2 1 320px;
}

.health-contact-page__info {
  flex: 1 1 240px;
}

.health-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.health-contact-info__item:last-child { border-bottom: none; }

.health-contact-info__icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.health-contact-info__label {
  font-size: var(--font-sm);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  margin-bottom: var(--sp-1);
}

.health-contact-info__value {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
}

/* === BLOG PAGE === */
.health-blog {
  padding: var(--sp-16) 0;
}

.health-blog__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.health-blog__card {
  flex: 1 1 280px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.health-blog__card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-green);
}

.health-blog__card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--color-accent-light);
}

.health-blog__card-body { padding: var(--sp-6); }

.health-blog__card-category {
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: var(--sp-3);
}

.health-blog__card h3 {
  font-size: var(--font-base);
  color: var(--color-text);
  margin-bottom: var(--sp-3);
  line-height: var(--lh-tight);
}

.health-blog__card p {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-4);
}

.health-blog__card-link {
  font-size: var(--font-sm);
  font-weight: var(--weight-semi);
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-base);
}

.health-blog__card-link:hover { color: var(--color-primary-dark); }

/* === PRIVACY PAGE === */
.health-privacy {
  padding: var(--sp-16) 0;
}

.health-privacy__content {
  max-width: 820px;
  margin: 0 auto;
}

.health-privacy__content h2 {
  font-size: var(--font-xl);
  color: var(--color-primary-dark);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
}

.health-privacy__content h2:first-child { margin-top: 0; }

.health-privacy__content p {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.health-privacy__content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.health-privacy__content ul li {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
  line-height: var(--lh-base);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === UTILITY === */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === RESPONSIVE — TABLET (768px) === */
@media (min-width: 48rem) {
  h1 { font-size: var(--font-4xl); }
  h2 { font-size: var(--font-3xl); }
  h3 { font-size: var(--font-2xl); }

  .health-nav__links { display: flex; }
  .health-nav__cta   { display: inline-flex; }
  .health-nav__burger{ display: none; }

  .health-features__grid .health-features__card { flex: 1 1 calc(50% - var(--sp-3)); }
  .health-metrics__item:last-child { border-right: 1px solid rgba(255,255,255,0.2); }
}

/* === RESPONSIVE — DESKTOP (1024px) === */
@media (min-width: 64rem) {
  .health-features__grid .health-features__card { flex: 1 1 calc(33.333% - var(--sp-4)); }
  .health-team__grid .health-team__card { flex: 1 1 calc(25% - var(--sp-5)); }
  .health-metrics__grid .health-metrics__item { flex: 1 1 0; }
  .health-metrics__item:last-child { border-right: none; }
}

/* === RESPONSIVE — LARGE (1440px) === */
@media (min-width: 90rem) {
  :root { --container-px: 2rem; }
}
