:root {
  --ink: #24211f;
  --muted: #6f6660;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: rgba(36, 33, 31, 0.12);
  --green: #176600;
  --green-dark: #0e4518;
  --orange: #ff9c1a;
  --orange-soft: #fff1dc;
  --rose: #64334d;
  --shadow: 0 18px 45px rgba(61, 42, 32, 0.14);
  --radius: 8px;
  --container: 1120px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rose);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.cta-link,
.cta-button,
.cpa__order_form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #271100;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(255, 156, 26, 0.26);
  cursor: pointer;
}

.cta-link {
  min-height: 42px;
  padding: 10px 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96) 0%, rgba(255, 250, 242, 0.84) 48%, rgba(255, 250, 242, 0.18) 100%),
    url("../img/imgi_31_first_back.jpg") center right / cover no-repeat;
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 44px;
  padding: 56px 0 72px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--rose);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--green-dark);
}

.hero-copy {
  max-width: 650px;
  color: #453c36;
  font-size: 1.16rem;
}

.hero-bullets {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.hero-bullets li,
.check-list li {
  position: relative;
  padding-left: 30px;
}

.hero-bullets li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px #dff1d7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.price-pill strong {
  color: var(--green-dark);
  font-size: 1.45rem;
}

.hero-product {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.product-stage {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 44%, #fff 0 38%, #ffe6bd 39% 62%, transparent 63%);
}

.product-stage img {
  width: 100%;
  max-width: 475px;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.18));
}

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

.trust-item {
  background: var(--white);
  padding: 20px;
  text-align: center;
  font-weight: 750;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--white);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2,
.split-copy h2,
.form-copy h2 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p,
.split-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card,
.benefit,
.faq-item,
.order-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(40, 31, 24, 0.06);
}

.card img,
.benefit img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}

.card h3,
.benefit h3,
.faq-item h3,
.order-step h3 {
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 1.16rem;
}

.card p,
.benefit p,
.faq-item p,
.order-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 44px;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

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

.benefit {
  text-align: center;
}

.benefit img {
  margin-left: auto;
  margin-right: auto;
}

.routine {
  background:
    linear-gradient(180deg, rgba(23, 102, 0, 0.9), rgba(14, 69, 24, 0.92)),
    url("../img/imgi_42_last_back.jpg") center / cover no-repeat;
  color: var(--white);
}

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

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

.step-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--orange);
  color: #261000;
  font-weight: 900;
}

.offer {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.72)),
    url("../img/imgi_37_back_problems.jpg") center / cover no-repeat;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.form-product-card {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-product-card img {
  width: min(100%, 230px);
  margin: 0 auto;
}

.form-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0;
}

.form-price .old {
  color: var(--muted);
  text-decoration: line-through;
}

.form-price .new {
  color: var(--green-dark);
  font-size: 2.2rem;
  font-weight: 900;
}

.cpa__order_form {
  max-width: 420px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cpa__order_form input[type="text"],
.cpa__order_form input[type="tel"],
.cpa__order_form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  margin: 6px 0 12px;
  border: 1px solid #cfc6bd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1rem;
  color: #333;
  background: #fff;
}

.cpa__order_form button {
  width: 100%;
  border-radius: 30px;
  margin-top: 10px;
  animation: pulse-button 2s infinite;
}

.cpa__order_form button:hover {
  background: var(--green);
  color: var(--white);
}

@keyframes pulse-button {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 156, 26, 0.48);
  }
  70% {
    transform: scale(1.01);
    box-shadow: 0 0 0 10px rgba(255, 156, 26, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 156, 26, 0);
  }
}

.name-inp {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  color: #534941;
}

.price-note {
  margin: 6px 0 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.footer {
  background: #231c1a;
  color: rgba(255, 255, 255, 0.82);
  padding: 34px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.legal-page {
  background: var(--white);
}

.legal-main {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 52px 0 72px;
}

.legal-main h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-main h2 {
  margin-top: 32px;
  color: var(--green-dark);
}

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

  .hero-grid,
  .split,
  .form-grid,
  .form-product-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 42px 0 56px;
  }

  .hero-product {
    min-height: 300px;
    order: -1;
  }

  .product-stage {
    width: min(100%, 340px);
  }

  .product-stage img {
    width: 100%;
    max-width: 340px;
  }

  .cards,
  .benefit-grid,
  .steps,
  .trust-strip,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 250, 242, 0.9)),
      url("../img/imgi_31_first_back.jpg") center / cover no-repeat;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-button,
  .price-pill {
    width: 100%;
  }

  .card,
  .benefit,
  .faq-item,
  .order-step,
  .form-product-card {
    padding: 20px;
  }
}
