/* ==========================================================================
   CubixLine — общий стиль сайта
   Направление «чертёж + материал». Все цвета и шрифты — в переменных ниже.
   ========================================================================== */

/* ---------- Шрифты (локально, assets/fonts; лицензия OFL) ---------- */
@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-cyrillic.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Дизайн-токены ---------- */
:root {
  --c-bg: #EEEEEB;
  --c-panel: #F7F7F5;
  --c-ink: #17181A;
  --c-muted: #6E6E6A;
  --c-line: #D3D2CC;
  --c-walnut: #7C4A2D;
  --c-blue: #3B5169;
  --c-blue-hover: #2F4257;
  --c-dark: #17181A;
  --c-on-dark: #EEEEEB;
  --c-on-dark-muted: #A3A39E;
  --c-dark-line: #34363A;

  --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --t: 160ms ease;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  line-height: 1.12;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: 0.04em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

ul, ol { margin: 0; padding: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-ink);
  color: var(--c-on-dark);
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus-visible { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Типографские элементы ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-walnut);
  border-bottom: 2px solid var(--c-walnut);
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--c-muted);
  max-width: 40em;
}

.lead--ink { color: var(--c-ink); }

.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--c-line); }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 0.4em; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--dark { background: var(--c-ink); color: var(--c-on-dark); }
.btn--dark:hover { background: #2A2C30; }

.btn--tg { background: var(--c-blue); color: #fff; }
.btn--tg:hover { background: var(--c-blue-hover); }

.btn--outline { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn--outline:hover { background: var(--c-ink); color: var(--c-on-dark); }

.btn--light { background: var(--c-on-dark); color: var(--c-ink); }
.btn--light:hover { background: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--t);
}
.link-arrow:hover { color: var(--c-walnut); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ink);
  text-decoration: none;
}
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--t);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--c-walnut);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover { color: var(--c-ink); }
.nav__link[aria-current="page"] { color: var(--c-ink); }
.nav__link[aria-current="page"]::after,
.nav__link:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: var(--c-ink);
  cursor: pointer;
}
.burger svg { width: 24px; height: 24px; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1040px) {
  .burger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
  }
  .nav.is-open { display: block; }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .nav__link {
    padding: 14px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--c-line);
  }
  .nav__link::after { left: 0; right: auto; width: 32px; bottom: -1px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--c-line);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--c-ink);
  opacity: 0.05;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero__text h1 { margin-bottom: 0.45em; }
.hero__text .lead { margin-bottom: 36px; }

/* ---------- Чертёжная рамка ---------- */
.draft {
  position: relative;
  padding: 14px;
}
.draft__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--c-walnut);
  border-style: solid;
  border-width: 0;
}
.draft__corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.draft__corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.draft__corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.draft__corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.draft__sheet {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.draft__drawing {
  padding: clamp(12px, 3vw, 24px);
  color: var(--c-ink);
}
.draft__drawing svg { width: 100%; height: auto; }

.stamp {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-top: 1px solid var(--c-line);
  font-size: 0.75rem;
  line-height: 1.3;
}
.stamp__cell {
  padding: 10px 14px;
  border-right: 1px solid var(--c-line);
}
.stamp__cell:nth-child(2n) { border-right: 0; }
.stamp__cell:nth-child(n+3) { border-top: 1px solid var(--c-line); }
.stamp__label {
  display: block;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  margin-bottom: 2px;
}
.stamp__value {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Сетки и карточки ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color var(--t);
}
.card:hover { border-color: #B9B8B1; }
.card h3 { margin-bottom: 0.6em; }
.card p { color: var(--c-muted); }

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: var(--c-walnut);
}

.card__list {
  list-style: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 0.9375rem;
}
.card__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--c-walnut);
}

/* ---------- Шаги (единственное место с нумерацией) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--c-ink);
}
.step {
  padding: 28px 24px 8px 0;
}
.step + .step { padding-left: 24px; border-left: 1px solid var(--c-line); }
.step__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  color: var(--c-walnut);
}
.step h3 { margin-bottom: 0.5em; }
.step p { color: var(--c-muted); font-size: 0.9688rem; }

/* ---------- Тёмный блок (YouTube / CTA) ---------- */
.band {
  background: var(--c-dark);
  color: var(--c-on-dark);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.band h2 { margin-bottom: 0.4em; }
.band p { color: var(--c-on-dark-muted); max-width: 38em; }
.band .eyebrow { color: #C9A086; border-color: #C9A086; }
.band :focus-visible { outline-color: #9DB3CC; }

.band--light {
  background: var(--c-panel);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.band--light p { color: var(--c-muted); }
.band--light .eyebrow { color: var(--c-walnut); border-color: var(--c-walnut); }
.band--light :focus-visible { outline-color: var(--c-blue); }

/* ---------- Два столбца с текстом ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
}
.split__body p { color: var(--c-ink); }
.split__body p + p { color: var(--c-muted); }

.word-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.word-pair .card { display: flex; flex-direction: column; gap: 14px; }
.word-pair svg { width: 56px; height: 56px; color: var(--c-ink); }
.word-pair h3 { font-size: 1.75rem; font-weight: 700; margin: 0; }

.page-head {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--c-line);
}
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }

/* ---------- Контакты ---------- */
.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.contact-card .btn { margin-top: 12px; }
.contact-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact-card__value {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: 0.03em;
  word-break: break-word;
}
.contact-card__value a { text-decoration: none; border-bottom: 1px solid var(--c-line); transition: border-color var(--t); }
.contact-card__value a:hover { border-color: var(--c-ink); }

.tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-walnut);
  border: 1px solid currentColor;
  border-radius: var(--radius);
  vertical-align: middle;
}

.checklist { list-style: none; }
.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}
.checklist li:first-child { border-top: 1px solid var(--c-line); }

/* ---------- 404 ---------- */
.notfound {
  padding: clamp(72px, 12vw, 144px) 0;
}
.notfound__code {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-line);
  margin-bottom: 16px;
}
.notfound__actions { margin-top: 32px; }

/* ---------- Подвал ---------- */
.site-footer {
  background: var(--c-dark);
  color: var(--c-on-dark-muted);
  font-size: 0.9375rem;
  padding: 48px 0 32px;
}
.site-footer :focus-visible { outline-color: #9DB3CC; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-dark-line);
}
.site-footer .logo { color: var(--c-on-dark); }
.footer__tagline { margin-top: 14px; max-width: 26em; }
.footer__nav, .footer__social { list-style: none; }
.footer__nav li, .footer__social li { margin-bottom: 8px; }
.footer__title {
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}
.site-footer a { color: var(--c-on-dark-muted); text-decoration: none; transition: color var(--t); }
.site-footer a:hover { color: var(--c-on-dark); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__bottom { padding-top: 24px; font-size: 0.8125rem; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}

@media (max-width: 860px) {
  .hero__grid,
  .split,
  .contact-main { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 480px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .band { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2,
  .word-pair { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--c-line); }
  .btn-row .btn { width: 100%; }
  .band .btn { width: 100%; }
  .footer__cols { gap: 32px; }
}

/* ---------- Пониженная анимация ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Разделы «скоро» ---------- */
.soon__title { margin: 14px 0 0.4em; }

/* ---------- Калькулятор веса фасада и петель ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}
.calc__form { display: flex; flex-direction: column; gap: 16px; }
.calc__form:hover { border-color: var(--c-line); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
#calc-solid, #calc-frame, #frame-alu-fields { display: flex; flex-direction: column; gap: 16px; }
[hidden] { display: none !important; }

.calc-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  border: 1px solid var(--c-ink);
  border-radius: var(--radius);
}
.calc-mode label { position: relative; cursor: pointer; }
.calc-mode input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.calc-mode span {
  display: block;
  padding: 11px 12px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color var(--t), color var(--t);
}
.calc-mode label + label span { border-left: 1px solid var(--c-ink); }
.calc-mode input:checked + span { background: var(--c-ink); color: var(--c-on-dark); }
.calc-mode input:focus-visible + span { outline: 2px solid var(--c-blue); outline-offset: 2px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field__unit { margin-left: 6px; font-weight: 400; color: var(--c-muted); }
.field__hint { margin: -8px 0 0; font-size: 0.8125rem; color: var(--c-muted); }
.field input, .field select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color var(--t);
}
.field input:hover, .field select:hover { border-color: #B9B8B1; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 0; border-color: var(--c-blue); }

.calc__result { display: flex; flex-direction: column; gap: 16px; }
.calc-weight {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--c-dark);
  color: var(--c-on-dark);
  border-radius: var(--radius);
}
.calc-weight__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #C9A086; }
.calc-weight__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: 0.02em; line-height: 1.1; }
.calc-weight__detail { font-size: 0.875rem; color: var(--c-on-dark-muted); }

.calc-diff {
  margin: 0;
  padding: 12px 16px;
  font-size: 0.9375rem;
  border: 1px solid var(--c-walnut);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: var(--c-panel);
}
.calc-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc-brand {
  padding: 20px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.calc-brand h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.calc-brand__count { margin: 0 0 4px; font-family: var(--font-head); font-weight: 500; font-size: 1.375rem; letter-spacing: 0.02em; }
.calc-brand__pos { margin: 0 0 8px; font-size: 0.8125rem; color: var(--c-muted); }
.calc-door { width: 100%; max-width: 190px; height: auto; color: var(--c-ink); font-family: var(--font-body); }
.calc-notes { list-style: none; margin-top: 8px; font-size: 0.8125rem; color: var(--c-muted); }
.calc-notes li { position: relative; padding-left: 14px; margin-bottom: 6px; }
.calc-notes li::before { content: "!"; position: absolute; left: 0; font-weight: 700; color: var(--c-walnut); }
.calc-source { margin: 0; font-size: 0.75rem; color: var(--c-muted); }

@media (max-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .calc-brands { grid-template-columns: minmax(0, 1fr); }
}

/* Нагрузка на петли */
.calc-brand__load { margin: 0 0 8px; font-size: 0.8125rem; color: var(--c-muted); }
.load-pill {
  display: inline-block;
  padding: 1px 7px;
  font-weight: 600;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}
.load-pill--ok { color: #3F6146; }
.load-pill--warn { color: var(--c-walnut); }
.load-pill--risk { color: #FFFFFF; background: #9B2C1F; border-color: #9B2C1F; }
.calc-load {
  padding: 20px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.calc-load__title { margin-bottom: 6px; font-size: 1.0625rem; }
.calc-load__force { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.02em; }
.calc-load__note { margin: 10px 0 0; font-size: 0.75rem; color: var(--c-muted); }

/* ---------- Новости ---------- */
.news-list { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.news-item {
  padding: clamp(24px, 3vw, 36px);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.news-item__date {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-walnut);
}
.news-item__title { font-size: clamp(1.375rem, 2.6vw, 1.875rem); }
.news-item p { color: var(--c-muted); }
.news-item__btn { margin-top: 24px; }
