/* =====================================================================
   ФЛОРИДИЗ — «Светлый журнал / Bright Editorial»
   Палитра: бумага #FBFAF7 · чернила #1A1A18 · терракота #C0613B · шалфей #7B8A5A
   Шрифты: Unbounded (дисплей) · Manrope (текст) · Spectral (серив-акценты)
   ===================================================================== */

/* ----------------------------- Токены ----------------------------- */
:root {
  --paper:      #FBFAF7;
  --paper-2:    #F3F1EA;   /* мягкий блок */
  --ink:        #1A1A18;
  --ink-soft:   #4A483F;
  --line:       #E2DED3;
  --clay:       #C0613B;   /* акцент */
  --clay-deep:  #9E4B2B;
  --sage:       #7B8A5A;   /* вторичный */
  --sage-deep:  #5E6C42;

  --shell:      1280px;
  --gut:        clamp(20px, 5vw, 64px);

  --f-display:  "Unbounded", system-ui, sans-serif;
  --f-text:     "Manrope", system-ui, sans-serif;
  --f-serif:    "Spectral", Georgia, serif;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --radius:     14px;
}

/* ----------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-text);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------- Контейнер ---------------------------- */
.shell {
  width: min(100% - calc(var(--gut) * 2), var(--shell));
  margin-inline: auto;
}

/* --------------------------- Типографика -------------------------- */
.eyebrow,
.section__label {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clay);
}
.section__num {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  font-size: .95em;
}

.section__title {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-size: clamp(2rem, 6vw, 4.2rem);
  margin-top: .35em;
}
.section__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
  letter-spacing: -.01em;
}
.clay { color: var(--clay); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* --------------------------- Кнопки ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(160,75,43,.6); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { transform: translateY(-2px); background: #000; }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; color: var(--clay-deep);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
  width: fit-content;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* =====================================================================
   ШАПКА
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; object-fit: contain; }
.brand__word {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.01em;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a {
  font-weight: 600; font-size: .96rem;
  position: relative; padding-block: 4px;
  color: var(--ink-soft);
  transition: color .25s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--clay);
  transition: width .3s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; }

/* Бургер */
.burger {
  display: none;
  width: 46px; height: 46px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; border-radius: 12px;
  background: var(--ink); z-index: 120;
}
.burger span {
  display: block; width: 22px; height: 2px; background: var(--paper);
  border-radius: 2px; transition: transform .35s var(--ease), opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================================
   МОБИЛЬНОЕ МЕНЮ — full-screen overlay, off-screen в закрытом виде
   ===================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;                 /* full-width: важно, чтобы не «проступало» сбоку */
  width: 100%;
  z-index: 110;
  background: var(--ink);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  visibility: hidden;       /* убираем из flow/tab в закрытом виде */
  overscroll-behavior: contain;
}
.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-nav__inner {
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px;
  padding: 96px var(--gut) 48px;
}
.mobile-nav__link {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 9vw, 2.8rem);
  letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 18px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-nav__num {
  font-family: var(--f-text);
  font-size: .8rem; font-weight: 700;
  color: var(--clay);
  letter-spacing: .1em;
}
.mobile-nav__cta { margin-top: 24px; align-self: flex-start; }
.mobile-nav__meta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 24px;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

body.nav-open { overflow: hidden; }

/* =====================================================================
   HERO (split)
   ===================================================================== */
.hero { padding-top: clamp(28px, 5vw, 56px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(24px, 4vw, 48px);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  margin: .25em 0 .5em;
}
.hero__title em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  color: var(--sage-deep);
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 32px;
}
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--f-display);
  font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1; color: var(--clay);
}
.hero__stats span {
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 8px;
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 100px;
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px -16px rgba(0,0,0,.5);
}
.hero__caption-num { color: var(--clay); }

/* Бегущая строка */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--clay);
  color: #fff;
  margin-top: clamp(28px, 4vw, 48px);
}
.marquee__track {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
  padding-block: 14px;
  animation: marquee 38s linear infinite;
}
.marquee__track span { padding-inline: 18px; }
.marquee__sep { color: rgba(255,255,255,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   Секции — общий ритм
   ===================================================================== */
.section { padding-block: clamp(64px, 9vw, 130px); }

/* ----------------------------- О студии --------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.about__media { position: relative; }
.about__portrait {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 4/5; object-fit: cover;
}
.about__inset {
  position: absolute; right: -8px; bottom: -28px;
  width: 42%;
  border-radius: var(--radius);
  border: 6px solid var(--paper);
  aspect-ratio: 4/5; object-fit: cover;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.5);
}
.about__text > * + * { margin-top: 1.1em; }
.about__text p { color: var(--ink-soft); }
.signature {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink) !important;
}

/* ----------------------------- Услуги ----------------------------- */
.services {
  background: var(--ink);
  color: var(--paper);
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: var(--gut);
}
@media (max-width: 720px) { .services { margin-inline: 0; border-radius: 0; } }

.section__label--light { color: #E69A77; }
.section__label--light .section__num { color: var(--paper); }
.section__title--light { color: var(--paper); }
.section__title--light em { color: #E69A77; }

.services__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.services__intro {
  margin-top: 24px;
  color: rgba(251,250,247,.65);
  font-size: 1.1rem;
}

.svc-index { border-top: 1px solid rgba(255,255,255,.14); }
.svc-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(26px, 3.5vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .4s var(--ease), padding-left .4s var(--ease);
}
.svc-row:hover {
  background: rgba(255,255,255,.04);
  padding-left: 16px;
}
.svc-row__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--clay);
  line-height: 1;
}
.svc-row__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -.01em;
  margin-bottom: .5em;
}
.svc-row__text { color: rgba(251,250,247,.78); max-width: 64ch; }
.svc-row__extra {
  margin-top: 14px;
  color: rgba(230,154,119,.92);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.02rem;
  max-width: 64ch;
}

/* ----------------------------- Работы ----------------------------- */
.work__head {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.work__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 20px; border-radius: 100px;
  font-weight: 700; font-size: .9rem;
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-soft);
  transition: background .25s, color .25s, box-shadow .25s, transform .25s;
}
.chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); box-shadow: none; }

/* masonry через CSS columns */
.gallery {
  column-count: 3;
  column-gap: 18px;
}
@media (max-width: 900px) { .gallery { column-count: 2; } }
@media (max-width: 540px) { .gallery { column-count: 1; } }

.gallery__item {
  break-inside: avoid;
  margin-bottom: 18px;
}
.gallery__item.is-hidden { display: none; }
.gallery__btn {
  display: block; width: 100%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.gallery__btn img {
  width: 100%; height: auto; display: block;
  transition: transform .6s var(--ease), filter .5s;
}
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 16px 14px;
  display: flex; flex-direction: column; gap: 2px;
  color: #fff; font-weight: 700; font-size: .95rem;
  text-align: left;
  background: linear-gradient(to top, rgba(20,20,18,.82), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease);
}
.gallery__btn:hover .gallery__cap,
.gallery__btn:focus-visible .gallery__cap { opacity: 1; transform: translateY(0); }
.gallery__cat {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #F0C2AD; font-weight: 700;
}

/* ----------------------------- Процесс ---------------------------- */
.process__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  background: var(--paper);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .35s;
}
.step:hover { background: var(--paper-2); }
.step__num {
  font-family: var(--f-display);
  font-weight: 800; font-size: 2.4rem;
  color: var(--clay); line-height: 1;
}
.step__title {
  font-family: var(--f-display);
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: -.01em;
}
.step p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ----------------------------- Эко -------------------------------- */
.eco { background: var(--paper-2); }
.eco__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.eco__intro .lede { margin-top: 20px; }
.eco__list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.eco__list li {
  background: var(--paper);
  padding: 26px;
  display: flex; flex-direction: column; gap: 8px;
}
.eco__icon {
  font-size: 1.6rem; color: var(--sage); line-height: 1;
}
.eco__list strong { font-weight: 800; font-size: 1.02rem; }
.eco__list span:last-child { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 560px) { .eco__list { grid-template-columns: 1fr; } }

/* ----------------------------- Отзывы ----------------------------- */
.reviews {
  background: var(--sage-deep);
  color: var(--paper);
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: var(--gut);
}
@media (max-width: 720px) { .reviews { margin-inline: 0; border-radius: 0; } }
.reviews .section__label--light { color: #D6DDB8; }
.reviews .section__title--light em { color: #D6DDB8; }
.reviews__head { margin-bottom: clamp(36px, 5vw, 56px); }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.quote blockquote {
  font-family: var(--f-serif);
  font-size: 1.3rem; line-height: 1.4; font-weight: 400;
}
.quote figcaption { font-size: .9rem; color: rgba(255,255,255,.75); }
.quote figcaption span { font-weight: 800; color: var(--paper); }
@media (max-width: 860px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ----------------------------- Контакты --------------------------- */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact__info .lede { margin-top: 20px; }
.contact__list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.contact__list li {
  display: flex; gap: 18px; align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.contact__k {
  min-width: 96px;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--clay-deep);
}
.contact__list a, .contact__list span:last-child { font-weight: 600; font-size: 1.1rem; }
.contact__list a:hover { color: var(--clay); }
.contact__social {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px;
}
.contact__social a {
  font-weight: 700; font-size: .9rem;
  padding: 8px 18px; border-radius: 100px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background .25s, color .25s, box-shadow .25s;
}
.contact__social a:hover { background: var(--ink); color: var(--paper); }

/* Форма */
.form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
}
.form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field__label {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-soft);
}
.field__input {
  font: inherit;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.field__input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(192,97,59,.16);
}
.field__input::placeholder { color: #A6A296; }
.field--invalid .field__input { border-color: #C0392B; }
.field__error { color: #C0392B; font-size: .82rem; min-height: 0; }
.field--invalid .field__error::before { content: attr(data-msg); }
.form__submit { width: 100%; margin-top: 8px; }
.form__note {
  margin-top: 14px; font-weight: 700; text-align: center;
  min-height: 1.2em;
}
.form__note.is-ok { color: var(--sage-deep); }
.form__note.is-err { color: #C0392B; }

/* =====================================================================
   ФУТЕР
   ===================================================================== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(48px, 7vw, 80px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 36ch; }
.footer__brand p { color: rgba(251,250,247,.7); }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: rgba(251,250,247,.8); font-weight: 600; transition: color .2s; }
.footer__nav a:hover { color: var(--clay); }
.footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__contacts a { font-weight: 700; }
.footer__contacts a:hover { color: var(--clay); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  padding-block: 26px;
  color: rgba(251,250,247,.6);
  font-size: .9rem;
}
.footer__bottom p:first-child { font-family: var(--f-serif); font-style: italic; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* =====================================================================
   ЛАЙТБОКС
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,16,14,.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
.lightbox__cap {
  color: var(--paper); font-weight: 600; font-size: 1rem;
  text-align: center;
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 2rem; line-height: 1;
  color: var(--paper);
  background: rgba(255,255,255,.1);
  transition: background .25s, transform .25s;
}
.lightbox__close:hover { background: var(--clay); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  font-size: 2rem; color: var(--paper);
  background: rgba(255,255,255,.1);
  transition: background .25s;
}
.lightbox__nav:hover { background: var(--clay); }
.lightbox__nav--prev { left: clamp(8px, 3vw, 32px); }
.lightbox__nav--next { right: clamp(8px, 3vw, 32px); }

/* =====================================================================
   Reveal-анимации
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Адаптив
   ===================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16/11; order: -1; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .about__inset { width: 38%; }
  .eco__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .svc-row { grid-template-columns: 56px 1fr; }
  .hero__stats { gap: 24px; }
}

/* =====================================================================
   Уважение к prefers-reduced-motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
