:root {
  --black: #161412;
  --graphite: #282521;
  --text: #171615;
  --muted: #756f67;
  --line: #e3ddd4;
  --paper: #faf8f4;
  --white: #ffffff;
  --red: #e42a1c;
  --red-dark: #a71912;
  --brass: #b89a68;
  --shadow: 0 24px 80px rgba(22, 20, 18, .16);
  --charcoal: #161412;
  --gold: #b89a68;
  --ink: #171615;
  --paper-deep: #f1ece5;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-soft: 0 18px 58px rgba(22, 20, 18, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 104px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.5;
}
body.partner-page {
  padding-top: 96px;
}
.partner-main {
  min-height: 70svh;
}
.partners-hero {
  display: grid;
  gap: 18px;
}
.partners-hero h1 {
  max-width: 920px;
  color: var(--text);
  font-size: clamp(2.6rem, 5vw, 5rem);
}
.partners-hero p:not(.tag) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 14px;
  right: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(22,20,18,.44);
  backdrop-filter: blur(20px);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled {
  color: var(--text);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 44px rgba(0,0,0,.1);
}
.logo img {
  width: 178px;
  height: 44px;
  padding: 6px 10px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,.96);
}
.nav { display: flex; justify-content: center; gap: 28px; font-size: .92rem; }
.nav a:hover, .header-phone:hover { color: var(--brass); }
.header-phone { font-weight: 800; white-space: nowrap; }
.menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}
.menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}
.drawer {
  position: fixed;
  z-index: 49;
  top: 88px;
  left: 12px;
  right: 12px;
  display: none;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.drawer.is-open { display: block; }
.drawer a { display: block; padding: 13px 10px; font-weight: 760; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}
.hero-media, .hero-media img, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(22,20,18,.88), rgba(22,20,18,.4) 55%, rgba(22,20,18,.12)),
    linear-gradient(0deg, rgba(22,20,18,.82), transparent 54%);
}
.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: center;
  padding: 106px 0 42px;
}
.hero-copy { align-self: center; }
.hero-summary {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(22,20,18,.38);
  backdrop-filter: blur(18px);
}
.hero-summary h2 { margin: 0; font-size: 1.4rem; }
.hero-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
}
.messenger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 24px;
}
.text-light {
  min-height: 46px;
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}
.ghost-dark {
  color: var(--text);
  border-color: var(--line);
  background: var(--white);
}
.tag {
  margin: 0 0 14px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .98;
  font-weight: 560;
  letter-spacing: -.04em;
}
.lead {
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  font-weight: 820;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.primary { color: var(--white); background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.ghost { color: var(--white); border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.06); }
.full { width: 100%; }
.mini-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 980px;
}
.mini-proof span, .hero-form {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.mini-proof span { padding: 14px; color: rgba(255,255,255,.72); }
.mini-proof b { display: block; color: var(--white); }
.hero-form {
  display: grid;
  gap: 12px;
  padding: 22px;
}
.hero-form h2 { margin-bottom: 0; font-size: 1.45rem; }
.hero-form p, .hero-form small { color: rgba(255,255,255,.7); }
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.76);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.45;
}
.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--red);
}
.consent a {
  color: currentColor;
  border-bottom: 1px solid rgba(255,255,255,.45);
}
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255,255,255,.1);
  outline: none;
}
textarea { min-height: 112px; padding-top: 12px; resize: vertical; }
option { color: var(--text); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(226,37,27,.72);
  outline-offset: 3px;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form.is-sending {
  opacity: .72;
}

form.is-sending button {
  cursor: wait;
}

.file-field {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255,255,255,.08);
}
.file-field input {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.file-field span {
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  line-height: 1.35;
}
.file-field.has-error {
  border-color: rgba(226,37,27,.78);
}
.file-field.has-error span {
  color: #ffd5d1;
}
.file-field [data-file-status] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.file-field [data-clear-files] {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255,255,255,.1);
  font-weight: 800;
  cursor: pointer;
}

.section, .works, .request {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.section-title p + h2 + p, .offer-copy p, .value-list p, .steps-list p { color: var(--muted); }
.section, .works { padding: 72px 0; }
.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.section-title h2, .offer h2, .quiz h2, .request h2 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
  font-weight: 560;
  letter-spacing: -.035em;
}
.catalog-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 14px;
}
.room-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: var(--black);
}
.room-card.wide { min-height: 560px; }
.room-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .45s ease;
}
.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22,20,18,.78), rgba(22,20,18,.08) 64%);
}
.room-card:hover img { transform: scale(1.04); }
.room-card div {
  position: absolute;
  z-index: 1;
  inset: auto 20px 20px;
}
.room-card h3 { margin-bottom: 8px; font-size: 1.55rem; }
.room-card p { color: rgba(255,255,255,.74); }
.room-card a { display: inline-flex; margin-top: 10px; color: var(--white); font-weight: 820; border-bottom: 1px solid var(--red); }

.catalog-browser {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow-soft);
}

.catalog-browser__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-browser__head h3 {
  margin-top: 6px;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.catalog-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.catalog-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.catalog-tabs button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.catalog-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-gallery button {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(39,35,31,.14);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(39,35,31,.10);
}

.catalog-gallery button[hidden] {
  display: none;
}

.catalog-gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.catalog-gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.58));
}

.catalog-gallery span {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-weight: 900;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0,0,0,.42);
}

.catalog-gallery button:hover img {
  transform: scale(1.035);
}

.offer {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 40px;
  padding: 86px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #fff, #f1ece5);
}
.value-list {
  display: grid;
  gap: 12px;
}
.value-list div, .steps-list li, .project-card, .trust-grid article, .faq-grid details {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
}
.value-list span, .steps-list span, .project-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  color: var(--brass);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 24px;
}
.case-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--white);
  font-weight: 820;
  cursor: pointer;
}
.case-tabs button.is-active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}
.project-card {
  display: grid;
  align-content: space-between;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 620px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.98)),
    linear-gradient(135deg, rgba(184,154,104,.18), rgba(226,37,27,.05));
}
.project-card__media {
  width: calc(100% + 44px);
  height: 210px;
  margin: -22px -22px 18px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  background: var(--paper-deep);
}
.project-card h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}
.project-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.project-card dl div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.project-card dt {
  color: var(--muted);
}
.project-card dd {
  margin: 0;
  font-weight: 800;
}
.project-card p {
  margin-top: 16px;
  color: var(--muted);
}
.project-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--text);
  font-weight: 900;
  border-bottom: 1px solid var(--red);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.partners {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partners-copy h2 {
  max-width: 820px;
}
.partners-copy p:not(.tag) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}
.partners-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.partner-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.partner-catalog article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid rgba(184,154,104,.32);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(22,20,18,.18), rgba(22,20,18,.86)),
    url("../images/catalog-kitchen-01.webp") center / cover;
  box-shadow: var(--shadow);
}
.partner-catalog article:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(22,20,18,.18), rgba(22,20,18,.86)),
    url("../images/catalog-wardrobe-05.webp");
}
.partner-catalog article:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(22,20,18,.18), rgba(22,20,18,.86)),
    url("../images/catalog-closet-03.webp");
}
.partner-catalog span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.partner-catalog h3 {
  font-size: 1.35rem;
}
.partner-catalog p {
  margin-top: 10px;
  color: rgba(255,255,255,.82);
}
.case-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: 28px;
  border: 1px solid rgba(184,154,104,.3);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(22,20,18,.18), rgba(22,20,18,.9)),
    linear-gradient(135deg, #5f5549, #1e1b18);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.case-card-large {
  background:
    linear-gradient(180deg, rgba(22,20,18,.1), rgba(22,20,18,.88)),
    url("../images/hero-kitchen.webp") center / cover;
}
.case-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(22,20,18,.14), rgba(22,20,18,.88)),
    url("../images/cabinet-to-ceiling-enhanced.webp") center / cover;
}
.case-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(22,20,18,.14), rgba(22,20,18,.88)),
    url("../images/premium-walk-in-closet.webp") center / cover;
}
.case-card span {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-card h3 {
  margin-bottom: 12px;
  min-height: 2.7em;
  font-size: clamp(1.45rem, 1.85vw, 2rem);
  line-height: 1.15;
}
.case-card p {
  min-height: 4.8em;
  max-width: 420px;
  color: rgba(255,255,255,.76);
}
.case-card strong {
  display: inline-flex;
  align-items: flex-start;
  min-height: 3.2em;
  width: 100%;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 2px solid var(--red);
  font-size: 1.05rem;
}

.video-reviews {
  padding-top: 28px;
}
.section-title > p:not(.tag) {
  max-width: 720px;
  color: var(--muted);
}
.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 14px;
}
.video-card,
.testimonial-card,
.video-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 46px rgba(22,20,18,.08);
  overflow: hidden;
}
.video-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  color: var(--white);
  border: 0;
  background:
    linear-gradient(135deg, rgba(226,37,27,.18), transparent 42%),
    linear-gradient(135deg, #161412, #544a3f);
  text-decoration: none;
}
.video-preview.small {
  aspect-ratio: 16 / 10;
}
.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 24%, rgba(255,255,255,.13), transparent 28%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.32));
}
.video-preview .play-mark {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 14px 34px rgba(226,37,27,.3);
}
.video-preview .play-mark::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--white);
}
.video-preview strong {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.video-card div,
.testimonial-card div {
  padding: 20px;
}
.video-card span,
.testimonial-card span,
.video-list span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.video-card h3,
.testimonial-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}
.video-card p {
  color: var(--muted);
}
.video-card div a,
.testimonial-card div a {
  display: inline-flex;
  margin-top: 4px;
  color: var(--text);
  font-weight: 900;
  border-bottom: 1px solid var(--red);
}
.video-list {
  display: grid;
  gap: 12px;
}
.video-list a {
  display: grid;
  align-content: center;
  min-height: 124px;
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-list a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.video-list strong {
  font-size: 1.08rem;
}
.apartment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(226,37,27,.18), transparent 48%),
    linear-gradient(135deg, var(--black), #3a3129);
}
.apartment p:not(.tag) {
  max-width: 780px;
  color: rgba(255,255,255,.74);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trust-grid article {
  min-height: 180px;
}
.trust-grid p,
.faq-grid p {
  color: var(--muted);
}
.faq-grid {
  display: grid;
  gap: 10px;
}
.faq-grid details {
  padding: 0;
  overflow: hidden;
}
.faq-grid summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}
.faq-grid p {
  padding: 0 20px 18px;
}
.testimonial-videos {
  padding-top: 12px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.request {
  padding: 28px 0 84px;
}
.request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(184,154,104,.18), transparent 44%),
    linear-gradient(135deg, var(--black), #2f2923);
}
.request-card p { color: rgba(255,255,255,.72); }
.lead {
  display: grid;
  gap: 12px;
}
.lead small { color: rgba(255,255,255,.62); }
.lead .consent {
  color: rgba(255,255,255,.72);
}

.footer {
  display: grid;
  grid-template-columns: .8fr 1.25fr 1fr 1.2fr;
  gap: 28px;
  padding: 42px max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--black);
}
.footer img {
  width: 210px;
  height: 62px;
  padding: 8px 10px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}
.footer a, .footer p { display: block; color: rgba(255,255,255,.72); }
.footer a { margin-top: 5px; }
.footer a:hover { color: var(--white); }
.footer strong { display: block; margin-bottom: 8px; }

.float {
  position: fixed;
  z-index: 45;
  right: 18px;
  bottom: 18px;
}
.mobile-cta {
  display: none;
}
.mobile-cta button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: var(--white);
  font-weight: 900;
}
.mobile-write-menu {
  position: absolute;
  right: 10px;
  bottom: 70px;
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.mobile-write-menu[hidden] { display: none; }
.mobile-write-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 850;
}
.mobile-write-menu a:hover { background: var(--paper); }
.telegram-float {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 64px;
  height: 64px;
  padding: 0 18px 0 20px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(45, 143, 214, .96), rgba(25, 102, 177, .96)),
    #2688cf;
  box-shadow: 0 18px 54px rgba(24, 111, 191, .34);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: -.01em;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .2s ease, min-width .2s ease;
}
.telegram-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 64px rgba(24, 111, 191, .42);
}
.telegram-float svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, calc(100% + 120px));
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--black);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .25s ease, opacity .2s ease, visibility .2s ease;
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.toast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.toast-actions button,
.toast-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font-weight: 800;
  cursor: pointer;
}

.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.catalog-modal.is-open {
  display: flex;
}

.catalog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
}

.catalog-modal__dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(92svh, 860px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.catalog-modal__dialog img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: #eee8df;
}

.catalog-modal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 34px;
}

.catalog-modal__body h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.catalog-modal__body p {
  color: var(--muted);
}

.catalog-modal__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(22,20,18,.86);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.video-modal.is-open {
  display: flex;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--black);
  box-shadow: var(--shadow);
}
.video-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.video-modal__dialog h2 {
  max-width: calc(100% - 54px);
  margin: 0 0 14px;
  font-size: 1.25rem;
}
.video-modal__frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
}
.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal__link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--white);
  font-weight: 900;
  border-bottom: 1px solid var(--red);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s ease;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255,255,255,.45);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple .55s ease-out forwards;
}
@keyframes ripple {
  to { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}

@media (max-width: 1050px) {
  .header { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .header-phone {
    display: inline-flex;
    justify-self: end;
    margin-right: 10px;
    font-size: .92rem;
  }
  .menu { display: block; justify-self: end; }
  .hero-inner, .offer, .request-card, .footer, .apartment, .partners { grid-template-columns: 1fr; }
  .catalog-grid, .steps-list, .works-grid, .project-grid, .video-feature, .testimonial-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .partner-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-browser__head { grid-template-columns: 1fr; align-items: start; }
  .catalog-tabs { justify-content: flex-start; }
  .catalog-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-card.wide { grid-column: 1 / -1; }
  .video-card.main-video { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header { top: 8px; left: 8px; right: 8px; min-height: 58px; }
  .logo img { width: 152px; height: 40px; }
  .hero { min-height: 94svh; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(22,20,18,.88), rgba(22,20,18,.44) 62%, rgba(22,20,18,.18)),
      linear-gradient(90deg, rgba(22,20,18,.58), rgba(22,20,18,.14));
  }
  .hero-inner { padding: 96px 0 24px; gap: 18px; }
  h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .mini-proof, .catalog-grid, .offer, .steps-list, .works-grid, .project-grid, .video-feature, .testimonial-grid, .trust-grid, .partner-catalog { grid-template-columns: 1fr; }
  .partners-actions, .partners-actions .button { width: 100%; }
  .partner-catalog article { min-height: 280px; }
  .catalog-browser { padding: 14px; }
  .catalog-tabs { display: grid; grid-template-columns: 1fr; width: 100%; }
  .catalog-tabs button { width: 100%; }
  .catalog-gallery { grid-template-columns: 1fr; }
  .catalog-gallery button,
  .catalog-gallery img { min-height: 280px; }
  .hero-form {
    display: grid;
    padding: 18px;
  }
  .section, .works { padding: 56px 0; }
  .room-card, .room-card.wide { min-height: 390px; grid-column: auto; }
  .quiz { padding: 24px; }
  .project-card { min-height: auto; }
  .project-card__media { height: 230px; }
  .project-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .request-card { padding: 24px; }
  .float,
  .telegram-float {
    display: none;
  }
  .toast {
    bottom: 82px;
  }
  .catalog-modal {
    padding: 10px;
  }
  .catalog-modal__dialog {
    grid-template-columns: 1fr;
    max-height: 92svh;
    overflow-y: auto;
  }
  .catalog-modal__dialog img {
    min-height: 320px;
    max-height: 56svh;
  }
  .catalog-modal__body {
    padding: 20px;
  }
  .video-modal {
    padding: 10px;
  }
  .video-modal__dialog {
    padding: 14px;
  }
  .mobile-cta {
    position: fixed;
    z-index: 46;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(22,20,18,.92);
    box-shadow: 0 16px 54px rgba(0,0,0,.22);
    backdrop-filter: blur(14px);
  }
  .mobile-cta a,
  .mobile-cta button {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: transparent;
    font-weight: 900;
    font-size: .86rem;
  }
  .mobile-cta a:first-child {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
  }
  .mobile-cta button:last-of-type {
    border: 1px solid rgba(255,255,255,.2);
  }
}

@media (max-width: 390px) {
  .logo img { width: 140px; }
  .header-phone { font-size: .78rem; }
  h1 { font-size: 2.15rem; }
  .button { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

.catalog-link-panel {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}
.catalog-link-panel h3 { margin: 8px 0 10px; font-size: clamp(24px, 3vw, 38px); line-height: .98; }
.catalog-link-panel p:last-child { max-width: 680px; color: var(--muted); }
.section-title__link { margin-top: 18px; width: fit-content; }
.max-float { background: #111; color: #fff; box-shadow: 0 18px 54px rgba(0,0,0,.24); }
.works-page .catalog-browser { margin-top: 0; }
.works-page-intro { max-width: 760px; margin-bottom: 28px; }
@media (max-width: 760px) {
  .catalog-link-panel { grid-template-columns: 1fr; padding: 20px; }
  .catalog-link-panel .button { width: 100%; }
}
.thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.thanks-modal.is-open { display: flex; }
.thanks-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.58); }
.thanks-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(26px, 5vw, 44px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.thanks-modal__dialog h2 { margin: 8px 0 14px; font-size: clamp(34px, 5vw, 56px); line-height: .95; }
.thanks-modal__dialog p { color: var(--muted); }
.thanks-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.thanks-modal__steps { display: grid; gap: 8px; margin: 22px 0; }
.thanks-modal__steps span { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 850; }
.thanks-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.thanks-modal__actions .button { min-height: 48px; }
@media (max-width: 560px) { .thanks-modal__actions .button { width: 100%; } }
