/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  text-align: center;
}

.page-loader__logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.page-loader__logo img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
}

.page-loader__text {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(161, 204, 58, 0.5);
}

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

:root {
  --primary: #4c6971;
  --primary-dark: #3a535a;
  --primary-light: #6b8a92;
  --accent: #a1cc3a;
  --accent-hover: #8fb832;
  --accent-warm: #f6861f;
  --accent-warm-hover: #e0781a;
  --neutral: #6d6e71;
  --neutral-light: #9ea0a3;
  --text: #1c2620;
  --text-light: #5a6b63;
  --bg: #ffffff;
  --bg-warm: #f8faf9;
  --bg-alt: #f2f5f3;
  --border: #e2e8e5;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Neuton', Georgia, serif;
  --max-w: 1200px;
  --nav-h: 76px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(76, 105, 113, 0.08);
  --shadow-lg: 0 12px 48px rgba(76, 105, 113, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--accent-warm);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  height: var(--nav-h);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 44px;
  width: auto;
  transition: height var(--transition), transform var(--transition), filter var(--transition);
}

.nav.scrolled .nav__logo img {
  height: 38px;
}

.nav__logo:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@keyframes logoFadeIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.nav__logo {
  animation: logoFadeIn 0.6s ease both;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

.nav.scrolled .nav__links a {
  color: var(--text);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  background: var(--accent-warm) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--accent-warm-hover) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.nav.scrolled .nav__toggle span {
  background: var(--text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(76, 105, 113, 0.92) 0%, rgba(28, 38, 32, 0.85) 100%),
    var(--primary);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(161, 204, 58, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(246, 134, 31, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(76, 105, 113, 0.3) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(161, 204, 58, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(246, 134, 31, 0.08) 0%, transparent 40%);
  animation: heroGlow2 12s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(1deg); }
  100% { opacity: 0.8; transform: scale(1.03) rotate(-0.5deg); }
}

@keyframes heroGlow2 {
  0% { opacity: 0.4; transform: scale(1.05) rotate(-1deg); }
  100% { opacity: 0.8; transform: scale(1) rotate(1deg); }
}

.hero__cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 204, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}

.hero:hover .hero__cursor-glow {
  opacity: 1;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(161, 204, 58, 0.3);
  animation: particleFloat linear infinite;
}

.hero__particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; width: 3px; height: 3px; }
.hero__particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: -4s; width: 5px; height: 5px; background: rgba(246, 134, 31, 0.2); }
.hero__particle:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: -8s; }
.hero__particle:nth-child(4) { left: 55%; animation-duration: 20s; animation-delay: -2s; width: 6px; height: 6px; background: rgba(255,255,255,0.1); }
.hero__particle:nth-child(5) { left: 70%; animation-duration: 24s; animation-delay: -6s; width: 3px; height: 3px; }
.hero__particle:nth-child(6) { left: 85%; animation-duration: 19s; animation-delay: -10s; width: 4px; height: 4px; background: rgba(161, 204, 58, 0.2); }
.hero__particle:nth-child(7) { left: 15%; animation-duration: 21s; animation-delay: -12s; width: 2px; height: 2px; background: rgba(255,255,255,0.15); }
.hero__particle:nth-child(8) { left: 60%; animation-duration: 17s; animation-delay: -3s; width: 5px; height: 5px; background: rgba(246, 134, 31, 0.15); }

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 120px 24px 80px;
}

/* Staggered reveal for hero elements */
.hero__badge,
.hero__title,
.hero__sub,
.hero__actions {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.revealed .hero__badge { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.hero.revealed .hero__title { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.hero.revealed .hero__sub { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.hero.revealed .hero__actions { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }

.hero__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(161, 204, 58, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(161, 204, 58, 0.2);
  backdrop-filter: blur(10px);
}

.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__highlight {
  display: inline;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.btn:active::before {
  transform: scale(2.5);
  opacity: 1;
  transition: 0s;
}

.btn--primary {
  background: var(--accent-warm);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-warm-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(246, 134, 31, 0.35);
}

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

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(161, 204, 58, 0.2);
  background: rgba(161, 204, 58, 0.05);
}

.btn--secondary {
  background: var(--primary);
  color: #fff;
}

.btn--secondary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 105, 113, 0.3);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-warm);
}

/* Wave dividers between sections */
.section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 60% at 50% 0%);
  z-index: 2;
}

.section:nth-child(even)::before {
  background: var(--bg-warm);
}

.section:nth-child(odd)::before {
  background: var(--bg);
}

/* Scroll-triggered reveal — progressive enhancement */
.section__center,
.about__content,
.about__visual,
.team__card,
.treatments__grid,
.testing__categories,
.consult__card,
.faq__item,
.contact__grid {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When JS loads, hide elements for reveal */
.js-ready .section__center,
.js-ready .about__content,
.js-ready .about__visual,
.js-ready .team__card,
.js-ready .treatments__grid,
.js-ready .testing__categories,
.js-ready .consult__card,
.js-ready .faq__item,
.js-ready .contact__grid {
  opacity: 0;
  transform: translateY(40px);
}

.js-ready .section.in-view .section__center,
.js-ready .section.in-view .about__content,
.js-ready .section.in-view .about__visual,
.js-ready .section.in-view .team__card,
.js-ready .section.in-view .treatments__grid,
.js-ready .section.in-view .testing__categories,
.js-ready .section.in-view .consult__card,
.js-ready .section.in-view .faq__item,
.js-ready .section.in-view .contact__grid {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.js-ready .section.in-view .team__card:nth-child(1) { transition-delay: 0.1s; }
.js-ready .section.in-view .team__card:nth-child(2) { transition-delay: 0.25s; }

.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(1) { transition-delay: 0.05s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(2) { transition-delay: 0.1s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(3) { transition-delay: 0.15s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(4) { transition-delay: 0.2s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(5) { transition-delay: 0.25s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(6) { transition-delay: 0.3s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(7) { transition-delay: 0.35s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(8) { transition-delay: 0.4s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(9) { transition-delay: 0.45s; }
.js-ready .section.in-view .treatments__grid .treatment-card:nth-child(10) { transition-delay: 0.5s; }

.js-ready .section.in-view .consult__card:nth-child(1) { transition-delay: 0.1s; }
.js-ready .section.in-view .consult__card:nth-child(2) { transition-delay: 0.2s; }
.js-ready .section.in-view .consult__card:nth-child(3) { transition-delay: 0.3s; }

.js-ready .section.in-view .faq__item:nth-child(1) { transition-delay: 0.05s; }
.js-ready .section.in-view .faq__item:nth-child(2) { transition-delay: 0.1s; }
.js-ready .section.in-view .faq__item:nth-child(3) { transition-delay: 0.15s; }
.js-ready .section.in-view .faq__item:nth-child(4) { transition-delay: 0.2s; }
.js-ready .section.in-view .faq__item:nth-child(5) { transition-delay: 0.25s; }
.js-ready .section.in-view .faq__item:nth-child(6) { transition-delay: 0.3s; }

.section__center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.015em;
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__content {
  max-width: 540px;
}

.about__text {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 16px;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about__stat-label {
  font-size: 13px;
  color: var(--neutral);
  margin-top: 4px;
}

.about__visual {
  position: relative;
}

.about__pattern {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 0;
}

.about__image-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-text {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* ===== TEAM QUALS ===== */
.team__quals {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-warm);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.team__quals strong {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.team__quals ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team__quals li {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.team__quals li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== TEAM ===== */
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.team__card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.team__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(76, 105, 113, 0.15), 0 0 40px rgba(161, 204, 58, 0.08);
}

.team__card:hover::before {
  transform: scaleX(1);
}

.team__card-visual {
  margin-bottom: 24px;
}

.team__card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.team__name {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.team__role {
  display: block;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
}

.team__bio {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.team__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.team__tags span {
  font-size: 12px;
  color: var(--primary);
  background: rgba(76, 105, 113, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service__card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(161, 204, 58, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(76, 105, 113, 0.15), 0 0 30px rgba(161, 204, 58, 0.06);
  border-color: var(--accent);
  color: inherit;
}

.service__card:hover::after {
  opacity: 1;
}

.service__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service__card:hover .service__icon {
  transform: scale(1.1) rotate(-3deg);
}

.service__icon svg {
  width: 100%;
  height: 100%;
}

.service__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.service__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-warm);
  margin-top: 20px;
}

.service__link::after {
  content: '→';
  transition: transform var(--transition);
}

.service__card:hover .service__link::after {
  transform: translateX(4px);
}

/* ===== CONDITIONS ===== */
.conditions {
  background: var(--bg-alt) !important;
}

.conditions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.conditions__text {
  color: var(--text-light);
  font-size: 16px;
}

.conditions__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.conditions__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: padding var(--transition);
}

.conditions__item:hover {
  padding-left: 8px;
  color: var(--primary);
}

.conditions__item svg {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.conditions__item:hover svg {
  opacity: 1;
}

/* ===== TESTING ===== */
.testing__intro {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 16px auto 0;
}

.testing__categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.testing__cat {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testing__cat:hover {
  box-shadow: 0 12px 40px rgba(76, 105, 113, 0.12);
  transform: translateY(-4px);
}

.testing__cat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 12px 18px;
  letter-spacing: 0.02em;
  transition: background 0.3s ease;
}

.testing__cat:hover .testing__cat-title {
  background: var(--primary-dark);
}

.testing__cat-title svg {
  fill: rgba(255,255,255,0.5);
}

.testing__list {
  padding: 4px 0;
}

.testing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  gap: 12px;
}

.testing__row:nth-child(even) {
  background: var(--bg-warm);
}

.testing__row span:first-child {
  color: var(--text);
}

.testing__price {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
  background: rgba(76, 105, 113, 0.08);
  padding: 3px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.testing__process {
  margin-top: 60px;
  padding: 48px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.testing__process-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
  color: var(--text);
}

.testing__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.testing__step {
  text-align: center;
  padding: 24px 16px;
}

.testing__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.testing__step strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}

.testing__step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials__slider {
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial__card {
  flex: 0 0 100%;
  padding: 48px 40px;
  text-align: center;
}

.testimonial__stars {
  color: var(--accent-warm);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

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

.testimonials__dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.faq__item:hover {
  background: rgba(76, 105, 113, 0.02);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color 0.3s ease;
}

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

.faq__question svg {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.faq__question[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq__question[aria-expanded="true"] + .faq__answer {
  max-height: 300px;
  padding-bottom: 20px;
  opacity: 1;
}

.faq__answer p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONSULTATIONS ===== */
.consultations {
  background: var(--bg-warm) !important;
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.consult-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.consult-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.consult-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(76, 105, 113, 0.15), 0 0 30px rgba(161, 204, 58, 0.06);
}

.consult-card:hover::before {
  transform: scaleX(1);
}

.consult-card__icon {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.consult-card:hover .consult-card__icon {
  transform: scale(1.15);
}

.consult-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.consult-card__icon svg {
  width: 100%;
  height: 100%;
}

.consult-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.consult-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.consult-card__list li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.consult-card__list li strong {
  color: var(--primary);
}

.consult-card__list li span {
  color: var(--neutral);
  font-size: 13px;
}

.consult-card__note {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-alt) !important;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact__text {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__detail svg {
  margin-top: 2px;
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 13px;
  color: var(--neutral);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact__detail a,
.contact__detail span {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.contact__detail a:hover {
  color: var(--accent-warm);
}

.contact__social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.contact__social span {
  font-size: 14px;
  color: var(--neutral);
}

.contact__social a {
  display: flex;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact__social a:hover {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(161, 204, 58, 0.3));
}

.contact__visual {
  position: relative;
}

.contact__pattern {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 70% 70%, var(--accent-warm), transparent 70%);
  opacity: 0.12;
  border-radius: 50%;
  z-index: 0;
  animation: patternPulse 6s ease-in-out infinite;
}

@keyframes patternPulse {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.1); opacity: 0.18; }
}

.contact__card {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(76, 105, 113, 0.18);
}

.contact__card-header {
  background: var(--primary);
  padding: 32px;
  display: flex;
  justify-content: center;
}

.contact__card-header img {
  filter: brightness(0) invert(1);
  height: 36px;
  width: auto;
}

.contact__card-body {
  padding: 32px;
  text-align: center;
}

.contact__card-body p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.contact__card-body p:last-child {
  margin-bottom: 0;
}

.contact__card-body strong {
  color: var(--text);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-warm), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  filter: brightness(0) invert(1);
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  transition: transform 0.4s ease;
}

.footer__brand:hover img {
  transform: scale(1.05);
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__links h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer__links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease;
}

.footer__links a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer__links a:hover::before {
  transform: translateY(-50%) scale(1);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 8px;
    box-shadow: -8px 0 24px rgba(0,0,0,0.08);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    color: var(--text) !important;
    padding: 12px 0 !important;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav__links a::after {
    display: none;
  }

  .nav__cta {
    text-align: center;
    margin-top: 12px;
  }

  .nav__toggle {
    display: flex;
  }

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

  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

  .hero__content {
    padding: 100px 24px 60px;
  }

  .nav__logo img {
    height: 38px;
  }

  .nav.scrolled .nav__logo img {
    height: 34px;
  }

  .about__grid,
  .conditions__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__stats {
    gap: 24px;
  }

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

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

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

  .testing__process {
    padding: 32px 24px;
  }

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

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

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

  .footer__brand p {
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .team__card {
    padding: 24px;
  }

  .testimonial__card {
    padding: 32px 16px;
  }

  .hero__particles {
    display: none;
  }

  .hero__cursor-glow {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .section::before {
    height: 40px;
  }

  .team-banner img {
    height: 200px !important;
  }

  .testing__banner img {
    height: 180px !important;
  }
}

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

  .hero__particles,
  .hero__cursor-glow {
    display: none;
  }

  .scroll-progress {
    display: none;
  }

  .page-loader {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-consent__text {
  font-size: 14px;
  line-height: 1.6;
  max-width: 700px;
}

.cookie-consent__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cookie-consent__btn--accept {
  background: var(--accent);
  color: var(--primary-dark);
}

.cookie-consent__btn--accept:hover {
  background: #b8dd4a;
}

.cookie-consent__btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}

.cookie-consent__btn--decline:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
}
