/* =========================================================
   UAE PROPERTIES — стили сайта
   Основные цвета меняются в :root
   ========================================================= */
:root {
  --ink: #1d252c;
  --slate: #2f3a44;
  --slate-2: #3b4751;
  --gold: #c4ad55;
  --gold-d: #a8923f;
  --bg: #ffffff;
  --soft: #f3f3f0;
  --line: #e3e3de;
  --muted: #6b7680;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 10px 30px rgba(29, 37, 44, .08);
  --head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 90px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--slate); color: #fff; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-d);
  font-weight: 700;
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold); }
.h2 {
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -.01em;
}
.h2 .gold, .hero h1 .gold { color: var(--gold); }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin-top: 16px; }
.section--dark .lead { color: rgba(255,255,255,.75); }
.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 15px;
  transition: .2s ease;
  white-space: nowrap;
  background: transparent;
  color: inherit;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-d); color: #fff; }
.btn--dark { background: var(--slate); color: #fff; }
.btn--dark:hover { background: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--gold); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--wa { background: #1f8f5f; color: #fff; }
.btn--wa:hover { background: #17734c; }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 50px; width: auto; }
.logo__mark {
  width: 38px; height: 38px; border: 2.5px solid var(--gold); border-radius: 6px;
  display: grid; place-items: center; font-family: var(--head); font-weight: 800; color: var(--gold); font-size: 15px;
}
.logo__text { font-family: var(--head); font-weight: 800; letter-spacing: .06em; font-size: 18px; line-height: 1; text-transform: uppercase; color: #1d2b4a; }
.logo__text small { display: block; font-size: 8.5px; letter-spacing: .16em; color: var(--gold-d); font-weight: 600; margin-top: 5px; }
.footer .logo__text small { color: var(--gold); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: .2s; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
.mobile-nav {
  display: none; position: fixed; inset: 76px 0 0 0; background: #fff; z-index: 49;
  padding: 30px 20px; flex-direction: column; gap: 6px;
}
.mobile-nav a { font-family: var(--head); font-size: 22px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 20px; }
body.nav-open .mobile-nav { display: flex; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative; color: #fff; min-height: min(760px, 92vh);
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,26,31,.86) 0%, rgba(20,26,31,.6) 50%, rgba(20,26,31,.15) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 90px 0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 500;
}
.badge svg { width: 16px; height: 16px; color: var(--gold); }
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 800; text-transform: uppercase; max-width: 820px; letter-spacing: -.01em; }
.hero p { font-size: 19px; max-width: 580px; margin: 22px 0 34px; color: rgba(255,255,255,.85); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero { background: var(--slate); color: #fff; padding: 80px 0 70px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); text-transform: uppercase; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 18px; max-width: 640px; margin-top: 16px; }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--slate); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Карточки проектов ---------- */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,37,44,.14); }
.card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__tag {
  position: absolute; left: 14px; top: 14px; padding: 7px 14px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; font-family: var(--head);
  text-transform: uppercase; letter-spacing: .04em;
}
.card__status {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(29,37,44,.78); color: #fff; font-size: 12px; font-weight: 600;
}
.card__status.is-new { background: #b8452f; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__loc { display: flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.card__loc svg { width: 14px; height: 14px; }
.card__title { font-size: 20px; font-weight: 700; margin: 8px 0 4px; }
.card__dev { font-size: 14px; color: var(--muted); }
.card__why { font-size: 14px; color: var(--ink); margin: 12px 0 0; padding: 12px 14px; background: var(--soft); border-radius: 12px; border-left: 3px solid var(--gold); }
.card__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 16px 0 18px; }
.card__facts small { display: block; font-size: 12px; color: var(--muted); }
.card__facts b { font-family: var(--head); font-size: 15px; font-weight: 700; }
.card__btn { margin-top: auto; }
.card--purpose .card__facts { grid-template-columns: repeat(2, auto); }
.price-usd { display: block; font-size: 12px; color: var(--muted); font-weight: 500; font-family: var(--body); }

/* ---------- Почему Дубай ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why__item { padding: 30px 28px; border-radius: var(--radius); background: var(--soft); min-height: 230px; display: flex; flex-direction: column; }
.why__item:nth-child(3n+1) { background: var(--slate); color: #fff; }
.why__item:nth-child(3n+1) p { color: rgba(255,255,255,.78); }
.why__item b { font-family: var(--head); font-size: 34px; font-weight: 800; display: block; text-transform: uppercase; line-height: 1.05; }
.why__item h3 { font-size: 15px; font-weight: 600; margin: 6px 0 auto; padding-bottom: 20px; border-bottom: 1px solid currentColor; opacity: .9; }
.why__item p { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.14); background: var(--slate-2); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--head); font-weight: 800; font-size: 40px; color: var(--gold); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 15px; color: rgba(255,255,255,.72); margin: 0; }

/* ---------- Застройщики ---------- */
.devs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.devs .dev { width: calc((100% - 48px) / 4); }
.dev {
  position: relative; height: 120px; border-radius: var(--radius-s); border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; padding: 18px; cursor: pointer; transition: .25s; outline: none;
}
.dev__logo { max-height: 46px; max-width: 80%; filter: grayscale(1) opacity(.6); transition: .25s; }
.dev__name { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: #9aa1a7; transition: .25s; text-align: center; }
.dev:hover, .dev:focus-visible, .dev.is-open { border-color: var(--gold); box-shadow: var(--shadow); }
.dev:hover .dev__logo, .dev.is-open .dev__logo { filter: none; }
.dev:hover .dev__name, .dev.is-open .dev__name { color: var(--slate); }
.dev__tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px);
  width: min(300px, 80vw); background: var(--ink); color: #fff; padding: 16px 18px; border-radius: 14px;
  font-size: 14px; line-height: 1.5; opacity: 0; visibility: hidden; transition: .2s; z-index: 5; text-align: left; pointer-events: none;
}
.dev__tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--ink); }
.dev__tip b { display: block; font-family: var(--head); color: var(--gold); margin-bottom: 6px; }
.dev__tip span { display: block; margin-top: 10px; color: var(--gold); font-weight: 600; font-size: 13px; }
.dev:hover .dev__tip, .dev:focus-visible .dev__tip, .dev.is-open .dev__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.devs--center { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative;
  font-family: var(--head); font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--gold-d); font-weight: 400; transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- Блок с формой ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cta__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.cta__list li { display: flex; gap: 12px; align-items: flex-start; }
.cta__list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.cta__channels { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }

/* ---------- Форма заявки ---------- */
.lead-form h3 { font-size: 24px; text-transform: uppercase; font-weight: 800; color: var(--gold-d); }
.lead-form .sub { color: var(--muted); font-size: 15px; margin: 8px 0 22px; }
.progress { display: flex; gap: 8px; margin-bottom: 22px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.progress span.is-on { background: var(--gold); }
.field { margin-bottom: 14px; }
.field label.lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.input, .select, textarea.input {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); outline: none; transition: .2s;
}
.input:focus, .select:focus { border-color: var(--gold); }
.input.is-error { border-color: #c4452f; }
.phone { display: flex; gap: 8px; }
.phone .select { width: 130px; flex: none; padding-right: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14px; cursor: pointer; transition: .15s; user-select: none;
}
.chip input:checked + span { background: var(--slate); border-color: var(--slate); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--slate); flex: none; }
.consent a { text-decoration: underline; color: var(--ink); }
.consent.is-error { color: #c4452f; }
.form-error { color: #c4452f; font-size: 14px; margin: -6px 0 12px; display: none; }
.form-error.is-on { display: block; }
.form-nav { display: flex; gap: 10px; }
.form-nav .btn--line { flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 20px 0; }
.success__icon { width: 70px; height: 70px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin: 0 auto 18px; color: var(--gold-d); }
.success__icon svg { width: 34px; height: 34px; }
.success h3 { color: var(--ink); }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,26,31,.7); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; margin: 4vh auto; width: min(560px, 100% - 30px); max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); padding: 34px; overscroll-behavior: contain;
}
.modal__close {
  position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--soft); display: grid; place-items: center; z-index: 3;
}
.modal__close svg { width: 20px; height: 20px; }
body.modal-open { overflow: hidden; }

/* Окно проекта */
.pm .modal__box { width: min(1120px, 100% - 30px); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pm__scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.pm__top { display: grid; grid-template-columns: 1.25fr 1fr; }
.pm__top > *, .pm__body > * { min-width: 0; }
.gallery { position: relative; background: var(--ink); display: flex; flex-direction: column; }
@media (min-width: 1101px) { .gallery__stage { flex: 1; aspect-ratio: auto; min-height: 380px; } }
.gallery__stage { position: relative; aspect-ratio: 4/3; overflow: hidden; touch-action: pan-y; }
.gallery__stage img, .gallery__stage video { width: 100%; height: 100%; object-fit: cover; }
.gallery__stage video { object-fit: contain; background: #000; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.88); display: grid; place-items: center; z-index: 2;
}
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; padding: 5px 11px; border-radius: 999px; z-index: 2; }
.gallery__tabs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; z-index: 2; }
.gallery__tabs button { border: 0; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.85); }
.gallery__tabs button.is-on { background: var(--gold); }
.thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: var(--ink); scrollbar-width: thin; }
.thumbs button { flex: none; width: 78px; height: 56px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; opacity: .6; background: none; }
.thumbs button.is-on { border-color: var(--gold); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm__info { padding: 34px 34px 24px; }
.pm__info h2 { font-size: 30px; font-weight: 800; margin: 8px 0 6px; }
.pm__dev { color: var(--muted); }
.pm__status { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; }
.pm__status.is-new { background: #b8452f; color: #fff; }
.pm__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.pm__fact { padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.pm__fact small { display: block; font-size: 12px; color: var(--muted); }
.pm__fact b { font-family: var(--head); font-size: 17px; }
.pm__cta { display: grid; gap: 10px; }
.pm__body { padding: 10px 34px 34px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; border-top: 1px solid var(--line); }
.pm__block { margin-top: 26px; }
.pm__block h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; color: var(--gold-d); }
.pm__why { padding: 16px 18px; border-radius: 14px; border-left: 3px solid var(--gold); background: var(--soft); }
.pm__why b { font-family: var(--head); display: block; margin-bottom: 4px; }
.plan { list-style: none; margin: 0; padding: 0; }
.plan li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.plan li b { font-family: var(--head); color: var(--slate); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.table td:last-child { text-align: right; color: var(--muted); }
.amen { display: flex; flex-wrap: wrap; gap: 8px; }
.amen span { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 14px; }
.map { width: 100%; height: 230px; border: 0; border-radius: 14px; background: var(--soft); }
.loc-list { list-style: none; padding: 0; margin: 0 0 14px; }
.loc-list li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.loc-list li span:first-child { flex: 0 0 42%; }
.loc-list li span:last-child { color: var(--muted); text-align: right; }
.permit { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px dashed #c9c9c2; border-radius: 14px; }
.permit__qr { width: 84px; height: 84px; flex: none; border-radius: 8px; background: var(--soft); display: grid; place-items: center; font-size: 11px; color: var(--muted); text-align: center; overflow: hidden; }
.permit__qr img { width: 100%; height: 100%; object-fit: contain; }
.permit p { margin: 0; font-size: 13px; color: var(--muted); }
.permit b { color: var(--ink); }
.updated { font-size: 13px; color: var(--muted); margin-top: 18px; }
.pm__bar { display: none; }

/* ---------- Каталог ---------- */
.filters {
  display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: end;
  padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -50px; position: relative; z-index: 2;
}
.filters label { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; }
.filters .select { padding: 13px 14px; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; margin: 34px 0 20px; gap: 16px; flex-wrap: wrap; }
.catalog-bar b { font-family: var(--head); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.more { margin-top: 60px; padding: 50px; border-radius: var(--radius); background: var(--slate); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.more h2 { font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; font-weight: 800; }
.more p { color: rgba(255,255,255,.75); margin: 14px 0 0; }
.more__btns { display: grid; gap: 12px; }

/* ---------- О нас / Контакты ---------- */
.text-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.text-cols p { color: var(--muted); font-size: 17px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.value .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; color: var(--gold-d); margin-bottom: 18px; }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 19px; margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; font-size: 15px; }
.requisites { border-radius: var(--radius); background: var(--soft); padding: 30px; }
.requisites dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0; }
.requisites dt { color: var(--muted); font-size: 14px; }
.requisites dd { margin: 0; font-weight: 600; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.channel { display: flex; gap: 16px; align-items: center; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: .2s; }
.channel:hover { transform: translateY(-3px); }
.channel .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--slate); color: var(--gold); display: grid; place-items: center; flex: none; }
.channel .ico svg { width: 24px; height: 24px; }
.channel small { display: block; color: var(--muted); font-size: 13px; }
.channel b { font-family: var(--head); font-size: 16px; overflow-wrap: anywhere; }
.map-big { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose p, .prose li { color: #44505a; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer__grid--3 { grid-template-columns: 1.6fr 1fr 1.2fr; }
.footer .logo__text { color: #fff; }
.footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer__tag { margin-top: 18px; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* Плавающая кнопка WhatsApp */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #1f8f5f; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.25); transition: .2s;
}
.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 28px; height: 28px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pm__top, .pm__body { grid-template-columns: 1fr; }
  .pm__body { gap: 0; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .nav, .header__actions .btn { display: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why, .values, .channels { grid-template-columns: 1fr; }
  .why__item { min-height: 0; }
  .cta, .text-cols, .more { grid-template-columns: 1fr; gap: 30px; }
  .devs .dev { width: calc((100% - 16px) / 2); }
  .devs .dev:nth-child(odd) .dev__tip { left: 0; transform: translate(0, 6px); }
  .devs .dev:nth-child(even) .dev__tip { left: auto; right: 0; transform: translate(0, 6px); }
  .devs .dev:nth-child(odd) .dev__tip::after { left: 30%; }
  .devs .dev:nth-child(even) .dev__tip::after { left: 70%; }
  .devs .dev.is-open .dev__tip, .devs .dev:hover .dev__tip { transform: translate(0, 0); }
  .dev { height: 96px; }
  .dev__name { font-size: 18px; }
  .more { padding: 32px 24px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header__in { gap: 10px; }
  .header .logo img { height: 40px; }
  .header .logo__text { font-size: 15px; letter-spacing: .03em; }
  .header .logo__text small { font-size: 7px; letter-spacing: .08em; }
  .grid--4, .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero .wrap { padding: 60px 0 70px; }
  .hero p { font-size: 17px; }
  .hero__btns .btn { width: 100%; }
  .filters { grid-template-columns: 1fr 1fr; padding: 16px; }
  .filters .f-reset { grid-column: 1 / -1; }
  .form-card, .modal__box { padding: 24px 20px; }
  .phone .select { width: 110px; }
  /* окно проекта на телефоне — во весь экран */
  .pm .modal__box { margin: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .pm__info, .pm__body { padding-left: 20px; padding-right: 20px; }
  .pm__info { padding-top: 22px; }
  .pm__info h2 { font-size: 24px; }
  .pm__cta { display: none; }
  .pm__bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: #fff;
  }
  .pm__bar .btn { padding: 14px 10px; font-size: 14px; }
  .plan li { grid-template-columns: 96px 1fr; }
  .float-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .dev__tip { width: 240px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
