﻿/* Технология жизни — спокойный технологичный лендинг */

:root {
  --bg: #ffffff;
  --bg-white: #ffffff;
  --bg-soft: #eef6f1;
  --text: #111111;
  --text-muted: rgba(17, 17, 17, 0.58);
  --accent: #1f8a57;
  --accent-hover: #187347;
  --border: rgba(17, 17, 17, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1280px;
  --header-h: 78px;
  --font: "Golos Text", "Segoe UI", sans-serif;
  --ease: ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 48px, 720px);
}

/* Header — одна строка в духе продуктовых витрин */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: background 0.2s ease;
}

.site-header.is-scrolled {
  background: #fff;
}

/* Home: header sits on about hero until scroll */
.page-home .site-header:not(.is-scrolled) {
  background: transparent;
}

.page-home .site-header:not(.is-scrolled) .logo,
.page-home .site-header:not(.is-scrolled) .logo:hover,
.page-home .site-header:not(.is-scrolled) .nav-link,
.page-home .site-header:not(.is-scrolled) .header-phone {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.page-home .site-header:not(.is-scrolled) .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .nav-link.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .nav-link.is-active:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .header-phone:hover {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .site-header:not(.is-scrolled) .burger {
  background: rgba(255, 255, 255, 0.16);
}

.page-home .site-header:not(.is-scrolled) .burger span {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.logo {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: #111;
}

.nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #111;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: var(--bg-soft);
  color: #111;
}

.nav-link.is-active {
  background: #111;
  color: #fff;
}

.nav-link.is-active:hover {
  background: #111;
  color: #fff;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone {
  color: #111;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent);
}

.header-phone-mobile {
  display: block;
  margin: 0 0 14px;
  padding: 4px 0;
  font-size: 1.05rem;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.header-chip:hover {
  background: var(--accent-hover);
  color: #fff;
}

.header-chip-block {
  width: 100%;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-soft);
  padding: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #111;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: #fff;
  padding: 8px 24px 24px;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

body.menu-open {
  overflow: hidden;
}

/* Promo slider under header */
.promo {
  padding: 20px 0 8px;
  background: #fff;
}

.promo-slider {
  display: grid;
  gap: 14px;
}

.promo-viewport {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #5f6b52;
}

.promo-track {
  position: relative;
  min-height: clamp(340px, 42vw, 520px);
}

.promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.promo-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}

.promo-slide.is-active .promo-slide-image {
  animation: promo-zoom 7s ease-out forwards;
}

@keyframes promo-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.promo-slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: clamp(24px, 4vw, 48px);
  min-height: clamp(340px, 42vw, 520px);
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 24, 18, 0.08) 0%, rgba(20, 24, 18, 0.35) 45%, rgba(20, 24, 18, 0.72) 100%);
}

.promo-slide-title,
.promo-slide-text {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-slide.is-active .promo-slide-title,
.promo-slide.is-active .promo-slide-text {
  opacity: 1;
  transform: translateY(0);
}

.promo-slide.is-active .promo-slide-title {
  transition-delay: 0.18s;
}

.promo-slide.is-active .promo-slide-text {
  transition-delay: 0.32s;
}

.promo-slide-title {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.promo-slide-text {
  margin: 0;
  max-width: 32em;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.promo-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.promo-nav {
  display: flex;
  gap: 8px;
}

.promo-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.promo-nav-btn:hover {
  background: var(--bg-soft);
  border-color: var(--border);
}

.promo-nav-btn:active {
  transform: scale(0.96);
}

.promo-nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .promo-slide,
  .promo-slide-image,
  .promo-slide-title,
  .promo-slide-text {
    transition: none;
    animation: none !important;
  }

  .promo-slide-image {
    transform: none;
  }

  .promo-slide-title,
  .promo-slide-text {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .promo {
    padding-top: 12px;
  }

  .promo-viewport {
    border-radius: 18px;
  }

  .promo-slide-content {
    padding: 20px;
    background: linear-gradient(180deg, rgba(20, 24, 18, 0.1) 0%, rgba(20, 24, 18, 0.4) 50%, rgba(20, 24, 18, 0.75) 100%);
  }
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--text);
  border-color: #111;
}

.btn-block {
  width: 100%;
}

.text-link {
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hero */
.hero {
  padding: 40px 0 56px;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 12em;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 36em;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 520px;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 36px;
}

.section-head h2,
.cta-copy h2,
.privacy-article h1,
.leak-label {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.section-lead,
.cta-copy > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Advantages — horizontal row */
.advantages {
  padding-top: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.advantages-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 48px 0;
}

.advantage-item {
  padding: 8px 32px;
  border-right: 1px solid var(--border);
}

.advantage-item:first-child {
  padding-left: 0;
}

.advantage-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.advantage-item h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.advantage-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Shop / catalog showcase */
.solutions {
  background: #fff;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 48px;
  margin-bottom: 40px;
  padding-bottom: 8px;
}

.shop-filter {
  flex: 0 0 auto;
}

.shop-filter-price {
  width: min(100%, 360px);
}

.shop-filter-title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #080808;
}

.shop-checks {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 14px;
  max-width: none;
}

.shop-check {
  position: relative;
}

.shop-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.shop-check label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 25px;
  color: #080808;
  line-height: 1.25;
  user-select: none;
}

.shop-check-box {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.shop-check-box svg {
  width: 16px;
  height: 16px;
  opacity: 0;
}

.shop-check input:checked + label .shop-check-box {
  background: #080808;
  border-color: #080808;
  color: #fff;
}

.shop-check input:checked + label .shop-check-box svg {
  opacity: 1;
}

.shop-check input:focus-visible + label .shop-check-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shop-check-label {
  white-space: nowrap;
}

.shop-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  max-width: none;
}

.shop-price-sep {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.shop-price-field {
  flex: 1;
  min-width: 0;
}

.shop-price-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 25px;
  font-weight: 400;
  color: #080808;
}

.shop-price-field input:focus {
  outline: none;
  background: #fff;
  border-color: #080808;
  box-shadow: none;
}

.shop-range {
  --thumb: 28px;
  --thumb-half: 14px;
  position: relative;
  height: 32px;
  display: block;
  max-width: none;
}

.shop-range-track {
  position: absolute;
  left: var(--thumb-half);
  right: var(--thumb-half);
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: var(--border);
  border-radius: 4px;
  z-index: 1;
  pointer-events: none;
}

.shop-range-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #080808;
  border-radius: 4px;
}

.shop-range input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
  pointer-events: none;
  z-index: 2;
}

.shop-range input[data-range-min] {
  z-index: 3;
}

.shop-range input[data-range-max] {
  z-index: 4;
}

.shop-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: none;
}

.shop-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: -12px;
  border-radius: 50%;
  background: #080808;
  border: none;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
}

.shop-range input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

.shop-range input[type="range"]::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 50%;
  background: #080808;
  border: none;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
}

.shop-range input[type="range"]::-moz-focus-outer {
  border: 0;
}

.shop-card.is-filtered-out,
.shop-card[hidden] {
  display: none !important;
}

.shop-empty.is-visible {
  display: block;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.shop-card-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  background: transparent;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.shop-card:hover .shop-card-media img {
  transform: scale(1.06);
}

.shop-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.shop-card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card-buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}

.shop-buy-btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.shop-price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.shop-empty {
  margin: 24px 0 0;
  color: var(--text-muted);
}

/* Leak protection reaction chain */
.leak {
  background: #f0f0f0;
  overflow-x: hidden;
}

.leak-label {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.leak-chain {
  --leak-gap: clamp(16px, 3vw, 40px);
  position: relative;
  min-width: 0;
  margin-bottom: clamp(24px, 3vw, 32px);
  padding: 0;
}

.leak-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--leak-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.leak-node {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.leak-media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 720 / 560;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.04);
  transition: opacity 0.45s ease;
}

.leak-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leak-phrase {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0 0.35em;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
  overflow-wrap: anywhere;
  transition: color 0.45s ease;
  background: #f0f0f0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.leak-chain.is-ready:not(.is-done) .leak-node:not(.is-lit) .leak-phrase {
  color: rgba(17, 17, 17, 0.28);
}

.leak-chain.is-ready:not(.is-done) .leak-node:not(.is-lit) .leak-media {
  opacity: 0.45;
}

.leak-chain.is-ready .leak-node.is-current .leak-phrase,
.leak-chain.is-ready .leak-node.is-lit .leak-phrase {
  color: var(--text);
}

.leak-chain.is-ready .leak-node.is-current .leak-phrase {
  color: var(--accent);
}

.leak-chain.is-ready .leak-node.is-lit .leak-media,
.leak-chain.is-ready .leak-node.is-current .leak-media {
  opacity: 1;
}

/* Линия внутри подписей: от первого шага до последнего */
.leak-pipe {
  position: absolute;
  left: calc((100% - 2 * var(--leak-gap)) / 6);
  right: calc((100% - 2 * var(--leak-gap)) / 6);
  top: auto;
  bottom: calc(1.3em / 2 - 1px);
  height: 2px;
  transform: none;
  pointer-events: none;
  z-index: 0;
}

.leak-pipe-track {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.16);
}

.leak-pipe-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  will-change: left, top, opacity;
}

.leak-chain.is-running .leak-pipe-pulse {
  animation: leak-pulse-along 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes leak-pulse-along {
  0% {
    opacity: 0;
    left: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    left: 100%;
  }
}

.leak-note {
  margin: 0;
  max-width: 42em;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .leak-chain {
    --leak-gap: clamp(22px, 5vw, 32px);
  }

  .leak-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--leak-gap);
    padding-left: 28px;
  }

  .leak-media {
    border-radius: 14px;
    max-width: 100%;
  }

  .leak-phrase {
    font-size: clamp(1.05rem, 3.8vw, 1.2rem);
  }

  .leak-pipe {
    left: 0;
    right: auto;
    width: 2px;
    height: auto;
    top: calc(((100% - 2 * var(--leak-gap)) / 3) / 2);
    bottom: calc(((100% - 2 * var(--leak-gap)) / 3) / 2);
    transform: none;
  }

  .leak-pipe-track {
    width: 100%;
    height: 100%;
  }

  .leak-pipe-pulse {
    top: 0;
    left: 50%;
    margin-top: -5.5px;
    margin-left: -5.5px;
  }

  .leak-chain.is-running .leak-pipe-pulse {
    animation-name: leak-pulse-down;
  }

  @keyframes leak-pulse-down {
    0% {
      opacity: 0;
      top: 0;
    }
    8% {
      opacity: 1;
    }
    92% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      top: 100%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .leak-phrase {
    transition: none;
  }

  .leak-pipe-pulse,
  .leak-chain.is-running .leak-pipe-pulse {
    animation: none !important;
    opacity: 0 !important;
  }

  .leak-chain.is-ready .leak-node .leak-phrase,
  .leak-chain.is-ready:not(.is-done) .leak-node:not(.is-lit) .leak-phrase {
    color: var(--text);
  }

  .leak-chain.is-ready:not(.is-done) .leak-node:not(.is-lit) .leak-media {
    opacity: 1;
  }
}

/* Control interactive board */
.control {
  background: var(--bg-white);
}

.control-board {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.control-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.control-head {
  margin-bottom: 28px;
}

.control-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.control-row-item {
  border-bottom: 1px solid var(--border);
}

.control-trigger {
  width: 100%;
  display: block;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.control-row-item.is-active .control-trigger,
.control-trigger:hover {
  color: var(--text);
}

.control-trigger-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.control-panel-media {
  display: none;
}

.control-stage {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
}

.control-stage-item {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.control-stage-item.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

.control-stage-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .control-stage-item {
    transition: none;
  }
}


/* Steps — horizontal process route */
.how {
  background: var(--bg);
}

.how .section-head {
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.steps-route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  counter-reset: none;
}

.steps-route-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.steps-route-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 18px;
}

.steps-route-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.steps-route-copy {
  max-width: 24ch;
}

.steps-route-copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.steps-route-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* About — editorial intro under header */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0d1118;
  padding: clamp(56px, 7vw, 88px) 0;
  min-height: clamp(420px, 52vw, 520px);
  display: flex;
  align-items: center;
}

.page-home .about {
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(40px, 5vw, 64px));
  min-height: calc(var(--header-h) + clamp(420px, 52vw, 520px));
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 10, 16, 0.72) 0%,
      rgba(6, 10, 16, 0.48) 42%,
      rgba(6, 10, 16, 0.28) 72%,
      rgba(6, 10, 16, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 10, 16, 0.45) 0%,
      rgba(6, 10, 16, 0.12) 28%,
      rgba(6, 10, 16, 0.2) 100%
    );
  pointer-events: none;
}

.about > .container {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--container));
}

.about-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.about-tag-1 {
  background: #111;
  color: #fff;
}

.about-tag-2 {
  background: #fff;
  color: #111;
}

.about-tag-3 {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.about-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.28);
  min-height: 2.4em;
}

.about-title.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: about-caret 0.8s steps(1) infinite;
}

@keyframes about-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-title.is-typing::after {
    animation: none;
    display: none;
  }
}

.about-copy {
  display: grid;
  gap: 14px;
  max-width: 34em;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(6, 10, 16, 0.58);
}

.about-copy p {
  margin: 0;
  max-width: none;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .about {
    padding: 44px 0;
    min-height: 0;
  }

  .page-home .about {
    padding-top: calc(var(--header-h) + 28px);
    min-height: 0;
  }

  .about::before {
    background:
      linear-gradient(
        180deg,
        rgba(6, 10, 16, 0.55) 0%,
        rgba(6, 10, 16, 0.42) 40%,
        rgba(6, 10, 16, 0.5) 100%
      );
  }

  .about-bg {
    object-position: 55% center;
  }

  .about > .container {
    width: min(100% - 24px, var(--container));
  }

  .about-top {
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  .about-tags {
    justify-content: flex-start;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .about-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }
}

/* CTA / Form */
.cta {
  background: #fff;
  padding-top: 64px;
  padding-bottom: 88px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 720px;
  align-items: start;
}

.cta-copy h2 {
  margin: 0 0 8px;
}

.cta-copy > p {
  margin: 0;
  max-width: none;
}

.lead-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.req {
  color: #b42318;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 0;
  font: inherit;
  color: var(--text);
  background: transparent;
  transition: border-color 0.15s ease;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23111111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: #111;
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.45;
}

.form-check {
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 4px;
}

.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #111;
}

.form-check label {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.form-check a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form .btn-primary {
  margin-top: 4px;
  border-radius: 4px;
  min-height: 46px;
  font-weight: 600;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.is-success {
  color: var(--accent-hover);
}

.form-status.is-error {
  color: #b42318;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-bottom-color: #d92d20;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: #111;
  padding: 40px 0;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.footer-name {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.footer-note,
.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-contacts,
.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-contacts a,
.footer-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.footer-contacts a:hover,
.footer-links a:hover {
  color: #fff;
  opacity: 0.75;
}

.footer-contacts span {
  color: rgba(255, 255, 255, 0.62);
}

/* Privacy */
.privacy-page {
  padding: 48px 0 80px;
}

.privacy-article {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}

.privacy-updated {
  color: var(--text-muted);
}

.privacy-article h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
}

.privacy-article ul {
  padding-left: 1.2em;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .shop-card:hover .shop-card-media img {
    transform: none;
  }
}

/* 1024 */
@media (max-width: 1024px) {
  .hero {
    min-height: 0;
    padding: 32px 0 40px;
  }

  .hero-grid,
  .shop-filters {
    flex-direction: column;
  }

  .cta-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* 768 */
@media (max-width: 768px) {
  .nav,
  .header-actions {
    display: none;
  }

  .burger {
    display: inline-block;
    margin-left: auto;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .advantages-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps-route {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps-route-item {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
    align-items: start;
    text-align: left;
    padding-bottom: 28px;
  }

  .steps-route-item:last-child {
    padding-bottom: 0;
  }

  .steps-route-marker {
    width: 52px;
    margin-bottom: 0;
  }

  .steps-route-copy {
    max-width: none;
    padding-top: 6px;
  }

  .advantage-item {
    padding: 20px 0;
  }

  .advantage-item:last-child {
    border-bottom: 0;
  }

  .control-board {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .control-head {
    margin-bottom: 24px;
  }

  .control-stage {
    display: none;
  }

  .control-trigger {
    padding: 18px 0;
  }

  .control-trigger-title {
    font-size: 1.1rem;
  }

  .control-row-item.is-active .control-panel-media {
    display: block;
    margin: 0 0 18px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-soft);
  }

  .control-row-item.is-active .control-panel-media[hidden] {
    display: block !important;
  }

  .control-panel-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .section {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 36px;
    max-width: none;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .shop-card-title {
    font-size: 0.95rem;
  }
}

/* 360 */
@media (max-width: 360px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* Product page */
.product-page {
  padding: 28px 0 80px;
  background: #fff;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  color: var(--text);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery-main {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
}

.product-gallery-stage {
  position: absolute;
  inset: 0;
}

.product-gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 0;
}

.product-gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.product-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.product-gallery-nav:hover {
  background: #fff;
  border-color: #111;
}

.product-gallery-prev {
  left: 14px;
}

.product-gallery-next {
  right: 14px;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-thumb {
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.product-thumb:hover {
  opacity: 0.85;
}

.product-thumb.is-active {
  opacity: 1;
}

.product-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
}

.product-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.product-stock {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-stock.is-available {
  color: var(--accent);
  font-weight: 500;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.product-price {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-price-unit {
  margin-left: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1.05rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.product-description {
  margin-top: 12px;
  padding-top: 20px;
}

.product-description h2,
.product-specs h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
}

.product-description p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-specs {
  margin-top: 48px;
  padding-top: 32px;
}

.product-specs-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.product-specs-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.product-specs-row dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.product-specs-row dd {
  margin: 0;
  font-weight: 500;
}

.product-missing {
  max-width: 520px;
  padding: 64px 0;
}

.product-missing h1 {
  margin: 0 0 12px;
}

.product-missing p {
  margin: 0 0 24px;
  color: var(--text-muted);
}

/* Lead modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal[hidden] {
  display: none !important;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}

.lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.lead-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.lead-modal-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lead-modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lead-modal-close:hover {
  background: var(--bg-soft);
}

.lead-modal-lead {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.lead-form-modal {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.lead-form-modal .form-row {
  grid-template-columns: 1fr;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding-top: 16px;
  }

  .product-gallery-main {
    border-radius: 18px;
  }

  .product-gallery-slide {
    padding: 18px;
  }

  .product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-specs-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }
}
