/* ============================================================
   RePro Consulting — V2 «Путь клиента»
   Дизайн-система унаследована от фирменного стиля RePro:
   мятный фон, оранжевый акцент, тонкие бордеры, pill-кнопки
   ============================================================ */

/* ---------- Шрифты (локальные файлы, без внешних CDN) ---------- */
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/montserrat-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;
}

:root {
  --orange: #F26522;
  --orange-dark: #D4551A;
  --orange-light: #FFF3EC;
  --orange-50: #FFF8F2;
  --mint: #e8f3f1;
  --mint-dark: #d0e8e4;
  --mint-light: #f2f9f8;
  --dark: #1a1a1a;
  --mid-gray: #6b6b6b;
  --warm-gray: #f0eeeb;
  --border-gray: #d4d0cb;
  --white: #ffffff;
  --font-main: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --radius: 24px;
  --shadow-soft: 0 25px 50px -12px rgba(26, 26, 26, 0.12);
  --shadow-card: 0 10px 30px rgba(26, 26, 26, 0.06);
  --container: 80rem;
}

::selection { background: var(--orange); color: #fff; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-main);
  background: var(--mint);
  color: var(--dark);
  overflow-x: hidden;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

* { box-sizing: border-box; }

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}
/* Широкая сетка — для секции «Пять вопросов клиента» */
.container-wide { max-width: 90rem; }

/* ---------- Анимации ---------- */
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.anim-in { animation: fadeSlideIn 0.8s ease-out both; }
.anim-d1 { animation-delay: 0.15s; }
.anim-d2 { animation-delay: 0.3s; }
.anim-d3 { animation-delay: 0.45s; }
.anim-d4 { animation-delay: 0.6s; }
.anim-d5 { animation-delay: 0.75s; }

@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
.blob {
  animation: blob 10s infinite cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: multiply;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-d { animation: float 6s ease-in-out 1.5s infinite; }

@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.pulse-soft { animation: pulse-soft 3s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Фоновые декорации ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob-orange-1 {
  position: absolute; top: 22%; left: 18%;
  width: 380px; height: 380px;
  background: rgba(242, 101, 34, 0.07);
  border-radius: 50%;
  filter: blur(140px);
}
.blob-mint {
  position: absolute; top: 48%; right: 16%;
  width: 320px; height: 320px;
  background: rgba(208, 232, 228, 0.55);
  border-radius: 50%;
  filter: blur(120px);
  animation-delay: 2s;
}
.blob-orange-2 {
  position: absolute; bottom: 20%; left: 42%;
  width: 280px; height: 280px;
  background: rgba(242, 101, 34, 0.05);
  border-radius: 50%;
  filter: blur(100px);
  animation-delay: 4s;
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.4s ease;
  padding: 24px 0;
}
@media (min-width: 1024px) { .site-header { padding: 32px 0; } }

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gray);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}
.logo:hover .logo-img { opacity: 0.85; }

.main-nav { display: none; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .main-nav { display: flex; } }

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  color: var(--mid-gray);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: none; align-items: center; gap: 24px; }
@media (min-width: 1024px) { .header-actions { display: flex; } }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border-gray);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--dark);
  cursor: pointer;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  margin-top: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gray);
  border-radius: 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a {
  font-size: 14px;
  color: var(--mid-gray);
  padding: 6px 0;
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--orange); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 16px 32px;
}
.btn-primary:hover {
  background: var(--orange-dark);
  padding-left: 40px;
  padding-right: 40px;
  box-shadow: 0 8px 30px rgba(242, 101, 34, 0.3);
}
.btn-primary:active { transform: scale(0.98); }
.btn-outline {
  background: transparent;
  color: var(--mid-gray);
  border-color: var(--border-gray);
  padding: 15px 28px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}
.btn-outline:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-outline:active { transform: scale(0.98); }
.btn-sm { padding: 12px 24px; font-size: 12px; }

/* ---------- Секции ---------- */
.section { position: relative; z-index: 1; padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 100px 0; } }
.section-white { background: var(--white); border-top: 1px solid var(--border-gray); border-bottom: 1px solid var(--border-gray); }
.section-mint { background: var(--mint); }
/* Нижний разделитель мятной секции перед следующей секцией */
.section-bordered { border-bottom: 1px solid var(--border-gray); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--orange);
  opacity: 0.5;
}

.section-title {
  margin: 16px 0 0;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-title .accent { color: var(--orange); }

.section-lead {
  margin: 16px 0 0;
  color: var(--mid-gray);
  font-weight: 300;
  font-size: 15px;
  max-width: 560px;
  line-height: 1.7;
}
@media (min-width: 1024px) { .section-lead { font-size: 16px; } }

.section-head { margin-bottom: 56px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 72px; } }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 40px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) { .hero { padding: 60px 0 40px; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 3.6fr) minmax(0, 2.4fr);
    gap: 56px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(242, 101, 34, 0.3);
  background: var(--orange-50);
  padding: 9px 16px;
  border-radius: 999px;
}

.hero-title {
  margin: 24px 0 0;
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
@media (min-width: 1024px) {
  .hero-title { font-size: clamp(2.8rem, 4.5vw, 3.4rem); }
}
.hero-title .accent { color: var(--orange); }

.hero-sub {
  margin: 28px 0 0;
  color: var(--mid-gray);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  max-width: 26rem;
}
@media (min-width: 1024px) { .hero-sub { font-size: 17px; } }

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero фото */
.hero-photo-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  perspective: 1000px;
}
.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-soft);
  transform: rotateX(4deg) rotateY(-6deg);
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  aspect-ratio: 3 / 4;
  background: var(--mint-dark);
}
.hero-photo:hover { transform: rotateX(0) rotateY(0) translateY(-6px); }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: filter 0.7s ease;
}
.hero-photo:hover img { filter: grayscale(0); }
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.75) 0%, rgba(26,26,26,0.15) 45%, transparent 100%);
}
.hero-photo-caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 28px;
  z-index: 2;
}
.hero-photo-caption .dot-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hero-photo-caption .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.hero-photo-caption .dot-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero-photo-caption .cap-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.hero-photo-caption .cap-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  margin: 4px 0 0;
}

.float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-card);
  z-index: 3;
}
.float-badge .fb-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.float-badge .fb-label { font-size: 12px; color: var(--mid-gray); }
.float-badge.fb-top { top: -16px; right: -12px; }
.float-badge.fb-bottom { bottom: -16px; left: -12px; }
@media (max-width: 640px) {
  .float-badge.fb-top { right: 0; }
  .float-badge.fb-bottom { left: 0; }
}

/* Hero-статистика */
.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .hero-stats {
    flex-direction: column;
    gap: 48px;
    border-left: 1px solid var(--border-gray);
    padding-left: 36px;
    justify-content: flex-start;
  }
}
.stat-num {
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.stat-num .accent { color: var(--orange); }
.stat-label {
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* ---------- Блок 1: вопросы клиента ---------- */
/* Пять карточек: 1 → 2 → 3 → 5 (одна строка на широких экранах) */
.q-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .q-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .q-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1280px) {
  .q-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

.q-card {
  position: relative;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  background: var(--white);
  padding: 32px 26px 28px;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.q-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(242, 101, 34, 0.3);
}
.q-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
}
.q-icon-box {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: all 0.4s ease;
}
.q-card:hover .q-icon-box {
  background: var(--orange-light);
  color: var(--orange);
  transform: scale(1.05);
}
.q-num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--border-gray);
  letter-spacing: 0.1em;
}
.q-card h3 {
  margin: 6px 0 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.q-card p {
  margin: 0;
  color: var(--mid-gray);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.7;
}
.q-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  width: 100%;
}
.q-tag {
  font-size: 10.5px;
  color: rgba(242, 101, 34, 0.75);
  border: 1px solid rgba(242, 101, 34, 0.15);
  background: var(--orange-50);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Компактный режим для строки из пяти карточек */
@media (min-width: 1280px) {
  .q-card { padding: 28px 18px 24px; gap: 12px; }
  .q-card h3 { font-size: 16.5px; }
  .q-card p { font-size: 12.5px; line-height: 1.65; }
  .q-icon-box { width: 54px; height: 54px; }
  .q-icon-box svg { width: 24px; height: 24px; }
  .q-num { font-size: 11.5px; top: 14px; right: 16px; }
  .q-tag { font-size: 9.5px; padding: 4px 10px; }
  .q-tags { gap: 6px; }
}

/* ---------- Блок 2: кто мы ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
  .about-intro > .section-title:first-child { margin-top: -10px; }
}

.about-lead {
  margin: 20px 0 0;
  color: var(--mid-gray);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
}
.about-lead strong { color: var(--dark); font-weight: 600; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  background: var(--white);
  padding: 22px;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(242, 101, 34, 0.3);
}
.value-card svg { color: var(--orange); }
.value-card h3 {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.value-card h3 .since {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.06em;
}
.value-card p {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--mid-gray);
  font-weight: 300;
  line-height: 1.65;
}
.value-card-mint { background: var(--mint); }
.about-intro .value-card-mint { margin-top: 32px; }

/* ---------- Блок 3: партнёры (карусель логотипов) ---------- */
.logo-carousel { position: relative; }

.lc-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lc-viewport::-webkit-scrollbar { display: none; }
.lc-viewport:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 20px;
}

.lc-track {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 12px 2px;
}

.lc-slide {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.lc-slide:hover {
  border-color: rgba(242, 101, 34, 0.35);
  box-shadow: var(--shadow-card);
}

.lc-img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

.lc-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.lc-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gray);
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lc-btn:hover { border-color: var(--orange); color: var(--orange); }
.lc-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

@media (max-width: 1023px) {
  .lc-slide { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 639px) {
  .lc-slide { flex-basis: calc((100% - 20px) / 2); min-height: 96px; padding: 18px 14px; }
}

/* ---------- Блок 4: отзывы (карусель скриншотов) ---------- */
.rv-carousel { position: relative; }

.rv-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rv-viewport::-webkit-scrollbar { display: none; }
.rv-viewport:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 22px;
}

.rv-track {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 12px 2px;
}

.rv-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  padding: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.rv-slide:hover {
  border-color: rgba(242, 101, 34, 0.35);
  box-shadow: var(--shadow-card);
}

.rv-shot {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(26, 26, 26, 0.06);
}
.rv-shot img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .rv-slide { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 639px) {
  .rv-slide { flex-basis: 100%; }
}

.rv-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.rv-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gray);
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rv-btn:hover { border-color: var(--orange); color: var(--orange); }
.rv-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

/* ---------- Блок 5: статьи ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(242, 101, 34, 0.3);
}
.article-cover {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mint-dark);
  position: relative;
}
.article-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: transform 0.7s ease, filter 0.7s ease;
}
.article-card:hover .article-cover img { transform: scale(1.05); filter: grayscale(0); }
.article-cover .cat {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(242, 101, 34, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
}
.article-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.article-body p {
  margin: 12px 0 0;
  color: var(--mid-gray);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
}
.article-footer {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.article-date { font-size: 11px; color: var(--mid-gray); font-weight: 300; }
.article-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.3s ease;
}
.article-card:hover .article-more { gap: 12px; }

.articles-cta {
  margin-top: 48px;
  text-align: center;
}

/* ---------- CTA / контакты ---------- */
.cta-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  padding: 56px 32px;
}
@media (min-width: 1024px) { .cta-panel { padding: 48px 72px; } }
.cta-panel::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(242, 101, 34, 0.14);
  border-radius: 50%;
  filter: blur(90px);
}
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 1024px) { .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

.cta-title {
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cta-title .accent { color: var(--orange); }
.cta-text {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  max-width: 26rem;
}

.cta-contacts { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.cta-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}
.cta-contact:hover { transform: translateX(4px); }
.cta-contact-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(242, 101, 34, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.cta-contact:hover .cta-contact-icon { background: rgba(242, 101, 34, 0.18); }
.cta-contact .c-val { color: #fff; font-size: 14px; font-weight: 600; margin: 0; }
.cta-contact .c-key {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 2px 0 0;
}

.cta-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
}
@media (min-width: 1024px) { .cta-form-card { padding: 40px 36px; } }
.cta-form-title { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 24px; }

.form-field { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  color: #fff;
  transition: border-color 0.3s ease;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(242, 101, 34, 0.55);
}
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.form-select {
  padding-right: 44px;
  cursor: pointer;
}
.form-select option { color: var(--dark); background: #fff; }
.form-textarea { resize: none; }
.form-field.error .form-input,
.form-field.error .form-select {
  border-color: #ff6b4a;
  background: rgba(255, 107, 74, 0.06);
}
.field-error {
  display: none;
  font-size: 11px;
  color: #ff8a6b;
  margin-top: 6px;
}
.form-field.error .field-error { display: block; }

.form-submit { width: 100%; margin-top: 6px; }
.form-note {
  margin: 14px 0 0;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  line-height: 1.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.form-success.show { display: block; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(242, 101, 34, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--orange);
}
.form-success .s-title { color: #fff; font-size: 18px; font-weight: 700; margin: 0; }
.form-success .s-text { color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 300; margin: 8px 0 0; }

/* ---------- Футер ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-top: 1px solid var(--border-gray);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p {
  color: var(--mid-gray);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 260px;
}
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--border-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-50);
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 300;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--border-gray);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy { font-size: 11.5px; color: rgba(107, 107, 107, 0.7); font-weight: 300; margin: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 11.5px; color: rgba(107, 107, 107, 0.7); font-weight: 300; transition: color 0.3s; }
.footer-links a:hover { color: var(--orange); }

/* ---------- Скроллбар ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--mint); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ---------- Доступность ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  z-index: 100;
  font-size: 13px;
}
.skip-link:focus { left: 0; }
