/* ==========================================================================
   Айгуль Ибатуллина — личный сайт
   Разработано в «Экспресс лаб» (expresslab.ru)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Шрифты (self-hosted woff2)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-latin-400-normal.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-latin-500-normal.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-latin-600-normal.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-latin-700-normal.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;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-400-normal.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;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-500-normal.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;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-600-normal.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;
}

/* --------------------------------------------------------------------------
   2. Токены
   -------------------------------------------------------------------------- */
:root {
  --ink: #10211f;
  --ink-soft: #3a4d4a;
  --muted: #5f736f;
  --line: #dbe6e3;
  --line-soft: #eaf1ef;
  --surface: #ffffff;
  --surface-soft: #f3f7f6;
  --surface-deep: #0d201e;
  --teal: #0e8c82;
  --teal-deep: #0a5c57;
  --teal-tint: #e2f1ef;

  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-text: 'Manrope', -apple-system, 'Segoe UI', Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --step-hero: clamp(2.7rem, 6.2vw, 5.1rem);
  --step-h2: clamp(2rem, 3.6vw, 3rem);
  --step-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --step-lead: clamp(1.05rem, 1.4vw, 1.25rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   3. База
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

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

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

.link {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.link:hover { color: var(--teal); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--surface-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__title { font-size: var(--step-h2); }
.section-head__text {
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--step-lead);
  max-width: 62ch;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--teal-tint); }

/* --------------------------------------------------------------------------
   4. Шапка
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; }
.brand__role { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-block: 4px;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--teal-deep); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }
.nav__link--cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__cta { padding: 12px 24px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Первый экран
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(14, 140, 130, 0.12), transparent 62%),
    radial-gradient(45% 55% at 0% 92%, rgba(14, 140, 130, 0.07), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  grid-template-areas:
    'content figure'
    'meta    figure';
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(48px, 6vw, 92px) clamp(56px, 7vw, 104px);
}

.hero__content { grid-area: content; }
.hero__meta { grid-area: meta; }
.hero__figure { grid-area: figure; align-self: center; }

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--teal-deep);
  font-weight: 500;
  margin-bottom: 22px;
}
.hero__status::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--teal);
}

.hero__title {
  font-size: var(--step-hero);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero__title span { display: block; }

.hero__lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: var(--step-lead);
  color: var(--ink-soft);
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: 24px;
  max-width: 560px;
}
.hero__meta dt,
.hero__meta dd {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.hero__meta dt { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.hero__meta dd { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Портрет с видео */
.hero__figure { position: relative; justify-self: end; width: 100%; max-width: 480px; margin: 0; }

.portrait {
  position: relative;
  width: 100%;
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 70px -40px rgba(10, 45, 42, 0.55);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.5;
}
.hero__badge strong { font-weight: 600; color: var(--ink); }
.hero__badge span { color: var(--muted); }

/* --------------------------------------------------------------------------
   6. Видеоприветствие
   -------------------------------------------------------------------------- */
.intro-video {
  background: var(--surface-deep);
  padding-block: clamp(44px, 5.5vw, 84px);
}
.intro-video__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.intro-video__title { font-size: var(--step-h2); color: #fff; }
.intro-video__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  max-width: 44ch;
}

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.player video { width: 100%; height: 100%; display: block; object-fit: contain; }

.player__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(8, 24, 22, 0.18), rgba(8, 24, 22, 0.42));
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.player.is-playing .player__overlay { opacity: 0; visibility: hidden; }
.player__overlay-icon {
  width: clamp(62px, 7vw, 88px);
  height: clamp(62px, 7vw, 88px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.player__overlay-icon svg { width: 22px; height: 22px; margin-left: 4px; fill: #fff; }
.player__overlay:hover .player__overlay-icon { background: var(--teal); transform: scale(1.06); }

/* --------------------------------------------------------------------------
   7. Экспертиза
   -------------------------------------------------------------------------- */
.expertise__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.expertise__item {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.expertise__title { font-size: 1.08rem; font-weight: 600; font-family: var(--font-text); }
.expertise__text { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.expertise__for {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-size: 0.76rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Обо мне
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.about__figure { margin: 0; position: relative; }
.about__figure img { border-radius: var(--radius-lg); width: 100%; }
.about__title { font-size: var(--step-h2); }
.about__text { margin-top: 24px; display: grid; gap: 18px; color: var(--ink-soft); max-width: 62ch; }
.about__quote {
  margin: 30px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--teal);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
}
.about__facts { margin-top: 34px; display: grid; }
.about__facts li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.about__facts li:last-child { border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   9. Проекты
   -------------------------------------------------------------------------- */
.projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.project {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.project:hover { border-color: var(--teal); transform: translateY(-3px); }
.project__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-soft); }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project__title { font-size: var(--step-h3); }
.project__text { margin-top: 12px; color: var(--muted); font-size: 0.94rem; flex: 1; }
.project__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-deep);
}
.project__link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* --------------------------------------------------------------------------
   10. СМИ
   -------------------------------------------------------------------------- */
.media__list { border-top: 1px solid var(--line); }
.media__item { border-bottom: 1px solid var(--line); }
.media__link {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding-block: 26px;
  transition: color 0.25s var(--ease);
}
.media__link:hover { color: var(--teal-deep); }
.media__source { font-size: 0.88rem; color: var(--muted); }
.media__title { font-family: var(--font-text); font-size: 1.05rem; font-weight: 500; line-height: 1.45; }
.media__go { font-size: 0.85rem; color: var(--teal-deep); font-weight: 600; white-space: nowrap; }

/* --------------------------------------------------------------------------
   11. Вопросы и ответы
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.2s var(--ease);
}
.faq__q:hover { color: var(--teal-deep); }
.faq__sign { position: relative; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 5px; }
.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  background: var(--teal);
  transition: transform 0.3s var(--ease);
}
.faq__sign::before { top: 8px; left: 0; width: 18px; height: 1.5px; }
.faq__sign::after { left: 8px; top: 0; width: 1.5px; height: 18px; }
.faq__item.is-open .faq__sign::after { transform: scaleY(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 24px; color: var(--muted); max-width: 68ch; }

.faq__aside {
  margin-top: 36px;
  background: var(--surface-deep);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 34px 32px;
}
.faq__aside h3 { font-size: 1.5rem; color: #fff; }
.faq__aside p { margin-top: 14px; color: rgba(255, 255, 255, 0.74); font-size: 0.95rem; }
.faq__aside .btn { margin-top: 24px; }

/* --------------------------------------------------------------------------
   12. Контакты
   -------------------------------------------------------------------------- */
.contacts__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 72px); }
.contacts__title { font-size: var(--step-h2); }
.contacts__text { margin-top: 20px; color: var(--muted); max-width: 46ch; font-size: var(--step-lead); }

.contacts__direct { display: grid; align-self: start; gap: 2px; border-top: 1px solid var(--line); }
.contacts__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.contacts__row:hover { color: var(--teal-deep); }
.contacts__row-label { font-size: 0.85rem; color: var(--muted); }
.contacts__row-value { font-weight: 600; font-size: 1rem; }

.contacts__place { margin-top: 26px; font-size: 0.92rem; color: var(--muted); }
.contacts__booking { margin-top: 14px; font-size: 0.92rem; color: var(--ink-soft); }
.contacts__booking .link { white-space: nowrap; }

/* --------------------------------------------------------------------------
   13. Подвал
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 56px 34px;
}
.site-footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.footer__desc { margin-top: 12px; font-size: 0.9rem; max-width: 38ch; }
.footer__col-title { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 14px; }
.footer__list { display: grid; gap: 10px; font-size: 0.92rem; }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   14. Появление первого экрана
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); }
.is-ready .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.is-ready .reveal:nth-child(2) { transition-delay: 0.08s; }
.is-ready .reveal:nth-child(3) { transition-delay: 0.16s; }

/* --------------------------------------------------------------------------
   15. Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'figure' 'content' 'meta';
  }
  .hero__meta { margin-top: 32px; }
  .hero__figure { justify-self: center; max-width: 460px; }
  .hero__inner { padding-top: clamp(28px, 4vw, 48px); }
  .hero__content { margin-top: 8px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 420px; }
  .faq__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    z-index: 55;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav__link--cta { display: block; border-bottom: 0; color: var(--teal-deep); font-weight: 600; }
  .nav__link::after { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .hero__badge { display: none; }
  .media__link { grid-template-columns: 1fr; gap: 8px; }
  .media__go { display: none; }
  .expertise__list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .projects__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

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