@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@500&family=DM+Sans:wght@400;500;600&family=Manrope:wght@800&display=swap');

:root {
  --bg-grad: linear-gradient(165deg, #D9E4E1 0%, #CBDCD7 52%, #BDD1CC 100%);
  --surface-1: #EAF1EF;
  --surface-2: #DDE8E5;
  --border-color: #9AB5AF;
  --text-main: #0F2220;
  --text-sec: #2B4A46;
  --emerald: #12635B;
  --coral: #D4573B;
  --coral-heading: #B8412A;
  --lavender: #6B5BB0;
  --dark-surface: #123A36;
  --dark-text: #E8F5F2;
  --ease-opora: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.58;
  color: var(--text-main);
  background: var(--bg-grad);
  overflow-x: clip;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--coral);
  z-index: 1200;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  animation: driftBlob 24s ease-in-out infinite alternate;
}

.blob-coral {
  width: 520px;
  height: 520px;
  top: -90px;
  right: -110px;
  background: #F08A6E;
  opacity: 0.14;
  filter: blur(150px);
}

.blob-lavender {
  width: 500px;
  height: 500px;
  bottom: 12%;
  left: -130px;
  background: #9B8FD1;
  opacity: 0.12;
  filter: blur(140px);
  animation-delay: -10s;
}

.noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(#0F2220 0.75px, transparent 0.75px);
  background-size: 12px 12px;
}

@keyframes driftBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(32px, 24px) scale(1.05); }
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  position: relative;
  padding: 26px 0;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0;
}

h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.09;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(24px, 2.7vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

h3 {
  font-size: 22px;
  line-height: 1.28;
  margin-bottom: 8px;
}

p {
  margin-top: 0;
  max-width: none;
  font-size: 18px;
  line-height: 1.72;
}

.coral-word {
  color: var(--coral-heading);
}

.mono-label, .mono-num {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-sec);
  margin-bottom: 6px;
}

.big-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--emerald);
  margin-bottom: 6px;
}

.small-note {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-sec);
  margin-bottom: 0;
}

a {
  color: var(--emerald);
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.card-solid {
  background: var(--surface-1);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 22px;
  transition: transform 320ms var(--ease-opora), border-color 320ms var(--ease-opora), box-shadow 320ms var(--ease-opora);
}

.card-solid:hover {
  transform: translateY(-3px);
  border-color: var(--emerald);
  box-shadow: 0 12px 26px rgba(15, 34, 32, 0.12);
}

.card-secondary {
  background: var(--surface-2);
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 18px;
}

.card-dark {
  background: var(--dark-surface);
  color: var(--dark-text);
  border: 1.5px solid var(--emerald);
  border-radius: 20px;
  padding: 22px;
}

/* Навигация */
.nav-wrapper {
  position: sticky;
  top: 8px;
  z-index: 1000;
  padding: 0 16px;
}

.owner-bar {
  max-width: 1320px;
  margin: 0 auto 8px;
  padding: 8px 16px;
  background: var(--dark-surface);
  color: var(--dark-text);
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

.owner-bar a {
  color: #F3FBF9;
}

.body-copy {
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-main);
  margin-bottom: 0;
}

.prose h1 {
  margin-bottom: 12px;
}

.prose h2 {
  font-size: 24px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.prose p {
  position: relative;
  font-size: 18.5px;
  line-height: 1.75;
  margin-bottom: 16px;
  padding-left: 18px;
}

.prose p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px 8px 2px 8px;
  background: var(--coral);
}

.prose > p:first-of-type {
  padding: 4px 4px 4px 0;
  font-size: 19.5px;
}

.prose > p:first-of-type::before {
  display: none;
}

.prose > p:first-of-type::first-letter {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  float: left;
  font-size: 3.1rem;
  line-height: 0.78;
  padding: 6px 10px 0 0;
  color: var(--coral-heading);
}

.mark-list,
.prose ul,
.prose ol {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.mark-list li,
.prose ul li,
.prose ol li {
  position: relative;
  margin: 0 0 8px;
  padding: 12px 16px 12px 46px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(212, 87, 59, 0.16), rgba(18, 99, 91, 0.05) 62%, transparent);
  font-size: 18px;
  line-height: 1.6;
}

.mark-list li::before,
.prose ul li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 50% 2px;
  background: var(--emerald);
  transform: rotate(-40deg);
}

.prose ol {
  counter-reset: sheet;
}

.prose ol li {
  counter-increment: sheet;
  padding-left: 58px;
}

.prose ol li::before {
  content: counter(sheet, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 11px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--coral-heading);
}

table.sheet {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 17px;
}

table.sheet caption {
  caption-side: top;
  text-align: left;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 4px;
}

table.sheet th {
  text-align: left;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-sec);
  padding: 0 14px 2px;
}

table.sheet td {
  background: var(--surface-2);
  padding: 13px 16px;
  vertical-align: middle;
  border-top: 1.5px solid transparent;
  overflow-wrap: anywhere;
  word-break: break-word;
}

table.sheet td:first-child {
  border-radius: 14px 0 0 14px;
  font-weight: 600;
  width: 42%;
  box-shadow: inset 4px 0 0 var(--coral);
}

table.sheet td:last-child {
  border-radius: 0 14px 14px 0;
  text-align: right;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--emerald);
}

table.sheet tbody tr:nth-child(even) td {
  background: #d3e4df;
}

.card-secondary table.sheet td {
  background: var(--surface-1);
}

.card-secondary table.sheet tbody tr:nth-child(even) td {
  background: #cfe0db;
}

.card-dark table.sheet caption,
.card-dark table.sheet th {
  color: #c9e6e0;
}

.card-dark table.sheet td {
  background: #174641;
  color: #f3fbf9;
}

.card-dark table.sheet td:last-child {
  color: #ffd2c6;
}

.card-dark table.sheet tbody tr:nth-child(even) td {
  background: #1d524c;
}

.card-dark table.sheet td:first-child {
  box-shadow: inset 4px 0 0 var(--coral);
}

.layer-photo,
.fitting-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: var(--surface-2);
}

.nav-capsule {
  max-width: 1320px;
  margin: 0 auto;
  height: 56px;
  background: var(--surface-1);
  border: 1.5px solid var(--border-color);
  border-radius: 999px;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(15, 34, 32, 0.08);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15.5px;
  flex-shrink: 0;
}

.brand-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--border-color);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--emerald);
  border-radius: 999px;
  transition: transform 360ms cubic-bezier(0.34, 1.4, 0.64, 1), width 360ms cubic-bezier(0.34, 1.4, 0.64, 1);
  z-index: 0;
}

.nav-item {
  position: relative;
  z-index: 1;
  padding: 6px 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-item.active {
  color: #F3FBF9;
  background: var(--emerald);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-color);
  border-radius: 999px;
  height: 36px;
  padding: 0 11px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: #1E0A05;
  font-family: 'DM Mono', monospace;
  font-size: 12.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 260ms var(--ease-opora), color 260ms var(--ease-opora), transform 260ms var(--ease-opora);
}

.btn-primary {
  background: var(--emerald);
  color: #F3FBF9;
}

.btn-primary:hover {
  background: var(--coral);
  color: #1E0A05;
}

.btn-secondary {
  background: transparent;
  border-color: var(--emerald);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.btn-nav {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
}

.btn-sm {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

/* 1. Нестандартный Hero: левый асимметричный кластер + правый вертикальный "паспорт мастерской" с встроенными метриками */
.hero-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-main-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-lead-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin: 14px 0 18px;
}

.lead-box {
  font-size: 18.5px;
  line-height: 1.68;
  background: var(--surface-2);
  border-left: 4px solid var(--coral);
  padding: 14px 16px;
  border-radius: 12px;
  margin: 0;
}

.lead-box::first-letter {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  float: left;
  font-size: 2.8rem;
  line-height: 0.8;
  padding: 4px 8px 0 0;
  color: var(--coral-heading);
}

.hero-side-note {
  background: var(--surface-2);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.trust-pill {
  background: var(--surface-2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
}

.trust-pill strong {
  display: block;
  font-size: 15px;
}

.hero-passport {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.photo-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-2);
}

.photo-frame.arch-bottom {
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.corner-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  z-index: 3;
}

.corner-dot.tl { top: 10px; left: 10px; }
.corner-dot.tr { top: 10px; right: 10px; }
.corner-dot.bl { bottom: 10px; left: 10px; }
.corner-dot.br { bottom: 10px; right: 10px; }

.passport-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.passport-stat-box {
  background: var(--surface-2);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 14px;
}

/* 2. Небанальный блок слоёв и преимуществ: 2-колоночный мастер-блок (интерактивные вкладки слоёв + SVG срез справа, без горизонтального скролла) */
.layers-bento {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.layer-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}

.layer-tab-btn {
  text-align: left;
  background: var(--surface-2);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  transition: all 220ms ease;
}

.layer-tab-btn.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #F3FBF9;
}

.layer-tab-btn.active .mono-num {
  color: #D9EFEA;
}

.layer-detail-box {
  background: var(--surface-2);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
}

.layers-svg {
  width: 100%;
  height: 235px;
  background: var(--surface-2);
  border-radius: 16px;
  padding: 6px;
  display: block;
}

.layer-group {
  transition: transform 450ms var(--ease-opora), opacity 300ms ease;
}

.three-reasons-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

/* 3. Интерактивный подбор + сценарии применения в компактной асимметричной сетке */
.selector-bento {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: stretch;
}

.pill-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 14px;
}

.toggle-chip {
  background: var(--surface-2);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 9px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.toggle-chip.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #F3FBF9;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.size-readout {
  font-family: 'DM Mono', monospace;
  font-size: 13.5px;
  color: var(--emerald);
}

.range-slider {
  width: 100%;
  accent-color: var(--emerald);
  cursor: pointer;
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 12.5px;
  color: var(--text-sec);
  margin-bottom: 14px;
}

.rec-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.rec-price {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  color: var(--emerald);
}

.pressure-map-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.foot-contour-svg {
  width: 100%;
  max-width: 185px;
  height: 225px;
}

.foot-contour-svg ellipse, .foot-contour-svg path, .foot-contour-svg circle {
  transition: fill 400ms var(--ease-opora), opacity 400ms var(--ease-opora);
}

.map-legend-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
}

.dot-emerald { background: var(--emerald); }
.dot-coral { background: var(--coral); }
.dot-lavender { background: var(--lavender); }

/* 4. Сценарии использования (работа + спорт) в единой 4-колоночной сетке без пустот */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scenario-img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 12px;
}

.clean-list,
.mark-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.clean-list li,
.mark-list li {
  position: relative;
  margin: 0 0 8px;
  padding: 12px 16px 12px 46px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(212, 87, 59, 0.16), rgba(18, 99, 91, 0.05) 62%, transparent);
  font-size: 18px;
  line-height: 1.6;
}

.clean-list li::before,
.mark-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 50% 2px;
  background: var(--emerald);
  transform: rotate(-40deg);
}

/* 5. Каталог 4 моделей + 2 досье (в единой 12-колонке без обрывов) */
.products-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--emerald);
  color: #F3FBF9;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 8px;
}

.badge-coral {
  background: var(--coral);
  color: #1E0A05;
}

.badge-lavender {
  background: var(--lavender);
  color: #F3FBF9;
}

.product-photo-wrap {
  background: var(--surface-2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-photo-wrap img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.spec-tags span {
  background: var(--surface-2);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
}

.product-short {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text-sec);
  margin-bottom: 10px;
}

.product-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--emerald);
  margin-bottom: 10px;
}

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

.dossier-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
}

.dossier-row img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.dotted-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: inset 4px 0 0 var(--emerald);
  font-size: 16.5px;
  line-height: 1.45;
}

.dotted-row:nth-child(even) {
  background: #d4e6e1;
  box-shadow: inset 4px 0 0 var(--coral);
}

.dotted-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.dotted-row strong,
.dotted-row span:last-child {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  text-align: right;
  color: var(--emerald);
  min-width: 0;
  overflow-wrap: anywhere;
}

/* 6. Плотная мозаика 12 колонок с grid-auto-flow: dense (ни одной пустой дыры) */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }

.quote-cell blockquote {
  margin: 8px 0 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.32;
  color: var(--dark-text);
}

.light-mono {
  color: #BFD2CE;
}

/* 7. Процесс изготовления в 4 колонки */
.steps-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--emerald);
  display: grid;
  place-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--emerald);
  margin-bottom: 10px;
}

/* 8. Вопросы и ответы в сетке без горизонтального скролла: 2 колонки с интерактивным переключателем */
.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.faq-list-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: var(--surface-2);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question-btn.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #F3FBF9;
}

.faq-answer-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 9. Документы и запись в 3/2 сетке */
.legal-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input, .form-group select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: var(--surface-1);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-main);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.trap-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-feedback {
  display: none;
  margin-top: 10px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
  color: var(--emerald);
  scroll-margin-top: 120px;
}

.form-feedback:target {
  display: block;
}

.form-feedback-error {
  color: var(--coral-heading);
}

/* Корзина и баннер куки */
.cart-drawer {
  position: fixed;
  top: 76px;
  right: 20px;
  width: min(370px, calc(100vw - 40px));
  z-index: 1100;
  display: none;
}

.cart-drawer.open {
  display: block;
}

.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cart-items-list {
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 32px));
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
}

.cookie-banner p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.footer-arch {
  display: block;
  width: 100%;
  height: 28px;
  margin-top: 20px;
  background: var(--dark-surface);
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
}

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--dark-surface);
  color: var(--dark-text);
  padding: 24px 0 30px;
}

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

.footer-card {
  background: #174641;
  border: 1px solid #2A635D;
  border-radius: 16px;
  padding: 18px;
}

.footer-card h4 {
  color: #F3FBF9;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #DCECE8;
  margin-bottom: 0;
}

.footer-card a, .footer-bottom a {
  color: #F3FBF9;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.footer-links li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 14px;
}

.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50% 50% 50% 2px;
  background: var(--coral);
  transform: rotate(-40deg);
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #2A635D;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--surface-2);
  cursor: pointer;
  padding: 0 8px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--text-main);
}

.mobile-drawer {
  display: none;
  max-width: 1320px;
  margin: 10px auto 0;
  background: var(--surface-1);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 18px;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-main);
  text-decoration: none;
}

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

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

@media (max-width: 1024px) {
  .hero-bento,
  .layers-bento,
  .selector-bento,
  .faq-layout,
  .contact-2-grid,
  .dossiers-2-grid {
    grid-template-columns: 1fr;
  }
  .products-4-grid,
  .scenarios-grid,
  .steps-4-grid,
  .footer-4-grid,
  .legal-3-grid,
  .three-reasons-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-3, .span-4, .span-6, .span-12 {
    grid-column: span 12;
  }
}

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

.container,
.card-solid,
.card-secondary,
.card-dark,
.owner-bar,
.nav-capsule,
.hero-bento > *,
.layers-bento > *,
.selector-bento > *,
.contact-2-grid > *,
.dossiers-2-grid > *,
.faq-layout > *,
.products-4-grid > *,
.scenarios-grid > *,
.steps-4-grid > *,
.footer-4-grid > *,
.legal-3-grid > *,
.three-reasons-strip > *,
.mosaic-grid > *,
.hero-lead-row > *,
.hero-trust-strip > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  .container {
    padding: 0 14px;
  }
  .nav-wrapper {
    padding: 0 10px;
  }
  .owner-bar {
    font-size: 13px;
    overflow-wrap: anywhere;
    padding: 8px 12px;
  }
  .nav-wrapper:has(#mobileMenuBtn) .nav-links,
  .nav-wrapper:has(#mobileMenuBtn) .btn-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .nav-capsule {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 8px 10px;
    max-width: 100%;
  }
  .nav-links {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }
  .nav-wrapper:not(:has(#mobileMenuBtn)) .nav-item {
    white-space: normal;
    font-size: 13px;
    padding: 6px 8px;
  }
  .nav-wrapper:not(:has(#mobileMenuBtn)) .nav-actions,
  .nav-wrapper:not(:has(#mobileMenuBtn)) .btn-nav {
    width: 100%;
  }
  .brand-link {
    min-width: 0;
    font-size: 15px;
  }
  h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  h2, h3, p, li, a, td, th, .body-copy, .product-short, .small-note {
    overflow-wrap: anywhere;
  }
  .card-solid,
  .card-secondary,
  .card-dark {
    padding: 16px;
  }
  .btn {
    height: auto;
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    padding: 10px 14px;
  }
  .hero-cta-row,
  .hero-cta-row .btn,
  .product-card .btn,
  .btn-full {
    width: 100%;
  }
  .big-num {
    font-size: 36px;
  }
  .lead-box::first-letter,
  .prose > p:first-of-type::first-letter {
    font-size: 2.15rem;
  }
  table.sheet,
  table.sheet caption,
  table.sheet thead,
  table.sheet tbody,
  table.sheet tr,
  table.sheet th,
  table.sheet td {
    display: block;
    width: 100%;
  }
  table.sheet thead {
    display: none;
  }
  table.sheet tr {
    margin-bottom: 8px;
  }
  table.sheet td:first-child,
  table.sheet td:last-child {
    width: 100%;
    text-align: left;
    border-radius: 0;
  }
  table.sheet td:first-child {
    border-radius: 12px 12px 0 0;
    padding-bottom: 4px;
    box-shadow: inset 4px 0 0 var(--coral);
  }
  table.sheet td:last-child {
    border-radius: 0 0 12px 12px;
    padding-top: 2px;
    font-size: 16px;
  }
  .dotted-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .dotted-row strong,
  .dotted-row span:last-child {
    text-align: left;
  }
  .photo-frame img,
  .scenario-img,
  .product-photo-wrap img,
  .layer-photo,
  .fitting-photo,
  .dossier-row img {
    width: 100%;
    height: 190px;
    object-fit: cover;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-bottom span {
    overflow-wrap: anywhere;
  }
  .cookie-banner {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    transform: none;
    box-sizing: border-box;
  }
  .cookie-actions,
  .cookie-actions .btn {
    width: 100%;
  }
  .range-slider,
  .form-group input,
  .form-group select {
    max-width: 100%;
  }
  .products-4-grid,
  .scenarios-grid,
  .steps-4-grid,
  .footer-4-grid,
  .legal-3-grid,
  .three-reasons-strip,
  .hero-lead-row,
  .hero-trust-strip,
  .layer-tabs,
  .pill-group,
  .dossier-row {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
