/* ip4u.ru — фирменный стиль: уголь, белый и малиновый градиент знака «4».
   Заголовки — Proto Sans, текст — Stolzl. Шрифты лежат на сайте, внешних загрузок нет. */

@font-face { font-family: "Proto Sans"; src: url("../fonts/protosans56.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/stolzl-book.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/stolzl-light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }

:root {
  --coal: #1b1a1a;        /* фон страницы */
  --graphite: #2e2d2c;    /* фирменный тёмный: панели, карточки */
  --smoke: #403e3d;       /* линии и рамки */
  --paper: #f5f3f0;       /* основной светлый */
  --text: #d8d5d1;        /* текст абзацев */
  --ash: #a19d98;         /* второстепенный текст */
  --crimson: #ff0e48;
  --magenta: #b81b81;
  --brand: linear-gradient(180deg, #b81b81 0%, #ff0e48 100%);
  --brand-h: linear-gradient(90deg, #ff0e48 0%, #b81b81 100%);
  --display: "Proto Sans", "Stolzl", "Segoe UI", Arial, sans-serif;
  --body: "Stolzl", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --measure: 720px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--coal); color: var(--text); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 400; color: var(--paper); }
::selection { background: var(--crimson); color: #fff; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--line { border-top: 1px solid var(--smoke); }
.section--panel { background: var(--graphite); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 200; background: var(--paper); color: var(--coal); padding: 10px 16px; border-radius: 8px; }

/* ---------- типографика ---------- */
.h-display, h1, h2 { font-family: var(--display); font-weight: 400; color: var(--paper); line-height: 1.16; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(27px, 3.5vw, 46px); }
h2 { font-size: clamp(22px, 2.5vw, 33px); }
h3 { font: 400 clamp(18px, 1.6vw, 21px)/1.35 var(--body); color: var(--paper); text-wrap: balance; }
.lead { font: 300 clamp(18px, 1.75vw, 23px)/1.55 var(--body); color: var(--paper); max-width: 40em; text-wrap: pretty; }
.muted { color: var(--ash); }
.small { font-size: 14px; line-height: 1.55; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.section-head h2 + p { margin-top: 18px; }

/* ---------- кнопки и ссылки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 28px; border: 1px solid transparent; border-radius: 999px; font: 400 16px/1.2 var(--body); cursor: pointer; text-align: center; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn--primary { background: var(--brand-h); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--ghost { border-color: rgba(245, 243, 240, .38); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(245, 243, 240, .08); }
.btn--small { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { color: var(--paper); background: linear-gradient(var(--crimson), var(--crimson)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .2s ease; }
.link:hover { background-size: 100% 2px; color: #fff; }
.reassure { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ash); max-width: 34em; }

/* ---------- шапка: плавающая «таблетка» ---------- */
.site-header { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav { pointer-events: auto; width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 0 auto; display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 10px; border-radius: 999px; background: rgba(38, 37, 36, .62); border: 1px solid rgba(245, 243, 240, .1); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); transition: background-color .25s ease; }
.is-scrolled .nav { background: rgba(31, 30, 30, .92); }
.nav-mark { display: flex; align-items: center; padding: 0 10px 0 6px; }
.nav-mark img { width: auto; height: 38px; }
.nav-list { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 11px 15px; border-radius: 999px; font-size: 15px; line-height: 1.2; color: var(--paper); white-space: nowrap; transition: background-color .2s ease; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-item.is-active > .nav-link { background: rgba(245, 243, 240, .1); }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 290px; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub ul { background: rgba(31, 30, 30, .97); border: 1px solid var(--smoke); border-radius: var(--radius); padding: 8px; }
.nav-sub a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 15px; line-height: 1.35; color: var(--text); }
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--graphite); color: #fff; }
.nav-phone { padding: 11px 14px; font-size: 15px; color: var(--paper); white-space: nowrap; }
.nav-phone:hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(245, 243, 240, .1); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

.menu { position: fixed; inset: 0; z-index: 150; background: var(--coal); padding: 20px var(--gutter) 40px; overflow-y: auto; display: none; }
.menu.is-open { display: block; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.menu-top img { height: 40px; width: auto; }
.menu-close { width: 46px; height: 46px; border: 1px solid var(--smoke); border-radius: 50%; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.menu-close svg { width: 20px; height: 20px; }
.menu-list > li { border-bottom: 1px solid var(--smoke); }
.menu-list > li > a, .menu-list summary { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; font: 400 21px/1.2 var(--display); color: var(--paper); cursor: pointer; list-style: none; }
.menu-list summary::-webkit-details-marker { display: none; }
.menu-list summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ash); border-bottom: 2px solid var(--ash); transform: rotate(45deg); margin: -4px 6px 0 0; transition: transform .2s; }
.menu-list details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.menu-list details ul { padding: 0 0 16px; }
.menu-list details a { display: block; padding: 9px 0; color: var(--text); }
.menu-contacts { margin-top: 28px; display: grid; gap: 12px; }
.menu-contacts .tel { font: 300 28px/1.2 var(--body); color: var(--paper); }

@media (max-width: 1160px) {
  .nav { width: auto; margin: 0 var(--gutter); max-width: none; justify-content: space-between; }
  .nav-list, .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-phone { margin-left: auto; }
}
@media (max-width: 480px) { .nav-mark img { height: 34px; } .nav-phone { font-size: 14px; padding: 11px 8px; } .site-header { top: 10px; } }

/* ---------- первый экран: дом ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo picture { width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 26, 26, .5) 0%, rgba(27, 26, 26, .28) 28%, rgba(27, 26, 26, .62) 62%, var(--coal) 100%); }
.hero-inner { width: 100%; padding-top: 150px; padding-bottom: clamp(44px, 6vw, 84px); text-align: center; }
@media (max-width: 600px) { .hero-inner { padding-top: 120px; padding-bottom: 96px; } }
.hero-logo { width: clamp(210px, 28vw, 400px); margin: 0 auto clamp(28px, 4vw, 52px); }
.hero h1 { max-width: 20em; margin: 0 auto; font-size: clamp(25px, 3.3vw, 44px); }
.hero .lead { margin: 22px auto 0; max-width: 35em; font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .reassure { margin: 16px auto 0; color: #c5c1bc; }

/* ---------- внутренние страницы: шапка раздела с кругом из брендбука ---------- */
.page-head { position: relative; padding: clamp(150px, 15vw, 210px) 0 clamp(40px, 5vw, 68px); overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; width: clamp(280px, 34vw, 520px); aspect-ratio: 1; border-radius: 50%; background: var(--brand); left: clamp(-190px, -11vw, -90px); top: clamp(-230px, -15vw, -120px); }
.page-head h1 { max-width: 21em; }
.page-head .lead { margin-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 26px; font-size: 14px; color: var(--ash); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--smoke); }
.crumbs a:hover { color: var(--paper); }
.post-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--ash); }
.post-meta a:hover { color: var(--paper); }

/* ---------- полоса доверия ---------- */
.trust { border-bottom: 1px solid var(--smoke); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row > * { padding: 28px 28px 28px 0; }
.trust-row > * + * { padding-left: 28px; border-left: 1px solid var(--smoke); }
.trust-row dt { font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--display); color: var(--paper); }
.trust-row dd { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ash); }
@media (max-width: 860px) { .trust-row { grid-template-columns: 1fr 1fr; } .trust-row > * { padding: 22px 18px 22px 0; } .trust-row > *:nth-child(odd) { border-left: 0; padding-left: 0; } .trust-row > *:nth-child(n+3) { border-top: 1px solid var(--smoke); } .trust-row > *:nth-child(even) { padding-left: 18px; } }

/* ---------- сетки и карточки ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.reason { padding-top: 26px; border-top: 1px solid var(--smoke); }
.reason h3 { margin-bottom: 12px; }
.reason ul { margin-top: 18px; display: grid; gap: 8px; font-size: 15.5px; color: var(--ash); }
.reason li { padding-left: 20px; position: relative; }
.reason li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.reason .link { display: inline-block; margin-top: 20px; font-size: 15.5px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-media figcaption { margin-top: 12px; font-size: 14px; color: var(--ash); }
.split p + p { margin-top: 16px; }
.split h2 { margin-bottom: 22px; }
.split .btn { margin-top: 30px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0 0; }
.price { padding: 24px; border: 1px solid var(--smoke); border-radius: var(--radius); background: var(--graphite); }
.price-name { font-size: 15px; color: var(--ash); }
.price-value { margin: 8px 0 6px; font: 400 clamp(24px, 2.4vw, 31px)/1.1 var(--display); color: var(--paper); white-space: nowrap; }
.price-note { font-size: 14.5px; line-height: 1.5; color: var(--ash); }
@media (max-width: 520px) { .prices { grid-template-columns: 1fr; } }

.service { display: flex; flex-direction: column; padding: 28px 0 0; border-top: 1px solid var(--smoke); }
.service h3 a { transition: color .2s; }
.service h3 a:hover { color: #fff; }
.service p { margin-top: 12px; font-size: 16px; color: var(--ash); flex: 1; }
.service .link { align-self: flex-start; margin-top: 18px; font-size: 15.5px; }

.shots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.shot { position: relative; grid-column: span 4; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--graphite); border: 0; padding: 0; cursor: zoom-in; display: block; }
.shot--wide { grid-column: span 8; aspect-ratio: 8 / 3; }
.shot--tall { grid-row: span 2; aspect-ratio: auto; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption, .shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 18px 16px; background: linear-gradient(180deg, transparent, rgba(20, 19, 19, .88)); font-size: 15px; line-height: 1.4; color: var(--paper); text-align: left; }
@media (max-width: 900px) { .shot, .shot--wide { grid-column: span 6; aspect-ratio: 4 / 3; } .shot--tall { grid-row: auto; } }
@media (max-width: 560px) { .shot, .shot--wide { grid-column: span 12; } }

.awards { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.awards img { border-radius: var(--radius); width: 100%; }
.awards-list { margin-top: 26px; display: grid; gap: 0; }
.awards-list li { padding: 16px 0; border-top: 1px solid var(--smoke); display: grid; grid-template-columns: 76px 1fr; gap: 16px; }
.awards-list li:last-child { border-bottom: 1px solid var(--smoke); }
.awards-list b { font: 400 17px/1.5 var(--display); color: var(--paper); }
.awards-list span { color: var(--text); font-size: 16px; line-height: 1.5; }
@media (max-width: 900px) { .awards { grid-template-columns: 1fr; } }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .certs { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.cert { display: flex; flex-direction: column; border: 1px solid var(--smoke); border-radius: var(--radius); overflow: hidden; background: var(--graphite); cursor: zoom-in; padding: 0; text-align: left; transition: border-color .2s; }
.cert:hover { border-color: var(--ash); }
.cert picture, .cert img { width: 100%; }
.cert img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: #fff; }
.cert span { padding: 13px 15px 15px; font-size: 14px; line-height: 1.45; color: var(--text); }

.card-post { display: flex; flex-direction: column; }
.card-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--graphite); margin-bottom: 18px; }
.card-post-img { position: relative; }
.card-post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-post:hover .card-post-img img { transform: scale(1.03); }
.card-post-noimg { display: flex; align-items: flex-end; padding: 20px; background: var(--graphite); position: relative; overflow: hidden; }
.card-post-noimg::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); right: -18%; top: -46%; opacity: .92; }
.card-post-noimg span { position: relative; font: 400 15px/1.3 var(--display); color: var(--paper); }
.card-post .meta { font-size: 13.5px; color: var(--ash); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.card-post h3 a:hover { color: #fff; }
.card-post p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ash); }

.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.founder-photo img { width: 100%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.founder-points { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.founder-points h3 { font-size: 18px; margin-bottom: 8px; }
.founder-points p { font-size: 15.5px; color: var(--ash); }
.founder .prose-lite p + p { margin-top: 16px; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 360px; } }
@media (max-width: 560px) { .founder-points { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 8px 16px; border: 1px solid var(--smoke); border-radius: 999px; font-size: 14.5px; color: var(--text); transition: border-color .2s, color .2s; }
.tags a:hover, .tags a.is-active { border-color: var(--paper); color: #fff; }
.pager { margin-top: 48px; display: flex; gap: 8px; justify-content: center; }
.pager a { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--smoke); border-radius: 50%; }
.pager a.is-active { background: var(--paper); color: var(--coal); border-color: var(--paper); }

/* ---------- текст статей и страниц ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.layout--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(21px, 2.1vw, 28px); }
.prose h3 { margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose a { color: var(--paper); background: linear-gradient(var(--crimson), var(--crimson)) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; }
.prose a:hover { color: #fff; background-size: 100% 2px; }
.prose ul, .prose ol { display: grid; gap: .55em; padding-left: 1.4em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.4em; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { color: var(--ash); }
.prose blockquote, .prose .note { padding: 20px 24px; border-left: 2px solid var(--crimson); background: var(--graphite); border-radius: 0 var(--radius) var(--radius) 0; color: var(--paper); }
.prose figure { margin-top: 1.8em; margin-bottom: 1.8em; }
.prose figure img, .prose > img, .prose p > img { border-radius: var(--radius); width: 100%; }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ash); }
.prose hr { border: 0; border-top: 1px solid var(--smoke); margin: 2.4em 0; }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--smoke); }
.prose th { color: var(--paper); font-weight: 400; }
.prose .article-lead { font: 300 clamp(18px, 1.7vw, 21px)/1.6 var(--body); color: var(--paper); }
.prose .hero-figure { margin-top: 0; }
.prose sup { font-size: .7em; }

.aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside-box { padding: 24px; border: 1px solid var(--smoke); border-radius: var(--radius); background: var(--graphite); }
.aside-box h2, .aside-box .aside-title { font: 400 18px/1.35 var(--body); color: var(--paper); letter-spacing: 0; margin-bottom: 10px; }
.aside-box p { font-size: 15px; line-height: 1.55; color: var(--ash); }
.aside-box .btn { margin-top: 12px; }
.aside-links { display: grid; }
.aside-links a { padding: 10px 0; border-top: 1px solid var(--smoke); font-size: 15px; line-height: 1.4; color: var(--text); display: block; }
.aside-links li:first-child a { border-top: 0; }
.aside-links a:hover { color: #fff; }
@media (max-width: 1000px) { .aside { position: static; } }

.faq { margin-top: 2.6em; }
.faq h2 { margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--smoke); }
.faq details:last-child { border-bottom: 1px solid var(--smoke); }
.faq summary { padding: 19px 44px 19px 0; cursor: pointer; position: relative; color: var(--paper); font-size: 17.5px; line-height: 1.45; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 25px; width: 10px; height: 10px; border-right: 1.5px solid var(--ash); border-bottom: 1.5px solid var(--ash); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-a { padding: 0 44px 22px 0; color: var(--text); }

.author { margin-top: 3em; display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--smoke); border-radius: var(--radius); }
.author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.author-name { color: var(--paper); font-size: 18px; }
.author-role { font-size: 14.5px; color: var(--ash); margin: 2px 0 8px; }
.author p.bio { font-size: 15px; line-height: 1.6; color: var(--ash); }

.inline-cta { margin-top: 3em; padding: 28px; border-radius: var(--radius); background: var(--graphite); position: relative; overflow: hidden; }
.inline-cta p.t { font-size: 20px; line-height: 1.4; color: var(--paper); max-width: 26em; margin-bottom: 20px; }

/* ---------- заявка ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--graphite); }
.cta::before { content: ""; position: absolute; z-index: -1; width: clamp(320px, 42vw, 640px); aspect-ratio: 1; border-radius: 50%; background: var(--brand); left: clamp(-260px, -16vw, -140px); bottom: clamp(-340px, -22vw, -180px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cta-contacts { margin-top: 34px; display: grid; gap: 14px; }
.cta-contacts .tel { font: 300 clamp(26px, 2.8vw, 36px)/1.2 var(--body); color: var(--paper); letter-spacing: .01em; }
.cta-contacts a.row { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); }
.cta-contacts a.row:hover { color: #fff; }
.cta-contacts svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

.form { padding: clamp(22px, 3vw, 38px); border-radius: var(--radius); background: var(--coal); border: 1px solid var(--smoke); }
.form-title { font: 400 21px/1.35 var(--body); color: var(--paper); }
.form-sub { margin: 6px 0 24px; font-size: 15px; color: var(--ash); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 7px; font-size: 14.5px; color: var(--ash); padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--smoke); border-radius: 10px; background: #232222; color: var(--paper); font-size: 16px; line-height: 1.4; transition: border-color .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a19d98' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #77736f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--paper); }
.field .is-invalid, .consent input.is-invalid { border-color: var(--crimson) !important; }
.field-error { margin-top: 6px; font-size: 13.5px; color: #ff6b8d; }
fieldset.field { border: 0; padding: 0; margin-left: 0; margin-right: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 10px 18px; border: 1px solid var(--smoke); border-radius: 999px; font-size: 15px; line-height: 1.2; color: var(--text); transition: border-color .2s, background-color .2s, color .2s; }
.chip input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--coal); }
.chip input:focus-visible + span { outline: 2px solid var(--crimson); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13.5px; line-height: 1.55; color: var(--ash); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--crimson); border: 1px solid var(--smoke); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { color: #fff; }
.form .btn { margin-top: 20px; }
.form-status { margin-top: 14px; font-size: 14.5px; min-height: 1px; }
.form-status.is-error { color: #ff6b8d; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }

.contact-list { display: grid; }
.contact-list a, .contact-list div.item { display: grid; gap: 2px; padding: 20px 0; border-top: 1px solid var(--smoke); }
.contact-list > :last-child { border-bottom: 1px solid var(--smoke); }
.contact-list small { font-size: 14px; color: var(--ash); }
.contact-list b { font-size: 20px; color: var(--paper); }
.contact-list a:hover b { color: #fff; }

/* ---------- подвал ---------- */
.footer { border-top: 1px solid var(--smoke); padding: clamp(48px, 6vw, 80px) 0 110px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 150px; margin-bottom: 20px; }
.footer h2 { font: 400 14.5px/1.4 var(--body); letter-spacing: 0; color: var(--ash); margin-bottom: 14px; }
.footer li + li { margin-top: 9px; }
.footer a:hover { color: #fff; }
.footer .tel { font: 400 22px/1.2 var(--body); color: var(--paper); display: inline-block; margin-bottom: 10px; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--smoke); display: grid; gap: 10px; font-size: 13.5px; line-height: 1.6; color: var(--ash); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.footer-legal a, .footer-legal button { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--smoke); }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (min-width: 1161px) { .footer { padding-bottom: clamp(40px, 5vw, 64px); } }

/* ---------- мобильная панель связи ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; grid-template-columns: 1fr 1fr 1.5fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(31, 30, 30, .94); border: 1px solid var(--smoke); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dock a { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 14.5px; color: var(--paper); }
.dock a svg { width: 18px; height: 18px; }
.dock a.dock-main { background: var(--brand-h); color: #fff; }
.dock--2 { grid-template-columns: 1fr 1.5fr; }
@media (max-width: 1160px) { .dock { display: grid; } }
.has-cookie .dock { display: none; }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 120; width: min(440px, calc(100% - 32px)); padding: 22px; border-radius: var(--radius); background: #232222; border: 1px solid var(--smoke); box-shadow: 0 18px 60px rgba(0, 0, 0, .5); font-size: 14.5px; line-height: 1.55; }
.cookie p { color: var(--text); }
.cookie a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 150px; }

/* ---------- просмотр картинок ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15, 14, 14, .95); display: none; align-items: center; justify-content: center; padding: 56px 16px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox p { position: absolute; left: 16px; right: 16px; bottom: 20px; text-align: center; font-size: 14.5px; color: var(--text); }
.lightbox button { position: absolute; background: rgba(245, 243, 240, .1); border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(245, 243, 240, .2); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; margin-top: -24px; }
.lightbox .lb-next { right: 14px; top: 50%; margin-top: -24px; }

.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.notfound { text-align: center; padding: clamp(160px, 18vw, 240px) 0 var(--section); }
.notfound .h-display { font-size: clamp(64px, 12vw, 150px); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .hero-actions { margin-top: 32px; }

@media print {
  .site-header, .dock, .cookie, .cta, .footer-grid, .aside, .menu { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, strong, .lead { color: #000 !important; }
  .page-head { padding-top: 20px; } .page-head::before { display: none; }
}

/* пары фотографий в статьях */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.8em 0; }
.photo-pair figure { margin: 0; }
@media (max-width: 560px) { .photo-pair { grid-template-columns: 1fr; } }
.prose .prices { margin-top: 1.4em; }
.prose-lite p + p { margin-top: 16px; }

/* ---------- продукты: «коробки» с фиксированной ценой ---------- */
.page-head--product { padding-bottom: clamp(28px, 4vw, 48px); }
.product-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.product-box img { width: 100%; max-width: 520px; margin: -4% auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.product-options { margin-top: 28px; display: grid; }
.product-option { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-top: 1px solid var(--smoke); }
.product-option:last-child { border-bottom: 1px solid var(--smoke); }
.product-option span { color: var(--paper); font-size: 17px; line-height: 1.4; }
.product-option small { display: block; margin-top: 3px; font-size: 14px; color: var(--ash); }
.product-option b { font: 400 clamp(20px, 2vw, 26px)/1.1 var(--display); color: var(--paper); white-space: nowrap; }
@media (max-width: 860px) { .product-top { grid-template-columns: 1fr; } .product-box img { max-width: 340px; margin: -2% auto -4%; } }
.chips--col { flex-direction: column; align-items: stretch; }
.chips--col .chip span { border-radius: 12px; padding: 13px 16px; line-height: 1.35; }
.shot--half { grid-column: span 6; aspect-ratio: 3 / 2; }
@media (max-width: 560px) { .shot--half { grid-column: span 12; } }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; padding: 8px 24px 26px; border: 1px solid var(--smoke); border-radius: var(--radius); background: var(--graphite); transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: var(--ash); transform: translateY(-2px); }
.product-card picture, .product-card img { width: 100%; }
.product-card img { max-width: 300px; margin: 0 auto -6px; }
.product-card h2, .product-card h3 { font: 400 20px/1.3 var(--body); letter-spacing: 0; color: var(--paper); }
.product-card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ash); flex: 1; }
.product-card .price-row { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card .price-row b { font: 400 21px/1.1 var(--display); color: var(--paper); white-space: nowrap; }
.product-card .price-row b small { font: 400 14px/1 var(--body); color: var(--ash); margin-right: 6px; }
.notice-ok { padding: 18px 22px; border-radius: var(--radius); background: var(--graphite); border-left: 2px solid var(--crimson); color: var(--paper); margin-bottom: 1.4em; }
