/* ==========================================================================
   МЕТАФОРА · Фотозоны — дизайн-система
   Палитра и типографика сняты с metaphora.pro
   ========================================================================== */

:root {
  --bg:            #0d081a;
  --bg-2:          #120c1d;
  --bg-3:          #1a1229;
  --line:          rgba(255, 255, 255, .10);
  --line-strong:   rgba(255, 255, 255, .22);

  --txt:           #ffffff;
  --txt-dim:       #c7c7c7;
  --txt-mute:      #8b849b;

  --violet:        #a771fe;
  --violet-2:      #9985ff;
  --lime:          #ccff33;

  --r:             18px;
  --r-sm:          10px;
  --maxw:          1280px;
  --pad:           clamp(20px, 4vw, 56px);

  --ease:          cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .font-display {
  font-family: 'Prosto One', 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
}

h1 { font-size: clamp(30px, 6.2vw, 76px); overflow-wrap: break-word; }
h2 { font-size: clamp(26px, 4.4vw, 54px); overflow-wrap: break-word; }
h3 { font-size: clamp(20px, 2.2vw, 28px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--violet);
}

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--txt-dim);
  max-width: 62ch;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head > div { max-width: 720px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: 'Prosto One', sans-serif;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--violet); color: #12081f; }
.btn--primary:hover { background: var(--lime); color: #101a00; }

.btn--lime { background: var(--lime); color: #101a00; }
.btn--lime:hover { background: #ffffff; }

.btn--ghost { border-color: var(--line-strong); color: var(--txt); }
.btn--ghost:hover { border-color: var(--violet); background: rgba(167, 113, 254, .12); }

.btn--sm { padding: 12px 22px; font-size: 14px; }

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

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s var(--ease), padding .3s var(--ease),
              border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(13, 8, 26, .86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.logo img {
  width: 34px;
  height: auto;
  flex: none;
}
.logo span {
  font-family: 'Prosto One', sans-serif;
  font-size: 19px;
  letter-spacing: .2em;
  line-height: 1;
}
.logo small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-top: 5px;
}

.nav { display: flex; gap: clamp(14px, 1.8vw, 30px); margin-left: auto; }
.nav__extra { display: none; }
.nav a {
  font-size: 15px;
  color: var(--txt-dim);
  transition: color .2s var(--ease);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width .3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.hdr__tel {
  font-family: 'Prosto One', sans-serif;
  font-size: 15px;
  white-space: nowrap;
}
.hdr__tel:hover { color: var(--lime); }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.burger i {
  position: absolute;
  left: 12px; right: 12px; height: 1.5px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 26px; }
.burger.is-open i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open i:nth-child(2) { opacity: 0; }
.burger.is-open i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: .5;
}
.hero__glow--v {
  width: 620px; height: 620px;
  background: var(--violet);
  top: -18%; right: -10%;
  animation: float 16s ease-in-out infinite;
}
.hero__glow--l {
  width: 420px; height: 420px;
  background: var(--lime);
  bottom: -22%; left: -8%;
  opacity: .22;
  animation: float 20s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, 40px) scale(1.12); }
}

/* Hero с фотографией на фоне */
.hero--photo { align-items: flex-end; padding-bottom: clamp(48px, 7vw, 90px); }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(13,8,26,.72) 42%, rgba(13,8,26,.35) 100%),
    linear-gradient(to right, rgba(13,8,26,.82), transparent 70%);
}
.hero--photo .hero__glow { display: none; }

.hero__in { position: relative; z-index: 2; width: 100%; }
.hero h1 { text-transform: uppercase; max-width: 15ch; }
.hero h1 em {
  font-style: normal;
  color: var(--violet);
}
.hero__sub {
  margin: 22px 0 36px;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--txt-dim);
  max-width: 44ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 72px);
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.mark b {
  display: block;
  font-family: 'Prosto One', sans-serif;
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--lime);
  line-height: 1;
}
.mark span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--txt-mute);
  max-width: 22ch;
}

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

.ticker {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 18px 0;
  animation: slide 46s linear infinite;
}
.ticker__track span {
  font-family: 'Prosto One', sans-serif;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-mute);
  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
}
.ticker__track span::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Флагманы ---------- */

.flags { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.flag {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.flag img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .7s var(--ease);
}
.flag::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(9,5,18,.94) 8%, rgba(9,5,18,.45) 48%, transparent 78%);
  transition: background .35s var(--ease);
}
.flag:hover img { transform: scale(1.05); }
.flag:hover::after {
  background: linear-gradient(to top, rgba(23,8,45,.95) 8%, rgba(167,113,254,.32) 60%, transparent 90%);
}
.flag__body { padding: 26px 28px; position: relative; }
.flag h3 { margin-bottom: 6px; }
.flag p { color: var(--txt-dim); font-size: 14px; }

/* Плитка каталога */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s var(--ease);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(9,5,18,.92) 6%, rgba(9,5,18,.25) 55%, transparent 80%);
  transition: background .3s var(--ease);
}
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(to top, rgba(23,8,45,.94) 6%, rgba(167,113,254,.34) 65%, transparent 92%); }
.tile__t {
  padding: 18px 20px;
  font-family: 'Prosto One', sans-serif;
  font-size: 16px;
  line-height: 1.25;
}
a.tile .tile__t::after { content: ' →'; color: var(--lime); }
.tile.is-hidden { display: none; }

/* ---------- Каталог ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: none;
  color: var(--txt-dim);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--line-strong); color: #fff; }
.filter.is-active { background: var(--violet); border-color: var(--violet); color: #12081f; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
}
.card:hover {
  border-color: var(--violet);
  background: var(--bg-3);
  transform: translateY(-3px);
}
.card__tag {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
}
.card h4 {
  font-family: 'Prosto One', sans-serif;
  font-size: 18px;
  margin: 0;
}
.card p { font-size: 14px; color: var(--txt-mute); line-height: 1.45; }
.card__more {
  margin-top: auto;
  font-size: 13px;
  color: var(--lime);
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s var(--ease);
}
.card:hover .card__more { opacity: 1; transform: none; }
.card.is-hidden { display: none; }

/* ---------- Что входит ---------- */

.incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.incl__i { background: var(--bg); padding: 34px 30px; }
.incl__i b {
  display: block;
  font-family: 'Prosto One', sans-serif;
  font-size: 15px;
  color: var(--lime);
  margin-bottom: 14px;
  letter-spacing: .08em;
}
.incl__i h4 { font-family: 'Prosto One', sans-serif; font-size: 19px; margin: 0 0 10px; }
.incl__i p { font-size: 15px; color: var(--txt-dim); }

/* ---------- Кейсы ---------- */

.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.case {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.case:hover { border-color: var(--violet); transform: translateY(-3px); }
.case__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-bottom: 20px;
}
.case h4 { font-family: 'Prosto One', sans-serif; font-size: 21px; margin: 0 0 12px; }
.case p { font-size: 15px; color: var(--txt-dim); }

/* ---------- Клиенты ---------- */

.clients {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.clients div {
  background: var(--bg);
  padding: 30px 18px;
  text-align: center;
  font-family: 'Prosto One', sans-serif;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--txt-mute);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.clients div:hover { color: #fff; background: var(--bg-3); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  text-align: left;
  padding: 26px 48px 26px 0;
  font-family: 'Prosto One', sans-serif;
  font-size: clamp(17px, 1.7vw, 21px);
  cursor: pointer;
  position: relative;
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--lime); }
.faq__q::after {
  content: '+';
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--violet);
  transition: transform .3s var(--ease);
}
.faq__i.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__a p {
  padding: 0 60px 28px 0;
  color: var(--txt-dim);
  font-size: 16px;
  max-width: 78ch;
}

/* Вариант на нативном <details>: раскрывается без JS, а текст ответа
   остаётся в разметке и не прячется через max-height. */
.faq__i > summary {
  list-style: none;
  display: block;
  padding: 26px 48px 26px 0;
  color: #fff;
  font-family: 'Prosto One', sans-serif;
  font-size: clamp(17px, 1.7vw, 21px);
  cursor: pointer;
  position: relative;
  transition: color .25s var(--ease);
}
.faq__i > summary::-webkit-details-marker { display: none; }
.faq__i > summary:hover { color: var(--lime); }
.faq__i > summary::after {
  content: '+';
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--violet);
  transition: transform .3s var(--ease);
}
.faq__i[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__i > p {
  margin: 0;
  padding: 0 60px 28px 0;
  color: var(--txt-dim);
  font-size: 16px;
  max-width: 78ch;
}

/* ---------- Форма / контакты ---------- */

.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact h2 { max-width: 14ch; text-transform: uppercase; }
.contact__list { margin-top: 34px; display: grid; gap: 18px; }
.contact__list a, .contact__list p {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 17px;
  color: var(--txt-dim);
  margin: 0;
}
.contact__list b {
  font-family: 'Prosto One', sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.contact__list span { min-width: 0; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--lime); }

.form { display: grid; gap: 14px; }
.form input, .form textarea {
  width: 100%;
  padding: 17px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  transition: border-color .25s var(--ease);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet); }
.form textarea { min-height: 128px; resize: vertical; }
.form__note { font-size: 13px; color: var(--txt-mute); line-height: 1.5; }
.form__note a { color: var(--txt-dim); text-decoration: underline; }
.form__ok {
  display: none;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: rgba(204, 255, 51, .12);
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: 15px;
}
.form.is-sent .form__ok { display: block; }

/* ---------- Футер ---------- */

.ftr {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--txt-mute);
}
.ftr__in { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; }
.ftr a:hover { color: #fff; }

/* Карта ссылок. Нужна не только людям: без неё внутренние страницы
   получают по одной входящей ссылке и выглядят второстепенными. */
.ftr__map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px 40px;
  padding-bottom: 34px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.ftr__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr__col b {
  color: #fff;
  font-family: 'Prosto One', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 2px;
}
.ftr__col a { color: var(--txt-mute); transition: color .2s var(--ease); }

/* ---------- Внутренняя страница услуги ---------- */

.srv-hero {
  padding: clamp(130px, 16vw, 190px) 0 clamp(50px, 7vw, 80px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.srv-hero__glow {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  filter: blur(130px);
  background: var(--violet);
  opacity: .38;
  top: -40%; right: -8%;
  pointer-events: none;
}
/* Фото-герой страницы услуги */
.srv-hero--photo {
  min-height: min(74svh, 620px);
  display: flex;
  align-items: flex-end;
  border-bottom: 0;
}
.srv-hero--photo .srv-hero__glow { display: none; }
.srv-hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--bg) 3%, rgba(13,8,26,.74) 46%, rgba(13,8,26,.4) 100%),
    linear-gradient(to right, rgba(13,8,26,.8), transparent 72%);
}

/* Галерея */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

.crumbs { font-size: 14px; color: var(--txt-mute); margin-bottom: 26px; position: relative; z-index: 2; }
.crumbs a:hover { color: var(--lime); }
.srv-hero__in { position: relative; z-index: 2; }
.srv-hero h1 { text-transform: uppercase; max-width: 16ch; }
.srv-hero .lead { margin-top: 24px; }
.srv-hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; position: relative; z-index: 2; }
.pill {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 13px;
  color: var(--txt-dim);
}
.pill b { color: var(--lime); font-weight: 400; font-family: 'Prosto One', sans-serif; }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.cols2 > * { min-width: 0; }

.spec { border-top: 1px solid var(--line); }
.spec__row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 20px 40px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.spec__row dt { color: var(--txt-mute); margin: 0; }
.spec__row dd { margin: 0; color: var(--txt); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--txt-dim);
  font-size: 16px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

.tbl-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 16px; }
table.tbl th, table.tbl td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
table.tbl th {
  font-family: 'Prosto One', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-mute);
  background: var(--bg-2);
}
table.tbl tr:last-child td { border-bottom: 0; }

.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(34px, 5vw, 60px);
  background: linear-gradient(140deg, rgba(167,113,254,.18), rgba(204,255,51,.06));
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h3 { max-width: 20ch; text-transform: uppercase; }

/* ---------- Появление при скролле ---------- */

.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

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

@media (max-width: 1020px) {
  .flags { grid-template-columns: repeat(2, 1fr); }
  .contact__in, .cols2 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .hdr__tel { display: none; }
  .hdr .btn { display: none; }
  /* backdrop-filter у шапки делает её containing block для fixed-потомков,
     из-за чего закрытое меню оставалось видимым — на мобильных отключаем */
  .hdr.is-stuck { background: rgba(13, 8, 26, .96); backdrop-filter: none; }

  .nav {
    position: fixed;
    inset: 0;
    height: 100svh;
    visibility: hidden;
    pointer-events: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    background: rgba(13, 8, 26, .97);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
    margin: 0;
  }
  .nav.is-open { transform: none; visibility: visible; pointer-events: auto; }
  .nav a { font-family: 'Prosto One', sans-serif; font-size: 24px; color: #fff; }
  .nav .nav__extra { display: inline-flex; font-size: 19px; color: var(--lime); }
  .nav .nav__extra--btn { display: inline-flex; color: #12081f; margin-top: 6px; font-size: 16px; }
  .nav .nav__extra::after { display: none; }
  .burger { z-index: 110; }
}

@media (max-width: 620px) {
  .flags { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 1fr; gap: 4px; }
  .hero__marks { gap: 24px 36px; }
  .mark { min-width: 40%; }
}

@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:last-child { display: none; }
}
@media (max-width: 620px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile__t { padding: 12px 13px; font-size: 13px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:last-child { display: block; }
}

/* ---------- Мобильные уточнения ---------- */

@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: clamp(48px, 12vw, 80px) 0; }

  .hero { min-height: 100svh; padding-top: 96px; }
  .hero h1 { font-size: clamp(30px, 9.2vw, 46px); max-width: none; }
  .hero__sub { font-size: 16px; margin: 16px 0 26px; max-width: none; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__marks { margin-top: 34px; padding-top: 22px; gap: 18px 28px; }
  .mark { min-width: 0; flex: 1 1 28%; }
  .mark b { font-size: 28px; }
  .mark span { font-size: 12px; margin-top: 4px; }

  .sec-head { margin-bottom: 24px; gap: 16px; }
  .flags { grid-template-columns: 1fr; gap: 10px; }
  .flag { aspect-ratio: 16 / 10; }
  .flag__body { padding: 18px 20px; }
  .flag h3 { font-size: 20px; }
  .flag p { font-size: 13px; }

  .filters { gap: 7px; }
  .filter { padding: 8px 14px; font-size: 13px; }

  .incl { grid-template-columns: 1fr; }
  .incl__i { padding: 22px 20px; }

  .contact__list b { font-size: 11px; }
  .contact__list a, .contact__list p { grid-template-columns: 86px 1fr; gap: 12px; font-size: 15px; }
  .form input, .form textarea { padding: 14px 16px; font-size: 16px; }
  .btn { padding: 15px 26px; }

  .srv-hero--photo { min-height: 78svh; }
  table.tbl { min-width: 420px; font-size: 15px; }
  table.tbl th, table.tbl td { padding: 12px 16px; }
  .checklist li { font-size: 15px; }
  .pills { gap: 7px; }
  .pill { padding: 7px 13px; font-size: 12px; }
  .srv-hero__cta .btn { flex: 1 1 100%; }

  .ftr__in { gap: 10px; }
  .ftr { font-size: 13px; }
}

@media (max-width: 380px) {
  .logo span { font-size: 16px; letter-spacing: .14em; }
  .logo small { font-size: 8px; letter-spacing: .26em; }
  .logo img { width: 28px; }
}
