/* ========================================
   ПроВент — Premium Landing (Light Theme)
   ======================================== */

:root {
  --bg: #f7f5f2;
  --bg-elevated: #ffffff;
  --bg-dark-soft: #f0edea;
  --surface: rgba(0, 0, 0, 0.02);
  --text: #1a1f26;
  --text-muted: #5c6570;
  --text-light: #8b939e;
  --accent: #ff5c1a;
  --accent-hover: #e54d0f;
  --accent-soft: rgba(255, 92, 26, 0.12);
  --accent-glow: rgba(255, 92, 26, 0.25);
  --teal: #0d9488;
  --teal-soft: rgba(13, 148, 136, 0.1);
  --border: rgba(26, 31, 38, 0.08);
  --border-strong: rgba(26, 31, 38, 0.14);
  --font: 'Onest', system-ui, sans-serif;
  --font-display: 'Unbounded', 'Onest', sans-serif;
  --header-h: clamp(64px, 10vw, 76px);
  --container: min(1200px, 100% - clamp(32px, 6vw, 48px));
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 64px -16px rgba(13, 17, 23, 0.08);
  --shadow-lg: 0 32px 80px -20px rgba(13, 17, 23, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
em { font-style: normal; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.section { padding: clamp(64px, 10vw, 112px) 0; }
.section--gray { background: var(--bg); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-tag--light { color: var(--accent); }
.section-tag--light::before { background: var(--accent); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-title--light { color: var(--text); }

.section-desc {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}
.section-header { margin-bottom: clamp(40px, 6vw, 56px); }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin-inline: auto; }

.text-accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn--sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: rgba(247, 245, 242, 0.96);
  backdrop-filter: blur(20px) saturate(1.4);
}
.header.scrolled {
  background: rgba(247, 245, 242, 0.98);
  box-shadow: 0 1px 0 var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
  width: var(--container);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
  z-index: 1001;
}
.logo__icon { display: none; }
.logo__accent { color: var(--accent); }

.nav__list { display: flex; gap: clamp(16px, 2.5vw, 32px); }

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 100px;
  transition: background 0.25s;
}
.header__phone:hover { background: rgba(26,31,38,0.06); }
.header__phone svg { color: var(--accent); flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-xs);
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
  transform-origin: center;
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #fff9f5 0%, #f5f0eb 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 12s ease-in-out infinite;
}
.hero__orb--1 {
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: rgba(255, 92, 26, 0.08);
  top: -20%;
  right: -10%;
}
.hero__orb--2 {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  background: rgba(13, 148, 136, 0.06);
  bottom: 10%;
  left: -15%;
  animation-delay: -4s;
}
.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(0, 0, 0, 0.02);
  top: 40%;
  left: 40%;
  animation-delay: -8s;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(0,0,0,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 8vw, 80px);
  position: relative;
  z-index: 1;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(20px, 4vw, 32px);
  min-height: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: clamp(16px, 3vw, 24px);
}
.hero__title-line { display: block; }
.hero__title em {
  color: var(--accent);
  font-style: normal;
}

.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 36px);
  min-height: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .btn--outline {
  border-color: var(--border-strong);
}
.hero .btn--outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* Hero aside */
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Stats bar */
.hero__stats {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(24px, 4vw, 32px) 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.stats-bar::-webkit-scrollbar { display: none; }

.stats-bar__item {
  flex: 1;
  min-width: 120px;
  text-align: center;
}
.stats-bar__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stats-bar__label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.stats-bar__divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Marquee */
.marquee {
  background: var(--bg-dark-soft);
  border-block: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee__track span:nth-child(odd) { color: var(--text-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about__photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #e0ddd8, #cdc9c4);
}
.about__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about__photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.1);
}

.about__lead {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about__content p { color: var(--text-muted); margin-bottom: 24px; }

.about__certs { display: flex; flex-direction: column; gap: 12px; }

.cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
}
.cert-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.cert-item__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-xs);
  color: var(--accent);
  flex-shrink: 0;
}
.cert-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.cert-item span { font-size: 12px; color: var(--text-muted); }

/* Services — простая сетка 2×2 */
.services__grid--simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.service-card__icon--blue { background: rgba(14,165,233,0.12); color: #0ea5e9; }
.service-card__icon--orange { background: var(--accent-soft); color: var(--accent); }
.service-card__icon--green { background: var(--teal-soft); color: var(--teal); }
.service-card__icon--purple { background: rgba(139,92,246,0.12); color: #8b5cf6; }

.service-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-align: left;
  margin-top: auto;
  padding-top: 4px;
  display: inline-block;
}
.service-card__link:hover { color: var(--accent-hover); }

/* Documents */
.documents__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.documents__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0;
}

.doc-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.doc-item:hover {
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.doc-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-xs);
  color: var(--accent);
  flex-shrink: 0;
}
.doc-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.doc-item span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.documents__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* Карусель общие стили */
.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  user-select: none;
}
.carousel__container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
}
.carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel__slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}
.carousel__photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark-soft);
  border-radius: var(--radius);
}
.carousel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.carousel__placeholder {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0,0,0,0.05);
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.carousel__btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel__dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Специфичные стили для карусели в Hero — квадрат 1:1, увеличенная ширина 544px */
#heroCarousel {
  max-width: 544px;
}
#heroCarousel .carousel__container {
  aspect-ratio: 1 / 1;
}

/* Специфичные стили для карусели в Documents — формат 3:4, комфортная ширина 400px */
#docCarousel {
  max-width: 400px;
}
#docCarousel .carousel__container {
  aspect-ratio: 3 / 4;
}

/* Advantages */
.advantages {
  background: var(--bg);
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.advantage-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
}
.advantage-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.advantage-card__number {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 16px;
}
.advantage-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.advantage-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Process */
.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
}
.process-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.process-step__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 20px;
  transition: all 0.35s var(--ease);
}
.process-step:hover .process-step__icon {
  background: var(--accent);
  color: #fff;
}
.process-step__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* Partners */
.partners {
  background: var(--bg);
}
.partners__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.partners__content p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.partners__benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.partners__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.partners__benefits li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.partners-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.partners-card__header {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.partners-card__body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.partners-card__stat { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.partners-card__value {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 800;
  color: var(--accent);
}
.partners-card__label { font-size: 14px; color: var(--text-muted); }

/* FAQ */
.faq__list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.faq-item__question {
  padding: clamp(18px, 3vw, 22px) clamp(20px, 3vw, 24px);
  font-size: clamp(15px, 2vw, 16px);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
  background: var(--accent);
}
.faq-item__answer { padding: 0 clamp(20px, 3vw, 24px) clamp(18px, 3vw, 22px); }
.faq-item__answer p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* Contacts */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  min-height: 72px;
}
a.contact-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-xs);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-item__label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 2px; }
.contact-item strong { font-size: 15px; word-break: break-word; }

.messengers { display: flex; gap: 10px; }
.messenger-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.25s var(--ease);
}
.messenger-btn:hover { transform: scale(1.08); }
.messenger-btn--whatsapp { background: #25d366; }
.messenger-btn--telegram { background: #229ED9; }

/* Footer */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 48px);
  padding: clamp(48px, 8vw, 72px) 0 clamp(32px, 5vw, 48px);
  width: var(--container);
  margin-inline: auto;
}
.logo--footer { font-size: 22px; color: var(--text); margin-bottom: 14px; display: inline-flex; }
.footer__brand p { font-size: 14px; line-height: 1.65; }

.footer__links h4,
.footer__contact h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; transition: color 0.25s; }
.footer__links a:hover { color: var(--accent); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a { font-size: 14px; }
.footer__contact a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.footer__bottom .container,
.footer__bottom > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  width: var(--container);
  margin-inline: auto;
}
.footer__bottom a:hover { color: var(--accent); }

/* Float phone — desktop only */
.float-phone {
  position: fixed;
  bottom: calc(28px + env(safe-area-inset-bottom));
  right: 28px;
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 28px var(--accent-glow);
  z-index: 900;
  transition: transform 0.25s var(--ease);
}
.float-phone:hover { transform: scale(1.08); }

/* Mobile bottom bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 245, 242, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: 10px;
}
.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  min-height: 48px;
}
.mobile-bar__btn--call {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}
.mobile-bar__btn--cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero__subtitle { max-width: none; }
  .hero__aside { max-width: 480px; margin-inline: auto; }

  .about__grid,
  .documents__grid,
  .partners__inner {
    grid-template-columns: 1fr;
  }

  .about__image { order: -1; max-width: 400px; margin-inline: auto; width: 100%; }

  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .process__timeline { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100svh;
    background: var(--bg-elevated);
    padding: calc(var(--header-h) + 24px) 24px 32px;
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s var(--ease);
    box-shadow: -8px 0 40px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
  }
  .nav.active { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
  }
  .nav__link::after { display: none; }

  .header__phone { display: none; }
  .header__actions .btn--sm { display: flex; }
  .burger { display: flex; }

  .stats-bar__divider { display: none; }
  .stats-bar { justify-content: flex-start; gap: 32px; }
  .stats-bar__item { flex: 0 0 auto; min-width: 100px; text-align: left; }

  .services__grid--simple {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card { padding: 20px; }

  .advantages__grid { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom .container,
  .footer__bottom > div { flex-direction: column; text-align: center; }

  .float-phone { display: none !important; }
  .mobile-bar { display: flex; }

  body { padding-bottom: 80px; }

  #heroCarousel { max-width: 280px; }
  #docCarousel { max-width: 280px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .section { padding: 56px 0; }

  .partners-card__stat { flex-direction: column; gap: 4px; }
}

@media (min-width: 769px) {
  .float-phone { display: flex; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero__inner { text-align: center; }
  .hero__chips, .hero__actions { justify-content: center; }
  .hero__aside { margin-inline: auto; width: 100%; }
}
/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 31, 38, 0.96);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 16px 20px;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner p {
  font-size: 14px;
  margin: 0;
  color: rgba(255,255,255,0.85);
}
.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner__btn {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.cookie-banner__btn--accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner__btn--accept:hover {
  background: var(--accent-hover);
}
.cookie-banner__btn--decline {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.cookie-banner__btn--decline:hover {
  background: rgba(255,255,255,0.25);
}
@media (max-width: 640px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
  }
}
