:root {
  --ink: #101a1f;
  --ink-2: #24343b;
  --muted: #66757b;
  --soft: #eef5f2;
  --surface: #ffffff;
  --line: #c9d8d3;
  --green: #007a53;
  --green-dark: #005f42;
  --green-soft: #e8f5ef;
  --deep: #071c22;
  --deep-2: #0e2c30;
  --paper: #f7faf8;
  --aqua: #bdeadd;
  --blue: #004ed8;
  --shadow-sm: 0 14px 34px rgba(10, 30, 36, 0.12);
  --shadow-lg: 0 30px 80px rgba(10, 30, 36, 0.2);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(7, 28, 34, 0.055) 1px, transparent 1px) 0 0 / 112px 112px,
    linear-gradient(180deg, rgba(7, 28, 34, 0.042) 1px, transparent 1px) 0 0 / 112px 112px,
    linear-gradient(180deg, #f7faf8 0%, #eaf2ef 48%, #f5f9f7 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--green);
  color: #fff;
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(16, 26, 31, 0.018) 0 1px, transparent 1px 4px),
    linear-gradient(135deg, rgba(0, 122, 83, 0.035), transparent 34%),
    linear-gradient(315deg, rgba(0, 78, 216, 0.026), transparent 38%);
  mix-blend-mode: multiply;
  opacity: 0.48;
}

.skip-nav {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 120;
  transform: translateY(-180%);
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

.skip-nav:focus {
  transform: translateY(0);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 253, 251, 0.94);
  border-bottom: 1px solid rgba(156, 186, 178, 0.55);
  backdrop-filter: blur(18px);
}

.topbar {
  display: grid;
  grid-template-columns: 190px 180px minmax(260px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 52px);
}

.topbar:has(.header-contact) {
  grid-template-columns: minmax(210px, 280px) minmax(300px, 440px) auto auto auto;
  gap: 20px;
}

.legal-topbar {
  grid-template-columns: minmax(170px, 220px) minmax(280px, 520px) 1fr;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
}

.brand strong {
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand span {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.catalog-trigger,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

.catalog-trigger {
  gap: 10px;
  background: #087154;
  color: #fff;
  box-shadow: none;
}

.catalog-trigger span,
.catalog-trigger span::before,
.catalog-trigger span::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.catalog-trigger span {
  position: relative;
}

.catalog-trigger span::before,
.catalog-trigger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.catalog-trigger span::before {
  top: -5px;
}

.catalog-trigger span::after {
  top: 5px;
}

.search {
  display: grid;
  grid-template-columns: 1fr 52px;
  min-width: 0;
}

.search input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid #d4dfdc;
  border-right: 0;
  border-radius: 7px 0 0 7px;
  padding: 0 18px;
  outline: none;
}

.search input:focus {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.search button {
  display: grid;
  place-items: center;
  border: 1px solid #d4dfdc;
  border-left: 0;
  border-radius: 0 7px 7px 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid rgba(0, 122, 83, 0.34);
  outline-offset: 3px;
}

.header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
}

.header-nav a,
.phone-link,
.site-footer a,
.legal-preview a,
.service-grid a {
  text-decoration: none;
}

.header-nav a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: end;
}

.header-contact {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
  color: var(--ink-2);
}

.header-contact strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.header-contact span {
  color: var(--muted);
}

.header-contact a,
.login-link {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}

.login-link {
  justify-self: end;
  white-space: nowrap;
}

.nav-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 52px) 12px;
  white-space: nowrap;
}

.nav-bar a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.phone-link {
  white-space: nowrap;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.header-cart {
  position: relative;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.header-cart b {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.header-cart small {
  display: none;
}

.section-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding-right: clamp(18px, 4vw, 52px);
  padding-left: clamp(18px, 4vw, 52px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  min-height: 650px;
  padding-top: 46px;
  padding-bottom: 30px;
  margin-top: 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(7, 28, 34, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--deep) 0%, var(--deep-2) 48%, #edf5f2 48%, #f8fbfa 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  display: grid;
  align-content: center;
  padding-right: clamp(10px, 4vw, 50px);
  padding-left: clamp(22px, 2.4vw, 38px);
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  width: min(520px, 70%);
  height: 1px;
  background: linear-gradient(90deg, var(--aqua), transparent);
  transform: translateX(-34%);
}

.hero-technical {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  color: #9ce7d2;
  font-size: 12px;
  font-weight: 600;
}

.hero-technical span {
  border-left: 2px solid #9ce7d2;
  padding-left: 10px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #f6fffb;
  font-size: clamp(38px, 4.1vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 600px;
  margin: 25px 0 0;
  color: rgba(236, 249, 244, 0.82);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.button {
  min-width: 180px;
  border: 1px solid transparent;
  padding: 0 22px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #087154;
  color: #fff;
  box-shadow: none;
}

.button.primary:hover,
.catalog-trigger:hover {
  background: #075f48;
}

.button.secondary {
  border-color: rgba(189, 234, 221, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: #ecfaf6;
}

.button.secondary.dark {
  background: transparent;
  color: #eaf3f0;
  border-color: rgba(234, 243, 240, 0.55);
}

.button.full {
  width: 100%;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin-top: 36px;
}

.hero-proof span {
  position: relative;
  min-height: 42px;
  padding-left: 46px;
  color: rgba(236, 249, 244, 0.88);
  font-size: 15px;
  font-weight: 600;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border: 2px solid #92dec9;
  border-radius: 50%;
}

.hero-proof span::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #92dec9;
  border-bottom: 2px solid #92dec9;
  transform: rotate(-45deg);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(205, 228, 220, 0.45));
}

.hero-coordinate {
  position: absolute;
  top: 28px;
  right: 18px;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: rgba(16, 26, 31, 0.42);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  writing-mode: vertical-rl;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 7% 0 0;
  background:
    linear-gradient(90deg, rgba(7, 28, 34, 0.08), transparent 22%),
    repeating-linear-gradient(90deg, rgba(16, 26, 31, 0.055) 0 1px, transparent 1px 112px);
}

.product-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(760px, 100%);
  aspect-ratio: 1.25;
  animation: floatProduct 6s ease-in-out infinite;
}

.product-orbit::before {
  content: "";
  position: absolute;
  inset: auto 9% 10% 9%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(16, 26, 31, 0.2), transparent 67%);
  filter: blur(12px);
}

.product-orbit img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 35px 32px rgba(16, 26, 31, 0.16));
}

.hero-price-card,
.hero-slider,
.hero-spec-rail {
  position: absolute;
  border: 1px solid rgba(137, 168, 159, 0.65);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.hero-spec-rail {
  right: 5%;
  top: 18%;
  z-index: 3;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.hero-spec-rail span {
  display: grid;
  gap: 1px;
  min-width: 104px;
  color: var(--muted);
  font-size: 12px;
}

.hero-spec-rail b {
  color: var(--ink);
  font-size: 18px;
}

.hero-price-card {
  left: 4%;
  bottom: 12%;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
}

.hero-price-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.hero-price-card strong {
  font-size: 28px;
  font-weight: 700;
}

.hero-price-card small {
  color: var(--muted);
}

.hero-slider {
  right: 4%;
  bottom: 8%;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-slider span {
  width: 34px;
  height: 2px;
  background: #d2ddda;
}

.hero-slider span:first-child {
  background: var(--green);
}

.selector {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 26px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(7, 28, 34, 0.12);
  border-bottom: 1px solid rgba(7, 28, 34, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.selector-intro h2,
.section-title h2,
.order-text h2,
.legal-preview h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.08;
}

.selector-intro p,
.section-title p,
.legal-preview p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.selector-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 17px;
  text-align: left;
  cursor: default;
  transition: border 180ms var(--ease), box-shadow 180ms var(--ease);
}

.selector-card.active {
  border-color: var(--green);
  box-shadow: 0 10px 22px rgba(0, 122, 83, 0.08);
}

.selector-card svg {
  width: 42px;
  height: 42px;
  color: var(--ink);
}

.selector-card span,
.selector-card small {
  grid-column: 2;
}

.selector-card span {
  align-self: end;
  font-size: 17px;
  font-weight: 600;
}

.selector-card small {
  align-self: start;
  color: var(--muted);
  font-size: 13px;
}

.catalog-section,
.service-grid,
.order-section,
.legal-preview {
  padding-top: 46px;
  padding-bottom: 46px;
}

.catalog-section {
  background:
    linear-gradient(180deg, rgba(7, 28, 34, 0.04), rgba(255, 255, 255, 0) 38%),
    rgba(247, 250, 248, 0.72);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.catalog-filters button {
  min-height: 38px;
  border: 1px solid #b7cac4;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 16px;
  color: var(--ink-2);
  font-weight: 600;
  cursor: pointer;
}

.catalog-filters button.active {
  border-color: var(--green);
  background: #087154;
  color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid #bed0ca;
  border-radius: 8px;
  background: #fbfdfc;
  box-shadow: 0 10px 28px rgba(10, 30, 36, 0.08);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border 180ms var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), transparent 72%);
  opacity: 0;
  transition: opacity 180ms var(--ease);
}

.product-card:hover {
  border-color: rgba(0, 122, 83, 0.35);
  box-shadow: 0 22px 46px rgba(10, 30, 36, 0.14);
  transform: translateY(-3px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 360px;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.product-media img {
  position: absolute;
  inset: 8px;
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: none;
  transition: transform 280ms var(--ease);
}

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

.product-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(190, 208, 202, 0.9);
  background: #fbfdfc;
  padding: 0 18px 18px;
}

.product-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.product-title-row h3 {
  margin: 5px 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.18;
  min-height: 48px;
}

.price {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}

.spec-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 13px;
}

.spec-list b {
  color: var(--ink-2);
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-metrics span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(183, 202, 196, 0.9);
  border-radius: 7px;
  background: linear-gradient(180deg, #ffffff, #eef6f3);
  padding: 9px 8px;
}

.product-metrics b {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.1;
}

.product-metrics small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.feature-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--ink-2);
  list-style: none;
  font-size: 13px;
}

.feature-list li {
  position: relative;
  padding-left: 16px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.color-row {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 18px;
}

.color-row span {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(16, 26, 31, 0.18);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 2px 8px rgba(10, 30, 36, 0.12);
}

.product-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-actions .button {
  min-width: 128px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.payment-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  background: linear-gradient(90deg, #07161b, #0f2528);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.payment-band > div:first-child > span {
  display: block;
  color: #9edfc5;
  font-size: 13px;
  font-weight: 600;
}

.payment-band strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.payment-logo-img {
  display: block;
  width: min(680px, 100%);
  height: auto;
  border: 1px solid rgba(183, 202, 196, 0.8);
  border-radius: 10px;
  background: #f8fbf9;
  padding: 10px 16px;
  object-fit: contain;
}

.payment-band .payment-logo-img {
  justify-self: center;
  width: min(760px, 100%);
  max-height: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.footer-bottom .payment-logo-img {
  width: min(470px, 48%);
  max-height: none;
}

.legal-document .payment-logo-img {
  width: min(680px, 100%);
  margin: 0 0 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: linear-gradient(180deg, #fff, #f7faf9);
}

.service-grid article,
.consult-card,
.cart-panel,
.order-text,
.legal-preview,
.legal-document,
.subscribe,
.info-cards article,
.payment-safety {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-grid article,
.consult-card {
  padding: 24px;
}

.service-grid svg {
  width: 40px;
  height: 40px;
  color: var(--green);
}

.service-grid h3 {
  margin: 18px 0 8px;
  font-size: 23px;
  line-height: 1.15;
}

.service-grid p,
.order-text span,
.payment-main p,
.payment-safety p,
.info-cards p,
.info-cards li,
.subscribe p,
.site-footer p,
.empty-cart,
.checkout-form label,
.legal-document p,
.legal-document li,
.legal-document dd {
  color: var(--muted);
}

.service-grid a {
  color: var(--green-dark);
  font-weight: 700;
}

.consult-card {
  background:
    radial-gradient(circle at 100% 0, rgba(0, 122, 83, 0.15), transparent 34%),
    #fff;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  gap: 24px;
  align-items: start;
}

.cart-panel {
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-panel h2 {
  margin: 0;
  font-size: 27px;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 14px;
  min-height: 76px;
  margin: 20px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-line strong {
  font-size: 15px;
}

.cart-line small {
  display: block;
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 2px solid var(--ink);
  font-size: 24px;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.checkout-form input,
.subscribe input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cddad6;
  border-radius: 7px;
  padding: 0 13px;
  outline: none;
}

.checkout-form input:focus,
.subscribe input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 122, 83, 0.12);
}

.checkout-result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.order-text {
  padding: clamp(26px, 4vw, 46px);
  background:
    linear-gradient(130deg, rgba(232, 245, 239, 0.75), rgba(255, 255, 255, 0.75)),
    #fff;
}

.order-text ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.order-text li {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(0, 122, 83, 0.16);
  border-radius: 8px;
  background: #fff;
}

.order-text b {
  color: var(--green);
  font-size: 28px;
}

.legal-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 30px;
  margin-bottom: 48px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.legal-preview nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.legal-preview a {
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 14px;
  color: var(--ink-2);
  font-weight: 600;
}

.legal-preview a:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.site-footer {
  padding: 0 clamp(18px, 4vw, 52px) 30px;
  background: #0b1a1f;
  color: #eef5f3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.72fr) 1fr;
  gap: 28px;
  width: min(100%, 1396px);
  margin: 0 auto;
  padding: 36px 0;
}

.footer-brand {
  display: block;
  margin-bottom: 10px;
  font-size: 29px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer a,
.footer-contacts span {
  color: #cbd8d4;
}

.footer-about {
  max-width: 360px;
}

.footer-note {
  margin-top: 14px;
  color: #9edfc5;
  font-size: 13px;
}

.footer-contacts {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-contacts > strong,
.site-footer nav > strong {
  color: #fff;
}

.footer-requisites {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 1396px);
  margin: 0 auto 18px;
}

.footer-requisites span {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  color: #cbd8d4;
  font-size: 13px;
}

.footer-requisites b {
  color: #9edfc5;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1396px);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8b9b4;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatProduct {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.legal-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 42px clamp(18px, 4vw, 42px) 56px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}

.legal-document {
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 8px 22px rgba(21, 34, 30, 0.05);
}

.legal-document h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.legal-document h2 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.legal-document li {
  margin-bottom: 8px;
}

.payment-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.payment-images img,
.cvv-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cvv-image {
  max-width: 440px;
  display: block;
  margin: 18px 0;
}

.requisites-list {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.requisites-list dt,
.requisites-list dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.requisites-list dt {
  color: var(--ink);
  font-weight: 600;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.compact-footer {
  max-width: none;
}

.compact-footer .footer-bottom {
  align-items: flex-start;
}

@media (max-width: 1280px) {
  .topbar {
    grid-template-columns: 170px minmax(180px, 1fr) auto;
  }

  .legal-topbar {
    grid-template-columns: minmax(160px, 220px) minmax(220px, 1fr) auto;
  }

  .topbar:has(.header-contact) {
    grid-template-columns: minmax(170px, 240px) minmax(220px, 1fr) auto auto;
  }

  .catalog-trigger,
  .header-nav {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .search {
    grid-column: auto;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  }

  .catalog-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .legal-topbar {
    grid-template-columns: 1fr auto;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
  }

  .topbar:has(.header-contact) {
    grid-template-columns: 1fr auto auto;
  }

  .nav-bar {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 0 18px 12px;
    white-space: normal;
  }

  .phone-link {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background: linear-gradient(180deg, var(--deep), var(--deep-2));
  }

  .hero-media {
    min-height: 420px;
    margin-top: 22px;
    border-top: 1px solid rgba(189, 234, 221, 0.18);
  }

  .hero-spec-rail,
  .hero-coordinate {
    display: none;
  }

  .selector,
  .order-section,
  .legal-preview,
  .payment-band {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-requisites {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selector-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-title {
    display: grid;
    align-items: start;
  }

  .catalog-filters {
    justify-content: start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand strong {
    font-size: 25px;
  }

  .header-cart span {
    font-size: 0;
  }

  .header-cart b {
    font-size: 12px;
  }

  .section-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-technical,
  .hero-copy::before {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-proof,
  .selector-options,
  .catalog-grid,
  .service-grid,
  .order-text ol,
  .legal-preview nav,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-price-card {
    left: 0;
    bottom: 7%;
  }

  .hero-slider {
    right: 0;
    bottom: 0;
  }

  .hero-slider span {
    width: 20px;
  }

  .product-card {
    min-height: auto;
  }

  .product-media {
    height: 300px;
    min-height: 300px;
  }

  .product-body {
    padding: 18px 18px 18px;
  }

  .product-title-row h3,
  .spec-list {
    min-height: auto;
  }

  .payment-band {
    margin-right: 0;
    margin-left: 0;
  }

  .payment-images,
  .requisites-list {
    grid-template-columns: 1fr;
  }

  .requisites-list dt {
    padding-bottom: 3px;
    border-bottom: 0;
  }

  .requisites-list dd {
    padding-top: 0;
  }

  .footer-bottom {
    display: grid;
  }

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

  .payment-band .payment-logo-img,
  .footer-bottom .payment-logo-img,
  .legal-document .payment-logo-img {
    width: 100%;
    max-height: none;
  }
}

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

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