/* Страницы в стиле «B2B-журнал» (ТЗ 27.11.2026): /kompleksam/ и /elena/.
   Основной сайт этот файл не использует. */
:root {
  --bg: #F7F5F0;        /* тёплый молочный */
  --card: #FFFFFF;
  --ink: #1E1E1E;       /* глубокий графит */
  --muted: #5F5B55;
  --line: rgba(30, 30, 30, .12);
  --accent: #B85032;    /* терракота */
  --accent-dk: #9A4027;
  --r: 18px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "lnum";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* Знак */
.mark { display: block; color: var(--ink); }
.mark .st { fill: var(--accent); }

/* Шапка */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 22px; height: 31px; }
.brand .seal { width: 44px; height: 44px; flex: none; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .22); }
.brand .seal img { width: 100%; height: 100%; display: block; }
.brand b { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; }
.brand b span { display: block; font-weight: 500; letter-spacing: .14em; color: var(--muted); font-size: 11px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.1; text-align: center;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .1s;
  touch-action: manipulation;
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow i { font-style: normal; color: var(--line); margin: 0 .5em; }

/* Секции */
.sec { padding: clamp(56px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.sec h2 { font-size: clamp(32px, 4.6vw, 54px); }
.sec__lead { color: var(--muted); font-size: 18px; }

/* Первый экран */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.7fr 1fr; } }
.hero h1 { font-size: clamp(32px, 4vw, 56px); margin: 20px 0 24px; }
.hero__sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; margin-bottom: 36px; }
.hero__art {
  position: relative; aspect-ratio: 1; border-radius: calc(var(--r) * 1.4);
  background: var(--ink); display: grid; place-items: center; overflow: hidden;
}
.hero__art .mark { width: 38%; height: auto; color: var(--bg); }
.hero__art picture, .hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__art::after {
  content: ""; position: absolute; inset: 22px; border: 1px solid rgba(247, 245, 240, .16); border-radius: var(--r); pointer-events: none;
}
.hero__art figcaption {
  position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; color: rgba(247, 245, 240, .7);
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
@media (max-width: 899px) { .hero__art { max-width: 280px; width: 100%; } .hero__art figcaption { bottom: 26px; font-size: 10px; } }

/* Карточки */
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start;
}
.card h3 { font-size: clamp(22px, 2vw, 26px); }
.card p { color: var(--muted); }
@media (min-width: 760px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.accent { color: var(--accent); }
.best .card { gap: 10px; }
.best .card .best__l { font-size: clamp(64px, 6vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--accent); margin-bottom: 10px; }
.card__bar { width: 36px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 8px; }

/* Система «ЦЕХ»: Ц + Э + Х = результат (ТЗ 28.11) */
.slogan-b2b { max-width: 760px; padding: 16px 20px; border: 2px solid var(--accent); border-radius: var(--r); font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); }
.cekh { display: grid; gap: 12px; align-items: center; }
@media (min-width: 900px) { .cekh { grid-template-columns: 1fr 52px 1fr 52px 1fr; } }
.cekh .card { align-self: stretch; gap: 8px; }
.cekh__l { font-size: clamp(64px, 6vw, 84px); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--accent); }
.cekh__k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dk) !important; }
.cekh__op { display: grid; place-items: center; width: 44px; height: 44px; margin: auto; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 26px; font-weight: 500; line-height: 1; }
.cekh__res { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 16px; padding: clamp(22px, 3vw, 34px); background: var(--ink); color: var(--bg); border-radius: var(--r); }
.cekh__res .cekh__op { margin: 0; width: 52px; height: 52px; background: var(--accent); border-color: var(--accent); color: #fff; font-size: 30px; }
.cekh__res p { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; }
.cekh__res small { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 245, 240, .7); }

/* Условия */
.terms { display: grid; gap: 16px; }
@media (min-width: 900px) { .terms { grid-template-columns: 1.1fr 1fr 1fr; } }
.term { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.term__k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.term__v { font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.term p { color: var(--muted); }
.term .term__v { color: var(--ink); }
.term--hi { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.term--hi .term__k, .term--hi p { color: rgba(247, 245, 240, .72); }
.term--hi .term__v { font-size: clamp(56px, 6vw, 80px); color: #fff; }

/* Заявка */
.apply { background: var(--ink); color: var(--bg); border-top: 0; }
.apply .wrap { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .apply .wrap { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.apply h2 { color: #fff; }
.apply .sec__lead { color: rgba(247, 245, 240, .72); }
.form { background: var(--bg); color: var(--ink); border-radius: calc(var(--r) * 1.2); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(30, 30, 30, .22);
  background: #fff; color: var(--ink); font-family: inherit; font-weight: 500; font-size: 17px; line-height: 1.3;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184, 80, 50, .25); }
.field.bad .input { border-color: var(--accent); }
.field__err { display: none; color: var(--accent-dk); font-size: 14px; font-weight: 600; }
.field.bad .field__err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.form .btn { width: 100%; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { background: var(--bg); color: var(--ink); border-radius: calc(var(--r) * 1.2); padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; }
.done h3 { font-size: 28px; }
.done p { color: var(--muted); }
.done pre { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-family: inherit; font-weight: 500; font-size: 14px; line-height: 1.5; margin: 0; }
.done .btn { justify-self: start; }

/* Подвал */
.foot { padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.apply + .foot { background: var(--ink); color: rgba(247, 245, 240, .6); border-top: 1px solid rgba(247, 245, 240, .12); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- Личная страница /elena/ ---------- */
.vcard { padding: clamp(20px, 5vw, 72px) 0 clamp(40px, 6vw, 80px); }
.vcard .wrap { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 860px) { .vcard .wrap { grid-template-columns: minmax(300px, 420px) 1fr; } }
.vcard__photo { border-radius: calc(var(--r) * 1.3); overflow: hidden; background: #E9E5DD; aspect-ratio: 4 / 5; }
.vcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 859px) { .vcard__photo { max-width: 420px; } }
@media (min-width: 860px) { .vcard__photo { position: sticky; top: 32px; } }
.vcard h1 { font-size: clamp(40px, 6vw, 72px); margin: 16px 0 14px; }
.vcard__role { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; color: var(--muted); }
.vcard__role span { white-space: nowrap; }
.vcard__role i { font-style: normal; color: var(--accent); margin: 0 .45em; }
.facts { margin: 22px 0 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 4px 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; } }
.points { list-style: none; padding: 0; margin: clamp(28px, 4vw, 40px) 0; display: grid; gap: 12px; }
.points li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 20px 52px; position: relative; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 22px; top: 29px; width: 14px; height: 4px; border-radius: 2px; background: var(--accent); }
.points b { color: var(--ink); font-weight: 800; }
.actions { display: grid; gap: 12px; max-width: 460px; }
.actions .btn { width: 100%; justify-content: space-between; padding: 0 22px 0 26px; }
.actions small { font-size: 12px; font-weight: 600; opacity: .8; }
