/* ============================================================
   ЗВОНКО — дизайн-система (айдентика как на zvonko37.ru)
   Палитра: изумруд #14372c · золото #775221 / #e7c890 · крем #f9f5eb
   Шрифты: Cormorant Garamond (заголовки) + Onest (текст), self-hosted
   ============================================================ */

/* ---------- фирменные шрифты ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/heading-cyr.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/heading-lat.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/italic-cyr.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/italic-lat.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/body-cyr.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/body-lat.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Палитра бренда */
  --cream: #f9f5eb;
  --sand: #f0e9db;
  --paper: #fffcf4;
  --ink: #14372c;
  --deep: #0e3025;
  --darker: #0b281f;
  --muted: #4e5c52;
  --gold: #775221;
  --light-gold: #e7c890;
  --line: #d9cebb;

  /* Роли */
  --bg: var(--cream);
  --accent: var(--gold);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Onest", Arial, sans-serif;

  --gap: clamp(20px, 4.4vw, 72px);
  --maxw: 1380px;
  --radius: 999px;

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

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
dl, dd { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--ink); color: var(--cream); }

/* ---------- типографика ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(3rem, 5.6vw, 6.1rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.5rem, 4.9vw, 5.2rem); }
h3 { font-size: clamp(1.7rem, 2.3vw, 2.6rem); letter-spacing: -0.02em; }

h1 em, h2 em, h3 em {
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
}

p { color: var(--muted); }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}
.muted { color: var(--muted); }

/* eyebrow — как на zvonko37.ru: золото, капс, линия слева */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.eyebrow--light { color: var(--light-gold); }
.eyebrow--plain::before { display: none; }

.gold-rule {
  width: 68px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 24px;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.section { padding-block: clamp(62px, 8.4vw, 122px); }
.section--tight { padding-block: clamp(46px, 6vw, 88px); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--deep {
  background: var(--deep);
  color: var(--cream);
}
.section--deep .lead,
.section--deep p { color: rgba(249, 245, 235, 0.76); }
.section--deep .eyebrow { color: var(--light-gold); }
.section--deep h2,
.section--deep h3 { color: var(--cream); }
.section--deep h2 em { color: var(--light-gold); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4.6vw, 64px);
}
.section-head__text { max-width: 64ch; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
  padding: 0.42rem 0.48rem 0.42rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.05em;
  line-height: 1;
}

.btn-dark {
  color: var(--paper);
  border-color: #153e31;
  background: #173c30;
  box-shadow: 0 4px 10px #14372c22;
}
.btn-dark:hover { background-color: #285543; }

.btn-gold {
  color: var(--darker);
  background: linear-gradient(115deg, #fae9c4, #e8c588);
  border-color: #aa8249;
  box-shadow: 0 4px 12px #6747171a;
}
.btn-gold:hover { background: #f4d9a8; }

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: #8d826a;
  padding-inline-end: 1.08rem;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn-light {
  color: var(--darker);
  background: var(--paper);
  border-color: #cbb98f;
}
.btn-light:hover { background: var(--light-gold); border-color: var(--light-gold); }

.btn-sm { min-height: 42px; font-size: 0.8rem; padding-left: 0.95rem; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  font-size: 0.78rem;
  color: var(--muted);
}
.header-top-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.header-top-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}
.header-top-links { display: flex; align-items: center; gap: 18px; }
.header-top-links a { color: var(--ink); transition: color 0.25s ease; }
.header-top-links a:hover { color: var(--gold); }
.header-top-links a + a {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 42px);
  min-height: 77px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  flex: 0 0 auto;
}
.wordmark img { width: 126px; height: auto; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  margin-inline-start: auto;
}
.desktop-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
}
.desktop-nav a:hover { color: var(--gold); }
.desktop-nav a.is-active { color: var(--gold); }
.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .desktop-nav {
    position: fixed;
    inset: 113px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gap) 26px;
    margin-inline-start: 0;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    visibility: hidden;
  }
  .desktop-nav.is-open { transform: translateY(0); visibility: visible; }
  .desktop-nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }
  .desktop-nav a.is-active::after { display: none; }
  .burger { display: flex; margin-inline-start: auto; }
  .header-inner .btn { display: none; }
  .header-top-links a:nth-child(2) { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 6.8vw, 100px) clamp(48px, 6.8vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 5.5vw, 84px);
  align-items: center;
}
.hero__title { margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--ink);
}
.hero__stat span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 14px 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.hero__frame {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--light-gold);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
  .hero__frame { display: none; }
}

/* ---------- бегущая строка ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 16px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--sand);
}
.marquee__track { display: inline-block; animation: marquee 44s linear infinite; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 46px;
  color: var(--ink);
}
.marquee span::after { content: "·"; color: var(--gold); margin-left: 46px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- карточки команды ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: clamp(16px, 2.1vw, 30px);
}

/* превью команды на главной — ровно четыре в ряд */
.team-grid--preview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .team-grid--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid--preview { grid-template-columns: 1fr; } }

.person-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 3 / 4;
}
.person-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.3) contrast(1.03);
}
.person-card:hover .person-card__img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1);
}
.person-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 40, 31, 0.88) 0%,
    rgba(11, 40, 31, 0.42) 34%,
    rgba(11, 40, 31, 0) 64%
  );
}
.person-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 22px;
  color: var(--paper);
}
.person-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
}
.person-card__role {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gold);
}
.person-card__hint {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(249, 245, 235, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  color: var(--cream);
}
.person-card:hover .person-card__hint { opacity: 1; transform: translateY(0); }

/* ---------- фильтры ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 46px); }
.filter {
  padding: 9px 20px;
  border: 1px solid #b8a883;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.filter:hover { background: var(--sand); border-color: var(--gold); color: var(--ink); }
.filter.is-active { background: var(--sand); border-color: var(--gold); color: var(--gold); }

.team-empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- страница фотографа ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; }

.profile__media {
  position: relative;
  min-height: 80vh;
  background: var(--sand);
  overflow: hidden;
}
.profile__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.35); }

.profile__nameplate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 3.6vw, 52px);
  background: linear-gradient(to top, rgba(11, 40, 31, 0.92), rgba(11, 40, 31, 0));
  color: var(--cream);
}
.profile__nameplate .eyebrow { color: var(--light-gold); }
.profile__nameplate h1 {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.profile__panel {
  padding: clamp(34px, 4.4vw, 72px) clamp(24px, 4.2vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.profile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tag {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}
.tag--gold { border-color: #b8a883; color: var(--gold); }

.profile__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 30px 0;
}
.fact { background: var(--cream); padding: 16px 18px; }
.fact dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.fact dd {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.profile__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.profile__nav a {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.profile__nav a:hover { color: var(--gold); }
.profile__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

@media (max-width: 980px) {
  .profile { grid-template-columns: 1fr; }
  .profile__media { min-height: 64vh; }
  .profile__panel { padding: 40px var(--gap) 56px; }
}

/* ---------- история ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.story__title { position: sticky; top: 130px; }
.story__body p { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.story__body p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 0.78;
  padding: 8px 14px 0 0;
  color: var(--gold);
}
.story__quote {
  margin: 28px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; }
  .story__title { position: static; }
}

/* ---------- карточки-детали ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.detail-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: var(--cream);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.section--paper .detail-card { background: var(--paper); }
.detail-card:hover { border-color: #b8a883; transform: translateY(-4px); }
.detail-card h4 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.detail-card p { font-size: 0.92rem; }
.detail-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 14px;
}

/* ---------- семейный блок ---------- */
.family {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
}
.family__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.family__media img { width: 100%; height: 100%; object-fit: cover; }
.family__caption { margin-top: 12px; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } }

/* ---------- портфолио ---------- */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  cursor: zoom-in;
}
.shot:nth-child(6n + 1) { grid-column: span 2; aspect-ratio: 3 / 2; }
.shot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.7);
}
.shot:hover .shot__img { transform: scale(1.05); filter: saturate(1); }
.shot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px 18px;
  background: linear-gradient(to top, rgba(11, 40, 31, 0.86), transparent);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  text-align: left;
}
.shot:hover .shot__cap { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .shot:nth-child(6n + 1) { grid-column: span 1; aspect-ratio: 3 / 4; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 40, 31, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(249, 245, 235, 0.35);
  color: var(--cream);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(249, 245, 235, 0.14); }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__nav--prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(249, 245, 235, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- прайс ---------- */
.price-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.price-card { border: 1px solid var(--line); padding: 30px 26px; background: var(--paper); }
.price-card h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.price-card__note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.price-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 0.86rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: 0; }
.price-card__value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---------- контакты ---------- */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact { background: var(--cream); padding: 24px 22px; transition: background 0.3s ease; }
.contact:hover { background: var(--sand); }
.contact dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact dd { margin: 0; font-size: 0.95rem; color: var(--ink); }
.contact dd a { border-bottom: 1px solid var(--light-gold); }
.contact dd a:hover { color: var(--gold); }

/* ---------- CTA ---------- */
.cta {
  background: var(--darker);
  color: var(--cream);
  padding: clamp(58px, 8vw, 116px) 0;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -34%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(231, 200, 144, 0.22), transparent 62%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta h2 em { color: var(--light-gold); }
.cta .lead { color: rgba(249, 245, 235, 0.76); margin: 20px auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------- футер ---------- */
.site-footer {
  padding-block: 30px;
  background: var(--darker);
  color: var(--paper);
  border-top: 1px solid #506256;
}
.footer-top,
.footer-bottom,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.footer-top { justify-content: space-between; padding-bottom: 18px; }
.footer-bottom {
  justify-content: space-between;
  border-top: 1px solid #2c4739;
  padding-top: 16px;
  font-size: 0.8rem;
  color: #dedbcc;
}
.footer-links a,
.footer-contacts a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.footer-contacts { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.footer-contacts a { color: var(--light-gold); }
.footer-contacts a:hover { color: var(--paper); }
.footer-legal { color: #c9c6b6; font-size: 0.76rem; flex-basis: 100%; }
.footer-legal a { color: var(--light-gold); }
.footer-demo {
  border: 1px dashed rgba(231, 200, 144, 0.5);
  color: var(--light-gold);
  padding: 6px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

@media (max-width: 700px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- появление ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- утилиты ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(30px, 4vw, 54px); }
.mt-xl { margin-top: clamp(48px, 6.5vw, 88px); }

/* ---------- шапка внутренней страницы ---------- */
.page-head {
  padding-block: clamp(44px, 6vw, 92px) clamp(26px, 3.6vw, 52px);
  border-bottom: 1px solid var(--line);
}
.page-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.page-head h1 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.page-head__count {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  font-weight: 700;
  color: var(--line);
  line-height: 0.8;
}

/* ---------- прочее ---------- */
.notice { padding: 90px 0; text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(20px, 2.4vw, 38px);
}
.step { border-top: 2px solid var(--gold); padding-top: 18px; }
.step b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 8px;
}
.step h4 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 0.9rem; }
