/* ============================================================
   МЕДІСФЕРА — Design System
   Fonts: Manrope (headings) + Inter (body)
   ============================================================ */

/* Fonts loaded via <link> in HTML for better performance */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:        #1565C0;
  --primary-dark:   #0D47A1;
  --primary-light:  #1976D2;
  --primary-bg:     #EBF3FF;
  --accent:         #E53935;
  --accent-hover:   #C62828;
  --success:        #2E7D32;
  --success-bg:     #E8F5E9;
  --white:          #FFFFFF;
  --light:          #F5F9FC;
  --light-2:        #EEF4FB;
  --text:           #1A2332;
  --text-2:         #3D5166;
  --text-muted:     #6B849B;
  --border:         #D0E4F7;
  --border-light:   #E8F0FA;
  --navy:           #0A1628;
  --navy-2:         #112040;
  --navy-3:         #1A3060;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm:   0 2px 8px rgba(21,101,192,.08);
  --shadow:      0 4px 24px rgba(21,101,192,.12);
  --shadow-lg:   0 8px 40px rgba(21,101,192,.18);
  --shadow-card: 0 2px 16px rgba(10,22,40,.07);

  --container: 1180px;
  --header-h:  72px;

  --ease-out: cubic-bezier(.22,.68,0,1.2);
  --trans: .25s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
p  { color: var(--text-2); }

/* ── Utilities ────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--light { background: var(--light); }
.section--blue  { background: var(--primary-bg); }
.section--navy  { background: var(--navy); }

/* ── SVG Icons ────────────────────────────────────────────── */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon svg { display: block; }
.icon--sm  svg { width: 18px; height: 18px; }
.icon--md  svg { width: 22px; height: 22px; }
.icon--lg  svg { width: 28px; height: 28px; }
.icon--xl  svg { width: 40px; height: 40px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1;
  transition: background var(--trans), color var(--trans), box-shadow var(--trans), transform var(--trans);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(21,101,192,.35);
}
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 6px 24px rgba(21,101,192,.45); }

.btn--blue {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(21,101,192,.3);
}
.btn--blue:hover { background: var(--primary-dark); box-shadow: 0 6px 22px rgba(21,101,192,.42); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary-bg); }

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

.btn--ghost { background: transparent; color: var(--primary); padding: 12px 20px; }
.btn--ghost:hover { background: var(--primary-bg); }

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .875rem; }

/* ── Section head ─────────────────────────────────────────── */
.section-head { margin-bottom: 52px; }
.section-head--center { text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 14px;
}
.section-title { margin-bottom: 14px; }
.section-sub { font-size: 1.0625rem; color: var(--text-2); max-width: 560px; }
.section-head--center .section-sub { margin: 0 auto; }

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--border-light);
  box-shadow: 0 2px 20px rgba(21,101,192,.09);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo__brand { display: flex; flex-direction: column; line-height: 1; }
.logo__name    { font-family: 'Manrope', sans-serif; font-size: 1.0625rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.logo__tagline { font-size: .72rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; letter-spacing: .01em; }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  font-family: 'Manrope', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--trans), background var(--trans);
}
.nav__link:hover { color: var(--primary); background: var(--primary-bg); }
.nav__link.active { color: var(--primary); background: var(--primary-bg); }

/* Lang switcher */
.lang-sw { display: flex; gap: 4px; }
.lang-btn {
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  font-family: 'Manrope', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1.5px solid transparent;
  transition: all var(--trans);
}
.lang-btn:hover { color: var(--primary); border-color: var(--border); }
.lang-btn.active { color: var(--primary); border-color: var(--primary); background: var(--primary-bg); }

/* Header phone */
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--trans), box-shadow var(--trans);
}
.header__phone:hover { background: var(--primary-dark); box-shadow: var(--shadow); }
.header__phone-icon { display: flex; color: var(--white); }
.header__phone-icon svg { width: 16px; height: 16px; }
.header__phone-num { font-family: 'Manrope', sans-serif; font-size: .875rem; font-weight: 700; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10,22,40,.78) 0%, rgba(17,32,64,.68) 55%, rgba(21,101,192,.55) 100%),
    url('../images/hero-bg.webp') center / cover no-repeat;
  padding: 96px 0 80px;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 75% 50%, rgba(25,118,210,.28) 0%, transparent 70%);
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  pointer-events: none;
}
.hero__blob--1 { width: 500px; height: 500px; background: var(--primary-light); top: -100px; right: -50px; }
.hero__blob--2 { width: 300px; height: 300px; background: #3BAFDA; bottom: -50px; right: 200px; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: 7px 14px;
  border-radius: 40px;
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero__badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero__title {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero__title span { color: #60AAFF; }
.hero__sub {
  color: rgba(255,255,255,.72);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.55);
  font-size: .8125rem;
}
.hero__trust svg { width: 14px; height: 14px; color: #60AAFF; }
.hero__trust-line { width: 1px; height: 14px; background: rgba(255,255,255,.2); }

/* Hero visual side */
.hero__visual { position: relative; }
.hero__stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__stat-card {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  transition: background var(--trans), transform var(--trans);
}
.hero__stat-card:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.hero__stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label { font-size: .8125rem; color: rgba(255,255,255,.6); font-weight: 500; }
.hero__stat-icon { margin-bottom: 12px; color: #60AAFF; }
.hero__stat-icon svg { width: 22px; height: 22px; }

/* ════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1A3A6E 100%);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(21,101,192,.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--trans); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { color: rgba(255,255,255,.35); }
.page-hero__title { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero__sub   { color: rgba(255,255,255,.65); font-size: 1.0625rem; position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-bg) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
  position: relative;
  transition: background var(--trans), color var(--trans);
}
.service-card:hover .service-card__icon { background: var(--primary); color: var(--white); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title { font-size: 1.125rem; margin-bottom: 10px; position: relative; }
.service-card__text  { font-size: .9375rem; color: var(--text-2); line-height: 1.6; position: relative; }

/* ════════════════════════════════════════════════════════════
   ADVANTAGES
   ════════════════════════════════════════════════════════════ */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans), box-shadow var(--trans);
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.adv-card__icon {
  width: 48px; height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  transition: background var(--trans), color var(--trans);
}
.adv-card:hover .adv-card__icon { background: var(--primary); color: var(--white); }
.adv-card__icon svg { width: 24px; height: 24px; }
.adv-card__title { font-size: 1.0625rem; margin-bottom: 10px; }
.adv-card__text  { font-size: .9375rem; color: var(--text-2); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════ */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-2);
}
.about__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  color: var(--primary);
}
.about__img-placeholder svg { width: 64px; height: 64px; opacity: .35; }
.about__img-placeholder span { font-size: .875rem; color: var(--text-muted); }
.about__license {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--success-bg);
  border: 1.5px solid rgba(46,125,50,.2);
  color: var(--success);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  margin-top: 28px;
}
.about__license svg { width: 18px; height: 18px; }
.about__list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about__list-item { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; color: var(--text-2); }
.about__list-icon {
  width: 22px; height: 22px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--success);
}
.about__list-icon svg { width: 12px; height: 12px; }

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
.stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 50% 50%, rgba(21,101,192,.2) 0%, transparent 70%);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.stat-item { text-align: center; }
.stat-item__num {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label { font-size: .9375rem; color: rgba(255,255,255,.6); font-weight: 500; }
.stat-sep { width: 1px; background: rgba(255,255,255,.12); align-self: stretch; }

/* ════════════════════════════════════════════════════════════
   STEPS
   ════════════════════════════════════════════════════════════ */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.steps__grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
  z-index: 0;
}
.step-card { text-align: center; padding: 28px 16px; position: relative; z-index: 1; }
.step-card__num {
  width: 56px; height: 56px;
  background: var(--white);
  border: 2.5px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px var(--primary-bg);
}
.step-card__title { font-size: 1rem; margin-bottom: 8px; }
.step-card__text  { font-size: .875rem; color: var(--text-muted); line-height: 1.55; }

/* ════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════ */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--light-2);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--light-2) 0%, var(--primary-bg) 100%);
  color: var(--primary);
}
.gallery-item__placeholder svg { width: 40px; height: 40px; opacity: .4; }
.gallery-item__placeholder span { font-size: .8125rem; color: var(--text-muted); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__caption { color: var(--white); font-size: .875rem; font-weight: 600; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  transition: background var(--trans);
}
.lightbox__close:hover { background: rgba(255,255,255,.24); }
.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--trans);
}
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.24); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__prev svg, .lightbox__next svg { width: 22px; height: 22px; }

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--trans), border-color var(--trans);
}
.faq-item.open { border-color: var(--border); box-shadow: var(--shadow-sm); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--trans);
}
.faq-item__q:hover { color: var(--primary); }
.faq-item.open .faq-item__q { color: var(--primary); }
.faq-item__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: background var(--trans), transform var(--trans);
}
.faq-item.open .faq-item__icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-item__icon svg { width: 14px; height: 14px; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-item__a { max-height: 400px; }
.faq-item__a-inner {
  padding: 16px 24px 22px;
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
}
.faq__category { margin-bottom: 36px; }
.faq__category-title {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding-left: 4px;
}

/* ════════════════════════════════════════════════════════════
   REVIEWS
   ════════════════════════════════════════════════════════════ */
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--trans), transform var(--trans);
  position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card__quote { position: absolute; top: 20px; right: 24px; color: var(--primary-bg); }
.review-card__quote svg { width: 32px; height: 32px; }
.review-card__stars { display: flex; gap: 3px; margin-bottom: 14px; color: #F59E0B; }
.review-card__stars svg { width: 16px; height: 16px; }
.review-card__text { font-size: .9375rem; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: .9375rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}
.review-card__name   { font-family: 'Manrope', sans-serif; font-size: .9375rem; font-weight: 700; color: var(--text); }
.review-card__origin { font-size: .8125rem; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════════
   ARTICLES
   ════════════════════════════════════════════════════════════ */
.articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-card__img {
  height: 200px;
  overflow: hidden;
  background: var(--light-2);
  position: relative;
}
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  background: linear-gradient(135deg, var(--light-2) 0%, var(--primary-bg) 100%);
  color: var(--primary);
}
.article-card__img-placeholder svg { width: 40px; height: 40px; opacity: .35; }
.article-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .8125rem; color: var(--text-muted); }
.article-card__cat {
  background: var(--primary-bg);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 40px;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-card__title { font-size: 1rem; margin-bottom: 10px; flex: 1; }
.article-card__title a { color: var(--text); transition: color var(--trans); }
.article-card__title a:hover { color: var(--primary); }
.article-card__excerpt { font-size: .875rem; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--trans);
}
.article-card__link:hover { gap: 10px; }
.article-card__link svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════════════════════
   CTA BLOCK
   ════════════════════════════════════════════════════════════ */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
}
.cta-block .container { position: relative; }
.cta-block__title { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 12px; }
.cta-block__text  { color: rgba(255,255,255,.75); font-size: 1.0625rem; margin-bottom: 32px; }
.cta-block__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 32px;
  transition: opacity var(--trans);
}
.cta-block__phone:hover { opacity: .85; }
.cta-block__phone-icon { display: flex; color: rgba(255,255,255,.8); }
.cta-block__phone-icon svg { width: 28px; height: 28px; }
.cta-block__actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   CONTACTS
   ════════════════════════════════════════════════════════════ */
.contacts__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info__title { font-size: 1.5rem; margin-bottom: 28px; }
.contact-info__item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__label {
  font-size: .8125rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.contact-info__value { font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); }
.contact-info__value a { color: inherit; transition: color var(--trans); }
.contact-info__value a:hover { color: var(--primary); }

.messengers { display: flex; gap: 10px; flex-wrap: wrap; }
.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  transition: transform var(--trans), box-shadow var(--trans);
}
.messenger-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.messenger-btn svg { width: 18px; height: 18px; }
.messenger-btn--viber { background: #7360F2; }
.messenger-btn--wa    { background: #25D366; }
.messenger-btn--tg    { background: #2AABEE; }

.map-placeholder {
  margin-top: 28px;
  height: 200px;
  background: linear-gradient(135deg, var(--light-2) 0%, var(--primary-bg) 100%);
  border-radius: var(--radius);
  border: 1.5px solid var(--border-light);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--primary);
}
.map-placeholder svg { width: 36px; height: 36px; opacity: .4; }
.map-placeholder__text { font-family: 'Manrope', sans-serif; font-size: .9375rem; font-weight: 600; color: var(--text-2); }

/* ════════════════════════════════════════════════════════════
   FORM
   ════════════════════════════════════════════════════════════ */
.form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}
.form-wrap h2 { margin-bottom: 8px; }
.form-desc { font-size: .9375rem; color: var(--text-muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: .02em;
}
.form-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
.form-field::placeholder { color: var(--text-muted); }
.form-field.error { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(229,57,53,.1); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .75rem; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 24px; }
.form-success.show { display: block; }
.form-success__icon {
  width: 56px; height: 56px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--success);
}
.form-success__icon svg { width: 28px; height: 28px; }
.form-success__title { font-family: 'Manrope', sans-serif; font-size: 1.375rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.form-success__text  { font-size: .9375rem; color: var(--text-2); }

/* ════════════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s var(--ease-out);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: .9rem;
  transition: background var(--trans), color var(--trans);
}
.modal__close:hover { background: var(--border-light); color: var(--text); }
.modal__title { font-size: 1.5rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.modal__title svg { width: 24px; height: 24px; color: var(--primary); }
.modal__sub { font-size: .9375rem; color: var(--text-muted); margin-bottom: 28px; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer { background: var(--navy); padding-top: 64px; padding-bottom: 0; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand .logo__name    { color: var(--white); }
.footer__brand .logo__tagline { color: rgba(255,255,255,.45); }
.footer__brand .logo__icon    { background: rgba(255,255,255,.12); }
.footer__desc { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-top: 14px; margin-bottom: 18px; max-width: 280px; }
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: opacity var(--trans);
}
.footer__phone:hover { opacity: .8; }
.footer__phone svg { width: 16px; height: 16px; }
.footer__col-title {
  font-family: 'Manrope', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: .9rem; color: rgba(255,255,255,.6); transition: color var(--trans); }
.footer__link:hover { color: var(--white); }
.footer__contact-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: rgba(255,255,255,.35); }
.footer__contact-item a { color: inherit; transition: color var(--trans); }
.footer__contact-item a:hover { color: var(--white); }
.footer__license {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.05);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
}
.footer__license svg { width: 14px; height: 14px; color: #4CAF50; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}

/* ════════════════════════════════════════════════════════════
   FAB
   ════════════════════════════════════════════════════════════ */
.fab-phone {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(21,101,192,.45);
  z-index: 90;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  animation: fabPulse 2.5s ease infinite;
}
.fab-phone:hover { background: var(--primary-dark); transform: scale(1.08); box-shadow: 0 6px 28px rgba(21,101,192,.55); animation: none; }
.fab-phone svg { width: 24px; height: 24px; }
@keyframes fabPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(21,101,192,.45); }
  50%      { box-shadow: 0 4px 30px rgba(21,101,192,.7); }
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ════════════════════════════════════════════════════════════
   ARTICLE PAGE
   ════════════════════════════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  display: block;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: .875rem;
  color: var(--text-muted);
}
.article-cat {
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: .8125rem;
}
.article-content h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.article-lead {
  font-size: 1.125rem;
  color: var(--text-2);
  line-height: 1.75;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin-bottom: 40px;
  font-weight: 500;
}
.article-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 48px 0 16px;
  letter-spacing: -.01em;
}
.article-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}
.article-content p {
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1rem;
}
.article-content ul,
.article-content ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
  color: var(--text-2);
  line-height: 1.8;
}
.article-content li { margin-bottom: 8px; }
.article-content ul li::marker { color: var(--primary); }
.article-content ol li::marker { color: var(--primary); font-weight: 700; }
.article-highlight {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.article-highlight p { margin: 0; color: var(--text); font-weight: 500; }
.article-cta-inline {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.article-cta-inline h3 { color: var(--white); margin: 0 0 8px; }
.article-cta-inline p { color: rgba(255,255,255,.7); margin-bottom: 20px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border-light); }
.article-tag { background: var(--light); color: var(--text-muted); padding: 5px 12px; border-radius: 40px; font-size: .8125rem; }

/* Sidebar */
.article-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 24px;
  text-align: center;
}
.sidebar-cta__title { font-family: 'Manrope', sans-serif; font-size: 1.125rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.sidebar-cta__sub { color: rgba(255,255,255,.7); font-size: .875rem; margin-bottom: 20px; line-height: 1.6; }
.sidebar-cta__phone { display: block; color: var(--white); font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.125rem; margin-bottom: 16px; }
.sidebar-related { background: var(--light); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-related__title { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 16px; }
.sidebar-related__list { list-style: none; padding: 0; margin: 0; }
.sidebar-related__item { border-bottom: 1px solid var(--border-light); padding: 12px 0; }
.sidebar-related__item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-related__link { font-size: .875rem; color: var(--text-2); font-weight: 500; line-height: 1.4; transition: color var(--trans); }
.sidebar-related__link:hover { color: var(--primary); }

/* ── Language suggestion banner ───────────────────────────── */
.lang-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  padding: 16px 20px 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  width: calc(100% - 32px);
  animation: langBannerIn .35s cubic-bezier(.34,1.4,.64,1) both;
}
.lang-banner.hidden { display: none; }
@keyframes langBannerIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.lang-banner__flag { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.lang-banner__text { flex: 1; }
.lang-banner__title { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .9rem; color: var(--text); line-height: 1.3; }
.lang-banner__sub { font-size: .78rem; color: var(--text-2); margin-top: 2px; }
.lang-banner__btn {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--trans);
  text-decoration: none;
  display: inline-block;
}
.lang-banner__btn:hover { background: var(--primary-dark); color: #fff; }
.lang-banner__close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color var(--trans);
}
.lang-banner__close:hover { color: var(--text); }
@media (max-width: 480px) {
  .lang-banner { flex-wrap: wrap; bottom: 90px; }
  .lang-banner__btn { width: 100%; text-align: center; order: 3; }
}
