:root {
  --red: #f01722;
  --red-dark: #c90f18;
  --red-soft: rgba(240, 23, 34, .12);
  --ink: #0b1423;
  --ink-2: #122033;
  --navy: #0e1d30;
  --slate: #536173;
  --muted: #748196;
  --line: #dfe5ed;
  --soft: #f2f5f9;
  --white: #ffffff;
  --success: #177b4b;
  --danger: #b4232b;
  --shadow-sm: 0 14px 38px rgba(14, 29, 48, .09);
  --shadow-lg: 0 30px 90px rgba(5, 14, 27, .18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1240px;
  --header-height: 82px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -.035em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 850;
}

h3 {
  margin-bottom: 0;
}

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

::selection {
  color: var(--white);
  background: var(--red);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: none;
}

.section {
  padding-block: 104px;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 800px;
}

.section-head > p,
.section-head > div + p {
  margin: 0;
  color: var(--slate);
  font-size: 18px;
}

.section-head-centered {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.section-head-centered p {
  max-width: 720px;
  margin: 20px auto 0;
}

.section-head-compact {
  display: block;
  margin-bottom: 30px;
}

.section-head-compact p {
  margin-top: 18px;
}

.section-head-light h2,
.section-head-light p {
  color: var(--white);
}

.section-head-light p {
  opacity: .72;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-kicker-light {
  color: #ff6b73;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(240, 23, 34, .28);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #f51d28, #d70914);
  box-shadow: 0 13px 28px rgba(240, 23, 34, .25);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(240, 23, 34, .34);
}

.btn-glow {
  box-shadow: 0 0 0 1px rgba(255, 96, 104, .25), 0 15px 34px rgba(240, 23, 34, .35), 0 0 40px rgba(240, 23, 34, .14);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover,
.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .12);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, .25);
  background: transparent;
}

.btn-small {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.text-button svg {
  width: 18px;
  transition: transform var(--transition);
}

.text-button:hover svg {
  transform: translateX(4px);
}

.text-button-light {
  color: var(--white);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(5, 13, 25, .84), rgba(5, 13, 25, .28));
  transition: background var(--transition), box-shadow var(--transition), min-height var(--transition);
}

.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(7, 16, 29, .96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: inherit;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  color: var(--white);
  line-height: 1;
}

.brand-main {
  display: flex;
  align-items: center;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.brand-num {
  display: inline-flex;
  height: 29px;
  align-items: center;
  margin-left: 5px;
  padding: 0 5px;
  color: var(--white);
  border-radius: 3px;
  background: var(--red);
  font-size: 23px;
  transform: skew(-4deg);
}

.brand-sub {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
  transition: color var(--transition);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 850;
}

.header-phone > svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.header-phone span {
  display: flex;
  flex-direction: column;
}

.header-phone small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: #091525;
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 11, 22, .98) 0%, rgba(4, 11, 22, .92) 31%, rgba(4, 11, 22, .58) 52%, rgba(4, 11, 22, .12) 77%),
    linear-gradient(180deg, rgba(4, 11, 22, .28), rgba(4, 11, 22, .04) 55%, rgba(4, 11, 22, .83));
}

.hero::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 160px;
  content: "";
  background: linear-gradient(180deg, transparent, #091525);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.jpg");
  background-position: 76% center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 780px;
  align-items: center;
  padding-top: 108px;
  padding-bottom: 100px;
}

.hero-copy {
  width: min(670px, 58%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 36px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 900;
  letter-spacing: -.055em;
}

.hero h1 em {
  display: block;
  color: rgba(255, 255, 255, .83);
  font-style: normal;
  font-weight: 760;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .75);
  font-size: 20px;
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 650;
}

.hero-list svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 3px;
  color: var(--white);
  border-radius: 50%;
  background: var(--red);
  stroke-width: 2.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-trust svg {
  width: 17px;
  height: 17px;
  color: #ff545d;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  display: grid;
  width: 28px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 18px;
  transform: translateX(-50%);
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 5px;
  background: var(--red);
  animation: scroll-dot 1.8s infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(-6px); opacity: .4; }
  50% { transform: translateY(7px); opacity: 1; }
}

.metrics-wrap {
  position: relative;
  z-index: 5;
  margin-top: -48px;
}

.metrics-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: linear-gradient(110deg, #142338, #0a1423);
  box-shadow: var(--shadow-lg);
}

.metric {
  display: flex;
  min-height: 124px;
  align-items: center;
  gap: 16px;
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, .09);
}

.metric:last-child {
  border-right: 0;
}

.metric > svg {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--red);
}

.metric div {
  display: flex;
  flex-direction: column;
}

.metric strong {
  font-size: 29px;
  line-height: 1;
}

.metric span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .63);
  font-size: 12px;
  line-height: 1.3;
}

.applications {
  padding-top: 88px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
}

.application-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 16px 35px rgba(13, 28, 49, .12);
  isolation: isolate;
}

.application-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 12, 24, .05) 20%, rgba(3, 12, 24, .92) 100%);
}

.application-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.application-card:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.06);
}

.application-card > div {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 17px;
  left: 16px;
}

.application-card span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  margin-bottom: 10px;
  place-items: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--red);
  font-size: 11px;
  font-weight: 850;
}

.application-card h3 {
  color: var(--white);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(330px, .88fr) minmax(0, 1.12fr);
  gap: 62px;
  align-items: center;
}

.solution-visual {
  position: sticky;
  top: 110px;
  overflow: hidden;
  min-height: 670px;
  border-radius: var(--radius-lg);
  background: #dce5ef;
  box-shadow: var(--shadow-sm);
}

.solution-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(8,18,32,.18));
  pointer-events: none;
}

.solution-visual img {
  width: 100%;
  height: 100%;
  min-height: 670px;
  object-fit: cover;
  object-position: center;
}

.visual-badge {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  padding: 21px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 17px;
  background: rgba(10, 24, 42, .88);
  box-shadow: 0 20px 50px rgba(8, 18, 32, .22);
  backdrop-filter: blur(12px);
}

.visual-badge strong {
  margin-bottom: 5px;
  font-size: 22px;
}

.visual-badge span {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.solution-item:hover {
  z-index: 2;
  border-color: rgba(240, 23, 34, .35);
  box-shadow: 0 18px 44px rgba(13, 28, 49, .09);
  transform: translateX(5px);
}

.solution-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--red);
  border-radius: 15px;
  background: var(--red-soft);
}

.solution-icon svg {
  width: 27px;
  height: 27px;
}

.solution-item h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.solution-item p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
}

.solution-item > button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--red);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.solution-item > button:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
  transform: rotate(-10deg);
}

.process {
  overflow: hidden;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid::before {
  position: absolute;
  z-index: 0;
  top: 52px;
  right: 7%;
  left: 7%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #cbd4df 7%, #cbd4df 93%, transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  min-height: 230px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.process-step:hover {
  border-color: rgba(240, 23, 34, .3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.process-step > span {
  position: absolute;
  top: 10px;
  right: 12px;
  color: #d5dce6;
  font-size: 12px;
  font-weight: 900;
}

.process-step > svg {
  width: 46px;
  height: 46px;
  margin: 7px auto 22px;
  padding: 10px;
  color: var(--red);
  border-radius: 14px;
  background: var(--red-soft);
}

.process-step h3 {
  margin-bottom: 9px;
  font-size: 17px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.process-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft);
}

.process-badges span {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  color: var(--slate);
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.process-badges span:last-child {
  border-right: 0;
}

.process-badges strong {
  color: var(--ink);
  font-size: 20px;
}

.process-badges svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.production-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(35, 93, 150, .25), transparent 32%),
    linear-gradient(145deg, #0b1728, #07111e);
}

.production-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.production-section .container {
  position: relative;
  z-index: 1;
}

.production-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  grid-template-rows: repeat(2, 215px);
  gap: 13px;
}

.production-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: #102136;
}

.production-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 38%, rgba(4, 12, 22, .92));
}

.production-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.production-card:hover img {
  transform: scale(1.06);
}

.production-main {
  grid-row: 1 / 3;
}

.production-card figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.production-card figcaption strong {
  font-size: 15px;
}

.production-card figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 11px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(13, 28, 49, .05);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  border-color: rgba(240, 23, 34, .32);
  box-shadow: var(--shadow-sm);
  transform: translateY(-6px);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  background: #f3f4f7;
  transition: transform .5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card span {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  padding: 13px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.calculator-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 15%, rgba(240, 23, 34, .13), transparent 34%),
    linear-gradient(135deg, #101f33, #07111f 65%);
}

.calculator-section::after {
  position: absolute;
  top: -230px;
  right: -230px;
  width: 560px;
  height: 560px;
  content: "";
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.015);
}

.calculator-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.calculator-copy h2 {
  margin-bottom: 22px;
}

.calculator-copy > p {
  max-width: 520px;
  color: rgba(255,255,255,.66);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  padding: 3px;
  color: var(--white);
  border-radius: 50%;
  background: var(--red);
}

.light-list li {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 650;
}

.deadline-calculator {
  padding: 30px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.field-group {
  margin-bottom: 21px;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.choice-grid input:checked + span {
  color: var(--red);
  border-color: rgba(240,23,34,.44);
  background: var(--red-soft);
}

.choice-grid input:focus-visible + span {
  outline: 3px solid rgba(240,23,34,.22);
  outline-offset: 2px;
}

.calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field > span {
  color: #3f4d60;
  font-size: 12px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9ba5b4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(240,23,34,.48);
  box-shadow: 0 0 0 4px rgba(240,23,34,.08);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
  background: #fff8f8;
}

.calculator-result {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(240,23,34,.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240,23,34,.075), rgba(240,23,34,.02));
}

.calculator-result > span {
  display: block;
  margin-bottom: 5px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.calculator-result > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
}

.calculator-result p {
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 12.5px;
}

.lead-section {
  background: var(--soft);
}

.lead-card {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  overflow: hidden;
  border: 1px solid #dce2eb;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.lead-benefits {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: #0b1728;
}

.lead-benefits-media {
  position: absolute;
  inset: 0;
  background-image: url("../img/cta-welder.jpg");
  background-position: center;
  background-size: cover;
}

.lead-benefits::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(6,15,28,.12), rgba(6,15,28,.93) 62%), linear-gradient(90deg, rgba(6,15,28,.3), transparent);
}

.lead-benefits-content {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 38px;
  left: 38px;
}

.lead-benefits h2 {
  margin-bottom: 25px;
  font-size: clamp(34px, 4vw, 52px);
}

.lead-benefits ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
}

.lead-benefits li > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  color: var(--white);
  border-radius: 50%;
  background: var(--red);
}

.lead-benefits li strong {
  color: var(--white);
}

.lead-form-wrap {
  position: relative;
  padding: 48px;
}

.form-badge {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 7px 10px;
  color: var(--red);
  border-radius: 999px;
  background: var(--red-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lead-form-wrap h2,
.modal-dialog h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.8vw, 47px);
}

.lead-form-wrap > p,
.modal-dialog > p {
  margin-bottom: 25px;
  color: var(--slate);
}

.lead-form {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.file-field {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 11px 13px;
  border: 1px dashed #cbd3de;
  border-radius: 13px;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.file-field:hover {
  border-color: rgba(240,23,34,.5);
  background: #fff8f8;
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--red);
  border-radius: 12px;
  background: var(--red-soft);
}

.file-icon svg {
  width: 23px;
  height: 23px;
}

.file-field > span:nth-child(3) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.file-field strong {
  color: var(--ink);
  font-size: 13px;
}

.file-field small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.file-name {
  max-width: 130px;
  overflow: hidden;
  color: var(--slate);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-file {
  min-height: 66px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.consent a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #aeb7c3;
  text-underline-offset: 2px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-status {
  min-height: 18px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.ajax-form.is-loading .btn[type="submit"] {
  pointer-events: none;
  opacity: .72;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.outcome-card {
  min-height: 270px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.outcome-card:hover {
  border-color: rgba(240,23,34,.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-6px);
}

.outcome-card > span {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 25px;
  place-items: center;
  color: var(--red);
  border-radius: 15px;
  background: var(--red-soft);
}

.outcome-card > span svg {
  width: 27px;
  height: 27px;
}

.outcome-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.outcome-card p {
  color: var(--slate);
  font-size: 14px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.format-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(13,28,49,.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.format-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.format-card > img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.format-card > div {
  padding: 25px;
}

.format-card > div > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.format-card h3 {
  margin: 10px 0 16px;
  font-size: 23px;
}

.format-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 21px;
  padding: 0;
  color: var(--slate);
  font-size: 13px;
  list-style: none;
}

.format-card li {
  position: relative;
  padding-left: 17px;
}

.format-card li::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--red);
}

.guarantees-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: stretch;
}

.guarantee-copy > h2 {
  margin-bottom: 22px;
}

.guarantee-copy > p {
  max-width: 670px;
  color: var(--slate);
  font-size: 18px;
}

.guarantee-list {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.guarantee-list article {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr);
  gap: 15px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.guarantee-list article > svg {
  width: 50px;
  height: 50px;
  padding: 12px;
  color: var(--red);
  border-radius: 14px;
  background: var(--red-soft);
}

.guarantee-list h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.guarantee-list p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
}

.geography-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 30%, rgba(37,94,151,.4), transparent 35%),
    linear-gradient(145deg, #10263f, #07111f);
  box-shadow: var(--shadow-lg);
}

.map-pattern {
  position: absolute;
  inset: 0;
  opacity: .62;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.map-pattern::before,
.map-pattern::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}

.map-pattern::before {
  width: 440px;
  height: 440px;
  top: -100px;
  right: -95px;
  box-shadow: 0 0 0 62px rgba(255,255,255,.025), 0 0 0 124px rgba(255,255,255,.016);
}

.map-pattern::after {
  width: 230px;
  height: 230px;
  bottom: -80px;
  left: -70px;
  box-shadow: 0 0 0 45px rgba(240,23,34,.04);
}

.map-pattern span {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(240,23,34,.12);
}

.map-pattern span:nth-child(1) { top: 22%; left: 18%; }
.map-pattern span:nth-child(2) { top: 34%; right: 18%; }
.map-pattern span:nth-child(3) { top: 56%; left: 36%; }
.map-pattern span:nth-child(4) { right: 28%; bottom: 22%; }
.map-pattern span:nth-child(5) { left: 16%; bottom: 18%; }

.geography-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  min-height: 570px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
}

.map-pin {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--white);
  border-radius: 18px;
  background: var(--red);
  box-shadow: 0 15px 35px rgba(240,23,34,.34);
}

.map-pin svg {
  width: 31px;
  height: 31px;
}

.geography-card h3 {
  margin-bottom: 15px;
  font-size: clamp(30px, 3.5vw, 44px);
}

.geography-card p {
  max-width: 470px;
  margin-bottom: 25px;
  color: rgba(255,255,255,.68);
}

.geography-card .btn {
  align-self: flex-start;
}

.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  margin-bottom: 20px;
}

.faq-intro p {
  margin-bottom: 27px;
  color: var(--slate);
  font-size: 17px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-button {
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
}

.accordion-button svg {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  color: var(--red);
  transition: transform var(--transition);
}

.accordion-item.is-open .accordion-button svg {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  overflow: hidden;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.accordion-panel > p {
  min-height: 0;
  margin: 0;
  padding: 0 48px 0 4px;
  color: var(--slate);
  font-size: 15px;
  opacity: 0;
  transition: padding 300ms ease, opacity 300ms ease;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-item.is-open .accordion-panel > p {
  padding-bottom: 24px;
  opacity: 1;
}

.final-cta {
  padding-block: 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5,14,26,.97), rgba(5,14,26,.72)),
    url("../img/hero.jpg") 72% 56% / cover;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.final-cta-inner > div:first-child {
  max-width: 760px;
}

.final-cta-inner > div:first-child > span {
  display: block;
  margin-bottom: 9px;
  color: #ff7d84;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.final-cta h2 {
  font-size: clamp(33px, 4.2vw, 54px);
}

.final-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
}

.final-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 18px;
  font-weight: 850;
}

.final-phone small {
  margin-bottom: 3px;
  color: rgba(255,255,255,.56);
  font-size: 10px;
  font-weight: 650;
}

.site-footer {
  color: rgba(255,255,255,.72);
  background: #06101d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .75fr .75fr .9fr;
  gap: 54px;
  padding-block: 62px;
}

.footer-brand p {
  max-width: 350px;
  margin-top: 22px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
}

.footer-column,
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h3,
.footer-contacts h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: .04em;
}

.footer-column a {
  color: rgba(255,255,255,.56);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-phone {
  color: var(--white);
  font-size: 21px;
  font-weight: 850;
}

.footer-contacts p {
  color: rgba(255,255,255,.52);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.38);
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-actions {
  display: none;
}

.modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: visibility 0s linear 250ms, opacity 250ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 18, .78);
  backdrop-filter: blur(7px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 38px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(0,0,0,.38);
  transform: translateY(22px) scale(.98);
  transition: transform 250ms ease;
}

.modal.is-open .modal-dialog {
  transform: none;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
}

.modal-close svg {
  width: 21px;
  height: 21px;
}

.toast {
  position: fixed;
  z-index: 5000;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100% - 44px));
  padding: 15px 18px;
  visibility: hidden;
  color: var(--white);
  border-radius: 13px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(15px);
  transition: visibility 0s linear 220ms, opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.toast.is-success {
  background: #14653f;
}

.toast.is-error {
  background: #9d1e26;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

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

@media (max-width: 1180px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-copy {
    width: min(660px, 64%);
  }

  .application-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .application-card {
    min-height: 320px;
  }

  .product-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-card:last-child {
    grid-column: span 2;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid::before {
    display: none;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .section {
    padding-block: 82px;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px 18px 24px;
    visibility: hidden;
    border-top: 1px solid rgba(255,255,255,.09);
    background: rgba(7,16,29,.99);
    box-shadow: 0 22px 50px rgba(0,0,0,.22);
    opacity: 0;
    transform: translateY(-10px);
    transition: visibility 0s linear 200ms, opacity 200ms ease, transform 200ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .main-nav a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 16px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero,
  .hero-inner {
    min-height: 750px;
  }

  .hero-copy {
    width: min(640px, 76%);
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(4,11,22,.98) 0%, rgba(4,11,22,.9) 42%, rgba(4,11,22,.45) 74%, rgba(4,11,22,.24)),
      linear-gradient(180deg, rgba(4,11,22,.25), rgba(4,11,22,.1) 55%, rgba(4,11,22,.88));
  }

  .metrics-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head > p,
  .section-head > div + p {
    max-width: 740px;
  }

  .solutions-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .solution-visual {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .solution-visual img {
    min-height: 520px;
  }

  .production-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 320px repeat(3, 190px);
  }

  .production-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .calculator-layout,
  .lead-card,
  .guarantees-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .calculator-layout {
    gap: 40px;
  }

  .lead-benefits {
    min-height: 560px;
  }

  .lead-benefits-media {
    background-position: center 38%;
  }

  .guarantees-layout {
    gap: 38px;
  }

  .faq-layout {
    gap: 38px;
  }

  .faq-intro {
    position: relative;
    top: auto;
    max-width: 720px;
  }

  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .format-card:last-child {
    grid-column: 1 / 3;
  }

  .format-card:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .format-card:last-child > img {
    height: 100%;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-actions {
    width: min(420px, 100%);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-contacts {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 25px;
  }

  .footer-contacts h3 {
    display: none;
  }

  .footer-contacts p {
    margin: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  html {
    scroll-padding-top: 78px;
  }

  body {
    padding-bottom: 64px;
  }

  h2 {
    font-size: clamp(31px, 10vw, 43px);
  }

  .section {
    padding-block: 68px;
  }

  .section-head {
    margin-bottom: 31px;
  }

  .section-head > p,
  .section-head > div + p {
    font-size: 16px;
  }

  .brand-main {
    font-size: 22px;
  }

  .brand-num {
    height: 26px;
    font-size: 20px;
  }

  .header-phone {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(4,11,22,.96), rgba(4,11,22,.7)),
      linear-gradient(180deg, rgba(4,11,22,.35), rgba(4,11,22,.27) 47%, rgba(4,11,22,.95));
  }

  .hero-inner {
    align-items: flex-end;
    padding-top: 105px;
    padding-bottom: 96px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-lead {
    margin-bottom: 23px;
    font-size: 16px;
  }

  .hero-list {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 26px;
  }

  .hero-list li {
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 7px;
  }

  .hero-trust span {
    padding: 7px 9px;
    font-size: 10px;
  }

  .scroll-hint {
    display: none;
  }

  .metrics-wrap {
    margin-top: -38px;
  }

  .metric {
    min-height: 105px;
    gap: 11px;
    padding: 18px 14px;
  }

  .metric > svg {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .metric strong {
    font-size: 22px;
  }

  .metric span {
    font-size: 10px;
  }

  .applications {
    padding-top: 61px;
  }

  .application-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .application-card {
    min-height: 230px;
    border-radius: 14px;
  }

  .application-card > div {
    right: 12px;
    bottom: 13px;
    left: 12px;
  }

  .application-card h3 {
    font-size: 13px;
  }

  .solution-visual,
  .solution-visual img {
    min-height: 400px;
  }

  .visual-badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 16px;
  }

  .solution-item {
    grid-template-columns: 46px minmax(0, 1fr) 38px;
    gap: 11px;
    padding: 14px;
  }

  .solution-icon {
    width: 46px;
    height: 46px;
  }

  .solution-item h3 {
    font-size: 16px;
  }

  .solution-item p {
    font-size: 11.5px;
  }

  .solution-item > button {
    width: 38px;
    height: 38px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .process-step {
    min-height: 210px;
    padding: 18px 12px;
  }

  .process-step > svg {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

  .process-step h3 {
    font-size: 15px;
  }

  .process-step p {
    font-size: 11px;
  }

  .process-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-badges span:nth-child(2) {
    border-right: 0;
  }

  .process-badges span:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .production-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px repeat(3, 150px);
    gap: 8px;
  }

  .production-card {
    border-radius: 13px;
  }

  .production-card figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .production-card figcaption strong {
    font-size: 12px;
  }

  .product-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .product-card:last-child {
    grid-column: auto;
  }

  .product-card img {
    height: 120px;
  }

  .product-card span {
    min-height: 58px;
    font-size: 11px;
  }

  .deadline-calculator,
  .lead-form-wrap,
  .modal-dialog {
    padding: 24px;
  }

  .calculator-fields,
  .form-row {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lead-benefits {
    min-height: 610px;
  }

  .lead-benefits-content {
    right: 23px;
    bottom: 25px;
    left: 23px;
  }

  .lead-benefits li {
    font-size: 12.5px;
  }

  .file-field {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .file-icon {
    width: 42px;
    height: 42px;
  }

  .file-name {
    grid-column: 2;
    max-width: 100%;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .outcome-card {
    min-height: 0;
    padding: 22px;
  }

  .outcome-card > span {
    margin-bottom: 18px;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .format-card:last-child {
    display: block;
    grid-column: auto;
  }

  .format-card:last-child > img,
  .format-card > img {
    height: 215px;
  }

  .guarantee-copy > p {
    font-size: 16px;
  }

  .geography-card,
  .geography-content {
    min-height: 510px;
  }

  .geography-content {
    padding: 27px;
  }

  .accordion-button {
    min-height: 70px;
    font-size: 16px;
  }

  .accordion-panel > p {
    padding-right: 10px;
    font-size: 13.5px;
  }

  .final-cta {
    padding-block: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding-block: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contacts {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 18px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 900;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    min-height: 64px;
    border-top: 1px solid rgba(255,255,255,.11);
    background: rgba(7,16,29,.98);
    box-shadow: 0 -12px 32px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
  }

  .mobile-actions a,
  .mobile-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-actions button {
    background: var(--red);
  }

  .mobile-actions svg {
    width: 20px;
    height: 20px;
  }

  .toast {
    right: 14px;
    bottom: 78px;
    left: 14px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 40px;
  }

  .metrics-card {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .application-grid {
    grid-template-columns: 1fr;
  }

  .application-card {
    min-height: 250px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 175px;
  }

  .production-grid {
    display: flex;
    flex-direction: column;
  }

  .production-card {
    height: 190px;
  }

  .production-main {
    height: 290px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 105px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Служебные страницы */
.legal-page,
.thanks-page {
  background: var(--soft);
}

.legal-header {
  color: var(--white);
  background: var(--ink);
}

.legal-header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-main {
  padding-block: 74px 100px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 28px;
}

.legal-aside > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-aside h1 {
  margin: 12px 0 15px;
  font-size: clamp(38px, 4.5vw, 58px);
}

.legal-aside p {
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  margin: 34px 0 13px;
  font-size: 25px;
}

.legal-content h2:first-of-type {
  margin-top: 25px;
}

.legal-content p,
.legal-content li {
  color: var(--slate);
}

.legal-content a:not(.btn) {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 18px;
  color: #71353a !important;
  border: 1px solid rgba(240,23,34,.2);
  border-radius: 13px;
  background: var(--red-soft);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-phone {
  color: var(--ink) !important;
  font-size: 18px;
  font-weight: 850;
  text-decoration: none !important;
}

.thanks-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4,11,22,.94), rgba(4,11,22,.72)),
    url("../img/hero.jpg") 72% center / cover;
}

.thanks-card {
  width: min(680px, 100%);
  padding: 48px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  background: rgba(8,18,32,.9);
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(15px);
}

.thanks-card .brand {
  align-items: center;
  margin-bottom: 32px;
}

.thanks-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 14px 40px rgba(240,23,34,.35);
  font-size: 34px;
  font-weight: 900;
}

.thanks-card h1 {
  margin-bottom: 15px;
  font-size: clamp(42px, 7vw, 67px);
}

.thanks-card p {
  max-width: 530px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.66);
  font-size: 17px;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 760px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-aside {
    position: relative;
    top: auto;
  }

  .legal-content,
  .thanks-card {
    padding: 26px;
  }

  .legal-header-inner .btn {
    padding-inline: 12px;
    font-size: 12px;
  }

  .thanks-actions {
    display: grid;
  }
}

/* Уточнение контраста для тёмных секций */
.section-head-light > p,
.section-head-light > div + p {
  color: rgba(255, 255, 255, .76);
  opacity: 1;
}

.thanks-page {
  padding-bottom: 0;
}
