/* РОСА — элитный ремонт. Общие стили */
:root {
  --ink: #1d2823;
  --forest: #2f3f37;
  --green: #435a4f;
  --moss: #6a8173;
  --sage: #a9cbb3;
  --sage-soft: #d7e6db;
  --ivory: #f7f5f0;
  --paper: #fcfbf8;
  --stone: #e9e5dc;
  --muted: #6d756f;
  --line: rgba(29, 40, 35, .12);
  --line-light: rgba(247, 245, 240, .16);
  --brand: linear-gradient(90deg, #435a4f 0%, #6a8173 40%, #8ea995 70%, #a9cbb3 100%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sage); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7.2vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--moss); }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--sage); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--muted); max-width: 620px; }
.dark .lead { color: rgba(247, 245, 240, .72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--brand); }
.dark .eyebrow { color: var(--sage); }

.num { font-family: var(--serif); font-variant-numeric: lining-nums; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 18px 34px; border: 1px solid var(--forest); border-radius: 0;
  background: var(--forest); color: var(--ivory);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brand); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); border-color: transparent; }
.btn .arrow { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 32px; }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--outline-light { background: transparent; color: var(--ivory); border-color: var(--line-light); }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; background: var(--brand) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 40% 1px; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 22px; width: auto; }
.logo .logo--light { display: none; }
.header--over .logo .logo--dark { display: none; }
.header--over .logo .logo--light { display: block; }
.header--over { color: var(--ivory); }
.header.is-scrolled { background: rgba(252, 251, 248, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 14px 0; color: var(--ink); }
.header.is-scrolled .logo .logo--dark { display: block; }
.header.is-scrolled .logo .logo--light { display: none; }

.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .06em; padding: 6px 0; opacity: .86; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__side { display: flex; align-items: center; gap: 28px; }
.header__phone { font-family: var(--serif); font-size: 21px; white-space: nowrap; }
.header__cta { padding: 13px 22px; font-size: 11px; }
.header--over:not(.is-scrolled) .header__cta { background: transparent; border-color: rgba(247, 245, 240, .4); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--forest); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.25; }
.mobile-menu nav a[aria-current="page"] { color: var(--sage); font-style: italic; }
.mobile-menu__foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-light); display: grid; gap: 6px; font-size: 15px; opacity: .85; }
.menu-open .header { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .logo--dark { display: none !important; }
.menu-open .header .logo--light { display: block !important; }
.menu-open { overflow: hidden; }

/* ---------- Секции ---------- */
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.section--tight { padding: clamp(70px, 8vw, 110px) 0; }
.section--ivory { background: var(--ivory); }
.section--stone { background: var(--stone); }
.dark { background: var(--forest); color: var(--ivory); }
.dark--deep { background: var(--ink); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head .lead { margin: 0; }

/* Фото с запасным градиентом, если картинка не загрузилась */
.photo {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(169, 203, 179, .55), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(29, 40, 35, .55), transparent 60%),
    linear-gradient(135deg, #5d7466, #2f3f37);
}
.photo::before {
  content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center;
  transform: scale(1.02); transition: transform 1.4s var(--ease);
}
.photo--zoom:hover::before { transform: scale(1.07); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); padding: 140px 0 clamp(48px, 7vw, 90px); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 24, .55) 0%, rgba(20, 28, 24, .15) 35%, rgba(20, 28, 24, .72) 100%); }
.hero__bg.photo::before { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 1050px; }
.hero h1 em { color: var(--sage); }
.hero__bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-top: clamp(36px, 5vw, 64px); padding-top: 36px; border-top: 1px solid var(--line-light); }
.hero__bottom .lead { color: rgba(247, 245, 240, .8); margin: 0; }
.hero__actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero__price { flex-shrink: 0; text-align: right; padding-bottom: 14px; }
.hero__price b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 72px); line-height: 1; background: linear-gradient(90deg, #d7e6db, #a9cbb3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__price span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }

/* Внутренние страницы */
.page-hero { position: relative; padding: clamp(150px, 18vw, 230px) 0 clamp(70px, 9vw, 120px); background: var(--forest); color: var(--ivory); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(169, 203, 179, .22), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(46px, 7vw, 96px); max-width: 980px; }
.page-hero .lead { margin-top: 28px; color: rgba(247, 245, 240, .72); }
.crumbs { display: flex; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 245, 240, .55); margin-bottom: 36px; }
.crumbs a:hover { color: var(--sage); }

/* Бегущая строка */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); font-style: italic; color: var(--moss); padding: 0 34px; white-space: nowrap; display: inline-flex; align-items: center; gap: 68px; }
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5.4vw, 80px); line-height: 1; color: var(--green); }
.stat b small { font-size: .45em; margin-left: 4px; color: var(--moss); }
.stat span { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 220px; }
.dark .stats, .dark .stat + .stat { border-color: var(--line-light); }
.dark .stat b { color: var(--sage); }
.dark .stat span { color: rgba(247, 245, 240, .65); }

/* Сплит: текст + фото */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { position: relative; }
.split__media .photo { aspect-ratio: 4 / 5; }
.split__badge { position: absolute; left: -32px; bottom: 48px; background: var(--paper); padding: 28px 32px; box-shadow: 0 30px 60px -30px rgba(29, 40, 35, .35); max-width: 260px; }
.split__badge b { display: block; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; color: var(--green); }
.split__badge span { font-size: 13px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 36px 0 44px; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 20px; height: 1px; background: var(--brand); }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { position: relative; background: var(--paper); padding: clamp(32px, 3.4vw, 52px); min-height: 380px; display: flex; flex-direction: column; overflow: hidden; transition: color .6s var(--ease); isolation: isolate; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest); transform: translateY(101%); transition: transform .7s var(--ease); }
.service:hover::before { transform: translateY(0); }
.service:hover { color: var(--ivory); }
.service__n { font-family: var(--serif); font-size: 18px; color: var(--moss); margin-bottom: auto; transition: color .6s; }
.service:hover .service__n { color: var(--sage); }
.service h3 { margin: 56px 0 18px; }
.service p { color: var(--muted); font-size: 15px; margin: 0; transition: color .6s; }
.service:hover p { color: rgba(247, 245, 240, .72); }
.service__more { margin-top: 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.service__more::after { content: "→"; transition: transform .4s var(--ease); }
.service:hover .service__more::after { transform: translateX(6px); }

/* Портфолио */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.work { grid-column: span 6; display: block; }
.work--wide { grid-column: span 7; }
.work--narrow { grid-column: span 5; }
.work--full { grid-column: span 12; }
.work .photo { aspect-ratio: 4 / 3; }
.work--wide .photo, .work--full .photo { aspect-ratio: 16 / 10; }
.work--narrow .photo { aspect-ratio: 4 / 5; }
.work--full .photo { aspect-ratio: 21 / 9; }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 22px; }
.work__meta h3 { font-size: clamp(24px, 2.2vw, 30px); }
.work__meta span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.work__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.work__tags i { font-style: normal; font-size: 12px; padding: 5px 12px; border: 1px solid var(--line); color: var(--muted); }
.works-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.works-filter button { background: none; border: 1px solid var(--line); padding: 10px 20px; font-size: 13px; cursor: pointer; transition: all .3s var(--ease); }
.works-filter button:hover { border-color: var(--green); }
.works-filter button.is-active { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.work.is-hidden { display: none; }

/* Этапы */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { padding: 44px 36px 44px 0; border-top: 1px solid var(--line-light); position: relative; }
.step:nth-child(3n+2), .step:nth-child(3n) { padding-left: 36px; border-left: 1px solid var(--line-light); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--serif); font-size: 64px; line-height: 1; margin-bottom: 26px; background: linear-gradient(90deg, #a9cbb3, rgba(169, 203, 179, .35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { color: rgba(247, 245, 240, .66); font-size: 15px; margin: 0; }
.step em { display: block; margin-top: 18px; font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }

/* Тарифы */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: clamp(32px, 3.2vw, 48px); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tier:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(29, 40, 35, .35); }
.tier--accent { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.tier__label { position: absolute; top: 0; right: 32px; transform: translateY(-50%); padding: 7px 14px; background: var(--brand); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.tier h3 { font-size: 34px; }
.tier__sub { font-size: 14px; color: var(--muted); margin: 8px 0 34px; }
.tier--accent .tier__sub { color: rgba(247, 245, 240, .65); }
.tier__price { padding: 28px 0; border-block: 1px solid var(--line); margin-bottom: 30px; }
.tier--accent .tier__price { border-color: var(--line-light); }
.tier__price small { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tier--accent .tier__price small { color: rgba(247, 245, 240, .6); }
.tier__price b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4vw, 58px); line-height: 1.1; }
.tier__price b span { font-size: .42em; margin-left: 6px; }
.tier ul { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; font-size: 15px; }
.tier li { padding-left: 28px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--moss); }
.tier--accent li::before { background: var(--sage); }
.tier .btn { margin-top: auto; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 50px 100px -60px rgba(29, 40, 35, .4); }
.calc__form { padding: clamp(28px, 4vw, 60px); display: grid; gap: 40px; }
.calc__group > label, .calc__group > legend { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-bottom: 18px; padding: 0; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.area-row { display: flex; align-items: baseline; gap: 18px; justify-content: space-between; }
.area-out { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--green); }
.area-out input { width: 3.4ch; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; padding: 0; text-align: right; -moz-appearance: textfield; appearance: textfield; }
.area-out input::-webkit-outer-spin-button, .area-out input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area-out input:focus { outline: none; border-color: var(--green); }
.area-out small { font-size: .4em; margin-left: 8px; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin-top: 14px; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--green) var(--p, 20%), var(--stone) var(--p, 20%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--stone); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--green); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--green); margin-top: -10px; box-shadow: 0 0 0 5px rgba(169, 203, 179, .35); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 1px solid var(--green); box-shadow: 0 0 0 5px rgba(169, 203, 179, .35); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--line); cursor: pointer; transition: all .35s var(--ease); }
.choice span b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; }
.choice span i { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; }
.choice span:hover { border-color: var(--moss); }
.choice input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--ivory); }
.choice input:checked + span i { color: var(--sage); }
.choice input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.toggles { display: grid; gap: 2px; }
.toggle { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__box { flex-shrink: 0; width: 42px; height: 24px; border-radius: 20px; background: var(--stone); position: relative; transition: background .35s var(--ease); }
.toggle__box::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); transition: transform .35s var(--ease); }
.toggle input:checked + .toggle__box { background: var(--green); }
.toggle input:checked + .toggle__box::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__box { outline: 2px solid var(--sage); outline-offset: 2px; }
.toggle__txt { flex: 1; font-size: 15px; }
.toggle__txt small { display: block; color: var(--muted); font-size: 13px; }
.toggle__price { font-size: 13px; color: var(--muted); white-space: nowrap; }

.calc__result { background: var(--forest); color: var(--ivory); padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.calc__result::before { content: ""; position: absolute; right: -40%; top: -20%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(169, 203, 179, .2), transparent 65%); pointer-events: none; }
.calc__result > * { position: relative; }
.calc__result h3 { font-size: 30px; margin-bottom: 36px; }
.calc__total small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 245, 240, .6); margin-bottom: 8px; }
.calc__total b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 62px); line-height: 1.05; background: linear-gradient(90deg, #eef4ef, #a9cbb3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__lines { list-style: none; margin: 36px 0; padding: 26px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 12px; font-size: 14px; }
.calc__lines li { display: flex; justify-content: space-between; gap: 16px; color: rgba(247, 245, 240, .75); }
.calc__lines li span:last-child { color: var(--ivory); white-space: nowrap; }
.calc__note { font-size: 12px; color: rgba(247, 245, 240, .5); margin: auto 0 24px; }

/* Цитата / манифест */
.manifest { text-align: center; max-width: 1000px; margin: 0 auto; }
.manifest p { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.22; margin: 0; }
.manifest p em { color: var(--moss); }
.dark .manifest p em { color: var(--sage); }
.manifest cite { display: block; margin-top: 40px; font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* Ценности / преимущества */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.feature { background: var(--paper); padding: 44px 32px 44px 0; }
.feature + .feature { padding-left: 32px; }
.section--ivory .feature { background: var(--ivory); }
.feature__icon { width: 46px; height: 46px; margin-bottom: 30px; color: var(--green); }
.feature h3 { font-size: 24px; margin-bottom: 12px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }

/* Аккордеон */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 30px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 18px; height: 18px; background: linear-gradient(var(--green), var(--green)) center / 100% 1px no-repeat, linear-gradient(var(--green), var(--green)) center / 1px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 60px 30px 0; color: var(--muted); margin: 0; max-width: 820px; }

/* Таблица прайса */
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.price-table td:last-child, .price-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.price-table td:first-child { font-family: var(--serif); font-size: 21px; }
.table-scroll { overflow-x: auto; }

/* Команда / о компании */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member .photo { aspect-ratio: 3 / 4; }
.member h3 { font-size: 24px; margin-top: 20px; }
.member span { font-size: 14px; color: var(--muted); }

.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline__row { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.timeline__row b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--green); }
.timeline__row h3 { font-size: 26px; margin-bottom: 8px; }
.timeline__row p { color: var(--muted); margin: 0; }

.partners { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 120px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 21px; letter-spacing: .04em; color: var(--muted); transition: color .3s, background .3s; }
.partners span:hover { color: var(--green); background: var(--ivory); }

/* Форма */
.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0;
  padding: 26px 0 12px; font-size: 17px; outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23435a4f'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field label { position: absolute; left: 0; top: 26px; font-size: 17px; color: var(--muted); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.dark .field input, .dark .field textarea, .dark .field select { border-color: var(--line-light); }
.dark .field input:focus, .dark .field textarea:focus { border-color: var(--sage); }
.dark .field label { color: rgba(247, 245, 240, .55); }
.dark .field input:focus + label, .dark .field input:not(:placeholder-shown) + label, .dark .field textarea:focus + label, .dark .field textarea:not(:placeholder-shown) + label { color: var(--sage); }
.dark .field select option { color: var(--ink); }
.consent { display: flex; gap: 12px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--green); }
.dark .consent { color: rgba(247, 245, 240, .55); }
.form__ok { display: none; padding: 30px; border: 1px solid var(--sage); font-family: var(--serif); font-size: 26px; line-height: 1.3; }
.form.is-sent > *:not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; }

.cta-band { position: relative; overflow: hidden; }
.cta-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.cta-band h2 { margin-bottom: 28px; }
.contacts-list { display: grid; gap: 26px; margin-top: 44px; }
.contacts-list small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-bottom: 4px; }
.dark .contacts-list small { color: var(--sage); }
.contacts-list a, .contacts-list p { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; margin: 0; }
.contacts-list a:hover { color: var(--moss); }
.dark .contacts-list a:hover { color: var(--sage); }

.map { position: relative; aspect-ratio: 16 / 7; background: var(--stone); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95) sepia(.12) hue-rotate(70deg); }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(247, 245, 240, .7); padding: clamp(70px, 9vw, 120px) 0 36px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 70px; }
.footer .logo img { height: 26px; }
.footer__about { margin-top: 26px; max-width: 320px; }
.footer h4 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--ivory); }
.footer__phone { font-family: var(--serif); font-size: 28px; color: var(--ivory); display: block; margin-bottom: 8px; }
.footer__big { font-family: var(--serif); font-size: clamp(60px, 15vw, 230px); line-height: .8; letter-spacing: .02em; text-align: center; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; margin: 0 0 40px; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(247, 245, 240, .45); }

/* Плавающая кнопка */
.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--forest); color: var(--ivory); display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(29, 40, 35, .55); transform: scale(0); transition: transform .5s var(--ease); }
.float-cta.is-visible { transform: scale(1); }
.float-cta svg { width: 24px; height: 24px; }
.float-cta::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--sage); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__phone { display: none; }
}
@media (max-width: 1024px) {
  .section-head, .split, .cta-band__grid, .calc { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .services, .tiers { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature + .feature { padding: 40px 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 36px; }
  .team { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .split__badge { left: 16px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .header__cta { display: none; }
  .services, .tiers, .steps, .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 36px 0; }
  .features { background: transparent; gap: 0; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .step, .step:nth-child(3n+2), .step:nth-child(3n) { padding: 36px 0; border-left: 0; }
  .service { min-height: 0; }
  .service h3 { margin-top: 36px; }
  .works { grid-template-columns: 1fr; }
  .work, .work--wide, .work--narrow, .work--full { grid-column: auto; }
  .work .photo, .work--wide .photo, .work--narrow .photo, .work--full .photo { aspect-ratio: 4 / 3; }
  .work__meta { flex-direction: column; gap: 4px; }
  .choices { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 1fr; gap: 12px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .hero__price { text-align: left; padding: 0; }
  .hero { align-items: flex-end; }
  .hero__actions .btn { width: 100%; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .map { aspect-ratio: 4 / 5; }
  .split__badge { position: relative; left: 0; bottom: 0; margin: -60px 16px 0; }
  .faq details p { padding-right: 0; }
  .tier__label { right: 20px; }
  .toggle__price { display: none; }
  .price-table th:nth-child(2), .price-table td:nth-child(2) { display: none; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .dark .stat + .stat { border-color: var(--line-light); }
  .stat { padding-top: 30px; padding-bottom: 30px; }
}
