/* ================================================================
   LEDIN CLINIC — Design System & Full Stylesheet
   Inspired by shaferplasticsurgery.com
   ================================================================ */
/* Language switcher */
.lang-switch{color:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.3);text-decoration:none;transition:color .3s,border-color .3s;}
.lang-switch:hover{color:#fff;border-color:rgba(255,255,255,.6);}
.header.scrolled .lang-switch{color:var(--text-light);border-color:var(--border);}
.header.scrolled .lang-switch:hover{color:var(--primary);border-color:var(--primary);}

/* ----------------------------------------------------------------
   0a. SELF-HOSTED INTER FONT (eliminates Google Fonts dependency)
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------------
   0b. CSS RESET
   ---------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ----------------------------------------------------------------
   1. CSS VARIABLES — Design Tokens
   ---------------------------------------------------------------- */
:root {
  /* Primary palette */
  --primary: #3d5a6e;
  --primary-dark: #2c4454;
  --primary-light: #4e7389;
  --accent: #9e8660;
  --accent-light: #c9b48f;
  --accent-dark: #7d6b49;
  --accent-decorative: #b8a07a;

  /* Neutrals */
  --dark: #1a2332;
  --dark-light: #243040;
  --text: #2c3e50;
  --text-light: #4a5e6f;
  --text-muted: #5a6d7e;
  --border: #e2e0dc;
  --border-light: #eeedea;
  --bg-white: #ffffff;
  --bg-light: #f5f5f3;
  --bg-alt: #f9f8f6;

  /* Semantic */
  --overlay: rgba(26, 35, 50, 0.6);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);

  /* Layout */
  --container: 1400px;
  --container-padding: 5vw;
  --section-spacing: 80px;
  --header-height: 100px;
  --header-height-scrolled: 72px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Aliases for clarity */
  --text-secondary: #4a5e6f;
  --heading: #1a2332;
}

/* ----------------------------------------------------------------
   2. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: clamp(2rem, 1rem + 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  margin-bottom: 1.25rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

p:last-child {
  margin-bottom: 0;
}

.fs-lg {
  font-size: 1.125rem;
  line-height: 1.8;
}

.fs-sm {
  font-size: 0.875rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* Section label — small uppercase tag */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   3. LAYOUT — Container & Grid
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-spacing) 0;
}

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

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

.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

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

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

.btn-accent {
  border-color: var(--accent);
  color: var(--dark);
  background: transparent;
}

.btn-accent:hover {
  background: var(--accent);
  color: var(--bg-white);
}

.btn-white {
  border-color: var(--bg-white);
  color: var(--dark);
  background: var(--bg-white);
  font-weight: 600;
}

.btn-white:hover {
  background: rgba(255,255,255,0.85);
  color: var(--dark);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 0.85rem;
}

/* ----------------------------------------------------------------
   5. HEADER — Transparent → Solid on scroll
   ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), height var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  background: transparent;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.header.scrolled {
  background: var(--bg-white);
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1.5rem);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 10;
  flex-shrink: 0;
  margin-right: 2rem;
}

/* Logo icon removed for personal brand */

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bg-white);
  line-height: 1.3;
  white-space: nowrap;
  transition: color var(--transition);
}

.header.scrolled .logo-text {
  color: var(--dark);
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 2rem);
  margin-left: auto;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

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

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

.nav a:hover {
  color: var(--bg-white);
}

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

.header.scrolled .nav a:hover {
  color: var(--dark);
}

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-white);
  transition: color var(--transition);
  margin-left: 1.5rem;
  white-space: nowrap;
}

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

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

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  z-index: 1002;
  transition: color var(--transition);
  margin-left: auto;
}

.header.scrolled .mobile-menu-btn {
  color: var(--dark);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ----------------------------------------------------------------
   6. MOBILE OVERLAY MENU
   ---------------------------------------------------------------- */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 35, 50, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close button inside overlay */
.mobile-overlay-close {
  position: absolute;
  top: 28px;
  right: var(--container-padding, 5vw);
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.mobile-overlay-close:hover {
  color: white;
  border-color: rgba(255,255,255,0.5);
}

/* Make header button white when overlay is open */
.mobile-menu-btn[aria-expanded="true"] {
  color: var(--bg-white) !important;
}

.mobile-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-overlay nav a {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.mobile-overlay nav a:hover {
  color: var(--bg-white);
}

.mobile-overlay-phone {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

/* ----------------------------------------------------------------
   7. HERO — Main page (fullscreen with overlay)
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 50, 0.55) 0%,
    rgba(61, 90, 110, 0.30) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
  padding-top: var(--header-height);
  padding-bottom: clamp(2rem, 16vh, 160px); /* scales smoothly with viewport height */
}

.hero h1 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
}

.hero h1 span {
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white);
  line-height: 1.2;
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-phone {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  width: 100%;
}

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

.hero-phone strong {
  font-size: 1.1rem;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(0.5); opacity: 0.8; }
}

/* Hide scroll indicator when viewport is critically short */
@media (max-height: 600px) {
  .hero-scroll {
    opacity: 0;
    visibility: hidden;
  }
}

/* ----------------------------------------------------------------
   7b. TRUST STRIP — credentials bar below hero
   ---------------------------------------------------------------- */
.trust-strip {
  background: var(--primary-dark, #005c4a);
  color: #fff;
  padding: 1rem 0;
  position: relative;
  z-index: 2;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-strip-item {
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
}
.trust-strip-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trust-strip-item span {
  opacity: 0.75;
  font-size: 0.78rem;
}
.trust-strip-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .trust-strip-inner {
    gap: 1rem;
  }
  .trust-strip-divider {
    display: none;
  }
  .trust-strip-item {
    flex: 1 1 45%;
    min-width: 140px;
  }
}

/* ----------------------------------------------------------------
   8. PAGE HERO — Inner pages
   ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  background: linear-gradient(160deg, #2a3f52 0%, #1e3344 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(61, 90, 110, 0.2));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumbs a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: rgba(255,255,255,0.8);
}

.breadcrumbs .separator {
  color: rgba(255,255,255,0.2);
}

.breadcrumbs .current {
  color: rgba(255,255,255,0.7);
}

/* ----------------------------------------------------------------
   9. EMPATHY / PAIN SECTION
   ---------------------------------------------------------------- */
.empathy {
  padding: var(--section-spacing) 0;
  background: var(--bg-white);
}

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

.empathy-content {
  max-width: 560px;
}

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

.empathy-list {
  margin: 1.5rem 0;
}

.empathy-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  color: var(--text);
  font-size: 1rem;
}

.empathy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.empathy-image {
  position: relative;
}

.empathy-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.empathy-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--accent);
  opacity: 0.3;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   9b. TWO-COL LAYOUT
   ---------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.section-header-left {
  text-align: left;
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.section-header-left p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 650px;
}

/* Card grid variants */
.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ----------------------------------------------------------------
   9c. PRINCIPLES / VALUES GRID
   ---------------------------------------------------------------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.principle-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  position: relative;
}

.principle-card h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.principle-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.principle-card ul {
  margin: 0.75rem 0 1rem 1.25rem;
  list-style: disc;
}

.principle-card li {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.principle-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  margin-bottom: 1.25rem;
}

/* ----------------------------------------------------------------
   9d. CHECKLIST
   ---------------------------------------------------------------- */
.checklist {
  margin: 1rem 0;
}

.checklist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--primary);
  border-radius: 2px;
}

.checklist li strong {
  color: var(--dark);
}

/* ----------------------------------------------------------------
   9e. HIGHLIGHT / BLOCKQUOTE
   ---------------------------------------------------------------- */
.highlight {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  font-style: italic;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 1.5rem 0;
}

/* ----------------------------------------------------------------
   9f. TAGS
   ---------------------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  border: 1px solid var(--border);
  background: var(--bg-light);
}

/* ----------------------------------------------------------------
   9g. CTA PRICE
   ---------------------------------------------------------------- */
.cta-price {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.7);
}

/* ----------------------------------------------------------------
   10. CARDS
   ---------------------------------------------------------------- */
.card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.card:hover {
  border-color: var(--accent);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.card:hover .card-icon {
  background: var(--primary);
  color: var(--bg-white);
}

/* Ensure SVGs inside card-icon use currentColor for proper hover inversion */
.card-icon svg {
  stroke: currentColor;
}
.card-icon svg [fill]:not([fill="none"]) {
  fill: currentColor;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover {
  gap: 0.75rem;
  color: var(--accent-dark);
}

/* Stretch .card-link to cover entire .card so the whole card is clickable */
.card-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Direction card (highlight variant) — standalone accent block after card-grid */
.card-grid + .direction-card-highlight {
  margin-top: 1.5rem;
}
.direction-card-highlight {
  background: var(--bg-white);
  border-color: var(--accent-light);
}

/* ----------------------------------------------------------------
   11. DOCTOR CARD (about section)
   ---------------------------------------------------------------- */
.doctor-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.doctor-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 15%;
}

.doctor-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.doctor-title {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.doctor-position {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Doctor facts grid */
.doctor-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.doctor-fact {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border-light);
  transition: border-color var(--transition);
}

.doctor-fact:hover {
  border-color: var(--accent);
}

.doctor-fact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.doctor-fact strong {
  font-size: 0.95rem;
  color: var(--dark);
}

.doctor-fact span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Doctor quote */
.doctor-quote {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  font-style: italic;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   11b. TEAM TEASER
   ---------------------------------------------------------------- */
.team-teaser {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-teaser-content {
  flex: 1;
  min-width: 250px;
  position: relative;
  z-index: 1;
}

.team-teaser-content h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.team-teaser-content p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.team-teaser-content .card-link {
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.team-teaser-content .card-link::after {
  display: none;
}

/* --- Mini avatar carousel (spotlight: 1 center + side peeks) ---
 *
 *  Desktop (460px carousel, 30px padding → 400px viewport):
 *    3 slides × 133px.  Avatar 360px.
 *    Center: scale(1.05) = 378px → 11px margin each side  ✓
 *    Sides:  scale(0.75) = 270px → clipped ~68px (25%)    ✓
 *
 *  Mobile  (280px carousel, 26px padding → 228px viewport):
 *    3 slides × 76px.   Avatar 200px.
 *    Center: scale(1.0)  = 200px → 14px margin each side  ✓
 *    Sides:  scale(0.7)  = 140px → clipped ~32px (23%)    ✓
 */
.team-mini-carousel {
  position: relative;
  flex-shrink: 0;
  width: 460px;
  padding: 0 30px;
  touch-action: pan-y;
}

.team-mini-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.team-mini-track {
  display: flex;
  will-change: transform;
  align-items: center;
}

.team-mini-slide {
  flex: 0 0 33.333%;           /* JS overrides with pixel value */
  min-width: 0;                /* allow slide narrower than avatar */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  opacity: 0.35;               /* JS overrides per-frame */
}

.team-teaser-avatar {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg-light);
  flex-shrink: 0;
  transform: scale(0.7);       /* JS overrides per-frame */
}

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

.team-mini-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  height: auto;
  width: 36px;
  border-radius: 0;
  border: none;
  background: rgba(255,255,255,0.01);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

.team-mini-btn:hover {
  color: var(--primary);
}

.team-mini-btn:active {
  color: var(--dark);
}

.team-mini-prev { left: -6px; }
.team-mini-next { right: -6px; }

.team-mini-slide[data-href] {
  cursor: pointer;
  touch-action: manipulation;
}

/* ---- Tablet (team teaser switches to column earlier due to 460px carousel) ---- */
@media (max-width: 1100px) {
  .team-teaser {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 2rem;
  }

  .team-teaser-content {
    min-width: 0;
  }

  .team-mini-carousel {
    width: 460px;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* ---- Mobile ---- */
@media (max-width: 690px) {
  .team-teaser {
    padding: 1.25rem;
    gap: 1rem;
  }

  .team-mini-carousel {
    width: 280px;
    max-width: 100%;
    padding: 0 26px;
    margin: 0 auto;
  }

  .team-mini-slide {
    padding: 12px 0;
  }

  .team-teaser-avatar {
    width: 200px;
    height: 200px;
  }

}

/* ----------------------------------------------------------------
   12. STEPS
   ---------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.after-submit-steps {
  margin-top: 1rem;
  text-align: left;
}
.after-submit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.after-submit-item-last {
  border-bottom: none;
}
.after-submit-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.after-submit-num-accent {
  background: var(--accent);
}
.after-submit-item p {
  margin: 0;
  font-size: 0.95rem;
  padding-top: 0.3rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

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

.review-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.review-links .btn {
  min-width: 160px;
  text-align: center;
}

.value-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.testimonial {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
}

.testimonial-rating {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-author strong {
  color: var(--text);
}

/* Rating badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(184,160,122,0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.rating-badge svg {
  color: var(--accent);
}

/* Trust Bar — полоса доверия с рейтингами платформ */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 2rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-width: 180px;
}

.trust-badge:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.trust-badge-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-badge-rating {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.trust-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.trust-score {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.trust-score-lg {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.trust-badge-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Testimonial source link */
.testimonial-source {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.testimonial-source a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent-light);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.testimonial-source a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

/* ----------------------------------------------------------------
   14. LEAD MAGNET
   ---------------------------------------------------------------- */
.lead-magnet {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--dark);
  color: var(--bg-white);
}

.lead-magnet h3 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.lead-magnet p {
  color: rgba(255,255,255,0.7);
}

.lead-magnet-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.lead-magnet-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-magnet-form input[type="email"] {
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--bg-white);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.lead-magnet-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.4);
}

.lead-magnet-form input[type="email"]:focus {
  border-color: var(--accent);
}

.lead-magnet-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-top: 0.75rem;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

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

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

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

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

.faq-answer-inner {
  padding: 0 0 1.25rem;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   16. CTA / CONTACT FORM SECTION
   ---------------------------------------------------------------- */
.cta-section {
  padding: var(--section-spacing) 0;
  background: linear-gradient(160deg, #344f63 0%, #2a4052 100%);
  text-align: center;
}

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

.cta-section > .container > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.form-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-white);
  text-align: left;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 1rem;
  color: var(--dark);
  transition: border-color var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1.45;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox span {
  flex: 1;
  min-width: 0;
}

.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0;
}

.form-success svg {
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.form-success-note {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
}

.form-alternatives {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.form-alternatives p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.messenger-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.messenger-link:hover {
  opacity: 0.8;
}

.messenger-link.whatsapp {
  background: rgba(37,211,102,0.1);
  color: #1a8f44;
}

.messenger-link.telegram {
  background: rgba(0,136,204,0.1);
  color: #0088cc;
}

/* ----------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-about {
  max-width: 340px;
}

.footer-about p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.footer .logo-text {
  color: var(--bg-white);
}

.footer h4 {
  color: var(--bg-white);
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--bg-white);
}

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

.footer-contact-icon {
  width: 18px;
  min-width: 18px;
  color: var(--accent);
  margin-top: 2px;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-contact-item a {
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.9);
}

.footer-disclaimer {
  max-width: 500px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-align: right;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   18. CONTENT PAGES (articles, disease pages)
   ---------------------------------------------------------------- */
.content-section {
  padding: var(--section-spacing) 0;
}

.content-body {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.content-body ul,
.content-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.content-body ul {
  list-style: disc;
}

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

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

.content-body blockquote {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
}

/* Info box for disease pages */
.info-box {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  margin: 2rem 0;
}

.info-box h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* ----------------------------------------------------------------
   19. TABLES
   ---------------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

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

.table th {
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  background: var(--bg-light);
}

.table td {
  color: var(--text);
}

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

/* Price table */
.price-table td:last-child {
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   20. TEAM GRID
   ---------------------------------------------------------------- */
/* Team carousel */
.team-carousel {
  position: relative;
  overflow: hidden;
}

.team-carousel-track {
  display: flex;
}

.team-carousel-slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 0.75rem;
  box-sizing: border-box;
}

.team-carousel-slide .card {
  height: 100%;
}

.team-carousel-photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.team-carousel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(20%);
  transition: filter var(--transition), transform var(--transition);
}

.team-carousel-slide:hover .team-carousel-photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.team-carousel-btn:hover {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.team-carousel-prev {
  left: 0;
}

.team-carousel-next {
  right: 0;
}

.team-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.team-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}

.team-carousel-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* ----------------------------------------------------------------
   21. BLOG GRID
   ---------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: border-color var(--transition);
}

.blog-card:hover {
  border-color: var(--accent);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   22. RESULTS PAGE — Stats / Numbers
   ---------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
}

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

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------
   23. SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
/* Elements are VISIBLE by default. JS adds .js-ready to <html>,
   which enables the hidden→visible animation. If JS fails, content stays visible. */
.js-ready [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready [data-animate].is-visible,
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }
[data-animate-delay="6"] { transition-delay: 0.6s; }

/* ----------------------------------------------------------------
   23b. CASE CARDS (Results page)
   ---------------------------------------------------------------- */
.case-card {
  border: 1px solid var(--border);
  background: var(--bg-white);
  overflow: hidden;
}

.case-header {
  padding: 1.5rem 2rem;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.case-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.case-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.case-body {
  padding: 2rem;
}

.case-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.case-result {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.case-result-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.case-result p {
  color: var(--dark);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   23c. CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--border);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-info-value a {
  color: var(--primary);
  transition: color var(--transition);
}

.contact-info-value a:hover {
  color: var(--accent-dark);
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.schedule-table th {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.schedule-table td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}

.schedule-table td:first-child {
  font-weight: 500;
  color: var(--dark);
}

.schedule-table td:last-child {
  text-align: left;
}

.schedule-open {
  color: var(--primary);
  font-weight: 500;
}

.schedule-closed {
  color: var(--text-muted);
  font-style: italic;
}

/* Map placeholder */
.placeholder-map {
  width: 100%;
  height: 350px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Placeholder image */
.placeholder-img {
  width: 100%;
  height: 300px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ----------------------------------------------------------------
   23d. BLOG CARD EXTRAS
   ---------------------------------------------------------------- */
.blog-card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-card-meta .source-link {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, opacity 0.2s;
}
.blog-card-meta .source-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Category filters */
.category-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.category-filter {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-light);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.category-filter:hover,
.category-filter.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(61, 90, 110, 0.05);
}

/* Content narrow (for text-heavy pages like privacy policy) */
.content-narrow {
  max-width: 800px;
}
.content-narrow > div + div {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.content-narrow h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-top: 0;
  margin-bottom: 1rem;
}
.content-narrow ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}
.content-narrow ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Doctor badge (blog hero) */
.doctor-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  max-width: fit-content;
  color: var(--bg-white);
}

.doctor-badge-avatar {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Contact info note */
.contact-info-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
   23e. UTILITY CLASSES
   ---------------------------------------------------------------- */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.fw-semi { font-weight: 600; }
.fw-bold { font-weight: 700; }

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* White outline on dark backgrounds */
.cta-section .btn-outline,
.page-hero .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--bg-white);
}
.cta-section .btn-outline:hover,
.page-hero .btn-outline:hover {
  border-color: var(--bg-white);
  background: rgba(255,255,255,0.1);
  color: var(--bg-white);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--bg-white);
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.header-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s, background 0.2s;
  margin-left: 4px;
}

.header-messenger:hover {
  color: var(--bg-white);
  background: rgba(255,255,255,0.15);
}

.header.scrolled .header-messenger {
  color: var(--text-muted);
}

.header.scrolled .header-messenger:hover {
  color: var(--primary);
  background: rgba(61,90,110,0.08);
}

@media (max-width: 1100px) {
  .header-messenger { display: none; }
}

.tag-accent {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(184, 160, 122, 0.08);
}

/* Disease page sidebar / navigation */
.disease-nav {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  position: sticky;
  top: calc(var(--header-height-scrolled) + 20px);
}

.disease-nav h4 {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.disease-nav a {
  display: block;
  padding: 0.75rem 0;
  min-height: 44px;
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}

.disease-nav a:last-child {
  border-bottom: none;
}

.disease-nav a:hover {
  color: var(--primary);
}

/* Disease page two-col with sidebar */
.disease-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

/* Page hero with stats (inner pages) */
.page-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.page-hero .hero-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.page-hero-stat {
  text-align: left;
}

.page-hero-stat-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-white);
}

.page-hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* FAQ full page - multiple sections */
.faq-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

/* Content two-col for inner pages */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-two-col img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ----------------------------------------------------------------
   23b. RESPONSIVE — Header nav collapse (≤1100px)
   ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* Tags row (cross-links) */
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----------------------------------------------------------------
   REVIEWS CAROUSEL
   ---------------------------------------------------------------- */
.reviews-carousel {
  position: relative;
  margin-top: 2rem;
  padding: 0 3rem;
}

.reviews-carousel-viewport {
  overflow: hidden;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-slide {
  flex: 0 0 33.333%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.review-quote {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 1.25rem 1.25rem 1rem;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}

.review-author {
  background: var(--bg-white);
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  padding: 0.6rem 1.25rem 0.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--heading);
}

.review-source {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0.15rem 1.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-carousel-prev,
.reviews-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--heading);
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: var(--shadow-sm);
}

.reviews-carousel-prev:hover,
.reviews-carousel-next:hover {
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}

.reviews-carousel-prev { left: 0; }
.reviews-carousel-next { right: 0; }

@media (max-width: 1000px) {
  .review-slide { flex: 0 0 50%; }
}

@media (max-width: 690px) {
  .review-slide { flex: 0 0 100%; }
  .reviews-carousel { padding: 0 2.5rem; }
}

/* ----------------------------------------------------------------
   24. RESPONSIVE — Tablet (≤1000px)
   ---------------------------------------------------------------- */
@media (max-width: 1000px) {
  :root {
    --section-spacing: 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .empathy-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .empathy-image {
    order: -1;
  }

  .empathy-image img {
    height: 350px;
  }

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

  .doctor-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .lead-magnet {
    grid-template-columns: 1fr;
  }

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

  .team-carousel-photo {
    height: 260px;
  }

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

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

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

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

  .disease-layout {
    grid-template-columns: 1fr;
  }

  .disease-nav {
    position: static;
  }

  .page-hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .page-hero .hero-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .content-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-two-col img {
    height: 300px;
  }

  .category-filters {
    justify-content: flex-start;
  }
}

/* ----------------------------------------------------------------
   25. RESPONSIVE — Mobile (≤690px)
   ---------------------------------------------------------------- */
@media (max-width: 690px) {
  :root {
    --section-spacing: 40px;
    --container-padding: 6vw;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .doctor-photo img {
    height: 350px;
  }

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

  .trust-bar {
    gap: 0.75rem;
  }
  .trust-badge {
    min-width: 0;
    flex: 1 1 140px;
    padding: 1rem 0.75rem;
  }
  .trust-badge-name {
    font-size: 0.7rem;
  }
  .trust-score-lg {
    font-size: 1.25rem;
  }

  .review-links {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .review-links .btn {
    min-width: 200px;
    width: auto;
    text-align: center;
  }

  .value-photo {
    height: auto;
    object-fit: contain;
  }

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

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

  .lead-magnet {
    padding: 2rem;
  }

  .form-card {
    padding: 1.5rem;
  }

  .form-checkbox {
    gap: 0.4rem;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 1px;
  }

  .form-group:last-of-type {
    margin-bottom: 1rem;
  }

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

  .footer-about {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: left;
  }

  .footer-disclaimer {
    text-align: left;
    max-width: 100%;
  }

  .team-carousel-photo {
    height: 280px;
  }

  .team-carousel-btn {
    width: 36px;
    height: 36px;
  }

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

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

  .page-hero {
    padding: 140px 0 50px;
  }

  .empathy-image::after {
    display: none;
  }

  .empathy-image img {
    height: 280px;
  }

  .btn-lg {
    padding: 16px 28px;
    font-size: 0.8rem;
  }

  .table th,
  .table td {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  .messenger-links {
    flex-direction: column;
    align-items: center;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .mobile-overlay nav a {
    font-size: 1.25rem;
  }

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

  .page-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .page-hero .hero-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .content-two-col {
    grid-template-columns: 1fr;
  }

  .content-two-col img {
    height: 250px;
  }

  .category-filters {
    gap: 0.35rem;
  }

  .category-filter {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .btn {
    min-height: 44px;
    font-size: 0.875rem;
    white-space: normal;
    text-align: center;
  }

  .section-label {
    font-size: 0.8rem;
  }

  .hero-stat-label {
    font-size: 0.8rem;
  }

  .breadcrumbs {
    font-size: 0.875rem;
  }

  .footer h4 {
    font-size: 0.875rem;
  }

  .footer-disclaimer {
    font-size: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.875rem;
  }

  .case-label,
  .contact-info-label {
    font-size: 0.8rem;
  }

  .logo-text span {
    font-size: 0.75rem;
  }
}

/* ================================================================
   HEADER CONTACT ZONE — dropdown + callback
   ================================================================ */
.header-contact-zone {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-phone-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 2px;
  border-radius: 50%;
  color: var(--bg-white);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  background: none;
  border: none;
  padding: 0;
}
.header-phone-toggle:hover {
  background: rgba(255,255,255,0.15);
}
.header.scrolled .header-phone-toggle {
  color: var(--primary);
}
.header.scrolled .header-phone-toggle:hover {
  background: rgba(61,90,110,0.08);
}
.header-phone-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

/* Dropdown panel */
.header-contact-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1100;
}
.header-contact-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hcd-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.hcd-messengers {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.hcd-msg {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  flex: 1;
  justify-content: center;
}
.hcd-wa {
  color: #128C7E;
  background: rgba(18,140,126,0.06);
}
.hcd-wa:hover {
  background: rgba(18,140,126,0.12);
}
.hcd-tg {
  color: #0088cc;
  background: rgba(0,136,204,0.06);
}
.hcd-tg:hover {
  background: rgba(0,136,204,0.12);
}

.hcd-callback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(61,90,110,0.06);
  border: 1px solid rgba(61,90,110,0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hcd-callback-btn:hover {
  background: rgba(61,90,110,0.12);
  border-color: rgba(61,90,110,0.25);
}

/* Callback modal */
.callback-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.callback-modal.active {
  opacity: 1;
  visibility: visible;
}
.callback-modal-inner {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  transition: -webkit-transform 0.25s, transform 0.25s;
  overflow-y: auto;
  max-height: 90vh;
  margin: auto;
}
.callback-modal.active .callback-modal-inner {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.callback-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.callback-modal-close:hover {
  background: rgba(0,0,0,0.05);
}
.callback-modal h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  padding-right: 2.5rem;
  position: relative;
  z-index: 1;
}
.callback-modal-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.callback-form .form-label {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  display: block;
  color: var(--text-light);
}
.callback-form .form-input {
  margin-bottom: 0.75rem;
}
.callback-success {
  text-align: center;
  padding: 1.5rem 0;
}
.callback-success svg {
  margin-bottom: 0.75rem;
}
.callback-success p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.callback-modal-alt {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.callback-modal-msgs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.callback-modal-msgs a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}
.callback-modal-msgs a:hover {
  text-decoration: underline;
}

/* Mobile overlay additions */
.mobile-overlay-hours {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
}
.mobile-overlay-messengers {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}
.mobile-overlay-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.mobile-overlay-msg:hover {
  background: rgba(255,255,255,0.15);
}
.mobile-overlay-callback {
  margin-top: 1rem;
  padding: 0.65rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-overlay-callback:hover {
  background: var(--bg-light);
}

/* ----------------------------------------------------------------
   NAV DROPDOWN — Desktop submenu for "Услуги"
   ---------------------------------------------------------------- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown > a .nav-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a .nav-arrow,
.nav-dropdown.open > a .nav-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 0.75rem 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
  margin-top: 0.5rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text) !important;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a::after {
  display: none;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary) !important;
}

/* Scrolled header dropdown */
.header.scrolled .nav-dropdown-menu a {
  color: var(--text) !important;
}
.header.scrolled .nav-dropdown-menu a:hover {
  color: var(--primary) !important;
}

/* Mobile overlay — flat services submenu (always visible) */
.mobile-nav-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0.15rem 0 0.35rem;
}
.mobile-nav-services a {
  font-size: 0.95rem !important;
  font-weight: 300;
  color: rgba(255,255,255,0.5) !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  padding: 0.3rem 0 !important;
}
.mobile-nav-services a:hover {
  color: rgba(255,255,255,0.9) !important;
}

/* ----------------------------------------------------------------
   SERVICE HUB CARDS — Large package cards on services.html
   ---------------------------------------------------------------- */
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-hub-card {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-hub-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.service-hub-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  transition: background 0.2s, color 0.2s;
}
.service-hub-card:hover .service-hub-card-icon {
  background: var(--primary);
  color: var(--bg-white);
}
.service-hub-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.service-hub-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.service-hub-card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.service-hub-card-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}
.service-hub-card .btn {
  display: inline-flex;
}
.service-hub-card-features {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}
.service-hub-card-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
}
.service-hub-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .service-hub-grid {
    grid-template-columns: 1fr;
  }
  .service-hub-card {
    padding: 2rem 1.5rem;
  }
}

/* Hide dropdown on mobile */
@media (max-width: 1100px) {
  .header-contact-zone { display: none; }
  .nav-dropdown-menu { display: none !important; }
}

/* ----------------------------------------------------------------
   NEWS ARTICLE — typography within narrow article container
   ---------------------------------------------------------------- */
article.section h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
article.section h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.35;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
article.section h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
article.section p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
article.section ul, article.section ol {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
article.section li {
  margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------------
   ACCESSIBILITY — focus-visible for keyboard navigation
   ---------------------------------------------------------------- */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

/* Map tabs (contacts page) */
.map-tabs {
  display: flex;
  gap: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: none;
}
.map-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: none;
  border-right: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-tab:last-child { border-right: none; }
.map-tab.active {
  background: var(--bg-white);
  color: var(--heading);
  font-weight: 600;
  box-shadow: inset 0 2px 0 var(--accent);
}
.map-tab:hover:not(.active) {
  background: var(--bg-light);
}
.map-container {
  border: 1px solid var(--border);
  border-top: none;
}

/* News card layout — pin "Read →" to bottom */
#newsGrid .news-card {
  display: flex !important;
  flex-direction: column;
}
#newsGrid .news-card > p {
  flex: 1;
}

/* Skip navigation link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* Section image (used in direction pages) */
.section-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ----------------------------------------------------------------
   RESPONSIVE — Narrow (≤375px)
   ---------------------------------------------------------------- */
@media (max-width: 375px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ----------------------------------------------------------------
   RESPONSIVE — card-grid fix for tight tablet
   ---------------------------------------------------------------- */
@media (max-width: 850px) and (min-width: 691px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
