:root {
  --graphite: #14171b;
  --graphite-2: #242a31;
  --graphite-3: #0f1318;
  --metal: #6d7682;
  --line: #d8dde3;
  --muted: #f4f6f8;
  --white: #ffffff;
  --accent: #f26a21;
  --accent-dark: #c94e10;
  --text: #18202a;
  --soft: #69727d;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(20,23,27,.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20,23,27,.018) 1px, transparent 1px),
    var(--white);
  background-size: 44px 44px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand img { width: 220px; height: auto; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-weight: 700;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.phone-link { font-weight: 800; text-decoration: none; white-space: nowrap; }
.messenger {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--graphite);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, background .2s ease;
}
.messenger svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.messenger-whatsapp { color: #1f9d58; }
.messenger-telegram { color: #168acb; }
.messenger-whatsapp:hover {
  border-color: #1f9d58;
  background: rgba(31,157,88,.08);
  color: #168a4e;
}
.messenger-telegram:hover {
  border-color: #168acb;
  background: rgba(22,138,203,.08);
  color: #0d78b7;
}
.messenger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15,19,24,.12);
}
.nav-toggle { display: none; }

.btn {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15,19,24,.08);
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.34) 46%, transparent 58%);
  transform: translateX(-120%);
  transition: transform .58s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15,19,24,.16);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active {
  transform: translateY(0);
  box-shadow: 0 7px 18px rgba(15,19,24,.14);
}
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-dark { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-light { background: var(--white); color: var(--graphite); }
.btn-light:hover { background: #eef1f4; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 6vw, 76px);
  background: #101419;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: blur(2.4px);
  transform: scale(1.018);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  background:
    linear-gradient(90deg, rgba(15,18,22,.9) 0%, rgba(15,18,22,.72) 48%, rgba(15,18,22,.38) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 120px);
  z-index: -2;
}
.hero::after {
  background:
    linear-gradient(120deg, rgba(242,106,33,.12), transparent 34%),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.14) 42%, transparent 54%),
    linear-gradient(180deg, rgba(10,12,15,0), rgba(10,12,15,.14));
  opacity: .48;
  transform: translateX(-34%);
  z-index: -1;
  mix-blend-mode: screen;
  animation: heroSweep 12s ease-in-out infinite, heroBreath 9s ease-in-out infinite;
}
.hero-layout {
  position: relative;
  width: min(var(--container), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 336px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.hero-offer {
  min-height: 416px;
  display: grid;
  align-content: stretch;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 8px;
  background: rgba(255,255,255,.34);
  color: var(--graphite);
  text-decoration: none;
  box-shadow: 0 24px 58px rgba(0,0,0,.2);
  backdrop-filter: blur(3px) brightness(1.55) saturate(.9);
  transform: translateY(0);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease, background .26s ease;
}
.hero-offer:hover {
  border-color: rgba(242,106,33,.62);
  background: rgba(255,255,255,.4);
  transform: translateY(-5px);
  box-shadow: 0 34px 74px rgba(0,0,0,.3);
}
.hero-offer-media {
  min-height: 200px;
  overflow: hidden;
}
.hero-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .36s ease;
}
.hero-offer:hover .hero-offer-media img { transform: scale(1.045); }
.hero-offer-body {
  display: grid;
  gap: 10px;
  align-content: end;
  padding: 20px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(2px) brightness(1.5) saturate(.85);
}
.hero-offer-body strong {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.06;
}
.hero-offer-body span:not(.eyebrow):not(.hero-offer-link) {
  color: rgba(20,23,27,.78);
}
.hero-offer-link {
  width: max-content;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15,19,24,.18);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hero-offer:hover .hero-offer-link {
  background: #05070a;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15,19,24,.24);
}
.hero-content {
  justify-self: start;
  width: min(680px, 100%);
}
.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > p,
.hero-actions {
  max-width: 680px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero h1,
.page-hero h1,
.product-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(42px, 5vw, 66px); }
.hero p { max-width: 640px; font-size: 19px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section,
.contacts-strip,
.contact-layout,
.content-grid {
  padding: clamp(56px, 7vw, 92px) clamp(20px, 6vw, 76px);
}
.section > *,
.contacts-strip,
.contact-layout,
.content-grid {
  width: min(var(--container), 100%);
  margin-left: auto;
  margin-right: auto;
}
.section > .section-head,
.section > .main-products-grid,
.section > .extra-products-grid,
.section > .works-grid,
.section > .benefits,
.section > .product-link-list,
.section > .faq {
  width: min(var(--container), 100%);
}
.section-muted { background: var(--muted); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 520px);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}
.section-head h2,
.cta-band h2,
.content-grid h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-head p { margin: 0; color: var(--soft); }

.main-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.extra-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(15,19,24,.08);
  transition: transform .24s ease, box-shadow .24s ease;
}
.product-card-large { min-height: 330px; }
.extra-products-grid .product-card { min-height: 330px; }
.product-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: .72;
  transform: scale(1.01);
  transition: .22s ease;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.16) 42%, rgba(0,0,0,.78) 100%),
    linear-gradient(0deg, rgba(0,0,0,.46) 0%, transparent 48%);
  z-index: -1;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.18) 44%, transparent 58%);
  transform: translateX(-120%);
  transition: transform .58s ease;
  z-index: 1;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(15,19,24,.18);
}
.product-card:hover::before { transform: translateX(120%); }
.product-card:hover img { transform: scale(1.06); opacity: .9; }
.product-card.metallokarkas-card img {
  object-fit: cover;
  object-position: center 52%;
  padding: 0;
  background: var(--graphite);
  transform: scale(1.01);
  opacity: .82;
}
.product-card.metallokarkas-card:hover img {
  transform: scale(1.05);
  opacity: .95;
}
.product-card-body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}
body[data-page="home"] .product-card::after {
  z-index: 1;
  pointer-events: none;
}
body[data-page="home"] .product-card::before {
  z-index: 2;
}
body[data-page="home"] .product-card-body {
  z-index: 3;
}
.product-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.1;
}
.product-card span span { color: rgba(255,255,255,.84); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work-card {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--graphite);
}
.work-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 8px;
  background: var(--muted);
  box-shadow: 0 14px 34px rgba(15,19,24,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
body[data-page="registry-otopleniya"] .work-card img {
  aspect-ratio: 4 / 3;
}
body[data-page="ograzhdeniya"] .work-card img {
  aspect-ratio: 4 / 3;
}
body[data-page="navesy"] .work-card img {
  aspect-ratio: 4 / 3;
}
body[data-page="kozyrki"] .work-card img {
  aspect-ratio: 4 / 3;
}
body[data-page="pandus-prosechka"] .work-card img {
  aspect-ratio: 4 / 3;
}
.work-card figcaption {
  color: var(--soft);
  font-weight: 400;
  line-height: 1.5;
}
.work-card figcaption strong {
  color: var(--graphite);
  font-weight: 900;
}
.work-placeholder {
  min-height: 100%;
  align-content: end;
  aspect-ratio: 4 / 3;
  padding: 18px;
  border: 1px dashed rgba(15,19,24,.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(242,106,33,.08));
}
.work-placeholder figcaption {
  color: var(--graphite);
  font-weight: 900;
}
.source-note {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 13px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px max(clamp(20px, 6vw, 76px), calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: var(--graphite);
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 800;
}
.breadcrumbs a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255,255,255,.38);
}

.product-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}
.product-link-list a:hover,
.product-link-list a.is-current {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.text-link { color: var(--accent); font-weight: 900; }
.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.facts span,
.benefit,
.content-grid article,
.side-panel,
.request-form,
.contact-list a,
.contact-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,19,24,.04);
}
.facts span {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  font-weight: 800;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.benefit h3 { margin: 0 0 8px; }
.benefit p { margin: 0; color: var(--soft); }

.cta-band {
  position: relative;
  overflow: hidden;
  width: min(var(--container), calc(100% - 40px));
  margin: clamp(42px, 6vw, 76px) auto 0;
  padding: clamp(32px, 6vw, 70px);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.08), transparent 38%),
    linear-gradient(135deg, var(--graphite-3), #303844);
  color: var(--white);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 96px);
  opacity: .5;
  animation: metalLines 18s linear infinite;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band p { max-width: 660px; color: rgba(255,255,255,.76); }
.cta-metal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 26px 42px;
  align-items: end;
}
.cta-metal .btn { justify-self: start; }
.cta-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cta-points li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-weight: 800;
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(242,106,33,.16);
}

.contacts-strip {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto clamp(42px, 6vw, 76px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  padding-top: 0;
}
.contacts-strip div {
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--white);
}
.contacts-strip strong { color: var(--soft); }
.contacts-strip a { font-weight: 900; text-decoration: none; }
.contacts-strip span { color: var(--soft); line-height: 1.45; }
.metal-seo {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto clamp(42px, 6vw, 76px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,248,250,.92)),
    var(--white);
  box-shadow: 0 24px 70px rgba(15,19,24,.06);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  align-items: start;
}
.metal-seo p {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}
.metal-seo strong { color: var(--graphite); }

.page-hero,
.product-hero {
  padding: clamp(52px, 8vw, 96px) max(clamp(20px, 6vw, 76px), calc((100vw - var(--container)) / 2));
  background: var(--graphite);
  color: var(--white);
}
.page-hero > *,
.product-hero > * {
  max-width: var(--container);
}
.page-hero.compact { min-height: 360px; display: grid; align-content: center; }
.page-hero p,
.product-hero p { max-width: 640px; color: rgba(255,255,255,.78); font-size: 18px; }
.about-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.leader-card {
  margin: 0;
  justify-self: end;
  width: min(100%, 340px);
}
.leader-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.leader-card figcaption {
  margin-top: 10px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.clients-section {
  padding-top: 0;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.clients-grid figure {
  min-height: 132px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  background: var(--white);
}
.clients-grid img {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
  filter: saturate(.82);
}
.product-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 336px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  justify-content: center;
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.08) 45%, transparent 56%);
  transform: translateX(-120%);
  animation: heroSweep 13s ease-in-out infinite;
  pointer-events: none;
}
.product-hero > * { position: relative; }
.product-hero > div { max-width: 680px; }
.product-hero img {
  width: 100%;
  max-width: 336px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  justify-self: end;
}
.product-hero img.pandus-hero-photo {
  aspect-ratio: 705 / 646;
  object-fit: contain;
  background: #e9ede4;
}
.product-hero img.metallokarkas-photo {
  max-width: 430px;
  aspect-ratio: 4 / 3;
  object-position: center 52%;
}
.work-card img.metallokarkas-photo {
  aspect-ratio: 4 / 3;
  object-position: center 52%;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.content-grid article,
.content-grid .side-panel {
  height: 100%;
}
.content-grid article ul { padding-left: 20px; }
.seo-detail {
  display: grid;
  gap: 22px;
}
.seo-copy {
  display: grid;
  gap: 14px;
  max-width: 960px;
}
.seo-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.75;
}
.calculation-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, .92fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,244,248,.96));
  box-shadow: 0 18px 42px rgba(15,19,24,.08);
}
.calculation-inline::before {
  content: "Расчет конструкции";
  display: grid;
  align-content: center;
  padding: 28px;
  background: linear-gradient(135deg, var(--graphite), #2b333d);
  color: var(--white);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.05;
}
.calculation-inline-left {
  grid-template-columns: minmax(220px, .92fr) minmax(0, 1.08fr);
}
.calculation-inline-left::before { order: 2; }
.calculation-inline img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.calculation-inline figcaption {
  grid-column: 1 / -1;
  padding: 16px 20px 18px;
  background: var(--white);
  color: var(--graphite);
  font-weight: 900;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(15,19,24,.06);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.spec-table th,
.spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  background: var(--graphite);
  color: var(--white);
  font-size: 18px;
}
.spec-table tr:last-child td { border-bottom: 0; }
.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.note-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(242,106,33,.08));
}
.note-grid p { margin: 0; color: var(--graphite); font-weight: 800; line-height: 1.55; }
.kozyrki-types,
.kozyrki-install-grid,
.pandus-types,
.pandus-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.kozyrki-install-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pandus-benefits,
.pandus-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kozyrki-type-card,
.kozyrki-install-card,
.pandus-type-card {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(15,19,24,.07);
}
.kozyrki-type-card,
.pandus-type-card {
  grid-template-columns: minmax(180px, .86fr) minmax(0, 1fr);
  align-items: stretch;
}
.pandus-types .pandus-type-card {
  grid-template-columns: 1fr;
}
.has-swap-hint {
  position: relative;
}
.kozyrki-type-card img,
.kozyrki-install-card img,
.pandus-type-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.kozyrki-type-card figcaption,
.kozyrki-install-card figcaption,
.pandus-type-card figcaption {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}
.kozyrki-type-card strong,
.kozyrki-install-card strong,
.pandus-type-card strong,
.pandus-benefits strong {
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.15;
}
.kozyrki-type-card span,
.kozyrki-install-card span,
.pandus-type-card span {
  color: var(--soft);
  line-height: 1.55;
}
.pandus-types .pandus-type-card img {
  aspect-ratio: 5 / 6;
  min-height: 0;
}
.pandus-types .pandus-type-card img.js-click-swap {
  cursor: pointer;
  transition: opacity .18s ease;
}
.pandus-types .pandus-type-card img.js-click-swap.is-changing {
  opacity: .08;
}
.work-card img.js-click-swap {
  cursor: pointer;
  transition: opacity .18s ease, transform .25s ease, box-shadow .25s ease;
}
.work-card img.js-click-swap.is-changing {
  opacity: .08;
}
.swap-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  background: rgba(20,23,27,.76);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15,19,24,.22);
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.swap-hint span {
  color: inherit;
  line-height: 1;
}
.swap-hint i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.46);
  transition: width .18s ease, background .18s ease;
}
.swap-hint i.is-active {
  width: 14px;
  border-radius: 999px;
  background: var(--accent);
}
.js-click-swap:hover + .swap-hint {
  background: rgba(20,23,27,.9);
}
.pandus-types .pandus-type-card figcaption {
  align-content: start;
  min-height: 240px;
}
.pandus-benefits article {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(242,106,33,.08));
  box-shadow: 0 16px 38px rgba(15,19,24,.06);
}
.pandus-benefits p {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}
.pandus-prosechka-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), rgba(242,106,33,.1));
  box-shadow: 0 22px 54px rgba(15,19,24,.08);
}
.pandus-prosechka-card > div {
  display: grid;
  gap: 14px;
  padding: 34px;
}
.pandus-prosechka-card h2,
.pandus-prosechka-card p {
  margin: 0;
}
.pandus-prosechka-card h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: .98;
}
.pandus-prosechka-card p {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.65;
}
.pandus-prosechka-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.pandus-measure-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(100%, 1120px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,244,248,.96));
  box-shadow: 0 20px 48px rgba(15,19,24,.08);
}
.pandus-measure-card img,
.pandus-measure-card video {
  width: 100%;
  height: auto;
  min-height: 520px;
  object-fit: cover;
  background: var(--graphite);
}
.pandus-measure-card video {
  display: block;
  aspect-ratio: 16 / 9;
}
.pandus-measure-card figcaption {
  display: grid;
  gap: 12px;
  padding: 34px;
}
.pandus-measure-card strong {
  color: var(--graphite);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}
.pandus-measure-card span {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.65;
}
.steps { padding-left: 20px; }
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--white);
}
.faq summary { cursor: pointer; font-weight: 900; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}
.contact-list {
  display: grid;
  gap: 12px;
}
.contact-list a,
.contact-list div {
  display: grid;
  gap: 4px;
  text-decoration: none;
}
.contact-list span { color: var(--soft); overflow-wrap: anywhere; }
.map-card {
  display: grid;
  grid-template-columns: minmax(260px, .46fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 58px rgba(15,19,24,.08);
}
.map-card-head {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: clamp(22px, 3.2vw, 36px);
  background:
    linear-gradient(135deg, rgba(242,106,33,.12), transparent 48%),
    linear-gradient(180deg, #ffffff, #f5f7f9);
}
.map-card-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.08;
}
.map-card-head p {
  margin: 0;
  color: var(--soft);
  font-weight: 700;
  line-height: 1.55;
}
.dg-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  background: var(--muted);
}
.ya-map {
  display: block;
}
.map-frame {
  grid-column: 1 / -1;
}
.dg-map > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--soft);
  font-weight: 800;
  text-align: center;
}
.dg-map.is-loaded > span { display: none; }
.dg-map.is-error {
  background:
    linear-gradient(135deg, rgba(242,106,33,.12), transparent 52%),
    #eef1f4;
}
.dg-map.is-error > span {
  color: var(--graphite);
}
.dg-map .leaflet-control-attribution,
.dg-map .dg-attribution__links,
.dg-map .dg-attribution__warning-message { display: none !important; }
.dg-map.is-loaded::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 52px;
  z-index: 2000;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244,241,224,.96), rgba(244,241,224,.9));
}
.request-form,
.form-grid {
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 6px; font-weight: 800; }
input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}
textarea { resize: vertical; }
input:focus,
textarea:focus {
  outline: 2px solid rgba(242,106,33,.22);
  border-color: var(--accent);
}
.form-status,
.quiz-error { min-height: 22px; color: var(--accent-dark); font-weight: 800; }
.map-placeholder {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px;
  border: 1px dashed var(--metal);
  border-radius: 8px;
  background: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr .9fr .8fr 1fr;
  gap: 28px;
  padding: 44px clamp(20px, 6vw, 76px);
  background: var(--graphite);
  color: rgba(255,255,255,.78);
}
.site-footer > * {
  max-width: 100%;
}
.site-footer h2 { margin: 0 0 12px; color: var(--white); font-size: 18px; }
.site-footer a,
.site-footer span,
.site-footer p { display: block; margin: 0 0 8px; color: rgba(255,255,255,.78); }
.footer-credit {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}
.footer-credit a {
  display: inline-block;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  text-decoration: none;
}
.footer-credit a:hover {
  color: var(--accent);
}
.footer-logo {
  width: 190px;
  margin-bottom: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--white);
}

.scroll-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 45;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  box-shadow: 0 18px 42px rgba(15,19,24,.22);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}
.mobile-contact-bar {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 44;
  grid-template-columns: 1fr 1fr minmax(124px, 1.35fr);
  gap: 8px;
}
.mobile-contact-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(15,19,24,.94);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(15,19,24,.24);
}
.mobile-contact-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}
.mobile-contact-phone {
  background: var(--accent);
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroSweep {
  0%, 24% { transform: translateX(-42%); opacity: .18; }
  50% { transform: translateX(18%); opacity: .38; }
  100% { transform: translateX(42%); opacity: .18; }
}
@keyframes heroBreath {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}
@keyframes metalLines {
  from { transform: translateX(0); }
  to { transform: translateX(96px); }
}

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,16,20,.72);
}
.quiz {
  position: relative;
  width: min(640px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 28px 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 90px rgba(0,0,0,.28);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.quiz h2 {
  flex: 0 0 auto;
  margin: 0 46px 18px 0;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.15;
}
.quiz-form {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
}
.quiz-step { display: none; }
.quiz-step.is-active {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  overflow: hidden;
}
.quiz-step h3 {
  display: none;
}
.quiz-step-body {
  min-height: 0;
  overflow: visible;
  padding: 0;
}
.quiz-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}
.quiz-brief > label.wide:not(.quiz-product-field) {
  grid-column: 1 / -1;
}
.quiz label,
.quiz-field-title {
  color: var(--ink);
  font-size: 0;
  font-weight: 700;
  line-height: 1.35;
}
.quiz label input,
.quiz label textarea {
  font-size: 16px;
}
.quiz-product-field input {
  min-height: 42px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
}
.quiz-product-field input[readonly] {
  color: var(--ink);
  background: linear-gradient(135deg, #fff, #f6f8fa);
  border-color: rgba(15, 23, 42, .14);
}
.quiz-mount-block {
  display: grid;
  gap: 0;
  padding-top: 2px;
}
.quiz-field-title {
  display: none;
}
.quiz-brief textarea {
  min-height: 76px;
  max-height: 76px;
  resize: none;
}
.quiz-step[data-step="3"] .quiz-step-body {
  display: grid;
  align-items: center;
}
.quiz-step[data-step="3"] .quiz-step-body p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.quiz-footer {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice-grid-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.choice-grid input:checked + span {
  border-color: var(--accent);
  background: rgba(242,106,33,.1);
  color: var(--accent-dark);
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.quiz-contact-grid {
  align-content: start;
}
.wide { grid-column: 1 / -1; }
.quiz-contact-grid label:first-child {
  grid-column: 1 / -1;
}
.quiz-contact-grid label.wide {
  grid-column: auto;
}
.form-grid textarea {
  min-height: 92px;
  max-height: 92px;
}
.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.step-actions .btn {
  min-width: 160px;
  min-height: 44px;
}
.quiz-action-spacer {
  min-width: 160px;
  min-height: 1px;
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: minmax(170px, 220px) auto; }
  .main-nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 28px;
  }
  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 28px;
  }
  .product-hero img { max-width: 300px; }
  .hero-offer { min-height: 374px; }
  .cta-metal { grid-template-columns: 1fr; }
  .metal-seo { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits,
  .contacts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 52px;
  }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .hero-content {
    justify-self: start;
    order: 1;
    min-width: 0;
  }
  .hero-offer {
    order: 2;
    min-height: auto;
    min-width: 0;
  }
  .hero-offer-media { min-height: 180px; }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }
  .brand img { width: 172px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }
  .hamburger,
  .hamburger::before,
  .hamburger::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--graphite);
  }
  .hamburger {
    position: relative;
  }
  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .hamburger::before { top: -6px; }
  .hamburger::after { top: 6px; }
  .main-nav,
  .header-actions {
    display: none;
    grid-column: 1 / -1;
  }
  .site-header.is-open .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero { min-height: auto; }
  .hero-offer-media { min-height: 170px; }
  .hero-offer-body { padding: 18px; }
  .hero-offer-body strong { font-size: 26px; }
  .hero h1,
  .page-hero h1,
  .product-hero h1 { font-size: 38px; }
  .hero p,
  .page-hero p,
  .product-hero p { font-size: 16px; }
  .section-head,
  .product-hero,
  .about-hero,
  .content-grid,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .main-products-grid,
  .extra-products-grid,
  .works-grid,
  .benefits,
  .contacts-strip,
  .clients-grid,
  .note-grid,
  .kozyrki-types,
  .kozyrki-install-grid,
  .pandus-types,
  .pandus-benefits,
  .pandus-prosechka-card,
  .pandus-measure-card,
  .choice-grid,
  .choice-grid-small,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .kozyrki-type-card,
  .pandus-type-card {
    grid-template-columns: 1fr;
  }
  .pandus-prosechka-card > div {
    padding: 22px;
  }
  .pandus-prosechka-card img {
    min-height: 240px;
    order: -1;
  }
  .pandus-types .pandus-type-card figcaption {
    min-height: 0;
  }
  .pandus-measure-card img,
  .pandus-measure-card video {
    min-height: 240px;
  }
  .pandus-measure-card figcaption {
    padding: 22px;
  }
  .product-card,
  .product-card-large { min-height: 260px; }
  .extra-products-grid .product-card { min-height: 260px; }
  .section,
  .contacts-strip,
  .contact-layout,
  .content-grid { padding-left: 16px; padding-right: 16px; }
  .breadcrumbs,
  .page-hero,
  .product-hero { padding-left: 16px; padding-right: 16px; }
  .product-hero img {
    max-width: 100%;
    justify-self: stretch;
  }
  .product-hero img.metallokarkas-photo,
  .work-card img.metallokarkas-photo {
    aspect-ratio: 4 / 3;
  }
  .calculation-inline,
  .calculation-inline-left {
    grid-template-columns: 1fr;
  }
  .calculation-inline::before,
  .calculation-inline-left::before {
    order: 0;
    min-height: 132px;
  }
  .calculation-inline img {
    min-height: 220px;
  }
  .leader-card {
    justify-self: stretch;
    width: 100%;
  }
  .leader-card img { aspect-ratio: 4 / 3; }
  .cta-band,
  .map-placeholder {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
  .map-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .dg-map {
    min-height: 340px;
    height: 340px;
  }
  .modal {
    place-items: center;
    padding: 12px;
  }
  .quiz {
    width: calc(100vw - 24px);
    height: auto;
    max-height: calc(100svh - 24px);
    padding: 22px 16px 18px;
    border-radius: 8px;
  }
  .quiz h2 {
    margin-bottom: 12px;
    padding-right: 42px;
  }
  .quiz-step.is-active { gap: 12px; }
  .quiz-step h3 { font-size: 14px; }
  .quiz-step-body {
    overflow: visible;
    padding-right: 0;
  }
  .quiz-footer { padding-top: 12px; }
  .choice-grid { gap: 9px; }
  .choice-grid span { min-height: 42px; }
  .quiz label { gap: 4px; }
  .quiz input { min-height: 42px; }
  .quiz-brief {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .quiz-brief .quiz-product-field.wide {
    grid-column: 1 / -1;
  }
  .choice-grid-small {
    grid-template-columns: 1fr;
  }
  .quiz-brief textarea {
    min-height: 72px;
    max-height: 72px;
  }
  .quiz-step[data-step="3"] .quiz-step-body p {
    font-size: 17px;
  }
  .form-grid { gap: 8px; }
  .form-grid textarea {
    min-height: 60px;
    max-height: 60px;
  }
  .step-actions .btn,
  .quiz-action-spacer {
    min-width: 128px;
  }
  body {
    padding-bottom: 76px;
  }
  .mobile-contact-bar {
    display: grid;
  }
  .scroll-top {
    right: 16px;
    bottom: 76px;
  }
}

.calculation-inline,
.calculation-inline-left {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(15,19,24,.07);
}
.calculation-inline::before,
.calculation-inline-left::before {
  content: none;
  display: none;
}
.calculation-inline img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--muted);
}
.calculation-inline figcaption {
  grid-column: auto;
  display: grid;
  gap: 8px;
  padding: 6px 8px 6px 0;
  border-top: 0;
  background: transparent;
  color: var(--graphite);
  font-weight: 400;
  line-height: 1.5;
}
.calculation-inline figcaption strong {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}
.calculation-inline figcaption span {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .calculation-inline,
  .calculation-inline-left {
    grid-template-columns: 1fr;
  }
  .calculation-inline figcaption {
    padding: 0 2px 2px;
  }
}

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