:root {
  --brick: #b7410e;
  --orange: #d2691e;
  --green: #228b22;
  --green-dark: #176517;
  --text: #2f2f2f;
  --muted: #676767;
  --line: #ded8d2;
  --bg: #ffffff;
  --soft: #f5f5f5;
  --ink: #1f2933;
  --shadow: 0 14px 36px rgba(35, 31, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0072bc 0 33.33%, #fff 33.33% 66.66%, #009b4e 66.66% 100%);
  color: #1f2933;
  font-weight: 900;
  border: 1px solid rgba(31, 41, 51, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.logo strong,
.logo small {
  display: block;
}

.logo small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.main-nav a,
.site-footer a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--brick);
}

.header-actions,
.hero-actions,
.card-actions,
.contact-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--soft);
  text-decoration: none;
  overflow: hidden;
}

.messenger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-buttons .btn img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}

.contact-buttons .btn-tg img {
  width: 22px;
  height: 22px;
}

.phone {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 16, 0.78) 0%, rgba(20, 18, 16, 0.58) 42%, rgba(20, 18, 16, 0.25) 100%),
    url("Images/background.png") center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 52px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 139, 34, 0.24);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--brick);
}

.btn-light {
  background: var(--soft);
  color: var(--ink);
}

.btn-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 12px;
  margin: 54px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats .price-promo {
  border-color: #f6c344;
  background: linear-gradient(135deg, rgba(246, 195, 68, 0.95), rgba(34, 139, 34, 0.9));
  box-shadow: 0 0 0 rgba(246, 195, 68, 0.42), 0 14px 32px rgba(0, 0, 0, 0.28);
  animation: pricePulse 1.35s ease-in-out infinite;
}

.hero-stats .price-promo dt,
.hero-stats .price-promo dd {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@keyframes pricePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 195, 68, 0.58), 0 14px 32px rgba(0, 0, 0, 0.28);
  }

  50% {
    transform: scale(1.035);
    box-shadow: 0 0 0 12px rgba(246, 195, 68, 0), 0 18px 40px rgba(0, 0, 0, 0.34);
  }
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 78px clamp(18px, 4vw, 64px);
}

.section-muted {
  background: var(--soft);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 22px;
}

.trust-band {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.trust-image-card,
.product-card,
.calc-form,
.calc-result,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 31, 28, 0.05);
}

.trust-image-card {
  overflow: hidden;
  display: flex;
}

.trust-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading p,
.split p,
.contacts-grid p {
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  background: #f4f1ed;
}

.product-body {
  padding: 22px;
}

.sku {
  margin: 0 0 8px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.product-body ul {
  padding-left: 18px;
  margin: 0 0 18px;
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
}

.price-row strong {
  color: var(--ink);
  font-size: 22px;
}

.price-row span {
  color: var(--muted);
  font-size: 14px;
}

.calc-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.calc-form,
.lead-form,
.calc-result {
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 700;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-weight: 500;
  line-height: 1.35;
}

.checkbox-field input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  accent-color: var(--green);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfc7bf;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(210, 105, 30, 0.18);
  border-color: var(--orange);
}

.calc-result {
  background: var(--ink);
  color: #fff;
}

.result-label {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.calc-result > strong {
  display: block;
  margin: 6px 0 20px;
  font-size: 42px;
  line-height: 1;
}

.calc-result dl {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.calc-result dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.calc-result dd {
  margin: 0;
  font-weight: 900;
}

.split,
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brick);
  color: #fff;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-weight: 700;
}

.privacy-note {
  margin: 2px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.privacy-note a {
  color: var(--brick);
}

.legal-content {
  max-width: 860px;
}

.legal-content h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}

.legal-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.legal-list {
  display: grid;
  gap: 14px;
}

.legal-list section {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-content h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.legal-content p {
  margin-top: 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--brick);
  font-weight: 700;
}

.legal-date {
  margin-top: 22px;
}

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

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0;
  background: transparent;
}

.gallery figcaption {
  padding: 14px 16px;
  font-weight: 800;
}

.faq-section {
  padding-top: 52px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-image {
  width: min(680px, 100%);
  margin-top: 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contacts-section {
  background: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 64px);
  color: #fff;
  background: #2f2f2f;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(24, 24, 24, 0.55);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}

.modal-form {
  padding: 0;
  border: 0;
  box-shadow: none;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
    justify-content: flex-start;
  }

  .product-grid,
  .calc-layout,
  .trust-grid,
  .gallery,
  .split,
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading.compact,
  .calc-result {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 66px;
  }

  .logo {
    min-width: 0;
  }

  .main-nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 86px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-stats,
  .product-grid,
  .calc-layout,
  .trust-grid,
  .gallery,
  .split,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .site-footer {
    display: grid;
  }

}
