:root {
  --bg: #0f1012;
  --bg-soft: #17191d;
  --paper: #f3f1ee;
  --ink: #121315;
  --muted: #8a8f98;
  --wine: #8b2433;
  --wine-bright: #a62d3f;
  --wine-soft: rgba(139, 36, 51, 0.35);
  --line: rgba(243, 241, 238, 0.12);
  --max: 72rem;
  --font: "Golos Text", system-ui, sans-serif;
  --serif: "Literata", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--paper);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0.45rem 0.45rem 0;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.site-header .site-nav {
  pointer-events: auto;
}

@media (min-width: 720px) {
  .site-header {
    padding: 1rem clamp(1rem, 3vw, 2rem);
  }
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.05rem;
  width: auto;
  max-width: calc(100% - 0.5rem);
  margin-left: auto;
  padding: 0.2rem 0.2rem 0.2rem 0.25rem;
  overflow: visible;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 35, 50, 0.1);
  box-shadow: 0 6px 18px rgba(18, 21, 26, 0.1);
  backdrop-filter: blur(8px);
  transform: scale(0.88);
  transform-origin: top right;
}

@media (min-width: 720px) {
  .site-nav {
    max-width: min(100%, 40rem);
    gap: 0.15rem;
    padding: 0.4rem 0.4rem 0.4rem 0.45rem;
    transform: none;
    box-shadow: 0 8px 24px rgba(18, 21, 26, 0.08);
  }
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: #1a2332;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

@media (min-width: 720px) {
  .nav-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.nav-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  overflow: visible;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .nav-icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.nav-icon--viber img,
.site-footer__social .nav-icon--viber img {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  border-radius: 0;
}

@media (min-width: 720px) {
  .nav-icon--viber img,
  .site-footer__social .nav-icon--viber img {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.nav-icon:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  background: rgba(26, 35, 50, 0.05);
}

.nav-icon--telegram {
  color: #229ed9;
}

.nav-icon--whatsapp {
  color: #25d366;
}

.nav-icon--viber {
  color: #7360f2;
}

.nav-icon--tiktok {
  color: #111111;
}

.nav-icon--instagram {
  color: #e4405f;
}

/* На узком экране — только мессенджеры + телефон */
.nav-icon--tiktok,
.nav-icon--instagram,
.site-nav__sep {
  display: none;
}

@media (min-width: 720px) {
  .nav-icon--tiktok,
  .nav-icon--instagram {
    display: inline-flex;
  }

  .site-nav__sep {
    display: block;
  }
}

.site-nav__sep {
  width: 1px;
  height: 1.35rem;
  margin: 0 0.25rem;
  background: rgba(26, 35, 50, 0.16);
  flex-shrink: 0;
}

.phone {
  display: inline-flex;
  align-items: center;
  margin-left: 0.1rem;
  padding: 0.32rem 0.45rem;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.7rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.phone:hover {
  background: var(--wine-bright);
  color: #fff;
}

@media (min-width: 720px) {
  .phone {
    margin-left: 0.2rem;
    font-size: 0.95rem;
    padding: 0.55rem 0.95rem;
  }
}

/* Hero — static banner from head.webp */
.hero {
  position: relative;
  /* Чуть ниже — боковые буквы баннера читаются */
  min-height: min(76svh, 27rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #d8e4ef;
}

@media (min-width: 720px) {
  .hero {
    min-height: min(100svh, 56rem);
  }
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Мобила: чуть левее нуля — правый край заголовка тоже в кадре */
  object-position: 8% 10%;
}

@media (min-width: 720px) {
  .hero__img {
    object-position: center right;
  }
}

.hero__cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 0.75rem 0.85rem;
}

@media (min-width: 720px) {
  .hero__cta {
    gap: 0.75rem;
    padding: 0 clamp(1rem, 3vw, 2rem) 1rem;
  }
}

.hero__cta .btn {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 8.5rem;
}

@media (min-width: 720px) {
  .hero__cta .btn {
    flex: 0 0 auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--wine-bright);
}

.btn:active {
  transform: translateY(1px);
}

.btn--line {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(26, 35, 50, 0.2);
  color: #1a2332;
}

.btn--line:hover {
  background: #fff;
  border-color: var(--wine);
}

.btn--block {
  width: 100%;
}

/* Intro */
.intro {
  padding: 3.5rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.intro__text {
  margin: 0 auto;
  max-width: 40rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
  color: #e8e6e2;
}

/* Meet Dmitry */
.meet {
  display: grid;
  background: #f4f6f8;
  color: #1a2332;
  align-items: stretch;
}

@media (min-width: 900px) {
  .meet {
    grid-template-columns: minmax(18rem, 0.95fr) 1.05fr;
  }
}

.meet__media {
  margin: 0;
  line-height: 0;
  background: #d8e4ef;
}

.meet__media img {
  display: block;
  width: 100%;
  height: auto;
}

.meet__body {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.35rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.meet__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.meet h2 {
  max-width: none;
  color: #1a2332;
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.18;
}

.meet__lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: #5a6575;
  font-size: 1.05rem;
  line-height: 1.55;
}

.meet__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.meet__list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(26, 35, 50, 0.12);
}

.meet__num {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wine);
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.meet__list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: #1a2332;
}

.meet__list p {
  margin: 0;
  color: #5a6575;
  font-size: 1.05rem;
  line-height: 1.5;
}

.meet__btn {
  display: inline-flex;
  align-self: center;
  width: fit-content;
  margin-top: auto;
  margin-bottom: auto;
}

/* Services — mirror of meet (text left, photo right) */
.offer {
  display: grid;
  background: #fff;
  color: #1a2332;
  align-items: stretch;
}

@media (min-width: 900px) {
  .offer {
    grid-template-columns: 1.05fr minmax(18rem, 0.95fr);
  }
}

.offer__media {
  margin: 0;
  line-height: 0;
  background: #d8e4ef;
  order: -1;
}

@media (min-width: 900px) {
  .offer__media {
    order: 0;
  }
}

.offer__media img {
  display: block;
  width: 100%;
  height: auto;
}

.offer__body {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.35rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.offer__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.offer h2 {
  max-width: none;
  color: #1a2332;
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.18;
}

.offer__promo {
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--wine);
  background: rgba(139, 36, 51, 0.06);
  font-weight: 500;
  color: #1a2332;
}

.offer__promo span {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  vertical-align: middle;
}

.offer__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
}

.offer__list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(26, 35, 50, 0.12);
}

.offer__list li:last-child {
  border-bottom: 1px solid rgba(26, 35, 50, 0.12);
}

.offer__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wine);
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.offer__list p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: #1a2332;
}

.offer__btn {
  display: inline-flex;
  align-self: center;
  width: fit-content;
  margin-top: auto;
  margin-bottom: auto;
}

/* Split (legacy) */
.split {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
    min-height: 85vh;
  }
}

.split__media {
  min-height: 70vh;
  background: #000;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 70vh;
}

.split__body {
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-soft);
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: #cfd3da;
}

.plain-list b {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.plain-list--tight li {
  padding: 0.65rem 0;
  border: 0;
  color: #cfd3da;
}

.plain-list--tight li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.65rem;
  background: var(--wine);
  vertical-align: middle;
}

/* Services band */
.band {
  padding: 5rem clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  color: var(--ink);
}

.band h2 {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

.service-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: svc;
}

.service-list li {
  counter-increment: svc;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(18, 19, 21, 0.12);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-family: var(--serif);
  letter-spacing: -0.02em;
}

.service-list li::before {
  content: counter(svc, decimal-leading-zero);
  color: var(--wine);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
}

/* About */
.about {
  display: grid;
  gap: 2rem;
  padding: 5rem clamp(1rem, 3vw, 2rem);
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 860px) {
  .about {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }
}

.about__text p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 28rem;
}

.about__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about__photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about__photos img:first-child {
  margin-top: 2rem;
}

/* Combined photos + reviews */
.stories {
  padding: 3.5rem clamp(1rem, 3vw, 2rem) 4rem;
  background: #f4f6f8;
  color: #1a2332;
}

.stories__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .stories__grid {
    grid-template-columns: 1.15fr minmax(15rem, 0.75fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.stories__label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.stories__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.stories__title {
  margin: 0;
  color: #1a2332;
  max-width: none;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.reviews__add {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  background: #fff;
  border-color: rgba(139, 36, 51, 0.35);
  color: var(--wine);
  font-size: 0.9rem;
}

.reviews__add:hover {
  background: var(--wine);
  color: #fff;
}

@media (max-width: 560px) {
  .stories__head {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews__add {
    align-self: flex-start;
  }
}

.stories__photos {
  display: flex;
}

/* Tall single photo — full column height, arrows only */
.tall-slider {
  position: relative;
  flex: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 36rem;
}

@media (min-width: 960px) {
  .tall-slider {
    aspect-ratio: auto;
    max-height: none;
    min-height: 100%;
    height: 100%;
  }
}

.tall-slider__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e8ecf0;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.tall-slider__frame:active {
  cursor: grabbing;
}

.tall-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.45s ease;
}

.tall-slider__img.is-enter {
  opacity: 0;
  z-index: 1;
}

.tall-slider__img.is-enter.is-show {
  opacity: 1;
}

.tall-slider__img.is-leave {
  opacity: 0;
}

.tall-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #1a2332;
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 4px 14px rgba(18, 21, 26, 0.18);
}

.tall-slider__arrow--prev {
  left: 0.65rem;
}

.tall-slider__arrow--next {
  right: 0.65rem;
}

.tall-slider__arrow:hover {
  color: var(--wine);
}

.coverflow__arrow {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(26, 35, 50, 0.16);
  background: #fff;
  color: #1a2332;
  font-size: 1.05rem;
  z-index: 5;
  flex-shrink: 0;
}

.coverflow__arrow:hover {
  border-color: var(--wine);
  color: var(--wine);
}

/* Coverflow — tighter */
.coverflow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.25rem;
  align-items: center;
  margin: 0 0 0.75rem;
}

.coverflow__stage {
  position: relative;
  height: 18rem;
  perspective: 900px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.coverflow__stage:active {
  cursor: grabbing;
}

@media (min-width: 960px) {
  .coverflow__stage {
    height: 20rem;
  }
}

.coverflow__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10.5rem;
  height: 14rem;
  padding: 0;
  margin: 0;
  border: 2px solid #fff;
  background: #e8ecf0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(18, 21, 26, 0.12);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  contain: layout size;
}

.coverflow__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.coverflow__card.is-active {
  box-shadow: 0 12px 28px rgba(18, 21, 26, 0.16);
  border-color: var(--wine);
  cursor: default;
}

.reviews__body {
  margin: 0;
  text-align: center;
}

.reviews__quote {
  margin: 0;
  min-height: 14.5rem;
}

.reviews__quote[hidden] {
  display: none;
}

.reviews__quote p {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #1a2332;
  height: 12rem;
  overflow-y: auto;
  text-align: left;
  padding: 0;
  scrollbar-color: var(--wine) transparent;
}

.reviews__quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--wine);
  font-size: 0.9rem;
  display: block;
  min-height: 1.25rem;
}

.reviews__counter {
  margin: 0.65rem 0 0.4rem;
  font-weight: 600;
  color: #5a6575;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.reviews__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 35, 50, 0.2);
  cursor: pointer;
}

.reviews__dot.is-active {
  background: var(--wine);
}

/* Exam map + FAQ */
.exam-info {
  padding: 4rem clamp(1rem, 3vw, 2rem);
  background: #e8ecf0;
}

.exam-info__grid {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 960px) {
  .exam-info__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.exam-map,
.exam-faq {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(26, 35, 50, 0.1);
  background: #f4f6f8;
  box-shadow: 0 12px 30px rgba(18, 21, 26, 0.06);
}

.exam-info__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.exam-info h2 {
  max-width: none;
  margin: 0;
  color: #1a2332;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.exam-info__lead {
  min-height: 2.8em;
  margin: 0.65rem 0 1.25rem;
  color: #657080;
  line-height: 1.45;
}

.exam-map__routes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.exam-map__routes button {
  min-height: 2.25rem;
  border: 1px solid rgba(139, 36, 51, 0.24);
  background: #fff;
  color: var(--wine);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.exam-map__routes button:hover,
.exam-map__routes button.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.exam-map__current {
  margin: 0 0 0.55rem;
  color: #1a2332;
  font-size: 0.9rem;
  font-weight: 700;
}

.exam-map__canvas {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(22rem, 48vw, 31rem);
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(26, 35, 50, 0.12);
  background: #dce2e8;
}

.exam-map__note {
  margin: 1rem 0 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--wine);
  color: #5a6575;
  font-size: 0.88rem;
  line-height: 1.5;
}

.exam-map .leaflet-popup-content {
  margin: 0.85rem 1rem;
  font-family: var(--sans);
  line-height: 1.45;
}

.exam-map .leaflet-popup-content strong {
  color: var(--wine);
}

.leaflet-container .leaflet-control-attribution.leaflet-control {
  padding: 2px 4px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
  font-size: 9px !important;
  line-height: 1.25 !important;
  opacity: 0.18 !important;
}

.leaflet-container .leaflet-control-attribution .leaflet-attribution-flag,
.leaflet-container .leaflet-control-attribution a[href*="leafletjs.com"] {
  display: none !important;
}

.exam-map__start {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  box-shadow: 0 3px 10px rgba(18, 21, 26, 0.3);
  font-size: 0.72rem;
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  overflow: hidden;
  border: 1px solid rgba(139, 36, 51, 0.18);
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq__item:hover {
  border-color: rgba(139, 36, 51, 0.38);
}

.faq__item[open] {
  border-color: rgba(139, 36, 51, 0.5);
  box-shadow: 0 5px 16px rgba(139, 36, 51, 0.08);
}

.faq__question {
  position: relative;
  padding: 0.9rem 3.25rem 0.9rem 1rem;
  list-style: none;
  color: #1a2332;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--wine);
  background: rgba(139, 36, 51, 0.035);
}

.faq__question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(139, 36, 51, 0.35);
  border-radius: 50%;
  background:
    linear-gradient(var(--wine), var(--wine)) center / 0.65rem 2px no-repeat,
    linear-gradient(var(--wine), var(--wine)) center / 2px 0.65rem no-repeat,
    #fff;
  transform: translateY(-50%);
  transition: transform 0.24s ease, background-size 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.faq__item[open] .faq__question::after {
  border-color: rgba(139, 36, 51, 0.55);
  background-size: 0.65rem 2px, 0 0, auto;
  box-shadow: 0 0 0 3px rgba(139, 36, 51, 0.09);
  transform: translateY(-50%) rotate(180deg);
}

.faq__answer {
  max-height: 0;
  padding: 0 1rem 1rem;
  overflow: hidden;
  color: #5a6575;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.32s ease, opacity 0.22s ease, transform 0.22s ease;
}

.faq__item[open] .faq__answer {
  opacity: 1;
  transform: translateY(0);
}

.faq__answer p {
  margin: 0;
}

.faq__answer a {
  color: var(--wine);
  font-weight: 700;
  text-decoration: none;
}

/* Social feed — inline widgets */
.social-feed {
  padding: 3.5rem clamp(1rem, 3vw, 2rem) 4.5rem;
  background: #dce2e8;
  color: #1a2332;
}

.social-feed__head {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  text-align: center;
}

.social-feed__head h2 {
  color: #1a2332;
  max-width: none;
}

.social-feed__head p {
  margin: 0.4rem 0 0;
  color: #5a6575;
}

.social-feed__grid {
  max-width: min(72rem, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .social-feed__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.social-feed__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.social-feed__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.social-feed__meta strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #1a2332;
}

.social-feed__meta a {
  color: var(--wine);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.social-feed__meta a:hover {
  text-decoration: underline;
}

/* Одинаковая высота «до стрелки» TikTok — без пустого хвоста */
.social-feed__widget {
  position: relative;
  flex: none;
  width: 100%;
  height: 31.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 35, 50, 0.12);
}

.social-feed__loading {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: #5a6575;
}

.social-feed__widget .tiktok-embed,
.social-feed__widget .instagram-media,
.social-feed__widget iframe {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 auto !important;
  border: 0;
  display: block;
}

.social-feed__fallback {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  text-align: center;
}

.social-feed__fallback img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.social-feed__fallback p {
  margin: 0;
  color: #5a6575;
}

.social-feed__fallback a {
  color: var(--wine);
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 2.5rem clamp(1rem, 3vw, 2rem) 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .copy {
    grid-column: 1 / -1;
  }
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.site-footer__social a,
.site-footer__social button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.site-footer__social svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.site-footer__social a:hover,
.site-footer__social button:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__social .nav-icon--telegram {
  color: #26a5e4;
}

.site-footer__social .nav-icon--whatsapp {
  color: #25d366;
}

.site-footer__social .nav-icon--viber {
  color: #7360f2;
}

.site-footer__social .nav-icon--tiktok {
  color: #f3f1ee;
}

.site-footer__social .nav-icon--instagram {
  color: #e1306c;
}

.copy {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Lightbox */
.lightbox,
.social-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 11, 0.92);
  padding: 1rem;
}

.lightbox[hidden],
.social-modal[hidden] {
  display: none;
}

.lightbox img {
  max-height: min(90vh, 900px);
  max-width: min(92vw, 420px);
}

.lightbox__close,
.social-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.6rem;
  line-height: 1;
}

.social-modal__panel {
  position: relative;
  width: min(100%, 420px);
  max-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  background: #121418;
  border: 1px solid var(--line);
  overflow: hidden;
}

.social-modal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.social-modal__top h2 {
  margin: 0;
  font-size: 1.25rem;
}

.social-modal__close {
  position: static;
}

.social-modal__body {
  flex: 1;
  overflow: auto;
  min-height: 360px;
  padding: 0.75rem;
  background: #0a0b0d;
}

.social-modal__body .tiktok-embed,
.social-modal__body iframe,
.social-modal__body blockquote {
  margin: 0 auto !important;
}

.social-modal__loading {
  margin: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}

.social-modal__fallback {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  text-align: center;
}

.social-modal__fallback img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.social-modal__open {
  display: block;
  text-align: center;
  padding: 1rem;
  background: var(--wine);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.social-modal__open:hover {
  background: var(--wine-bright);
}

/* Lead request modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 16, 18, 0.55);
  backdrop-filter: blur(6px);
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__panel {
  position: relative;
  width: min(100%, 26rem);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  color: #1a2332;
  border: 1px solid rgba(26, 35, 50, 0.1);
  box-shadow: 0 24px 60px rgba(15, 16, 18, 0.28);
}

.lead-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  color: #5a6575;
  font-size: 1.6rem;
  line-height: 1;
}

.lead-modal__close:hover {
  color: var(--wine);
}

.lead-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.lead-modal__panel h2 {
  margin: 0;
  color: #1a2332;
  max-width: none;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
}

.lead-modal__lead {
  margin: 0.5rem 0 1.25rem;
  color: #5a6575;
  font-size: 0.95rem;
  line-height: 1.4;
}

.lead-form {
  display: grid;
  gap: 0.85rem;
}

.lead-form__honey {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
}

.lead-form label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a2332;
}

.lead-form label em {
  font-style: normal;
  font-weight: 500;
  color: #8a93a0;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(26, 35, 50, 0.16);
  background: #f4f6f8;
  color: #1a2332;
  font: inherit;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px var(--wine-soft);
  background: #fff;
}

.lead-form input[type="file"] {
  padding: 0.65rem;
  cursor: pointer;
}

.review-form__hint {
  color: #7a8492;
  font-size: 0.78rem;
  line-height: 1.35;
}

.lead-form__status {
  margin: 0;
  font-size: 0.92rem;
}

.lead-form__status.is-ok {
  color: #1f7a45;
}

.lead-form__status.is-err {
  color: var(--wine);
}

.lead-modal__alt {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: #5a6575;
}

.lead-modal__alt a {
  color: var(--wine);
  font-weight: 700;
  text-decoration: none;
}

.lead-modal__alt a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .coverflow__card {
    transition: none !important;
  }
}
