:root {
  --bg: #0a0a0c;
  --bg-2: #0e0e12;
  --panel: #141419;
  --gold: #c9a227;
  --gold-2: #e9cf7a;
  --gold-deep: #9c7c16;
  --gold-dim: rgba(201, 162, 39, 0.35);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3efe6;
  --text-soft: #d8d2c4;
  --muted: #a49e90;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* лёгкая зернистая текстура поверх всего сайта */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: #0a0a0c;}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262c; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

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

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

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Типографика ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

h2 { font-size: clamp(1.7rem, 4vw, 3rem); letter-spacing: 0.01em; }

h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: 0.01em; }

/* ---------- Метки, теги, бейджи ---------- */

.hero__label,
.section-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.section-head__label--center { justify-content: center; }

.section-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  padding: 5px 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.tag--gold { color: var(--gold-2); border-color: var(--gold-dim); }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--gold-dim);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.badge:hover { background: var(--gold); color: #0a0a0c; transform: translateY(-2px); }

.badge--ghost { border-color: var(--line); color: var(--muted); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201, 162, 39, 0.3);
}

.btn--small { padding: 12px 22px; font-size: 0.72rem; }

.btn--large { padding: 22px 52px; font-size: 0.9rem; }

.btn--ghost {
  background: transparent;
  color: var(--gold);
}

.btn--ghost:hover {
  background: rgba(201, 162, 39, 0.08);
  box-shadow: none;
}

/* ---------- Шапка ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  transition: background 0.25s ease, color 0.25s ease;
}

.logo:hover .logo__mark { background: var(--gold); color: #0a0a0c; }

.logo__img {
  display: block;
  width: 46px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.logo__text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.logo__text em { font-style: normal; color: var(--gold-2); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover { color: var(--gold-2); }

.nav a:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
}

.burger span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Главный экран ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -10%, rgba(201, 162, 39, 0.16), transparent 62%),
    radial-gradient(760px 480px at 4% 110%, rgba(201, 162, 39, 0.09), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(255, 255, 255, 0.028) 119px 120px),
    var(--bg);
}

.hero__watermark {
  position: absolute;
  right: -1%;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(6rem, 13vw, 12rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 39, 0.16);
  user-select: none;
  pointer-events: none;
}

.hero__inner { padding: 150px 0 90px; position: relative; z-index: 1; }

.hero__title {
  margin: 26px 0 28px;
  font-size: clamp(1.9rem, 6.4vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0;
}

.hero__title span { display: block; }

.hero__title-gold {
  background: linear-gradient(115deg, var(--gold-2) 5%, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 560px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-soft);
}

.hero__fact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__fact::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__cta { margin-top: 38px; }

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 72px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 46px;
  background: var(--gold-dim);
  overflow: hidden;
}

.hero__scroll i::after {
  content: '';
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrollhint 1.8s ease-in-out infinite;
}

@keyframes scrollhint {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* ---------- Бегущая строка ---------- */

.marquee-wrap {
  overflow: hidden;
  padding: 30px 0;
  background: var(--bg);
}

.marquee {
  background: linear-gradient(90deg, var(--gold-2), var(--gold) 50%, var(--gold-2));
  transform: rotate(-1.4deg) scale(1.02);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 15px 0;
  overflow: hidden;
}

.marquee--right { transform: rotate(1.4deg) scale(1.02); }

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0c;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Секции ---------- */

.section {
  padding: 110px 0;
  position: relative;
  border-top: 1px solid var(--line);
}

.section-head { margin-bottom: 60px; }

/* ---------- Обо мне ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 70px;
  align-items: start;
}

.frame {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
}

.frame::before,
.frame::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.frame__inner {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(320px 320px at 50% 36%, rgba(201, 162, 39, 0.14), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.03) 39px 40px),
    var(--panel);
  border: 1px solid var(--line);
}

.frame__mono {
  font-family: var(--display);
  font-weight: 800;
  font-size: 4.4rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.frame__note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__photo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.about__text > p { color: var(--text-soft); margin-bottom: 18px; max-width: 600px; }

.about__lead {
  color: var(--text) !important;
  font-size: 1.15rem;
  font-weight: 600;
}

.about__list {
  list-style: none;
  margin: 30px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.about__list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-soft);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.about__list li span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ---------- Фото ---------- */

.frame__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  filter: grayscale(0.45) contrast(1.05);
  transition: filter 0.4s ease;
}

.frame:hover .frame__img { filter: grayscale(0) contrast(1); }

.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(0.55);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.photo-strip img:hover {
  filter: grayscale(0);
  transform: translateY(-4px);
}

/* ---------- Слайдер стартов ---------- */

.section-sub {
  margin-top: 22px;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--muted);
}

.slider { position: relative; }

.slider__viewport {
  position: relative;
  height: clamp(340px, 62vh, 680px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.slider__slide.is-active { opacity: 1; pointer-events: auto; }

.slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
}

.slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 24px 16px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.85));
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.slider__btn:hover { background: var(--gold); color: #0a0a0c; }

.slider__btn--prev { left: 16px; }

.slider__btn--next { right: 16px; }

.slider__counter {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.slider__current { color: var(--gold); }

/* ---------- Услуги: строки ---------- */

.services__rows { border-bottom: 1px solid var(--line); }

.srow {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 76px 1fr auto 58px;
  gap: 30px;
  align-items: center;
  padding: 40px 20px;
  border-top: 1px solid var(--line);
}

.srow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--gold-2), var(--gold) 60%, var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.srow:hover::before { transform: scaleX(1); }

.srow__num {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  transition: color 0.3s ease;
}

.srow__main h3 { transition: color 0.3s ease; }

.srow__main p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.srow__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.srow__link {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 1.2rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.srow:hover .srow__num { color: rgba(10, 10, 12, 0.75); }

.srow:hover .srow__main h3 { color: #0a0a0c; }

.srow:hover .srow__main p { color: rgba(10, 10, 12, 0.72); }

.srow:hover .tag { border-color: rgba(10, 10, 12, 0.35); color: #0a0a0c; }

.srow:hover .srow__link {
  background: #0a0a0c;
  border-color: #0a0a0c;
  color: var(--gold);
  transform: rotate(45deg);
}

/* ---------- Отзывы ---------- */

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review {
  position: relative;
  padding: 36px 30px 30px;
  background: linear-gradient(165deg, #15151b, #0d0d11);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review:hover { transform: translateY(-6px); border-color: var(--gold-dim); }

.review__label {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.review__text {
  position: relative;
  padding-top: 30px;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.review__text::before {
  content: '«';
  position: absolute;
  top: -16px;
  left: -4px;
  font-family: var(--display);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.6;
}

.review__author {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Контакты ---------- */

.contact { overflow: hidden; }

.contact__inner { max-width: 720px; margin: 0 auto; text-align: center; }

.contact__title {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  font-weight: 800;
}

.contact__title em {
  font-style: normal;
  background: linear-gradient(115deg, var(--gold-2) 5%, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact__text {
  margin: 28px auto 40px;
  max-width: 480px;
  color: var(--text-soft);
}

.contact__note {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.soc {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 11px 22px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.soc:hover {
  background: var(--gold);
  color: #0a0a0c;
  transform: translateY(-2px);
}

/* ---------- Страница сертификатов ---------- */

.page-head { padding: 165px 0 10px; }

.page-title {
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 800;
}

.page-lead {
  margin: 22px 0 0;
  max-width: 600px;
  color: var(--text-soft);
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.certs__grid .frame { padding: 10px; }

.cert a { display: block; }

.cert__name {
  margin-top: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.cert a:hover .cert__name { color: var(--gold-2); }

.cert__img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  filter: grayscale(0.25);
  transition: filter 0.35s ease;
}

.cert a:hover .cert__img { filter: grayscale(0); }

.back-link { text-align: center; margin-top: 64px; }

/* ---------- Подвал ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 50% 118%, rgba(201, 162, 39, 0.1), transparent 65%),
    var(--bg);
}

.footer__banner {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 64px;
  border: 1px solid var(--gold-dim);
  outline: 1px solid var(--line);
  outline-offset: 5px;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer__copy {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer__up {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer__up:hover { color: var(--gold-2); border-color: var(--gold); }

/* ---------- Анимация появления ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reviews__grid .review:nth-child(2) { transition-delay: 0.12s; }

.reviews__grid .review:nth-child(3) { transition-delay: 0.24s; }

.services__rows .srow:nth-child(2) { transition-delay: 0.1s; }

.services__rows .srow:nth-child(3) { transition-delay: 0.2s; }

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

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }

  .reviews__grid .review:nth-child(3) { grid-column: span 2; }

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

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

  .burger { display: flex; }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 12px 0 26px;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }

  body.nav-open .nav { transform: none; }

  .nav a { padding: 14px 0; font-size: 0.82rem; }

  .hero__watermark { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }

  .about__photo { max-width: 440px; }

  .photo-strip { grid-template-columns: 1fr 1fr; }

  .srow {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 20px;
    padding-right: 84px;
  }

  .srow__link { position: absolute; top: 28px; right: 20px; width: 46px; height: 46px; }

  .srow__tags { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }

  .hero__inner { padding: 130px 0 70px; }

  .hero__title { font-size: 7vw; }

  .hero__cta .btn { width: 100%; }

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

  .photo-strip { grid-template-columns: 1fr; margin-top: 48px; }

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

  .reviews__grid .review:nth-child(3) { grid-column: auto; }

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

  .btn--large { width: 100%; padding: 20px 24px; }

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