/* E «Флагман»: материал в шапке меняет страницу, полное содержание, движение у каждого элемента. */
:root { --bg: #ebebe7; --surface: #f6f6f3; --ink: #141614; --muted: #5b5f5c; --line: #cfd1cc; --accent: #ff9012; --accent-ink: #c96a00; --on-accent: #141614;
  --display: "Geologica", system-ui, sans-serif; --r-card: 18px; --r-btn: 12px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.04em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.home-e section[id] { scroll-margin-top: 120px; }
.note { font-size: 14px; color: var(--muted); }
.legend { display: flex; gap: 16px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }

/* шапка: строка с логотипом + переключатель материала, всегда под рукой */
.he { position: fixed; inset: 0 0 auto; z-index: 40; color: #f4f4f1; transition: background-color .35s, color .35s; }
.he.solid { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); color: var(--ink); border-bottom: 1px solid var(--line); }
.he-row { display: flex; align-items: center; gap: 8px; height: 56px; }
.he .logo { font-weight: 800; letter-spacing: .01em; text-decoration: none; margin-right: auto; font-size: 17px; }
.he-nav { display: none !important; }
.he-ic { width: 42px; height: 42px; display: grid; place-items: center; font-size: 22px; text-decoration: none; border-radius: 50%; }
.he-cta { display: none; min-height: 44px; padding: 0 18px; font-size: 15px; }
.he-burger { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.he-burger i { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .25s; }
/* три полоски; при открытии средняя исчезает, крайние складываются в крестик */
.he-burger[aria-expanded="true"] i:first-child { transform: translateY(7px) rotate(45deg); }
.he-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.he-burger[aria-expanded="true"] i:last-child { transform: translateY(-7px) rotate(-45deg); }
.he-mats { padding-bottom: 10px; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 999px; padding: 3px; background: rgba(255,255,255,.16); max-width: 520px; }
.he.solid .seg { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg button { position: relative; z-index: 1; border: 0; background: none; color: inherit; padding: 9px 2px; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color .35s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .5s var(--ease); }
.menu { position: fixed; inset: 0; z-index: 35; background: var(--ink); color: var(--bg); padding-top: 120px; display: grid; align-content: space-between; padding-bottom: 32px; overscroll-behavior: contain; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font: 700 clamp(30px, 8.5vw, 60px)/1.12 var(--display); letter-spacing: -0.04em; text-decoration: none; cursor: pointer; }
.menu-foot { display: flex; gap: 20px; font-size: 17px; }
.menu-foot a { text-decoration: none; opacity: .8; }
.he.menu-open { color: var(--bg); background: transparent; border-color: transparent; backdrop-filter: none; }

/* первый экран */
.hero { position: relative; height: 100svh; min-height: 620px; color: #f4f4f1; overflow: hidden; background: #1a1c1a; }
.hero-imgs, .hero-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-imgs { z-index: 0; } /* свой слой: z-index картинок не должен перекрывать текст */
.hero-imgs img { object-fit: cover; clip-path: inset(0 0 0 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,13,12,.86) 10%, rgba(12,13,12,.2) 58%, rgba(12,13,12,.5)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; height: 100%; display: grid; align-items: end; padding-top: 120px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.hero-copy { display: grid; gap: 14px; }
.hero h1 { font-size: clamp(44px, 12.5vw, 120px); line-height: .95; max-width: 11ch; }
.hero p { font-size: 18px; max-width: 34ch; opacity: .9; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-btns .btn { flex: 1 1 180px; }
.btn-glass { background: rgba(255,255,255,.14); color: #f4f4f1; border: 1px solid rgba(255,255,255,.32); }

/* цифры */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.stats div { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; display: grid; gap: 2px; align-content: end; min-width: 0; }
.stats b { font: 800 clamp(24px, 7vw, 40px)/1.05 var(--display); letter-spacing: -0.04em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.stats div > span { color: var(--muted); font-size: 14px; line-height: 1.3; }
.stats i { font-size: 22px; color: var(--accent-ink); margin-bottom: 10px; }
.stats .st-main { grid-column: 1 / -1; background: var(--accent); border-color: var(--accent); grid-template-columns: 1fr auto; padding: 18px 20px; }
.stats .st-main b, .stats .st-main > span { grid-column: 1; color: var(--on-accent); }
.st-main b { font-size: clamp(40px, 12vw, 64px); }
.st-main i { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; font-size: clamp(56px, 16vw, 88px); color: var(--on-accent); opacity: .85; }

/* лента работ */
.marquee { margin-top: 28px; overflow: hidden; }
.mq-track { display: flex; gap: 12px; width: max-content; }
.mq-track img { height: 200px; width: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }

.sec { padding-top: 56px; display: grid; gap: 16px; }
.sec h2 { font-size: clamp(30px, 8vw, 60px); line-height: 1; max-width: 18ch; }
.sec p { color: var(--muted); font-size: 17px; max-width: 46ch; }

/* живой план */
.plan-sec { align-items: center; }
.plan-text { display: grid; gap: 14px; }
.plan { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.plan canvas { display: block; width: 100%; aspect-ratio: 1; cursor: pointer; }
.plan-tag { position: absolute; left: 12px; top: 12px; font: 13px var(--mono); background: var(--surface); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 52px; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 6px; margin: 0 -6px; }
.strip::-webkit-scrollbar { display: none; }
.strip button { width: 52px; height: 52px; border-radius: 12px; border: 0; background-size: cover; cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .25s, transform .3s var(--ease); }
.strip button:hover { transform: translateY(-3px); }
.strip button[aria-pressed="true"] { outline-color: var(--accent); }
.plan-text .btn { justify-self: start; }

/* преимущества: 6 ячеек, без пустот */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bento article { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; display: grid; align-content: end; min-height: 180px; overflow: hidden; transition: transform .45s var(--ease), border-color .3s; }
.bento article:hover { transform: translateY(-4px); border-color: var(--ink); }
.bento article > div { position: relative; z-index: 1; display: grid; gap: 6px; }
.bento i { font-size: 28px; color: var(--accent); }
.bento h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.12; }
.bento p { font-size: 15px; color: var(--muted); }
.b-photo { grid-column: span 2; min-height: 240px !important; color: #f4f4f1; border: 0 !important; }
.b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.b-photo:hover img { transform: scale(1.05); }
.b-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,13,12,.82), rgba(12,13,12,0) 65%); }
.b-photo p, .b-photo i { color: #f4f4f1 !important; }
.b-dark { background: var(--ink) !important; color: var(--bg); border-color: var(--ink) !important; }
.b-dark p { color: color-mix(in srgb, var(--bg) 70%, transparent) !important; }
.b-accent { background: var(--accent) !important; color: #fff; border-color: var(--accent) !important; }
.b-accent i, .b-accent p { color: #fff !important; }

/* сравнение */
.cmp { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: 1.5fr repeat(var(--cols, 3), 1fr); align-items: center; gap: 6px; padding: 14px; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-head b { font-size: 13px; text-align: center; line-height: 1.15; }
.cmp-head b:nth-child(2) { color: var(--accent); }
.cmp-row span { font-size: 15px; }
.cmp i { justify-self: center; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.cmp i.y { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.cmp i.p { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.cmp i.n { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--muted); }

/* работы: на телефоне стопка без затемнения, на компьютере сетка */
.stack { display: grid; }
.stack-card { position: sticky; top: 120px; height: 62svh; max-height: 560px; border-radius: var(--r-card); overflow: hidden; margin-bottom: 12px; color: #f4f4f1; display: grid; align-items: end; transform-origin: 50% 0; }
.stack-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.stack-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,13,12,.72), rgba(12,13,12,0) 45%); }
.stack-card .row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 18px; }
.stack-card h3 { font-size: clamp(22px, 5.5vw, 30px); display: grid; }
.stack-card h3 small { font: 400 12px var(--body); opacity: .75; letter-spacing: 0; }
.stack-card .btn { min-height: 44px; flex: none; }

/* кому */
.who { display: grid; gap: 14px; }
.who-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.who-tabs button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 16px; font-size: 15px; cursor: pointer; transition: background-color .3s, color .3s; }
.who-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.who-panels article { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.who-panels img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.who-panels article > div { padding: 18px; display: grid; gap: 12px; }
.who-panels h3 { font-size: 24px; }
.who-panels .btn { justify-self: start; }

/* этапы */
.steps { list-style: none; margin: 0; padding: 0 0 0 32px; display: grid; gap: 20px; position: relative; counter-reset: s; }
.steps::before, .steps::after { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.steps::after { background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.steps li { position: relative; display: grid; gap: 2px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: -32px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center; font: 500 12px var(--mono); z-index: 1; transition: background-color .3s, border-color .3s, color .3s; }
.steps li.on::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps b { font-size: 19px; }
.steps span { color: var(--muted); }

/* заявка */
.form-sec { margin-top: 64px; background: var(--ink); color: #f1f1ee; padding: 56px 0 64px; --line: #34383a; }
.form-grid { display: grid; gap: 24px; }
.form-side { display: grid; gap: 12px; align-content: start; }
.form-side h2 { font-size: clamp(30px, 8vw, 56px); line-height: 1; }
.form-side p { opacity: .75; font-size: 17px; }
.form-photo { display: none; border-radius: var(--r-card); overflow: hidden; }
.form-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* вопросы */
.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: 16px; padding: 18px 0; font-size: 18px; font-weight: 500; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { overflow: hidden; }
.faq details p { padding-bottom: 18px; }
.faq summary:hover { color: var(--accent); }

/* подвал */
.fe { margin-top: 64px; background: var(--ink); color: #e9e9e6; padding: 40px 0 100px; overflow: hidden; }
.fe-grid { display: grid; gap: 24px; }
.fe-col { display: grid; gap: 8px; align-content: start; }
.fe-col b { font-size: 13px; text-transform: uppercase; opacity: .55; letter-spacing: .06em; }
.fe-col a { text-decoration: none; justify-self: start; cursor: pointer; font-size: 17px; }
.fe-word { margin-top: 32px; font: 800 10.4vw/0.9 var(--display); letter-spacing: -0.05em; white-space: nowrap; color: #2a2d2b; }

@media (min-width: 900px) {
  .he-cta { display: flex; }
  .he-mats { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 440px; padding: 0; }
  .he-row { height: 64px; }
  .seg button { padding: 8px 2px; }
  .hero-in { padding-bottom: 64px; }
  .hero-btns .btn { flex: none; }
  .stats { grid-template-columns: 1.4fr 1fr 1fr; }
  .stats .st-main { grid-column: auto; }
  .mq-track img { height: 260px; }
  .sec { padding-top: 80px; }
  .plan-sec { grid-template-columns: 1fr 1fr; gap: 56px; }
  .plan { max-width: 560px; justify-self: end; width: 100%; }
  .home-e .stones { grid-template-columns: repeat(9, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
  .bento article { min-height: 0; }
  .b-photo { grid-column: span 1; }
  .cmp { max-width: 980px; }
  .cmp-row { padding: 16px 24px; }
  .cmp-head b { font-size: 16px; }
  .stack { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stack-card { position: relative; top: auto; height: 380px; margin: 0; }
  .stack-card:hover img { transform: scale(1.05); }
  .who-panels article { grid-template-columns: 1fr 1fr; align-items: center; }
  .who-panels img { height: 400px; aspect-ratio: auto; }
  .who-panels article > div { padding: 32px 40px; }
  .steps { grid-template-columns: repeat(5, 1fr); padding: 40px 0 0; gap: 18px; }
  .steps::before, .steps::after { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .steps li::before { left: 0; top: -40px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .form-photo { display: block; }
  .fe-grid { grid-template-columns: repeat(3, 1fr); }
  .fe { padding-bottom: 40px; }
  .fe-word { font-size: min(10.4vw, 150px); }
}

/* лента работ кликабельна, фото открывается крупно */
.mq-item { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; flex: none; }
.mq-item img { transition: transform .6s var(--ease); }
.mq-item:hover img { transform: scale(1.04); }
.lb { border: 0; padding: 0; margin: auto; width: min(960px, 100% - 24px); max-height: 94dvh; background: transparent; color: #f4f4f1; overflow: visible; }
.lb::backdrop { background: rgba(10,11,10,.88); }
.lb-in { position: relative; display: grid; gap: 12px; }
.lb img { width: 100%; max-height: 72dvh; object-fit: contain; border-radius: 14px; background: #000; touch-action: pan-y; }
.lb-x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20,22,21,.7); color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.lb-bar { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 10px; }
.lb-a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: background-color .25s; }
.lb-a:hover { background: rgba(255,255,255,.12); }
.lb-t { display: grid; text-align: center; }
.lb-t span { font-size: 13px; opacity: .7; }
.lb .btn { justify-self: center; }

/* ---------- v6 ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.sec h2 em, .statement em, .map-text h2 em { font-style: normal; color: var(--accent); }

/* текст заливается при прокрутке */
.statement p { font: 600 clamp(24px, 5.6vw, 52px)/1.15 var(--display); letter-spacing: -0.03em; color: var(--ink); max-width: 30ch; }

/* оранжевый при наведении: ссылки, заголовки карточек, пункты меню */
.home-e a:not(.btn):not(.logo):not(.menu nav a):hover, .faq summary:hover, .who-tabs button:hover, .feat-list li:hover h3, .stone:hover b, .city-chips span:hover { color: var(--accent); }
.home-e a:not(.btn), .menu nav a, .feat-list h3, .stone b, .city-chips span { transition: color .25s; }

/* образцы как у Lando: крупно, вкладка с именем в вырезе, раскрытие сверху каплей */
.stones.lando { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 30px 0; }
.lando .stone { will-change: transform; }
.lando .stone-media { border-radius: 20px; }
.lando .stone-media .obj { clip-path: ellipse(100% 0% at 50% 0%); transform: scale(1.06); transition: clip-path 1s cubic-bezier(.7,0,.2,1), transform 1.2s var(--ease); }
.lando .stone.on .obj { clip-path: ellipse(150% 150% at 50% 0%); transform: scale(1); }
.lando .stone .seam { display: none; }
.lando .stone b { position: absolute; left: 0; bottom: 0; z-index: 4; background: var(--bg); padding: 8px 14px 0 2px; border-top-right-radius: 16px; font-size: 15px; font-weight: 600; }
.lando .stone-media { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
@media (hover: hover) {
  .lando .stone.has-obj:hover .obj { clip-path: ellipse(150% 150% at 50% 0%); transform: scale(1); }
  .lando .stone:hover .stone-media { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,22,20,.18); }
}

/* почему без швов: список + меняющееся фото */
.feat { display: grid; gap: 16px; }
.feat-img { display: none; position: relative; border-radius: 20px; overflow: hidden; }
.feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.feat-img img.on { opacity: 1; transform: scale(1); }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: f; }
.feat-list li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); cursor: default; transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.feat-list li img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; }
.feat-list li h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.15; }
.feat-list li p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.feat-list li.on { border-color: var(--accent); }

/* сравнение «да / нет» */
.vs { --cols: 3; display: grid; gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.vs-row { display: grid; grid-template-columns: 1.4fr repeat(var(--cols), 1fr); align-items: center; gap: 4px; padding: 14px 12px; border-top: 1px solid var(--line); transition: background-color .3s; }
.vs-row:first-child { border-top: 0; }
.vs-row:not(.vs-head):hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.vs-row span { font-size: 15px; font-weight: 500; }
.vs-head b { text-align: center; font-size: 13px; line-height: 1.15; color: var(--muted); }
.vs-head b.win { color: #fff; background: var(--accent); border-radius: 999px; padding: 8px 6px; }
.vs i { justify-self: center; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.vs i svg { width: 22px; height: 22px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vs i.y { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.vs i.y svg { stroke: var(--accent); }
.vs i.y path { stroke-dasharray: 30; }
.vs i.y.win { background: var(--accent); }
.vs i.y.win svg { stroke: #fff; }
.vs i.n { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.vs i.n svg { stroke: color-mix(in srgb, var(--ink) 45%, transparent); }

/* работы: сетка по числу карточек, без дыр */
.stack-card { cursor: zoom-in; }

/* карта */
.map-sec { align-items: center; }
.map-text { display: grid; gap: 14px; align-content: start; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .uz { fill: color-mix(in srgb, var(--accent) 7%, var(--surface)); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.map .route { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 6; opacity: .55; }
.map .city circle { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.map .city.main circle { fill: var(--ink); }
.map .city text { font: 600 22px var(--body); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; }
.map .city:not(.main) text { font-size: 17px; font-weight: 500; }
.city-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.city-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; background: var(--surface); cursor: default; }

/* заявка: заметный бесплатный замер и меняющиеся фото */
.free { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--accent); color: #fff; }
.free i { font-size: 34px; }
.free b { display: block; font: 700 22px/1.1 var(--display); letter-spacing: -0.02em; }
.free span { display: block; font-size: 15px; opacity: .92; margin-top: 4px; }
.form-show { display: none; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; }
.form-show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 4s linear; }
.form-show img.on { opacity: 1; transform: scale(1); }
.show-dots { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.show-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.5); transition: width .4s var(--ease), background-color .4s; }
.show-dots i.on { width: 22px; background: #fff; }

/* подвал: логотип, кнопка, переливающаяся надпись */
.fe-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #2c2f2d; }
.fe-logo { text-decoration: none; font-weight: 800; font-size: 18px; }
.fe-word { background: linear-gradient(100deg, #d9622b 0%, #f2c7a3 18%, #e9e6df 32%, #8f8a80 46%, #d9622b 60%, #f2c7a3 76%, #e9e6df 90%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fe-flow 9s linear infinite; padding-bottom: .08em; }
.fe-word > * { background: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes fe-flow { to { background-position: -300% 0; } }

/* лента работ */
.mq-item { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; flex: none; }
.mq-item img { transition: transform .6s var(--ease); display: block; }
.mq-item:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) { .fe-word { animation: none; } }
@media (min-width: 900px) {
  .stones.lando { grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 50px 0; }
  .home-e .stones.lando { grid-template-columns: repeat(4, 1fr); }
  .feat { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .feat-img { display: block; position: sticky; top: 100px; width: 100%; height: min(76vh, 720px); } /* фото на всю ширину колонки, без пустоты рядом */
  .feat-list li { grid-template-columns: 1fr; padding: 22px 24px; }
  .feat-list li img { display: none; }
  .feat-list li h3 { font-size: 26px; }
  .feat-list li.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .feat-list li.on p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
  .vs-row { padding: 18px 28px; gap: 16px; }
  .vs-row span { font-size: 17px; }
  .vs-head b { font-size: 16px; }
  .stack[data-n="4"] { grid-template-columns: repeat(4, 1fr); }
  .stack[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
  .map-sec { grid-template-columns: 1fr 1.4fr; gap: 48px; }
  .form-show { display: block; }
  .fe-top { padding-bottom: 36px; }
}

/* Liquid Glass: стекло даёт библиотека Liquid Web, наш элемент лежит внутри прозрачным */
.glass { display: block; border-radius: 999px; }
.glass-btn { display: inline-flex; flex: 1 1 180px; }
.glass-btn .btn { width: 100%; }
.glass.liquidweb .seg, .glass.liquidweb .btn-glass { background: transparent; }
@media (min-width: 900px) { .glass-btn { flex: none; } }

/* шапка на телефоне: логотип в одну строку, переключатель материала отдельной строкой ниже */
.he .logo span { white-space: nowrap; }
@media (max-width: 899px) {
  .he-row { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; row-gap: 8px; }
  .he-mats { order: 10; flex: 0 0 100%; padding: 0; }
  .he .logo span { font-size: 15px; }
}
@media (min-width: 900px) { .he-mats { position: static; transform: none; width: 440px; margin: 0 auto; } .he .logo { margin-right: 0; } }
.feat-list li > div { min-width: 0; }

/* ---------- фирменный логотип (вектор с аватарки бренда в Telegram) ---------- */
.nf-logo { height: 40px; width: auto; display: block; }
@media (max-width: 899px) { .nf-logo { height: 34px; } }
.he .logo { color: inherit; }
.nf-logo { transition: transform .5s var(--ease); }
.logo:hover .nf-logo { transform: scale(1.04); }
.fe-logo img { height: 64px; width: auto; display: block; }
.fe-word { aspect-ratio: 187 / 64; width: 100%; max-width: 1100px; margin-top: 36px;
  -webkit-mask: url(../img/brand/wordmark.svg) center / contain no-repeat; mask: url(../img/brand/wordmark.svg) center / contain no-repeat;
  background: linear-gradient(100deg, #ff9012 0%, #ffd7ae 16%, #f4f4f1 30%, #ff9012 46%, #c96a00 60%, #ffd7ae 78%, #ff9012 100%) 0 0 / 300% 100%;
  animation: fe-flow 10s linear infinite; font-size: 0; color: transparent; padding: 0; }
/* полоса прокрутки: по нижнему краю шапки, всегда видна */
.scroll-bar { top: auto; height: 3px; background: var(--accent); z-index: 41; }
.he .scroll-bar { position: absolute; left: 0; right: 0; bottom: -1px; }
/* тексты на оранжевом: тёмные */
.free { color: var(--on-accent); }
.vs-head b.win { color: var(--on-accent); }
.vs i.y.win svg { stroke: var(--on-accent); }
.b-accent, .b-accent i, .b-accent p { color: var(--on-accent) !important; }
.steps li.on::before { color: var(--on-accent); }
.vs i.y svg { stroke: var(--accent-ink); }
.sec h2 em, .statement em, .map-text h2 em { color: var(--accent-ink); }

/* ---------- образцы точно как в варианте Lando: фигурная рамка с язычком, подсветка рамки при наведении ---------- */
.stones.lando { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 0; }
.lando .stone { position: relative; aspect-ratio: 187 / 188; display: block; }
.lando .stone-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; clip-path: url(#lando-clip); background: var(--surface); box-shadow: none !important; transform: none !important; }
.lando .stone-media::after { right: auto; left: 8px; top: 8px; bottom: auto; }
.lando .stone-media .viz { left: auto; right: 8px; }
.lf-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }
.lf-frame path { fill: none; vector-effect: non-scaling-stroke; }
.lf-base { stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1; }
.lf-over { stroke: var(--accent); stroke-width: 2.5; opacity: 0; transition: opacity .45s var(--ease); }
.lando .stone.on .lf-over { opacity: 1; }
.lando .stone b { position: absolute; left: auto; right: 2px; bottom: 0; height: 9.6%; display: flex; align-items: center; justify-content: flex-end; padding: 0; background: none; border-radius: 0; font-size: clamp(12px, 3.4vw, 16px); font-weight: 600; line-height: 1; white-space: nowrap; z-index: 6; transition: color .3s; }
@media (hover: hover) {
  .lando .stone:hover .lf-over { opacity: 1; }
  .lando .stone:hover b { color: var(--accent-ink); }
}
@media (min-width: 900px) { .stones.lando, .home-e .stones.lando { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 30px 0; } }

/* ---------- v7: шапка и нижняя панель на Liquid Glass (библиотека Liquid Web) ---------- */
.he { inset: 10px 0 auto; padding: 0 var(--gut); background: none !important; border: 0 !important; backdrop-filter: none !important; }
.he-glass { max-width: 1240px; margin: 0 auto; border-radius: 999px; }
.he-glass .liquidweb__content { width: 100%; }
.he-row { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 8px 0 18px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: var(--rim); transition: background-color .35s; }
/* как Liquid Glass у Apple: середина прозрачная, края преломляют, светлая кромка сверху-слева */
:root { --rim: inset 1.5px 1.5px 0 rgba(255,255,255,.85), inset -1px -1px 0 rgba(255,255,255,.4), 0 10px 30px rgba(0,0,0,.14); }
.he.solid .he-row { background: rgba(255,255,255,.2); }
.he .logo { margin-right: auto; }
.scroll-bar { display: none !important; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, transparent); }
.lang button { border: 0; background: none; color: inherit; font: 600 13px var(--body); padding: 7px 10px; border-radius: 999px; cursor: pointer; opacity: .7; transition: background-color .3s, color .3s, opacity .3s; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); opacity: 1; }
.he-mats, .seg-pill { display: none !important; }
/* материал на первом экране */
.hero-mats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.hero-mats button { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #f4f4f1; border-radius: 999px; padding: 9px 16px; font: 500 15px var(--body); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.hero-mats button:hover { border-color: #fff; }
.hero-mats button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hero-in { padding-top: 90px; }
/* материал в меню */
.menu { padding-top: 96px; }
.menu-mats { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid #2c2f2d; }
.menu-mats button { border: 1px solid #3a3e3b; background: none; color: inherit; border-radius: 999px; padding: 11px 18px; font: 500 16px var(--body); cursor: pointer; }
.menu-mats button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* нижняя панель */
.dock { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 0; background: none !important; border: 0 !important; backdrop-filter: none !important; display: block; }
.dock-glass { border-radius: 22px; }
.dock-in { display: grid; grid-template-columns: 1fr 52px 52px; gap: 8px; padding: 8px; border-radius: 22px; box-shadow: var(--rim); background: rgba(255,255,255,.2); }
.dock-in .ic { background: rgba(255,255,255,.45); border: 0; box-shadow: var(--rim); color: var(--ink); }
/* над тёмным фоном стекло почти прозрачное, текст и значки светлые */
.he.on-dark { color: #f4f4f1; }
.he.solid.on-dark .he-row { background: rgba(255,255,255,.06); }
.dock.on-dark .dock-in { background: rgba(255,255,255,.04); }
.dock.on-dark .dock-in .ic { background: rgba(255,255,255,.08); color: #f4f4f1; }
@media (max-width: 899px) {
  .he-row { height: auto; min-height: 52px; flex-wrap: nowrap; padding: 6px 6px 6px 14px; }
  .lang button { padding: 6px 8px; font-size: 12px; }
}
@media (min-width: 900px) { .he-row { height: 64px; } .hero-in { padding-top: 110px; } }

/* карта: читаемые подписи на любом экране */
.map { width: 100%; }
.map .uz { fill: color-mix(in srgb, var(--accent) 14%, var(--surface)); stroke-width: 2.5; }
.map .city text { font-size: 26px; font-weight: 600; stroke-width: 7px; }
.map .city.main text { font-size: 32px; font-weight: 700; }
.map .city circle { r: 9; }
@media (max-width: 899px) {
  .map { margin: 0 calc(-1 * var(--gut)); width: calc(100% + 2 * var(--gut)); }
  .map .city text, .map .city:not(.main) text { font-size: 44px; stroke-width: 10px; }
  .map .city.main text { font-size: 52px; }
  .map .city.minor text { display: none; }
  .map .city circle { r: 13; }
  .map .route { stroke-width: 3; }
}

/* ---------- подвал v7 ---------- */
.fe { padding: 0 0 calc(96px + env(safe-area-inset-bottom)); margin-top: 72px; }
.fe-cta { display: grid; gap: 20px; padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid #2c2f2d; }
.fe-cta h2 { font-size: clamp(40px, 11vw, 120px); line-height: .95; letter-spacing: -0.045em; color: #f4f4f1; }
.fe-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.fe-ghost { border: 1px solid #3a3e3b; color: #f4f4f1; background: transparent; }
.fe-phone { font: 600 clamp(20px, 5vw, 28px) var(--display); letter-spacing: -0.02em; text-decoration: none; color: #f4f4f1; margin-left: 4px; }
.fe-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; padding-bottom: 8px; }
.fe-brand { grid-column: 1 / -1; }
.fe-brand { display: grid; gap: 14px; align-content: start; max-width: 360px; }
.fe-brand p { color: #a9ada9; font-size: 15px; }
.fe-logo img { height: 72px; width: auto; }
.fe-soc { display: flex; gap: 8px; }
.fe-soc a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #3a3e3b; display: grid; place-items: center; font-size: 21px; color: #f4f4f1; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.fe-soc a { text-decoration: none; }
.fe-soc a:hover i { color: var(--on-accent); } /* общее «ссылка оранжевая при наведении» красило иконку в цвет круга */
.fe .fe-soc a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.fe-col b { color: #8d918d; }
.fe-col a { color: #e9e9e6; }
.fe-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; color: #8d918d; font-size: 14px; border-top: 1px solid #2c2f2d; margin-top: 14px; }
.fe-word { margin-top: 28px; }
.fe-top { display: none; }
@media (min-width: 900px) {
  .fe { padding-bottom: 28px; }
  .fe-cta { grid-template-columns: 1.3fr 1fr; align-items: end; padding-top: 80px; padding-bottom: 56px; }
  .fe-cta-row { justify-content: flex-end; }
  .fe-mid { grid-template-columns: 1.4fr 1fr 1fr; }
  .fe-brand { grid-column: auto; }
}

@media (max-width: 899px) {
  .hero-mats { flex-wrap: nowrap; gap: 5px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .hero-mats::-webkit-scrollbar { display: none; }
  .hero-mats button { padding: 8px 11px; font-size: 14px; white-space: nowrap; }
}
.map .city.main circle { r: 13; }
@media (min-width: 900px) { .dock { display: none !important; } }
@media (min-width: 600px) { .fe-mid { grid-template-columns: 1.4fr 1fr 1fr; } .fe-brand { grid-column: auto; } }
/* ---------- v8: меню ---------- */
/* нижняя панель не выглядывает из-под открытого меню */
body:has(.he.menu-open) .dock { opacity: 0 !important; visibility: hidden !important; } /* !important: панель показывает GSAP через inline-стиль */
/* материалы на всю ширину, заливка снизу при наведении */
.menu-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-bottom: 0; padding-bottom: 0; margin-bottom: 28px; }
.menu-mats button { position: relative; overflow: hidden; isolation: isolate; padding: 14px 8px; text-align: center; font-size: clamp(14px, 3.8vw, 17px); transition: color .4s var(--ease), border-color .4s; }
.menu-mats button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.menu-mats button:hover::before, .menu-mats button[aria-pressed="true"]::before { transform: scaleY(1); }
.menu-mats button:hover { color: var(--on-accent); border-color: var(--accent); }
/* пункты меню: цвет поднимается снизу вверх по буквам */
.menu nav a { justify-self: start; color: transparent; background: linear-gradient(to top, var(--accent) 50%, #f4f4f1 50%) 0 0 / 100% 200% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position .5s var(--ease); }
.menu nav a:hover, .menu nav a:focus-visible { color: transparent; background-position: 0 100%; }
.menu-foot { flex-wrap: wrap; gap: 10px 22px; }
.menu-foot a { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.menu-foot i { font-size: 20px; color: var(--accent); }
/* выбор материала сразу под шапкой, а не над заголовком */
.hero-mats { position: absolute; z-index: 2; top: 80px; left: var(--gut); right: var(--gut); margin: 0 !important; padding: 0 !important; }
@media (min-width: 900px) { .hero-mats { top: 90px; left: calc(var(--gut) + max(0px, (100% - 1240px) / 2)); } }
/* ---------- прогулка по объектам ---------- */
.walk-head { display: grid; gap: 10px; margin-bottom: 20px; }
.walk-head p { color: var(--muted); font-size: 17px; max-width: 52ch; }
.walk-card { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; color: #f4f4f1; text-decoration: none; background: var(--ink); }
.walk-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: transform 1.4s var(--ease); }
.walk-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,13,12,.85) 8%, rgba(12,13,12,0) 55%); }
.walk-card:hover img { transform: scale(1.04); }
.walk-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 20px 84px; display: grid; gap: 6px; }
.walk-tag { justify-self: start; font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.walk-info h3 { font-size: clamp(24px, 6vw, 40px); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.walk-info p { font-size: 15px; color: #c9ccc8; max-width: 46ch; }
.walk-go { position: absolute; z-index: 1; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 16px; overflow: hidden; isolation: isolate; }
.walk-go::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #f4f4f1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.walk-card:hover .walk-go::before { transform: scaleY(1); }
.walk-go i { font-size: 20px; }
@media (min-width: 900px) {
  .walk-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; }
  .walk-card { aspect-ratio: 16 / 9; max-height: 680px; width: 100%; }
  .walk-info { padding: 36px 36px 36px; max-width: 60%; }
  .walk-go { left: auto; right: 36px; bottom: 36px; padding: 16px 26px; font-size: 17px; }
}

/* сравнение после дождя: квадратный кадр настоящего двора */
[data-rain] .compare { aspect-ratio: 1; }
[data-rain] .compare img { object-position: 50% 50%; }
@media (min-width: 900px) {
  [data-rain] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; align-items: center; }
  [data-rain] h2 { grid-column: 1; grid-row: 1; align-self: end; }
  [data-rain] .note { grid-column: 1; grid-row: 2; align-self: start; }
  [data-rain] .compare { grid-column: 2; grid-row: 1 / 3; }
}
/* ---------- v9: меню. Главные разделы крупно с номерами, второстепенные строкой, расчёт кнопкой ---------- */
.menu { display: flex; flex-direction: column; padding-top: 96px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; isolation: isolate; }
/* узор логотипа, еле заметный, как на входе в NF Бизнес */
.menu::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("../img/brand/waves.svg") right -14vh center / auto 118% no-repeat; opacity: .05; }
.menu-nav { flex: 1; display: grid; align-content: start; gap: 0; }
.menu-main { display: grid; border-top: 1px solid rgba(244, 244, 241, .12); }
.menu .menu-main a { justify-self: stretch; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(244, 244, 241, .12); font: 600 clamp(26px, 7.4vw, 46px)/1.08 var(--display); letter-spacing: -0.03em; color: #f4f4f1; background: none; -webkit-background-clip: border-box; background-clip: border-box; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.menu-main .mn { align-self: start; padding-top: .55em; font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0; color: rgba(244, 244, 241, .42); }
.menu-main .mt { transition: color .25s, transform .4s var(--ease); }
.menu-main a i { font-size: 22px; color: var(--accent); opacity: 0; transform: translateX(-10px); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.menu .menu-main a:active .mt, .menu .menu-main a:focus-visible .mt { color: var(--accent); }
.menu .menu-main a:focus-visible { outline: none; }
.menu .menu-main a:focus-visible i { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .menu .menu-main a:hover .mt { color: var(--accent); transform: translateX(8px); }
  .menu .menu-main a:hover i { opacity: 1; transform: none; }
  .menu .menu-sub a:hover { color: var(--accent); border-color: var(--accent); }
  .menu-foot .menu-phone:hover, .menu-foot .menu-ic:hover { border-color: var(--accent); }
}
.menu-sub { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.menu .menu-sub a { justify-self: auto; padding: 10px 16px; border: 1px solid rgba(244, 244, 241, .2); border-radius: 999px; font: 500 15px/1.2 var(--body); letter-spacing: 0; color: rgba(244, 244, 241, .85); background: none; -webkit-background-clip: border-box; background-clip: border-box; text-decoration: none; transition: color .25s, border-color .25s; }
.menu-foot { display: grid; gap: 10px; padding-top: 22px; }
.menu-foot .menu-cta { width: 100%; min-height: 56px; justify-content: center; font-size: 17px; opacity: 1; }
.menu-contacts { display: flex; align-items: center; gap: 8px; }
.menu-foot .menu-phone { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(244, 244, 241, .2); border-radius: 999px; font: 500 16px var(--body); white-space: nowrap; opacity: 1; transition: border-color .25s; }
.menu-foot .menu-ic { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(244, 244, 241, .2); border-radius: 50%; opacity: 1; transition: border-color .25s; }
.menu-foot i { font-size: 20px; color: var(--accent); }
@media (min-width: 900px) {
  .menu .menu-main a { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 16px 0; font-size: clamp(40px, 4.6vw, 64px); }
  .menu-foot { grid-template-columns: minmax(0, 360px) auto; justify-content: space-between; align-items: center; }
  .menu-contacts .menu-phone { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-main .mt, .menu-main a i { transition: none; }
}
/* названия материалов в меню в одну строку и на русском */
@media (max-width: 899px) { .menu-mats { display: flex; flex-wrap: nowrap; gap: 6px; } .menu-mats button { flex: 1 1 auto; min-width: 0; white-space: nowrap; padding: 14px 8px; font-size: clamp(12px, 3.3vw, 17px); } }
@media (max-width: 340px) { .menu-mats button { font-size: 11px; padding: 13px 5px; } }
/* форма заявки: заголовок и «Замер бесплатно» компактнее, первое поле видно сразу */
@media (max-width: 899px) {
  .form-side h2 { font-size: clamp(28px, 7.4vw, 40px); }
  .free { padding: 12px 14px; gap: 12px; }
  .free i { font-size: 26px; }
  .free b { font-size: 18px; }
  .free span { font-size: 14px; margin-top: 2px; }
}
/* образцы вживую: павильон в Pavilion */
.showroom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.showroom > i:first-child { font-size: 26px; color: var(--accent-ink); }
.showroom > i:last-child { font-size: 18px; opacity: .55; }
.showroom b { display: block; font-size: 16px; }
.showroom span span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (hover: hover) and (pointer: fine) { .showroom:hover { border-color: var(--accent); transform: translateY(-2px); } }

/* ---------- простые страницы сайта: цена, конфиденциальность, 404 ---------- */
.page-hero { padding: 130px 0 32px; }
.page-hero .wrap { display: grid; gap: 16px; justify-items: start; }
.page-hero h1 { font-size: clamp(38px, 10vw, 96px); line-height: .95; max-width: 14ch; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 44ch; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: p; }
.price-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 18px 18px 60px; position: relative; transition: border-color .3s, transform .45s var(--ease); }
.price-list li::before { counter-increment: p; content: counter(p); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 600 13px var(--mono); }
.price-list li:hover { border-color: var(--accent); transform: translateY(-3px); }
.price-list h3 { font-size: 20px; letter-spacing: -0.02em; }
.price-list p { margin-top: 4px; }
.legal { max-width: 760px; }
.legal p { color: var(--ink); font-size: 17px; }
.legal .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 900px) {
  .page-hero { padding-top: 160px; }
  .price-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .price-list li { min-height: 170px; }
}

/* что это за материал: ответ и частые вопросы (только на страницах материалов) */
.about-mat { display: grid; gap: 24px; }
.about-mat h2 { margin-bottom: 12px; }
.about-mat p { color: var(--muted); max-width: 60ch; }
.about-mat .am-where { margin-top: 10px; color: var(--ink); font-weight: 600; }
.am-faq { display: grid; margin: 0; border-top: 1px solid var(--line); }
.am-faq div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.am-faq dt { font-weight: 700; color: var(--ink); }
.am-faq dd { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .about-mat { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
