@font-face {
  font-family: "Circe Contrast";
  src: url("/assets/fonts/circlecontrast.woff2");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Futura";
  src: url("/assets/fonts/futuralightc.woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Futura";
  src: url("/assets/fonts/futurabookc.woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/FuturaCyrillicMedium.woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/futurademic.woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root{
  /* фирменные */
  --blue-main:#183355;
  --blue-soft:#3a618a;
  --blue-light:#6b93b9;
  --blue-warm:#b6d4f0;
  --gold-dark:#715c3f;
  --gold-soft:#ad9970;
  --gold-light:#e8d2a8;

  /* базовые */
  --text:#000000;
  --muted:#6b7280;
  --bg:#ffffff;
  --bg-img: #0e2646 url('/assets/img/bg-blue.jpg') center / cover no-repeat fixed;

  /* шрифты */
/*
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
*/
/*  --font-main: "Museosanscyrl_300"; */
  --font-main: "Futura", sans-serif;
/*  --font-accent: "Cormorant Garamond", Georgia, serif; */
  --font-accent: "Circe Contrast", Georgia, serif;

  /* сетка/отступы */
  --container-max: 1440px;
  --header-h: clamp(64px, 9vh, 84px);
  --menu-gap: 64px;        /* краям меню; шаг между пунктами меню */
  --section-py: 24px;      /* вертикальные поля секций */
  --col-gap: 24px;         /* межколоночный отступ в двухколоночных блоках */
  --radius: 0px;

  /* размеры hero/коллажей */
  --hero-h-desktop: calc(100vh - var(--header-h) - var(--section-py)*2);
  --hero-h-mobile: 60vh;

  --collage-h-desktop: 100vh;
  --collage-h-mobile: 50vh;
  --collage-gap: 12px;

  --stats-row-gap: clamp(28px, 8vh, 96px);
  --stats-col-gap: clamp(24px, 8vw, 160px);

  --block-gap: clamp(24px, 4vw, 48px);
  --grid-gap : clamp(16px, 2.4vw, 28px);
  --avatar-size: clamp(72px, 9vw, 112px);
  --logo-size  : clamp(72px, 9vw, 112px);

  --photo-h-mobile: var(--collage-h-mobile);

  --btn-h: 64px;
  --btn-px: 20px;
  --btn-font-w: 300;
  --btn-letter: 0px;

  --icon-link-url: url('/assets/img/link.svg');
  --icon-link-size: 36px;

  --hdr-blur: 16px;
  --hdr-bg:   rgba(255,255,255,.36);
  --hdr-bg2:  rgba(255,255,255,.50);
}

/* =========================================================
   1) БАЗА
   ========================================================= */
*{
  box-sizing:border-box;
/*  outline: 1px solid red;  */
}

html,body{height:100%}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-main);
  font-size: 20px;
  line-height:1.5;
  font-weight: 300;
  padding-top: var(--header-h, 0px);
}

/* ========= АНИМАЦИИ СТАРТ ========= */

.reveal-text,
.reveal-media,
.reveal-line {
  opacity: 0;
  will-change: transform, opacity;
}

/* ТЕКСТ: явное движение снизу вверх */
.reveal-text {
  transform: translateY(40px);
  transition:
    opacity .6s cubic-bezier(.19,.85,.32,1),
    transform .6s cubic-bezier(.19,.85,.32,1);
}

/* КАРТИНКИ / МЕДИА: вырастают и чуть «подъезжают» */
.reveal-media {
  transform: translateY(24px) scale(.8);
  transform-origin: center center;
  transition:
    opacity .7s cubic-bezier(.19,.85,.32,1),
    transform .7s cubic-bezier(.19,.85,.32,1);
}

/* ЛИНИИ (<hr>): вытягиваются из центра по оси X */
.reveal-line {
  transform-origin: center center;
  transform: scaleX(0);
  transition:
    opacity .9s cubic-bezier(.19,.85,.32,1),
    transform .9s cubic-bezier(.19,.85,.32,1);
}

/* конечное состояние */
.reveal-text.is-visible,
.reveal-media.is-visible,
.reveal-line.is-visible {
  opacity: 1;
  transform: none;
}

/* если у пользователя отключены анимации — показываем всё сразу */
@media (prefers-reduced-motion: reduce){
  .reveal-text,
  .reveal-media,
  .reveal-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========= /ANIMATION ========= */

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

a.icon-link{
  position: relative;
  padding-right: calc(var(--icon-link-size) + 8px); /* место под иконку справа */
  text-decoration: none;
}

a.icon-link::after{
  content:"";
  position:absolute;
  right:0; top:50%;
  width:var(--icon-link-size);
  height:var(--icon-link-size);

  /* ВАЖНО: вместо background-image используем маску */
  -webkit-mask: var(--icon-link-url) center / contain no-repeat;
          mask: var(--icon-link-url) center / contain no-repeat;
  background-color: currentColor;      /* иконка берёт цвет ссылки */

  transform: translateY(-55%);
  opacity:.9;
  transition: opacity .2s, transform .2s, background-color .2s;
  pointer-events: none;
}

/* ховер красит и текст, и иконку */
a.icon-link:hover{
  color: var(--gold-soft);
}
a.icon-link:hover::after{
  transform: translateY(-55%) scale(1.05);
}

.full-bleed{display:block}

.content{
  max-width:var(--container-max);
  margin:0 auto;
  padding-inline:var(--menu-gap)
}

/* если в header.html есть .content — убираем его padding, края задаём в .menu */
.site-header .content{padding-inline:0}

.full-bleed .clients__subhead{
  max-width: 860px;
  margin: 0 auto;
  padding-block: clamp(32px, 9vh, 60px);
  text-align: center;
  font-size: clamp(21px, 3vw, 35px);
  font-family: var(--blue-main);
  line-height: 1.25;
  font-weight: 400;
}

.copy__mid .clients__subhead {
  text-align: left;
}
/* =========================================================
   2) НАВИГАЦИЯ (здесь только базовые вещи — без эффектов)
   ========================================================= */
.menu {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:var(--menu-gap);
  padding-inline:0;
  width:100%;
  max-width:var(--container-max);
  margin:0 auto
}

.menu a{
  position: relative;
  display: inline-block;
  color:#111827;
  text-decoration:none;
  white-space:nowrap;
  font-size: 18px;
  font-family:var(--font-main);
  font-weight:300;
  padding: 0 1vw;
}

.menu a::after{
  display:none !important;
}

.menu a:hover,
.menu a:focus-visible{
  color: var(--gold-soft);
}

.menu a.brand::after{ display: none; }

.menu a[aria-current="page"]{
  color: var(--gold-soft);
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce){
  .menu a::after{ transition: none; }
}

.menu .brand{display:flex;align-items:center;justify-content:center}

.menu .brand img{width:60px;height:60px}

.nav-toggle{display:none}

/* =========================================================
   МОБИЛЬНОЕ МЕНЮ
   ========================================================= */
.nav-toggle {
  width:55px;
  height:55px;
  margin: 5px 15px 0 auto;
  background-color: transparent;
  background-image: url("/assets/img/menu.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 42px 42px;
  cursor:pointer;
  border: 0;
}

.mobile-menu{
  position:fixed;
  inset:0;
  background: #FFF;
  display:none;
  align-items:center;
  justify-content:center;
  font-family:var(--font-accent);
  letter-spacing: 2px;
  z-index: 500;
}

.mobile-menu.is-open{ display:flex; }

.mobile-menu__nav{ display:flex; flex-direction:column; gap:20px; text-align:center; }

.mobile-menu__nav img {
  margin: auto;
  opacity: 0.8;
}

.mobile-menu__nav a {
  color: var(--text);
  text-decoration:none;
  font-size: 25px;
  font-weight:200;
}

.mobile-menu__close{
  position:absolute;
  top:16px;
  right:25px;
  width:48px;
  height:48px;
  border: 0;
  background:transparent;
  font-family:var(--font-accent);
  font-weight: 400;
  color: var(--gold-light);
  font-size:40px;
  line-height:58px;
}

/* =========================================================
   3) HERO (флекс; три зоны по высоте в правой колонке)
   ========================================================= */
.hero{background:#fff}

.hero__row{
  display:flex;
  gap:var(--col-gap);
  padding-block:var(--section-py);
  min-height:calc(100vh - var(--header-h));
  justify-content: center;
}

.hero__media{
  flex:0 0 min(40%, 600px)
}

.hero.hero--bleed .hero__row {
  padding-bottom: 0;
}

.hero.hero--bleed .hero__media {
  margin: 0;
}

.hero__media img{
  width:100%;
  height:var(--hero-h-desktop);
  object-fit:contain;
  object-position: bottom center;
  border-radius:var(--radius)
}

.hero__copy{
  flex:1;
  display:flex;
  flex-direction:column;
  min-width:280px;
  max-height: 600px;
  margin: auto 0;
  height:var(--hero-h-desktop)
}

.hero__top{/* сверху */}

.hero__mid{margin:auto 0}          /* центр по высоте колонки */
.hero__bottom{
  margin-top:auto;
  padding-top: 30px;
}    

.hero__title{
  font-family:var(--font-accent);
  font-size: 55px;
  line-height:1.1;
  margin:0 0 8px
}

.hero__subtitle{
  margin:15px 0 0 0;
  font-size: 20px;
}

.hero__lead {
  font-size: 20px;
  font-weight:400;
  max-width: 700px;
}

.hero__social {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px
}

.hero__social__column {
  flex-direction: column;
}

.hero__social a{
  text-decoration:none;
  font-family:var(--font-main);
  font-size: 20px;
  color: var(--text);
  text-align: left;
}

.hero__social a:hover{
  color: var(--gold-soft);
}

.hero.hero--bleed.25ll-bleed {
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero.hero--bleed.full-bleed .content {
  margin-bottom: 0;
  padding-bottom: 0;
}

.creds.bg-fade {
  margin-top: 0;
  padding-top: 0;
}

/* =========================================================
   4) FEATURE (флекс; текстовая колонка + коллаж)
   ========================================================= */
.feature{background:#fff}

.feature + .feature{border-top:1px solid #f1f5f9}

.feature__row{
  display:flex;
  gap:var(--col-gap);
  padding-block:calc(var(--section-py) + 8px);
  align-items:center;
  justify-content: center;
}

/* стороны (по макету): слева коллаж / справа текст И наоборот */
.feature--collage-left  .feature__media{order:1}

.feature--collage-left  .feature__copy {order:2}

.feature--collage-right .feature__copy {order:1}

.feature--collage-right .feature__media{order:2}

/* колонки одинаковой высоты */
.feature__media{
  flex:1;
  min-width:360px;
  max-width: 640px;
}

.feature__copy {
  flex:1;
  min-width:300px;
  max-width: 700px;
  display:flex
}

h1 {
  font-family: var(--font-accent);
  line-height: 1;
  font-weight: 200;
  font-size: 60px;
}

h2 {
  font-family: var(--font-accent);
  line-height: 1.2;
  font-size: 30px;
  font-weight: 200;
}

h3 {
  font-family: var(--font-accent);
  font-weight: 200;
}

.feature__copy:has(.crumbs){
  display: flex;
  flex-direction: column;
  justify-content: space-between;    /* top / mid / bottom растягиваются красиво */
  height: min(700px, 100vh);         /* как просил: максимум 700px, иначе 100vh */
  margin: auto 0;                    /* вертикальный центр в пределах строки */
  max-width: 640px;                  /* как в hero */
}

.copy{
  display:flex;
  flex-direction:column;
  width:100%;
  max-width: 700px;
  height:100%;
}

.copy--3 .copy__mid{margin:auto 0}     /* середина — по центру */
.copy--3 .copy__bottom{margin-top:auto}

.copy--2 .copy__bottom{margin-top:auto}

.copy__top, .copy__mid, .copy__bottom {
  margin: 25px 0;
}

.copy__top h1 {
  margin-bottom: 0;
}

.copy__top h2,.copy__mid h2,.copy__bottom h2 {
  text-align: left;
}

/* ===== Коллаж (grid ТОЛЬКО здесь) ===== */
.collage{
  display:grid;
  height:var(--collage-h-desktop);     /* общий предел по высоте */
  gap:var(--collage-gap);
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;          /* верх = 1fr, низ = 1fr → топ по 50%, низ 50% */
}

.collage img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0px;
  max-height: 50vh
}

.collage__a{ grid-column:1 / 2; grid-row:1 / 2; }

.collage__b{ grid-column:2 / 3; grid-row:1 / 2; }

.collage__c{ grid-column:1 / span 2; grid-row:2 / 3; }

.stats{ background:#fff; }

.stats .content{ padding-block: clamp(40px, 12vh, 140px); }

.stats__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr)); /* desktop: 2 колонки */
  column-gap: var(--stats-col-gap);
  row-gap: var(--stats-row-gap);
  align-items:center;
  justify-items:center;   /* центрируем ВСЕ элементы в ячейке */
  list-style:none; margin:0; padding:0;
}

.stat{ text-align:center; max-width: 36ch; }

.stat__value{
  font-family: var(--font-accent);
  color: var(--gold-soft) ;
  font-variant-numeric: tabular-nums lining-nums; /* аккуратные цифры */
  font-weight: 800;
  font-size: clamp(86px, 7vw, 90px);  /* крупно на десктопе, читабельно на мобиле */
  line-height: 1.05;
  letter-spacing: 0.2px;
}

.stat__label{
  margin-top: 10px;
  color: #111;            /* можно заменить на var(--text) при желании */
  line-height: 1.35;
}

/* ===== Вариант feature с ОДНИМ фото (без коллажа) ===== */
.feature__media > img.feature__img{
  width:100%;
  height: var(--collage-h-desktop); /* переиспользуем лимиты от коллажа */
  object-fit: cover;
  border-radius: var(--radius);
  display:block;
}

.feature__media > img.feature__img{
  width:100%;
  height: 80vh;                /* <-- ДЕСКТОП ПО УМОЛЧАНИЮ = 85vh */
  object-fit: cover;
  border-radius: var(--radius);
  display:block;
}

.feature--service .feature__row{
  display: flex;
  min-height: calc(100vh - var(--header-h)); /* строка тянется на высоту окна */
  align-items: center;
  justify-content: center;
}

.feature--service .feature__media,
.feature--service .feature__copy{
  flex: 1 1 50%;
  min-width: 0;            /* важно для корректной флекс-раскладки */
}

.feature--service .feature__copy{
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: min(700px, 100vh); /* как в hero: не выше 700px */
  max-width: 700px;          /* убираем ограничение 640px, чтобы было строго 50/50 */
  margin-right: 0;
}

/* одиночное фото — не выше 85vh, вровень с текстовой колонкой */
.feature--service .feature__img{
  height: min(85vh, calc(100vh - var(--header-h)));
  object-fit: cover;
  width: 100%;
  display: block;
}

/* ===== CLIENTS / PEOPLE ===== */

.clients .content{ padding-block: clamp(40px, 10vh, 120px); }

.clients__title{
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--blue-main);
  margin: 0 auto 120px;
  position: relative;
  width: fit-content; 
  opacity: 0.8;
}

.clients__badges{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--block-gap);
  justify-items: center;              /* сами бейджи центрируются в колонке */
}

.badge{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 22px;
  width: min(520px, 100%);            /* читаемая ширина на мобиле */
  text-align: center;
  line-height: 1.25;

  /* премиальный «тонкий» градиентный кант */
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--blue-warm), transparent) border-box;
  box-shadow: 0 1px 4px rgba(91,82,65,.08);
}

/* люди */
.people-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr)); /* desktop: 3 в ряд */
  gap: clamp(18px, 2vw, 28px);
  list-style:none;
  padding:0;
  margin:0;
  justify-items:center;
  align-items:start;
}

.person{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.person__avatar{
  width: min(28vw, 300px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #e5e7eb center / cover no-repeat;
  box-shadow:
    0 10px 24px rgba(24,51,85,.08),
    inset 0 0 0 1px rgba(255,255,255,.6);
  transition: transform .15s ease, box-shadow .15s ease;
  margin: 0 auto 12px;
}

.person__name{
  font-size: clamp(14px,1.6vw,16px);
}

.people-grid .person:nth-child(1) .person__avatar { background-image: url("/assets/img/client-1.jpg"); }

.people-grid .person:nth-child(2) .person__avatar { background-image: url("/assets/img/client-3.jpg"); }

.people-grid .person:nth-child(3) .person__avatar { background-image: url("/assets/img/client-2.jpg"); }

.people-grid .person:nth-child(4) .person__avatar { background-image: url("/assets/img/client-4.jpg"); }

.people-grid .person:nth-child(5) .person__avatar { background-image: url("/assets/img/client-5.jpg"); }

.people-grid .person:nth-child(6) .person__avatar { background-image: url("/assets/img/client-6.jpg"); }

/* ===== PARTNERS (клубы/компании) ===== */
h3{
  text-align:center;
  margin: var(--block-gap) 0 calc(var(--block-gap) - 8px);
  font-size: 45px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.logo-grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0,1fr)); /* desktop: 6 в ряд */
  gap: var(--grid-gap);
  list-style:none; padding:0;
  margin:0 0 var(--block-gap);
  justify-items:center; align-items:center;
}

.logo{
  width: var(--logo-size);
  height: var(--logo-size);
  background: transparent;
  border-radius: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow: hidden;
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
  filter: grayscale(100%) opacity(.9);
  transition: filter .2s ease, transform .12s ease;
}

.logo img:hover{
  filter: grayscale(0%) opacity(1);
  transform: translateY(-1px);
}

.clients__subhead, .partners__title {
  padding: 30px 0;
}

/* ===== CREDENTIALS (ONE-COLUMN, PREMIUM DIVIDERS) ===== */
.creds{
  /* два готовых варианта фона: тёмно-синий или мягкий синий */
  --creds-bg: var(--blue-main);     /* #183355 */
  --creds-fg: var(--gold-light);
  --creds-rule-strong: var(--gold-light); /* #e8d2a8 (золото) */
  --creds-rule-soft:   var(--blue-light); /* #6b93b9 (мягкий синий) */

  background: var(--bg-img);
  color: var(--creds-fg);
}

.creds--soft{ --creds-bg: var(--blue-soft); } /* быстро переключить фон */

.creds .content{
  max-width: 1200px;               /* читаемая ширина */
  padding-block: clamp(48px, 12vh, 140px);
}

.creds__title{
  text-align:center;
  font-size: 45px;
  margin:0 0 clamp(28px, 6vh, 56px);
  color: var(--gold-light);
  font-family: var(--font-main);
  font-weight: 400;
}

.creds__list{
  list-style:none; margin:0; padding:0;
}

.creds__list li{
  line-height:1.65;
  margin:0;
  padding: 10px 0;
  font-weight: 400;
}

.creds .copy__bottom {
  padding-top: 20px;
}

/* Премиальные разделители (используй один из классов rule--gold / rule--blue) */
.rule{
  height:1px; border:none; margin: clamp(10px, 2vh, 16px) 0;
  background-image: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.10),
    transparent
  );
}

.rule--gold{
  background-image: linear-gradient(
    to right,
    transparent,
    var(--creds-rule-strong),
    transparent
  );
}

.rule--blue{
  background-image: linear-gradient(
    to right,
    transparent,
    var(--creds-rule-soft),
    transparent
  );
}

/* ===== SERVICES (2-колоночный список) ===== */
.services { background:#fff; }

.services .content { padding-block: clamp(40px, 12vh, 70px); }

.services__title{
  margin: 0 0 clamp(24px, 6vh, 48px);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.serv-list{
  list-style: none;
  margin: auto;
  padding: 0;
  display: grid;
  max-width: 1400px;
  /* каждая строка — отдельный item; внутри у него своя сетка 2× */
  row-gap: clamp(28px, 5vh, 56px);
}

.serv-item{
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  column-gap: clamp(24px, 5vw, 140px);
  align-items: start;
  padding: 20px 0 50px 0;
  position: relative;
}

/* премиальный разделитель */
.serv-item::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:1px;
  background-image: linear-gradient(to right, transparent, var(--blue-warm), transparent);
  opacity:.8;
}

.serv-list .serv-item:last-child::after { display: none; }

.serv-list .serv-item:last-child { padding-bottom: 0; }

/* название-линк: акцентный шрифт + спокойный hover */
.serv-name a, .serv-name p{
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(30px, 2vw, 45px);
  line-height: 1.2;
  text-decoration: none;
  color: var(--text);
  transition: color .2s ease, text-decoration-color .2s ease;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  margin-top: 0;
  margin-bottom: 0;
}

.serv-name a:hover{
  color: var(--gold-soft);
  text-decoration-color: var(--gold-light);
}

.serv-desc{
  line-height: 1.6;
  max-width: 60ch;
  justify-self:end;
}

/* ==== breadcrumbs (крошки) ==== */
.crumbs{
  font-size: 20px;
  font-weight: 100;
  color: var(--text);
  opacity: 0.7;
  margin: 0 0 12px;
}

.crumbs a{
  color: var(--text);
  text-decoration: none;
}

.crumbs a:hover{ color: var(--gold-soft); text-decoration: none; }

/* ==== кнопки (CTA) ==== */
.btn{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  font-weight: var(--btn-font-w);
  letter-spacing: var(--btn-letter);
  text-decoration:none;
  font-family: var(--font-main);
  font-size: 20px;
  line-height:1;
  min-width: 290px;
  border-radius: 0;                /* без скруглений */
  user-select:none;
  transition: color .2s ease, background-color .2s ease, transform .08s ease;
  will-change: transform;
}

.btn:hover {
  cursor: pointer;
}

.no-min-width {
  min-width: 0;
}

.btn-row{ display:flex; gap:12px; flex-wrap:wrap; }

.btn:active { transform: translateY(1px); }

.btn:focus-visible{
  outline: 2px solid color-mix(in srgb, var(--gold-light), #000 20%);
  outline-offset: 2px;
}

.btn-center {
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap:wrap;
}

/* SPEAKING: прижать CTA слева */
.feature--service .btn-row { justify-content: flex-start; }

.feature__copy .btn-row, .feature__copy .copy__bottom {
  justify-content: flex-start;
  padding-top: 30px;
}

/* --- 1) Залитая золотом --- */
.btn--gold{
  padding-inline: 25px;
  color: var(--blue-main);
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--gold-light), #fff 8%) 0%,
              var(--gold-light) 100%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff, var(--gold-light) 70%),
    0 .6px 0 rgba(0,0,0,.04),
    0 8px 16px rgba(113,92,63,.08); /* мягкая «дорогая» тень */
}

/* деликатный глянец: узкая маска едет слева направо */
.btn--gold::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(255,255,255,.35) 15%,
      rgba(255,255,255,.0) 30%) center/250% 250% no-repeat;
  mix-blend-mode: screen;
  pointer-events:none;
  opacity:.0;
  transition: opacity .2s ease;
}

@keyframes sheen {
  0%   { background-position: -120% 50%; }

  100% { background-position:  220% 50%; }
}

.btn--gold:hover::after{
  opacity:.7;
  animation: sheen 1.8s cubic-bezier(.25,.1,.25,1) 1;
}

@media (prefers-reduced-motion: reduce){
  .btn--gold:hover::after{ animation:none; opacity:.0; }
}

/* --- 2) «Просто текст» (ghost) --- */
.btn--ghost{
  color: var(--blue-main);
  background: transparent;
  padding-inline: 25px;            /* визуально — как текст */
}

/* подчёркивание появляется мягко, без рамок */
.btn--ghost::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background: linear-gradient(90deg, transparent, var(--blue-warm), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.btn--ghost:hover::after{ transform: scaleX(1); }

.btn-row{ display:flex; gap:12px; flex-wrap:wrap; }

/* disabled — на будущее */
.btn[aria-disabled="true"], .btn:disabled{
  opacity:.5; pointer-events:none;
}

/* === Publications / Press (section) === */
.pubs .content { padding-block: clamp(40px, 10vh, 120px); }

.pubs h2 { font-family: var(--font-accent); font-size: 45px; margin: 0 0 50px 0; }

.pubs--preview .pub-grid > li:nth-child(n+7) { display: none; }

.pub-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--grid-gap);
  list-style:none;
  column-gap: 48px;
  row-gap: 56px;
  align-content: start;
  padding:0;
  margin:0;
}

.pub-card {
  padding: 18px;
  display:flex;
  flex-direction:column;
  min-height: 180px;
  max-width: 460px;
  margin: auto;
}

.pub-card time { font-size: 14px; opacity: .55; margin-bottom: 10px; }

.pub-card h4 { margin: 0 0 12px; line-height: 1.25; font-size: 25px; }

.pub-card .pub-link { color: inherit; text-decoration: none; }

.pub-card .pub-link:hover { text-decoration: underline; }

.pub-card .pub-excerpt { font-size: 17px; letter-spacing: 1px; font-weight: 200; margin: 15px 0 12px 0; opacity:.9; }

.pub-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }

.btn-row { margin-top: 26px; display:flex; justify-content:center; }

/* ==== Article (Medium-like) ==== */
.article .content { padding-block: clamp(40px, 12vh, 120px); }

/* узкая внутренняя колонка: и крошки, и дата, и заголовок, и текст */
.article .inner{
  max-width: 72ch;
  margin: 0 auto;
}

/* крошки и дата слева, без центровки */
.article .inner .crumbs{ margin: 0 0 30px; text-align: left; }

.article .inner .meta{ margin: 0 0 8px; font-size: 16px; opacity:.75; text-align: left; opacity: 0.55 }

/* заголовок в тех же границах, крупно но спокойно */
.article .inner h1{
  margin: 30px 0 40px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  max-width: 740px;
  letter-spacing: .2px;
  text-align: left;
}

/* аннотация — приятно читать */
.article .annotation{
  max-width: 100%;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.7;
}

.article .annotation p{ margin: 0 0 28px; }

/* CTA под текстом, центрируем */
.article .cta{ text-align: center; margin-top: 50px; }

.pubs .btn-row {
  margin-top: 70px;
}

.pub-btn a {
  min-width: 0;
  padding: 0;
  font-size: 18px;
}

/* ==== Interviews (Видеосетка) ==== */
.video-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  list-style: none;
  margin: 70px 0 0 0;
  padding: 0;
  justify-items: center;           /* центрируем карточки в колонках */
}

.video{
  width: 100%;
  max-width: 760px;                /* комфортная ширина блока */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.video__frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;            /* делаем iframe адаптивным */
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.video__frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__title{
  margin: 12px 0 6px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: 0.3px;
  text-align: left;
}

.video__link{
  font-size: 18px;
  padding: 0; 
  min-width: 0;
}

.site-footer--light{
  --footer-bg: var(--bg);
  --footer-fg: var(--text);
  --footer-muted: color-mix(in srgb, var(--text), #fff 55%);
  --footer-rule: rgba(17,24,39,.08);
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--footer-rule); /* формальная граница контента сверху */
}

.site-footer--light .footer__col a[href*="t.me/DianaRobot"]{
  text-decoration-line: underline;
  text-decoration-color: var(--gold-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-footer--light .footer__col a[href*="t.me/DianaRobot"]:hover,
.site-footer--light .footer__col a[href*="t.me/DianaRobot"]:focus-visible{
  color: var(--gold-soft);
}

.site-footer--light a{ color: var(--text); text-decoration:none; }

.site-footer--light a:hover{ color: var(--gold-soft); text-decoration: none; }

.footer__col {
  width: 33vw;
  max-width: 400px;
  min-height: 285px;
  margin: auto;
}

.footer__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--grid-gap);
  padding-block: clamp(28px, 8vh, 70px);
  align-items:start;
}

.footer__head{
  margin: 0 0 12px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.footer__col blockquote {
  margin: 0 15px;
}

.footer__nav{ list-style:none; margin:0; padding:0; }

.footer__nav li{ margin: 18px 0; }

.footer__nav a{ opacity:.9; }

.footer__nav a:hover{ opacity:1; }

.footer__bar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--footer-rule);
  font-size: 14px;
  color: var(--footer-muted);
}

.footer_p {
  margin-top: 50px;
}

/* карточка ассистента */
.assistant{
  margin-top: 14px;
  padding: 0;
  border: 1px solid var(--footer-rule);
  background: #fff;
}

.assistant__title{
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 16px;
}

.assistant__text{
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--footer-muted);
}

.assistant__link{
  font-weight: 700;
  text-decoration: none;
}

.assistant__link:hover{ color: var(--gold-soft); text-decoration: underline; }

.footer__compliance{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--footer-rule);
  font-size: 12px;
  color: var(--footer-muted);
}

.footer__compliance .footer__notice{
  margin: 0;
  max-width: none;
}

.footer__rkn{
  white-space: nowrap;
  margin-left: auto;
  opacity: .85;
}

/**************** SOCIAL PROJECTS (premium slider) ****************/
.social-projects {
  background: #fff;
  overflow-x: hidden;
}

.social-projects .content { padding-block: clamp(40px, 10vh, 120px); }

.social__head{
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  margin-bottom: clamp(16px, 3vh, 28px);
}

.social__title{ margin:0; font-size:45px; letter-spacing:1px; line-height:1.4; text-align:left; width: 100%; text-align: center; }

/* overlay-навигация поверх слайдера */
.social__nav{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  pointer-events: none;          /* кликабельны только сами кнопки */
  z-index: 5;
}

/* кнопки-стрелки */
.social__btn{
  justify-self: start;           /* по умолчанию — левая */
  width: 56px;
  height: 56px;
  background: none;
  border: 0;
  backdrop-filter: blur(6px);
  cursor: pointer;
  border-radius: 0;              /* премиально-плоские */
  transition: transform .12s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease;
  opacity: .95;
  pointer-events: auto;
}

.social__btn.next{ justify-self: end; }

.social__btn:hover{
  border-color: rgba(255,255,255,.4);
  opacity: 1;
}

.social__btn:active{ transform: translateY(1px); }

/* chevron-стрелка (тонкая и аккуратная) */
.social__btn::before{
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%,-50%) rotate(45deg);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.social__btn.prev::before{
  transform: translate(-50%,-50%) rotate(225deg);  /* влево */
}

/* scroll area */
.social__viewport{
  position: relative;
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
}

.social__track{
  display:flex;
  gap: clamp(12px, 1.6vw, 20px);
  list-style:none;
  margin:0;
  padding: 0;                        /* ← убрали внутренние отступы */
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;             /* Firefox: скрыть полосу */
}
.social__track::-webkit-scrollbar{ display: none; }

.social-card{
  position: relative;
  flex: 0 0 100vw;                 /* ← всегда на ширину окна (бесшовно) */
  height: clamp(600px, 56vh, 700px);
  border-radius: 0;                /* ← без скруглений */
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: none;                /* ← без теней */
}

/* media: blur + darken + subtle brand tint */
.social-card__media{
  position: absolute;
  inset: 0;
  margin: 0;           /* ← ключевое: убираем дефолтные поля figure */
  z-index: 0;
}
.social-card__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: blur(6px) saturate(110%) brightness(0.58);
  transform: scale(1.05);
}
.social-card__media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  /* равномерное затемнение с лёгким фирменным синим тоном */
  background: linear-gradient(0deg, color-mix(in srgb, var(--blue-main) 60%, black 20%) 0%, color-mix(in srgb, var(--blue-main) 60%, black 20%) 100%);
  opacity: .72;              /* при желании подними/понизь интенсивность */
  mix-blend-mode: normal;    /* никаких высветлений по краям */
}

/* caption */
.social-card__caption{
  position: absolute;
  inset: 0;
  display:flex;
  align-items: center;           /* по вертикали — центр */
  justify-content: center;       /* по горизонтали — центр */
  padding: clamp(16px, 4vw, 48px);
  text-align: center;            /* центрируем многострочный текст */
}
.social-card__caption p{
  margin: 0;
  max-width: 36ch;               /* читаемая ширина на десктопе */
  color: #fff;
  font-size: clamp(22px, 2.6vw, 34px);   /* КРУПНЕЕ */
  line-height: 1.35;
  letter-spacing: .3px;
  text-shadow: 0 2px 6px rgba(0,0,0,.55);  /* сильнее контраст */
}
.social-card__caption b{ color: var(--gold-light); font-weight: 500; }

/* Точки-индикаторы (поверх картинок, по центру снизу) */
.social__dots{
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.6vh, 22px);
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
  pointer-events: auto; /* кликабельны */
  line-height: 0;
}

.social__dot{
  display: inline-block;
  box-sizing: content-box;
  width: 10px; height: 10px;
  padding: 0;
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  aspect-ratio: 1 / 1; 
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, opacity .15s ease;
  opacity: .9;
}
.social__dot:hover{ transform: scale(1.12); opacity: 1; }
.social__dot[aria-current="true"]{
  background: #fff;
  opacity: 1;
  transform: scale(1.15);
}

/* === Overlay Form === */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.35);
  transition: opacity .3s ease;
}
.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.overlay-bg {
  flex: 1;
}

.form-panel {
  background: #fff;
  width: 40vw;
  max-width: 560px;
  height: 100%;
  padding: 48px 36px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  position: relative;
  transform: translateX(100%);
  transition: transform .4s ease;
}
.overlay.show .form-panel {
  transform: translateX(0);
}

.form-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 36px;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
  transition: color .2s ease;
}
.form-close:hover {
  color: #222;
}

.form-inner {
  margin-top: 60px;
}
.form-inner h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.form-inner p {
  margin-bottom: 30px;
  color: #555;
  line-height: 1.5;
}

.form-inner label {
  display: block;
  margin-bottom: 20px;
}
.form-inner label span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 6px;
}
.form-inner input {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color .2s ease;
}
.form-inner input:focus {
  border-color: #a8894a;
  outline: none;
}

.btn--full {
  width: 100%;
  padding: 14px 0;
  font-size: 1.05rem;
  border: 0;
}

/* Спасибо-состояние */
.form-success {
  text-align: center;
  margin-top: 60px;
}
.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.form-success p {
  color: #444;
}

.overlay.show {
  animation: overlayFadeIn .4s ease forwards;
}

.overlay.show .form-panel {
  animation: panelSlideIn .45s cubic-bezier(.25,.1,.25,1.05) forwards;
}
@keyframes panelSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-title {
  position: absolute;
  top: 0;
  height: 100%;
  display: none;
  align-items: center;
  padding-left: 15px;
  font-size: 25px;
  font-family: var(--font-accent);
  opacity: 0;
  transition: opacity .22s ease;
}

.mobile-title.is-visible{
  opacity: .95; 
}

.split .content{ padding-block: clamp(40px, 12vh, 120px); }
.split__head{
  grid-column: 1 / -1;                 /* занять обе колонки */
  margin-bottom: clamp(8px, 2vh, 14px); /* немного воздуха под H2 */
}
.split__head h2{
  font-family: var(--font-accent);
  font-weight: 200;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.35;
  margin: 0 0 clamp(22px, 4vh, 36px);
  text-align: center;
}
.split__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.split__title{
  font-family: var(--font-main);
  color: var(--blue-main);
  font-weight: 400;
  font-size: clamp(35px, 2.5vw, 35px);
  margin: 0 0 35px;
}
.split__col{ text-align:center; }
.split__title{ text-align:center; }
.split__list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  row-gap: 14px; 
  justify-items:center;
}

.split__list li{
  width: min(48ch, 100%);
}

.split__list li:not(:has(a)){
  padding:12px 0;
  border-bottom:1px solid transparent;
  font-weight:300;
}

.split__list a.icon-link{
  display:inline-block;
  text-decoration:none;
  color:var(--text);
  padding:12px 1.5em 12px 0;
  font-weight:400;
  text-underline-offset:6px;
  border-bottom:1px solid transparent;
}
.split__list a.icon-link:hover{
  color:var(--gold-soft);
  border-bottom-color: color-mix(in srgb, var(--blue-warm), #fff 20%);
}

.split__list li a{
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: var(--text);
  padding: 12px 0;
  font-weight: 500;
  transition: color .2s ease, transform .08s ease;
  border-bottom: 1px solid transparent;
  text-underline-offset: 6px;
}
/*
.split__list li a::after{
  content:""; width: 16px; height:16px;
  -webkit-mask: var(--icon-link-url) center/contain no-repeat;
          mask: var(--icon-link-url) center/contain no-repeat;
  background-color: currentColor; opacity:.75; transition: transform .2s ease, opacity .2s ease;
}
*/

/* ========== ABOUT (Диана + цитата) ========== */
.about .content{ padding-block: clamp(40px, 10vh, 100px); }
.about__wrap{ max-width: 1100px; }
.about h2{
  font-family: var(--font-accent);
  font-weight: 200;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.3;
  margin: 0 0 14px;
}
.about__lead{
  margin: 30px 0 30px 0;
  letter-spacing: .3px;
}
.about__quote{
  margin: clamp(60px, 6vh, 60px) auto;
  padding: 0;
  max-width: 960px;
}

.about__quote figcaption{
  margin-top: 40px;
  opacity: .7;
  font-size: 15px;
  text-align: right;
}

/* ========== DEPTH (3 карточки) ========== */
.depth .content{ padding-block: clamp(40px, 10vh, 120px); }

.depth__title{
  text-align: center;
  font-family: var(--font-main);
  font-weight: 200;
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 clamp(22px, 6vh, 40px);
}
.depth__cards{
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--grid-gap);
}
.depth-card{
  background: #fff;
  border: 1px solid rgba(24,51,85,.10);
  display: flex; flex-direction: column;
  min-height: 220px;
  box-shadow: 0 6px 16px rgba(24,51,85,.06);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.depth-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24,51,85,.10);
  border-color: rgba(24,51,85,.18);
}
.depth-card h3{
  margin: 0 0 8px;
  font-family: var(--font-main);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 200;
}
.depth-card p{
  margin: 0 0 12px;
  opacity: .9;
}

.depth-card .btn-row{ margin-top: auto; }

.cta-final{
}
.cta-final .content{ padding-block: clamp(48px, 12vh, 140px); text-align: center; }
.cta-final h2{
  margin: 0 0 14px;
  font-family: var(--font-main);
  font-weight: 200;
  font-size: clamp(28px, 2.6vw, 40px);
}
.cta-final p{
  margin: 30px 0 30px 0;
}

#team .people-grid{
  grid-template-columns: repeat(3, minmax(0,1fr)); /* десктоп */
}

#team .person{
  text-align: center;
  max-width: 420px;
}

#team .person__avatar{
  width: min(26vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #e5e7eb center / cover no-repeat;
  box-shadow:
    0 10px 24px rgba(24,51,85,.08),
    inset 0 0 0 1px rgba(255,255,255,.6);
  margin: 0 auto 14px;
  transition: transform .12s ease, box-shadow .12s ease;
}
#team .person__avatar:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(24,51,85,.12), inset 0 0 0 1px rgba(255,255,255,.7);
}

#team .person__name{
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(18px,1.8vw,20px);
  margin-bottom: 8px;
}
#team .person__title{
  font-size: 16px;
  color: color-mix(in srgb, var(--text), #000 35%);
  line-height: 1.35;
  margin-bottom: 8px;
}
#team .person__descr{
  font-size: 15px;
  color: #555;
  line-height: 1.4;
}

#team .people-grid .person:nth-child(1) .person__avatar { background-image: url("/assets/img/com-1.jpg"); }
#team .people-grid .person:nth-child(2) .person__avatar { background-image: url("/assets/img/com-2.jpg"); }
#team .people-grid .person:nth-child(3) .person__avatar { background-image: url("/assets/img/com-3.jpg"); }

/* ========== REVIEWS (Видео-отзывы) ========== */

.reviews .content{
  padding-block: clamp(40px, 10vh, 120px);
}

.reviews__title{
  text-align: center;
  font-family: var(--font-main);
  font-weight: 200;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 clamp(24px, 5vh, 40px);
}

/* сетка карточек */
.reviews__grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

/* карточка отзыва */
.review-card{
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 210, 168, 0.2);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
}

/* чтобы анимация работала из коробки */
.review-card.reveal-media{
  transform-origin: center center;
}

/* видео сверху */
.review-card__media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  min-height: 700px;
  overflow: hidden;
}

.review-card__video{
  width: 100%;
  height: 100%;
  min-height: 700px;
  display: block;
  object-fit: cover;
}

/* тело карточки */
.review-card__body{
  padding: 18px 40px 20px;
}

.review-card__quote{
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  opacity: .95;
}

.review-card__name{
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 16px;
}

.review-card__meta{
  margin: 0;
  font-size: 14px;
  opacity: .75;
}

@media (max-width: 1600px){
  :root {
    --menu-gap: 60px;
  }
}
@media (max-width:1350px){
  :root{
    --menu-gap: 48px;
  }
  .hero__title {
    font-size: 60px;
  }

  .menu a {
    padding: 0 0;
  }

  .hero__social a{
    font-size: 17px;
  }
}


@media (max-width: 1100px){
  :root{
    --menu-gap: 32px;
  }
  .menu a {
    font-size: 16px;
    padding: 0 .8vw;
  }
  .menu .brand img{
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 1000px){
  :root {
    --menu-gap: 40px;
  }

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

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

  .menu a {
    font-size: 20px;
  }

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

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

  .video{ max-width: 900px; }

  .menu{display:none}
  .nav-toggle{display:block}

  .hero__row{
    flex-direction:column;
    padding: 15px 15px 0 15px;
  }

  .hero__copy{order:1;height:auto}

  .hero__media{order:2;margin: 0}

  .hero__media {
    min-width: 100%;
  }

  .hero__subtitle {
    margin-top: 30px;
    margin-bottom: 70px;
  }

  .hero__lead {
    margin-bottom: 50px;
  }

  .feature__row{
    flex-direction:column;
    padding: 0;
  }

  .feature__media{
    order:1 !important;
    width: 100%;
    padding: 15px;
  }

  .feature__copy{
    order:2 !important;
    width: 100%;
    padding: 15px;
  }

  .collage{
    display: block;
    height:var(--collage-h-mobile);
    min-width: 100%;
  }

  .feature__media{flex:1;min-width:360px}

  .collage img{
    position: relative;
    min-height: 30vh;
  }

  .collage__a, .collage__b {
    display: none;
  }

  .collage__c {
    width: 100%;
  }

  .feature__media > img.feature__img{
    height: var(--photo-h-mobile);
  }

  .feature--service .feature__copy{ order: 1 !important; width:100%; }

  .feature--service .feature__media{ order: 2 !important; width:100%; margin: 0 }

  .feature--service .feature__copy:has(.crumbs){ height:auto; }

  .feature--service .feature__img{ height: var(--photo-h-mobile);}

  .services .content { padding: 15px;}

  .serv-item{
    grid-template-columns: 1fr; /* одна колонка */
    row-gap: 10px;
  }

  .serv-desc{ max-width: none; justify-self: start }

  .feature__copy:has(.crumbs){ height: auto; }

  h3 {
    font-size: 35px;
  }

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

  .footer__bar-row{ flex-direction: column; text-align:center; }

  .footer__col {
    max-width: 100%;
    width: 100%;
  }

  .footer__compliance{
    flex-direction: column;
    text-align: left;
    gap: 8px;
  }
  .footer__rkn{
    white-space: normal;
    margin-left: 0;
  }

  .people-grid .person__avatar{ width: min(28vw, 250px); }

  .social__title{ font-size: 35px; }
  .social-card{ height: clamp(300px, 54vh, 520px); }
  .social__head{ align-items:flex-start; }

  .form-panel { width: 60vw; }

  body.menu-open { overflow: hidden; }

  .mobile-menu{
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    background: #FFF !important;
    backdrop-filter: none !important;
    z-index: 10000 !important;
  }
  .mobile-menu.is-open{ display: flex !important; }

  .mobile-menu__nav{
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    max-width: min(90vw, 520px);
    margin: 0 auto;
  }

  .mobile-menu__nav a{
    font-size: 30px;
    line-height: 1.4;
    color: var(--text);
    text-decoration: none;
  }

  .mobile-menu__close{
    position: absolute;
    top: 14px;
    right: 20px;
    z-index: 10001;
    color: var(--text);
    background: transparent;
  }

  .split__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .split__head h2{ text-align: left; }
  .depth__cards{ grid-template-columns: 1fr; }

  .split__head,
  .split__head h2,
  .about h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .split__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .split .content,
  .about .content {
    padding-inline: 15px;
  }

  #team .people-grid{ grid-template-columns: 1fr; }
  #team .person__avatar{ width: min(70vw, 360px); }
}

@media (max-width:640px){
  :root{ --icon-link-size: 16px; }

  body {
    line-height: 1.4;
  }

  .hero__media{
    position: relative;
  }

  .hero__media img{
    height: 400px;
    object-fit: contain;
    min-height: 0;
    border-radius: 0;
    margin-top: 10px;
    background: #fff;
  }

  .hero__media::after{
    content:"";
    position:absolute; inset:-10px;
    border-radius:50%;
    pointer-events:none;
    background: radial-gradient(closest-side,
                color-mix(in srgb, var(--gold-light, #E8D2A8) 22%, transparent) 0%,
                transparent 65%);
    filter: blur(6px);
  }

  .hero__title {
    font-size: 38px;
    padding-top: 0;
  }

  .hero__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .hero__lead {
    padding-top: 0;
    margin-bottom: 20px;
  }

  .btn-center .btn {
    min-width: 0;
    width: min(100%, 520px);
    text-align: center;
  }

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

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

  .people-grid .person__avatar{ width: min(35vw, 360px); }

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

  .creds .content{ padding: 40px 15px; }

  .split__list li {
    font-size: 18px;
  }

  .creds__title {
    line-height: 1.1;
    font-size: 25px;
    margin-bottom: 30px;
  }

  .creds__list li{
    padding: 12px 0;
    line-height: 1.4;
  }

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

  .clients .content{ padding: 15px;}

  .clients__title{
    margin: 20px auto 0px;
    font-size: 25px;
    font-transform: uppercase;
  }
  .clients__title::after{ content: none; }

  .clients__badges{
    grid-template-columns: repeat(2, minmax(0,1fr));
    justify-items: stretch;
  }

  .badge{ width: 100%; }
  .clients__badges .badge:last-child{
    grid-column: 1 / -1;
    justify-self: center;
    width: min(560px, 100%);
  }

  .footer__grid {
    padding: 15px;
  }

  .serv-list {
    padding-bottom: 50px;
  }

  .copy__top h1, .copy h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .copy__mid h1 {
    text-align: left;
  }
 
  .btn{
    font-size: 18px;
  }

  .split__title {
    font-size: 28px;
    margin-top: 20px;
    color: var(--blue-main);
  }

  .feature__copy .btn-row,
  .feature__copy .copy__bottom,
  .feature--service .btn-row,
  .btn-row{
    justify-content: center;
  }

  .copy__mid > .btn,
  .copy__bottom > .btn{
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
  }

  .btn-row,
  .copy__bottom,
  .copy__bottom .btn-lefts{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .copy__mid > .btn{
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-lefts{ justify-content: center; }

  .copy__mid,
  .copy__bottom,
  .btn-row {
    text-align: center;
  }

  .copy__mid p,{
    text-align: left;
  }

  .copy__mid .btn,
  .copy__bottom .btn,
  .btn-row .btn {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }

  .pubs .content { padding: 40px 15px;}

  .article .content { padding: 40px 15px;}

  .crumbs { font-size: 17px; }

  .social-card__caption {
    padding: 0 40px;
  }

  .form-panel { width: 90vw; padding: 36px 20px; }

  .footer__compliance { padding: 15px }

  .copy__bottom,.copy__mid,.copy__top{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .copy__bottom h2,.copy__bottom p,.copy__mid h2,.copy__mid p,.copy__top h2,.copy__top p{ text-align:left; width:100%;} 

  .feature .copy__bottom,
  .feature .copy__bottom.btn-row,
  .feature .copy__mid .copy__bottom,
  .creds  .copy__bottom,
  .creds  .copy__bottom .btn-row {
    display: flex;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .feature .copy__bottom .btn-lefts {
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .feature .copy__bottom .btn,
  .creds  .copy__bottom .btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mobile-title {
    display: flex;
  }

  .quote{ padding: 0 .9em; }
  .quote::before, .quote::after{
    font-size: 2em;
    opacity: .4;
  }

  .full-bleed .clients__subhead{
    text-align: center;
    padding-block: clamp(10px, 9vh, 20px);
    
  }

  .reviews .content{
    padding: 50px 15px;
  }

  .review-card__media{
  aspect-ratio: 9 / 16;
  min-height: 500px;
  }

  .video,
  .video__frame,
  .copy,
  .content {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .video__frame iframe {
    width: 100%;
    height: 100%;
  }

  .feature__row {
    flex-direction: column;
    padding: 0;
  }
  .feature__media,
  .feature__copy {
    width: 100%;
    margin: 0;
  }

  .split .content{ padding-block: clamp(0px, 12vh, 50px); }

  .split__title {
    margin: 40px 0;
  }
  h3 {
    padding: 50px 0;
  }
}

@media (min-width: 1001px){

  .pub-grid{
    justify-items: stretch;
  }

  .pub-card{
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .video-grid{ justify-items: stretch; }

  .video{ max-width: none; }

  .hero.hero--bleed .hero__row{
    padding-block: 0;
    align-items: stretch;
    justify-content: flex-start;
    min-height: calc(100vh - var(--header-h));
  }

  .hero.hero--bleed .hero__media{
    flex: 0 0 auto;
    width: clamp(360px, 42vw, 500px);
    margin-left: calc(50% - 50vw);
  }

  .hero.hero--bleed .hero__media img{
    height: calc(100vh - var(--header-h));
    object-fit: contain;
    object-position: 40% bottom;
    border-radius: 0;
    display:block;
  }

  .clients__badges{
    grid-template-columns: repeat(3, minmax(0,1fr));
    justify-items: stretch;
  }

  .clients__badges .badge:last-child{
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .social__btn.prev { margin-left: clamp(20px, 4vw, 64px); }
  .social__btn.next { margin-right: clamp(20px, 4vw, 64px); }

  .mobile-title {
    display: none !important;
  }
}

@media (min-width: 1200px){
  .hero.hero--bleed .hero__media{
    width: clamp(600px, 35vw, 820px);
  }

  .footer__grid{
    grid-template-columns: 1fr 1fr 1.7fr;
    gap: clamp(28px, 4vw, 90px);
  }

  .footer__col{
    width: auto;
    max-width: none;
  }

  .footer__col:last-child{
    max-width: 820px;
  }

  .footer__col:last-child .quote{
    max-width: 58ch;
  }
}

@media (min-width: 1460px){
  .hero.hero--bleed .hero__media{
    width: clamp(560px, 48vw, 820px);
  }
}

@media (min-width: 1800px){
  .hero__row,
  .feature__row,
  .services .content,
  .stats .content,
  .clients .content {
    max-width: 1440px;
  }
}

.site-header{
  position: fixed;      
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform .28s ease, box-shadow .18s ease;
  background: #fff;
  will-change: transform;
}

.site-header.head--hidden{
  transform: translateY(-100%);
}

.scrolled .site-header{
  box-shadow: 0 1px 7px rgba(0,0,0,.03);
  border-bottom: 1px solid rgba(255,255,255,.28);
}

.quote {
  position: relative;
  font-family: var(--font-main);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  padding: clamp(14px, 2vw, 22px) clamp(18px, 3vw, 28px);
  color: var(--blue-main);
  opacity: 0.7;
}

.quote::before,
.quote::after{
  position: absolute;
  font-family: var(--font-accent);
  color: var(--gold-accent);
  font-weight: 200;
  line-height: 1;
  font-size: 2.2em;
  color: color-mix(in srgb, var(--blue-main) 80%, var(--gold-light) 20%);
  opacity: .7;
}

.quote::before{
  content: "«";
  left: -12px; top: -16px;
  font-size: clamp(48px, 6vw, 78px);
}

.quote::after{
  content: "»";
  right: 6px; bottom: -26px;
  font-size: clamp(48px, 6vw, 78px);
}

@media (prefers-reduced-motion: reduce){
  .site-header{ transition: none; }
}

.site-header.is-menu-open {
  transform: none !important;
}

.mobile-menu {
  z-index: 2000;
  background: var(--bg-img);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mobile-menu.is-open {
  display: flex;
}


@media (max-height: 700px) and (min-width: 1001px) {
  .hero__row{
    flex-direction: row;
    min-height: auto;
    align-items: center;
    gap: 24px;
    padding-block: 20px;
  }

  .hero__copy{
    margin: 0;
    padding: 0;
    max-height: 58vh;
    overflow: visible;
  }

  .hero__media{
    order: 0;
    margin: 0;
  }

  .hero h1{
    font-size: clamp(46px, 3.6vh, 54px);
    line-height: 1.15;
    margin-top: 50px;
  }
  .hero .lead{
    font-size: clamp(16px, 2.2vh, 18px);
    line-height: 1.35;
  }

  .btn-center{
    gap: 12px;
    flex-wrap: wrap;
  }
}
