
:root {
  --bg: #efe6d8;
  --surface: rgba(255, 250, 241, 0.80);
  --surface-strong: rgba(255, 250, 241, 0.94);
  --text: #201a16;
  --muted: #72655a;
  --line: rgba(32, 26, 22, 0.13);
  --accent: #9d7048;
  --accent-dark: #65462f;
  --green: #6f836f;
  --shadow: 0 24px 70px rgba(54, 40, 28, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.82), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(199, 154, 82, 0.15), transparent 32rem),
    radial-gradient(circle at 50% 96%, rgba(104, 124, 104, 0.10), transparent 30rem),
    linear-gradient(135deg, #efe6d8, #f7f0e6 46%, #e7d9c5);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255,255,255,0.24) 20%, transparent 23% 100%),
    linear-gradient(64deg, transparent 0 48%, rgba(128,81,38,0.060) 50%, transparent 54% 100%),
    radial-gradient(ellipse at 18% 22%, rgba(255,255,255,0.42), transparent 20rem),
    radial-gradient(ellipse at 78% 34%, rgba(199,154,82,0.15), transparent 18rem),
    repeating-linear-gradient(100deg, rgba(255,255,255,0.075) 0 1px, transparent 1px 18px),
    repeating-radial-gradient(ellipse at 34% 30%, rgba(112,86,60,0.045) 0 2px, transparent 2px 12px),
    url("plaster-relief.svg");
  background-size: 720px 720px, 640px 640px, 100% 100%, 100% 100%, 220px 220px, 180px 180px, cover;
  background-repeat: repeat, repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
  opacity: 0.96;
  mix-blend-mode: multiply;
  filter: contrast(1.06) brightness(1.02);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,0.26), transparent 8rem),
    radial-gradient(circle at 70% 28%, rgba(255,255,255,0.16), transparent 7rem),
    radial-gradient(circle at 28% 78%, rgba(58,36,26,0.07), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(58,36,26,0.040));
  filter: blur(0.35px);
  opacity: 0.86;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.paint-particle-layer {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; mix-blend-mode: multiply;
}
.paint-particle-layer i {
  position: absolute; left: var(--x); top: -12vh; width: var(--size); height: var(--size); display: block; border-radius: 999px;
  opacity: 0.54;
  background: radial-gradient(circle at 34% 24%, rgba(255,255,255,0.95), rgba(155,112,72,0.50) 58%, rgba(90,65,44,0.28));
  box-shadow: 0 4px 12px rgba(64,52,42,0.20), inset 0 1px 0 rgba(255,255,255,0.70);
  animation: particleFall var(--dur) linear var(--delay) infinite; will-change: transform;
}
.paint-particle-layer i:nth-child(3n) {
  height: max(4px, calc(var(--size) * 0.34)); width: calc(var(--size) * 2.7); border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(155,112,72,0.45), rgba(255,255,255,0.90), transparent);
}
.paint-particle-layer i:nth-child(4n) {
  border-radius: 44% 56% 38% 62% / 58% 44% 56% 42%;
  background: linear-gradient(135deg, rgba(255,255,255,0.86), rgba(199,154,82,0.46), rgba(114,131,112,0.18));
}
@keyframes particleFall {
  0% { transform: translate3d(0, -16vh, 0) rotate(0deg); }
  50% { transform: translate3d(var(--drift), 52vh, 0) rotate(120deg); }
  100% { transform: translate3d(calc(var(--drift) * -0.45), 124vh, 0) rotate(260deg); }
}
.page { position: relative; z-index: 2; width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 14px; z-index: 120; margin: 14px 0 28px;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px;
  padding: 14px 18px; background: rgba(255, 250, 241, 0.88); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 30px;
  box-shadow: 0 16px 40px rgba(73, 54, 37, 0.08), inset 0 1px 0 rgba(255,255,255,0.28);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-wrap: nowrap;
}
.site-header .brand {
  justify-self: start;
  white-space: nowrap;
}
.brand img { width: 114px; height: 114px; object-fit: contain; display:block; flex: 0 0 auto; }
.site-header .brand img { width: 84px; height: 84px; }
.brand__name {
  color: var(--text);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.nav a { padding: 10px 13px; color: var(--muted); border-radius: 999px; transition: 0.2s ease; }
.nav a:hover { color: var(--text); background: rgba(32,26,22,0.06); }
.nav .nav__cta { background: var(--text); color: white; }
.header-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.header-contacts a { color: var(--accent-dark); font-weight: 900; line-height: 1.2; }
.contact-frame { position: relative; padding: 18px 14px 10px; border: 1px solid rgba(101,70,47,.26); border-radius: 17px; background: rgba(255,255,255,.64); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.contact-frame__label { position: absolute; top: 4px; left: 12px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-frame--lead { padding: 26px 20px 18px; max-width: 390px; }
.contact-frame--footer { display: grid; gap: 4px; width: fit-content; margin-bottom: 6px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--text); border-radius: 50%; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: white; border-radius: 999px; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); gap: 34px; align-items: center;
  min-height: 650px; padding: 44px 0 72px;
}
.eyebrow { margin: 0 0 14px; color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(42px, 6vw, 78px); line-height: 0.96; letter-spacing: -0.07em; }
h2 { margin-bottom: 14px; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -0.05em; }
h3 { margin-bottom: 10px; letter-spacing: -0.03em; font-size: 24px; }
.hero__text { max-width: 640px; color: var(--muted); font-size: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 20px; border: 0;
  border-radius: 999px; font-weight: 900; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: linear-gradient(135deg, #b2814d, #7b5738 58%, #4b3524); box-shadow: 0 14px 28px rgba(123, 87, 56, 0.20); }
.button--ghost { background: rgba(255,255,255,0.72); border: 1px solid var(--line); }
.button--wide { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span {
  padding: 10px 12px; color: var(--muted); background: rgba(255,255,255,0.72); border: 1px solid var(--line); border-radius: 999px;
}
.hero__card { position: relative; padding: 22px; min-height: 520px; border-radius: var(--radius-xl); background: radial-gradient(circle at 76% 18%, rgba(255,255,255,0.28), transparent 12rem), linear-gradient(135deg, #d6d1c9, #746b62 48%, #191614); box-shadow: var(--shadow); overflow: hidden; }
.hero__card::before { content: ""; position: absolute; inset: 24px 24px auto auto; width: 180px; height: 180px; background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.12)); border-radius: 34px; transform: rotate(18deg); }
.mini-dashboard { position: relative; z-index: 2; margin-top: 170px; padding: 18px; color: white; background: rgba(21,17,14,0.72); border: 1px solid rgba(255,255,255,0.18); border-radius: 28px; backdrop-filter: blur(16px); }
.mini-dashboard__top { display: flex; justify-content: space-between; gap: 16px; }
.progress { height: 10px; margin: 16px 0; overflow: hidden; background: rgba(255,255,255,0.14); border-radius: 999px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #ffc28c, #fff); border-radius: inherit; }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dash-grid div { padding: 14px; background: rgba(255,255,255,0.1); border-radius: 18px; }
.dash-grid small { display: block; color: rgba(255,255,255,0.66); }
.contact-card { display: grid; gap: 6px; margin-top: 12px; padding: 14px; color: var(--text); background: #fff7e8; border-radius: 18px; }
.contact-card a { font-weight: 800; }
.section { padding: 72px 0; }
.section__head { max-width: 760px; margin-bottom: 30px; }
.section__head p:last-child { color: var(--muted); font-size: 18px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.highlights article, .coverage-facts > div, .calc, .calc-result, .lead-form, .price-card, .cta-strip, .price-table-wrap, .style-option, .map-card, .work-card, .timeline li {
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 54px rgba(54,48,42,0.08), inset 0 1px 0 rgba(255,255,255,0.36); backdrop-filter: blur(16px);
}
.highlights article { padding: 24px; border-radius: var(--radius-lg); }
.highlights article p:last-child { color: var(--muted); }
.coverage-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; align-items: start; }
.map-card { padding: 18px; border-radius: var(--radius-xl); overflow: hidden; }
.service-map-wrap {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.75), transparent 12rem),
    linear-gradient(135deg, #f4ecdf, #e8dcc8);
}
.service-map {
  width: 100%;
  min-height: 440px;
  display: block;
  border: 0;
  border-radius: 24px;
}
.service-map [class*="ground-pane"] {
  filter: saturate(.92) contrast(1.02);
}
.service-map__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 24px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(244,236,223,0.08), rgba(244,236,223,0.92) 78%),
    linear-gradient(135deg, #f4ecdf, #e8dcc8);
}
.service-map__fallback strong { font-size: 22px; letter-spacing: -.04em; }
.service-map__fallback span { max-width: 360px; color: var(--muted); }
.service-map__fallback.is-hidden { display: none; }
.coverage-facts { display: grid; gap: 14px; }
.coverage-facts > div { padding: 22px; border-radius: var(--radius-lg); }
.coverage-facts p { margin-bottom: 0; color: var(--muted); }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 20px; align-items: start; }
.calc, .calc-result, .lead-form { padding: 24px; border-radius: var(--radius-lg); }
.calc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 800; }
input, select, textarea {
  width: 100%; min-height: 52px; padding: 0 14px; color: var(--text); background: rgba(255,255,255,0.78); border: 1px solid var(--line); border-radius: 15px; outline: none;
}
textarea { min-height: 112px; padding-top: 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(157,112,72,0.72); box-shadow: 0 0 0 4px rgba(157,112,72,0.12); }
.calc-result { position: sticky; top: 110px; }
.calc-result p { margin-bottom: 8px; color: var(--muted); }
.calc-result strong { display: block; margin-bottom: 22px; font-size: 40px; line-height: 1; letter-spacing: -0.05em; }
.calc-result__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.calc-result small, .lead-form small { display: block; margin-top: 12px; color: var(--muted); }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 10px 0; padding: 18px 20px; border-radius: 999px; }
.cta-strip span { color: var(--muted); }
.cta-strip a { padding: 10px 14px; color: white; background: var(--text); border-radius: 999px; font-weight: 900; white-space: nowrap; }
.cards { display: grid; gap: 18px; }
.cards--three { grid-template-columns: repeat(3, 1fr); }
.cards--services { grid-template-columns: repeat(3, 1fr); }
.services-note { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.services-note span { padding:12px 16px; background: var(--surface); border:1px solid var(--line); border-radius:999px; box-shadow: 0 18px 54px rgba(54,48,42,0.06), inset 0 1px 0 rgba(255,255,255,0.36); color: var(--muted); }
.price-card { padding: 26px; border-radius: var(--radius-lg); }
.price-card--accent { color: white; background: radial-gradient(circle at top right, rgba(199,154,82,0.18), transparent 14rem), linear-gradient(145deg, #2a1d15, #100c09); }
.price-card p, .timeline p, .price-card li { color: var(--muted); }
.price-card--accent p, .price-card--accent li { color: rgba(255,255,255,0.72); }
.price-card--design { position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(234,220,201,0.84)); }
.price-card--design::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border: 1px solid rgba(157,112,72,0.24); border-radius: 50%; box-shadow: 0 0 0 26px rgba(157,112,72,0.05), 0 0 0 52px rgba(157,112,72,0.035); pointer-events: none; }
.service-badge { display: inline-flex; margin-bottom: 12px; padding: 7px 10px; color: var(--accent-dark) !important; background: rgba(157,112,72,0.11); border: 1px solid rgba(157,112,72,0.22); border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.price-card strong { display: block; margin: 20px 0; font-size: 28px; letter-spacing: -0.04em; }
.price-card ul { padding-left: 18px; }
.price-table-wrap { overflow: auto; border-radius: var(--radius-lg); }
.price-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: rgba(32,26,22,0.08); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.price-table td:last-child { font-weight: 900; white-space: nowrap; }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.style-option { display: grid; gap: 12px; padding: 14px; text-align: left; color: var(--text); border-radius: var(--radius-lg); cursor: pointer; transition: 0.2s ease; }
.style-option:hover, .style-option.is-selected { transform: translateY(-3px); border-color: rgba(157,112,72,0.62); box-shadow: 0 20px 52px rgba(157,112,72,0.14); }
.style-option small { color: var(--muted); }
.style-option__image { height: 170px; border-radius: 20px; background: #ddd; }
.style-option__image--modern { background: radial-gradient(circle at 78% 18%, rgba(255,255,255,0.82), transparent 5rem), linear-gradient(135deg, #d9c4a7, #f7efe4 46%, #637769); }
.style-option__image--minimal { background: linear-gradient(90deg, rgba(32,26,22,0.08) 1px, transparent 1px), linear-gradient(135deg, #f4efe8, #c7c2b8); background-size: 34px 34px, auto; }
.style-option__image--warm { background: radial-gradient(circle at 24% 24%, rgba(255,255,255,0.86), transparent 5rem), linear-gradient(135deg, #ead8c2, #f7f0e6 50%, #b2814d); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0; list-style: none; counter-reset: steps; }
.timeline li { min-height: 190px; padding: 22px; border-radius: var(--radius-lg); }
.timeline li::before { counter-increment: steps; content: "0" counter(steps); display: inline-flex; margin-bottom: 34px; color: var(--accent-dark); font-weight: 900; }
.lead { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; padding-bottom: 96px; }
.lead p { color: var(--muted); }
.contact-stack { display: grid; gap: 8px; margin-top: 26px; }
.contact-stack a { color: var(--accent-dark); font-weight: 900; font-size: 20px; }
.contact-stack span { color: var(--muted); }
.lead-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lead-form__full, .lead-form button, .lead-form small { grid-column: 1 / -1; }
 .footer { padding: 30px 0 44px; border-top: 1px solid var(--line); }
.footer__top { display:grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 22px; align-items:start; }
.footer__brand, .footer__col { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 18px 54px rgba(54,48,42,0.08), inset 0 1px 0 rgba(255,255,255,0.36); }
.brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.brand--footer .footer-logo { margin-bottom: 0; }
.brand--footer .brand__name { font-size: 24px; }
.footer-logo { width: 110px; height: 110px; object-fit: contain; margin-bottom: 12px; display:block; }
.footer__brand p { margin: 0; color: var(--muted); max-width: 420px; }
.footer__col { display:grid; gap: 8px; align-content:start; }
.footer__col h4 { margin:0 0 6px; font-size: 18px; }
.footer__col a { color: var(--accent-dark); font-weight: 800; }
.footer__col span { color: var(--muted); }
.footer__bottom { display:flex; justify-content:space-between; gap:14px; margin-top: 14px; padding: 0 4px; color: var(--muted); font-size: 14px; }
.quick-actions { position: fixed; right: 18px; bottom: 18px; z-index: 130; display: grid; gap: 10px; }
.quick-actions a { min-width: 98px; padding: 10px 14px; color: var(--text); text-align: center; font-weight: 900; background: rgba(255,250,241,0.88); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 28px rgba(63,52,44,0.12), inset 0 1px 0 rgba(255,255,255,0.42); backdrop-filter: blur(16px); }
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 18px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,16,13,0.58); backdrop-filter: blur(10px); }
.modal__window { position: relative; width: min(560px, 100%); padding: 28px; background: var(--surface-strong); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(32,26,22,0.08); cursor: pointer; font-size: 28px; }
.modal__summary { display: grid; gap: 8px; margin: 20px 0; padding: 16px; background: rgba(255,255,255,0.68); border-radius: var(--radius-md); }
.modal__summary p { margin: 0; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 220; transform: translateX(-50%) translateY(20px); max-width: min(520px, calc(100% - 24px)); padding: 14px 18px; color: white; background: var(--text); border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: 0.25s ease; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .header-contacts { display: none; }
  .highlights, .cards--three, .cards--services, .style-grid { grid-template-columns: 1fr; }
  .coverage-layout, .lead, .hero, .calc-layout { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .calc-result { position: static; }
}
@media (max-width: 980px) {
  .site-header .brand img { width: 74px; height: 74px; }
  .brand__name { font-size: 24px; }
  .burger { display: block; }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: var(--surface-strong); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px; }
  .site-header { grid-template-columns: auto auto 1fr; }
}
@media (max-width: 720px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand img { width: 62px; height: 62px; }
  .brand__name { font-size: 18px; }
  .page { width: min(100% - 20px, 1180px); }
  h1 { font-size: 42px; }
  .hero__text { font-size: 17px; }
  .calc, .lead-form { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .hero__card { min-height: 420px; }
  .mini-dashboard { margin-top: 110px; }
  .section { padding: 54px 0; }
  .cta-strip { display: grid; border-radius: 24px; }
  .timeline { grid-template-columns: 1fr; }
  .brand--footer .footer-logo { width: 78px; height: 78px; }
  .brand--footer .brand__name { font-size: 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { display:grid; }
  .paint-particle-layer i { opacity: 0.34; }
}
@media (prefers-reduced-motion: reduce) {
  .paint-particle-layer i { animation: none !important; opacity: 0.14; }
  html { scroll-behavior: auto; }
}


/* Примеры работ */
.section__head--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section__head--split > div { max-width: 760px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(54, 48, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.38);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(157,112,72,.55);
  box-shadow: 0 28px 72px rgba(54, 48, 42, 0.16);
  outline: none;
}
.project-card__compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 330px;
  background: #d8d0c6;
}
.project-card__compare figure,
.project-card__cover {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}
.project-card__compare figure:first-child { border-right: 2px solid rgba(255,255,255,.72); }
.project-card__compare img,
.project-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.project-card:hover img { transform: scale(1.035); }
.project-card__compare span,
.project-card__cover span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(26,21,17,.75);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}
.project-card__cover { height: 330px; }
.project-card__body { padding: 24px; }
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.project-card__meta span,
.project-card__scope em {
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.project-card__body > p { color: var(--muted); }
.project-card__subtitle {
  margin-bottom: 8px;
  color: var(--accent-dark) !important;
  font-weight: 800;
}
.project-card__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.project-card__open {
  padding: 0;
  color: var(--accent-dark);
  font-weight: 900;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.project-card__open::after { content: "  →"; }
.empty-projects {
  grid-column: 1 / -1;
  padding: 44px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.empty-projects p { margin: 0; color: var(--muted); }

body.modal-open { overflow: hidden; }
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: none;
  padding: 20px;
}
.project-modal.is-open { display: grid; place-items: center; }
.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18,14,11,.72);
  backdrop-filter: blur(12px);
}
.project-modal__window {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  background: #f7f0e6;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 32px;
  box-shadow: 0 32px 100px rgba(0,0,0,.35);
}
.project-modal__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: start;
}
.project-modal__header > div { max-width: 790px; }
.project-modal__header p:last-child { color: var(--muted); font-size: 18px; }
.project-modal__close {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(32,26,22,.09);
  cursor: pointer;
  font-size: 30px;
}
.project-modal__summary,
.project-modal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.project-modal__summary { margin: 18px 0 24px; }
.project-modal__summary span,
.project-modal__filters button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.project-modal__summary span {
  color: var(--muted);
  background: rgba(255,255,255,.66);
}
.project-modal__filters { margin-bottom: 20px; }
.project-modal__filters button {
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.project-modal__filters button.is-active {
  color: white;
  background: var(--text);
}
.project-modal__gallery {
  columns: 3 260px;
  column-gap: 14px;
}
.project-modal__gallery figure {
  position: relative;
  break-inside: avoid;
  margin: 0 0 14px;
  overflow: hidden;
  background: #ddd3c6;
  border-radius: 20px;
}
.project-modal__gallery img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.project-modal__gallery figcaption {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255,255,255,.88);
}
.project-modal__gallery figcaption span {
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.project-modal__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 20px;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.project-modal__cta div { display: grid; gap: 4px; }
.project-modal__cta span { color: var(--muted); }

@media (max-width: 900px) {
  .section__head--split { align-items: start; flex-direction: column; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card__compare, .project-card__cover { height: 300px; }
  .project-modal { padding: 10px; }
  .project-modal__window { max-height: calc(100vh - 20px); padding: 22px; border-radius: 24px; }
}
@media (max-width: 620px) {
  .project-card__compare, .project-card__cover { height: 240px; }
  .project-modal__header h2 { padding-right: 8px; }
  .project-modal__cta { align-items: stretch; flex-direction: column; }
  .project-modal__cta .button { width: 100%; }
}


/* Раздельные примеры ремонта и дизайна */
.examples-group { margin-top: 34px; padding: 24px; background: rgba(255,250,241,.52); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(54,48,42,.07); }
.examples-group + .examples-group { margin-top: 28px; }
.examples-group--design { background: linear-gradient(145deg, rgba(255,250,241,.75), rgba(229,217,199,.52)); }
.examples-group__head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:20px; }
.examples-group__head h3 { margin:0; font-size: clamp(27px,3vw,38px); }
.examples-group__head .eyebrow { margin-bottom:8px; }
.examples-group__head > span { color:var(--muted); font-size:14px; }
.examples-more { display:flex; justify-content:center; margin-top:20px; }
#repairProjectGrid:not(.is-expanded) .project-card--extra { display:none; }
.project-card--design { border-color: rgba(157,112,72,.30); }
.project-card__cover--design::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(24,18,14,.38)); pointer-events:none; }
.project-card__cover--design span { z-index:1; }
.project-modal__gallery--design figure { background: #e7ded2; }
.footer__col--contacts { border-color: rgba(101,70,47,.26); }
@media (max-width: 720px) {
  .examples-group { padding:16px; }
  .examples-group__head { align-items:start; flex-direction:column; }
  .contact-frame--lead { max-width:none; }
}
