:root {
  --bg: #f4f6f1;
  --ink: #17202b;
  --muted: #5d6771;
  --line: #d8ded5;
  --panel: #ffffff;
  --accent: #b7d400;
  --accent-dark: #26384c;
  --warm: #b7d400;
  --steel: #dde4e8;
  --night: #202d3d;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 3px solid rgba(183, 212, 0, 0.56);
  outline-offset: 3px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 42%, #eef2e9 100%);
  color: var(--ink);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) auto minmax(300px, 0.9fr);
  align-items: center;
  column-gap: clamp(28px, 4vw, 56px);
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.logo,
.nav,
.trust,
.hero-actions,
.top-actions,
.footer-contacts,
.footer {
  display: flex;
  align-items: center;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: clamp(170px, 18vw, 250px);
  height: auto;
}

.nav {
  gap: clamp(14px, 1.7vw, 24px);
  justify-self: start;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 10px 0 12px;
  transition: color 180ms var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      var(--accent) 0 10px,
      transparent 10px 14px,
      var(--accent) 14px 22px,
      transparent 22px 26px,
      var(--accent) 26px 34px);
  opacity: 0;
  transform: translate(-50%, 5px) scaleX(0.42);
  transform-origin: center;
  transition:
    opacity 180ms var(--ease),
    transform 240ms var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scaleX(1);
}

.top-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.top-actions {
  justify-self: end;
  justify-content: flex-end;
  gap: 36px;
  white-space: nowrap;
}

.top-phone {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.top-phone:hover,
.footer a:hover {
  color: var(--accent-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(430px, 1fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 6vw, 90px) clamp(18px, 5vw, 72px) 28px;
  background:
    linear-gradient(114deg, rgba(255, 255, 255, 0.94) 0 42%, rgba(231, 237, 228, 0.94) 42% 68%, rgba(38, 56, 76, 0.14) 68% 100%),
    radial-gradient(circle at 84% 28%, rgba(183, 212, 0, 0.32), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef2e9 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  max-width: 850px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  font-size: 24px;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.primary {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: white;
}

.secondary {
  border-color: var(--line);
  background: white;
}

.button:hover,
.product-actions a:hover,
.product-actions button:hover,
.carousel-actions button:hover {
  transform: translateY(-1px);
}

.primary:hover,
.product-actions a:hover {
  background: #1d2b3c;
}

.trust {
  flex-wrap: wrap;
  gap: 10px;
}

.trust span,
.pain-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 58% 54%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 56%);
  box-shadow: none;
}

.hero-modules {
  position: relative;
  z-index: 1;
  width: min(560px, 96%);
  height: 430px;
  transform: translate(38px, 18px);
}

.hero-modules img {
  position: absolute;
  bottom: 0;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(20, 42, 34, 0.16));
}

.hero-modules img:nth-child(1) {
  left: 0;
  height: 280px;
}

.hero-modules img:nth-child(2) {
  left: 31%;
  height: 340px;
}

.hero-modules img:nth-child(3) {
  right: 0;
  height: 390px;
}

.pain-band {
  padding: 22px clamp(18px, 5vw, 72px) 38px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section,
.lead-section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.proof-band {
  padding: 22px clamp(18px, 5vw, 72px) 26px;
  background: linear-gradient(180deg, #f4f6f1 0%, #ffffff 100%);
  color: var(--ink);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-grid article {
  position: relative;
  min-height: 126px;
  padding: 28px 26px 24px;
  background:
    linear-gradient(145deg, rgba(183, 212, 0, 0.12), rgba(255, 255, 255, 0) 58%),
    #ffffff;
}

.proof-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 52px;
  height: 4px;
  background: var(--accent);
}

.proof-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.proof-grid span {
  color: var(--muted);
}

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

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
  background:
    linear-gradient(120deg, rgba(183, 212, 0, 0.14), transparent 32%),
    #ffffff;
}

.about-copy {
  position: sticky;
  top: 104px;
}

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

.about-grid article,
.delivery-steps article {
  position: relative;
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #ffffff 0 64%, #f0f5df 64% 100%);
}

.about-grid article::before,
.delivery-steps article::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.about-grid b,
.delivery-steps b {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
}

.about-grid span,
.delivery-steps span {
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: #ffffff;
}

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

.compare-card {
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.compare-card h3 {
  margin-bottom: 28px;
}

.compare-card div {
  display: grid;
  gap: 12px;
}

.compare-card span {
  position: relative;
  min-height: 62px;
  padding: 14px 14px 14px 44px;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.compare-card span::before {
  position: absolute;
  left: 16px;
  top: 14px;
  font-weight: 900;
}

.is-before {
  background: linear-gradient(160deg, #fff8f5, #ffffff);
}

.is-before span::before {
  content: "×";
  color: #d64b3c;
}

.is-after {
  background: linear-gradient(160deg, #effaf4, #ffffff);
}

.is-after span::before {
  content: "✓";
  color: var(--accent-dark);
}

.value-section {
  background:
    linear-gradient(180deg, #f8faf7, #eef4ef);
}

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

.product-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.scenario,
.product,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.scenario {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, #ffffff 0 62%, #f0f5df 62% 100%);
}

.scenario::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 24px 24px 18px;
  border-radius: 999px;
  background: var(--accent);
}

.scenario > img {
  order: -1;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
  object-position: center;
  background: #edf5f1;
}

.scenario-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 24px 24px;
}

.scenario p,
.product p,
.product span,
.case-card p,
.review-card p,
.lead-copy p,
.lead-copy li {
  color: var(--muted);
  line-height: 1.55;
}

.scenario-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.scenario-points b {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0f5df;
  color: var(--accent-dark);
  font-size: 13px;
}

.carousel-wrap {
  margin-right: calc(clamp(18px, 5vw, 72px) * -1);
}

.product-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 28vw);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-left: 2px;
  padding: 4px clamp(18px, 5vw, 72px) 18px 2px;
  scrollbar-width: thin;
}

.carousel-actions {
  display: flex;
  gap: 10px;
}

.carousel-actions button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.product {
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  background:
    linear-gradient(145deg, #ffffff, #edf4f0);
}

.product-image::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 28px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 24, 21, 0.12);
  filter: blur(12px);
}

.product-image img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 68%;
  max-height: 220px;
  object-fit: contain;
  padding: 0;
}

.product[data-product-id="p800"] .product-image img {
  max-width: 64%;
}

.product[data-product-id="p1800"] .product-image img {
  max-width: 60%;
}

.product[data-product-id="p2400"] .product-image img {
  max-width: 66%;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product h3 {
  margin-bottom: 10px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.stats b {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef5cf;
  color: var(--accent-dark);
  font-size: 13px;
}

.product a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 800;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.product-actions button,
.product-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.product-actions button {
  background: white;
  color: var(--ink);
}

.product-actions a {
  margin-top: 0;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: white;
}

.product-modal {
  width: min(1040px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: white;
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(16, 24, 21, 0.3);
}

.product-modal::backdrop {
  background: rgba(16, 24, 21, 0.58);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1fr);
  gap: 0;
}

.modal-main-image {
  display: grid;
  place-items: center;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.95), rgba(237, 246, 241, 0.92) 48%, #e8f0eb 100%);
}

.modal-main-image img {
  width: min(560px, 92%);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(20, 42, 34, 0.18));
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.modal-gallery button {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 0;
  background: #f8faf7;
  cursor: pointer;
}

.modal-gallery img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  padding: 10px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 54px);
}

.modal-content h2 {
  margin-bottom: 18px;
}

.modal-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.modal-benefits {
  display: grid;
  gap: 10px;
  margin: 22px 0 8px;
}

.modal-benefits span {
  position: relative;
  padding: 12px 12px 12px 38px;
  border-radius: var(--radius);
  background: #eef5cf;
  color: var(--accent-dark);
  font-weight: 800;
}

.modal-benefits span::before {
  content: "✓";
  position: absolute;
  left: 14px;
}

.modal-content .button {
  width: fit-content;
  margin-top: auto;
}

.cases-section {
  background: #ffffff;
}

.case-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card,
.review-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.review-card {
  display: flex;
  flex-direction: column;
}

.case-card {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, #ffffff 0 56%, #eef5cf 56% 100%);
}

.case-card span {
  width: fit-content;
  margin-bottom: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--night);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.case-card b {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.reviews-section {
  background:
    linear-gradient(120deg, rgba(183, 212, 0, 0.22), transparent 30%),
    #f3f5f1;
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
  background: #ffffff;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.delivery-steps article {
  min-height: 240px;
}

.delivery-steps b {
  color: var(--accent-dark);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.review-card div {
  margin-bottom: 22px;
  color: var(--warm);
  font-size: 20px;
  letter-spacing: 0;
}

.review-card b {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  background:
    linear-gradient(120deg, rgba(183, 212, 0, 0.16), transparent 34%),
    var(--night);
  color: white;
}

.lead-copy {
  max-width: 680px;
}

.lead-copy p,
.lead-copy li {
  color: #c5d0c9;
}

.lead-copy ul {
  padding-left: 20px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 12px;
  color: var(--ink);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #59635b;
}

textarea {
  resize: vertical;
}

.submit {
  width: 100%;
}

.submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 14px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, auto) minmax(280px, 1.1fr);
  align-items: start;
  gap: 28px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-brand,
.footer-contacts,
.footer-legal {
  display: grid;
  gap: 8px;
}

.footer-brand b {
  color: var(--ink);
  font-size: 18px;
}

.footer-contacts {
  align-items: start;
}

.footer-contacts a {
  color: var(--ink);
  font-weight: 750;
}

.footer-legal {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer-legal span:first-child {
  color: var(--ink);
  font-weight: 650;
}

@media (max-width: 880px) {
  .nav {
    display: none;
  }

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

  .hero,
  .lead-section,
  .split-section,
  .about-section,
  .delivery-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .scenario-grid,
  .case-grid,
  .review-grid,
  .about-grid,
  .delivery-steps,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    position: static;
  }

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

  .product-head {
    align-items: start;
    flex-direction: column;
  }

  .product-carousel {
    grid-auto-columns: minmax(300px, 82vw);
  }

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

  .modal-main-image {
    min-height: 340px;
  }

  .modal-content .button {
    width: 100%;
  }

  .hero-media {
    order: -1;
    min-height: 390px;
  }

  .hero-modules {
    width: min(520px, 100%);
    transform: translate(0, 8px);
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .top-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
  }

  .top-link {
    font-size: 14px;
  }

  .top-phone {
    font-size: 14px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

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

  .hero-modules {
    width: min(360px, 100%);
    height: 270px;
    transform: translate(0, 4px);
  }

  .hero-modules img:nth-child(1) {
    left: 2%;
    height: 210px;
  }

  .hero-modules img:nth-child(2) {
    display: none;
  }

  .hero-modules img:nth-child(3) {
    right: 4%;
    height: 285px;
  }

  .footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
