:root {
  --bg: #f6f7f5;
  --text: #17211b;
  --muted: #5c665f;
  --line: #d9ded8;
  --brand: #1d6b3a;
  --brand-dark: #0f3f25;
  --accent: #d7372f;
  --steel: #26312b;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 31, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone {
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease;
}

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

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

.btn-secondary {
  background: var(--brand);
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 680px;
  color: var(--white);
  background: #17211b;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 24, 18, 0.88), rgba(13, 24, 18, 0.52), rgba(13, 24, 18, 0.18));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 52px;
  min-height: 680px;
  padding: 96px 0 56px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #a8e0bd;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 12px;
}

.hero-stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(17, 28, 22, 0.54);
}

.hero-stat strong {
  display: block;
  font-size: 28px;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: #ffffff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section-head p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.plain-card,
.audience-card,
.price-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 107, 58, 0.42);
  box-shadow: 0 14px 34px rgba(17, 31, 24, 0.12);
}

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

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.product-tag {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
}

.product-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-weight: 900;
}

.card-body h3,
.plain-card h3,
.audience-card h3,
.price-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.card-body p,
.plain-card p,
.audience-card p,
.price-card p,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-band {
  background: var(--steel);
  color: var(--white);
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.feature-layout img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-text h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.03;
}

.feature-text p {
  color: rgba(255, 255, 255, 0.78);
}

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

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.plain-card,
.audience-card,
.price-card {
  padding: 24px;
}

.audience-card {
  min-height: 185px;
}

.reliability {
  color: var(--white);
  background: var(--steel);
}

.reliability-grid,
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.reliability h2,
.about-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.03;
}

.reliability p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

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

.proof-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #a8e0bd;
  font-size: 34px;
  line-height: 1;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.about-grid p {
  color: var(--muted);
}

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

.about-list span {
  min-height: 72px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

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

.works-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel);
}

.works-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.works-grid article:hover img {
  transform: scale(1.03);
}

.works-grid span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(16, 24, 19, 0.76);
  font-weight: 800;
}

.review-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.review-card p {
  color: var(--text);
}

.review-card strong {
  display: block;
  margin-top: 18px;
  color: var(--brand-dark);
}

.review-card span {
  color: var(--muted);
}

.process {
  counter-reset: process;
}

.process .plain-card {
  position: relative;
  padding-top: 58px;
}

.process .plain-card::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
}

.request {
  background: #15241b;
  color: var(--white);
}

.request-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.request h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.06;
}

.request p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin: 22px 0 18px;
  font-weight: 800;
}

.contact-lines span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.messenger-tg {
  background: #229ed9;
}

.messenger-wa {
  background: #22a457;
}

.messenger-max {
  background: #1c6cf2;
}

.messenger-mail {
  background: var(--brand);
}

.messenger-row-light {
  margin-bottom: 20px;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

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

.form label.full {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(0, 0, 0, 0.16);
  font: inherit;
}

.form textarea {
  min-height: 112px;
  resize: vertical;
}

.form option {
  color: var(--text);
}

.form .btn {
  grid-column: 1 / -1;
  width: 100%;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.seo-hero {
  padding: 72px 0 54px;
  background: #17211b;
  color: var(--white);
}

.seo-hero h1 {
  max-width: 840px;
  font-size: clamp(38px, 6vw, 68px);
}

.seo-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #101813;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
}

.footer a {
  display: block;
  margin-top: 6px;
}

.footer p {
  margin-bottom: 0;
}

.footer .messenger-row {
  margin-top: 16px;
}

.floating-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
}

.chat-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.chat-toggle span {
  font-size: 28px;
  font-weight: 900;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(340px, calc(100vw - 28px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-chat.is-open .chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #eef1ed;
  cursor: pointer;
}

.chat-title {
  margin-right: 30px;
  font-size: 22px;
  font-weight: 900;
}

.chat-panel p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.chat-actions {
  display: grid;
  gap: 8px;
}

.chat-actions .messenger {
  width: 100%;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .navlinks {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-inner,
  .feature-layout,
  .request-grid,
  .content-columns,
  .reliability-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 80px 0 38px;
  }

  .hero {
    min-height: auto;
  }

  .grid.cols-3,
  .grid.cols-4,
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

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

  .grid.cols-3,
  .grid.cols-4,
  .proof-grid,
  .about-list,
  .works-grid,
  .form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 17px;
  }

  .nav-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-chat {
    right: 12px;
    bottom: 12px;
  }
}
