:root {
  --dark: #15352c;
  --dark-2: #24473b;
  --green: #176b43;
  --green-2: #88a85c;
  --cream: #f2e6d4;
  --cream-2: #f7eddf;
  --text: #172622;
  --muted: #657068;
  --line: #dccfbd;
  --bg: #f2e6d4;
  --white: #ffffff;
  --container: 1180px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.45;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  color: var(--dark);
  border-bottom: 1px solid rgba(21, 53, 44, 0.14);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav a,
.footer-nav a,
.header-phone {
  opacity: 0.86;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.footer-nav a:hover,
.header-phone:hover {
  color: var(--green);
  opacity: 1;
}

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

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text);
  background: var(--cream);
}

.hero::before {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.hero-kicker,
.section-label {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 68px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button {
  min-height: 56px;
  padding: 17px 28px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(23, 107, 67, 0.18);
}

.button-outline {
  border-color: rgba(23, 107, 67, 0.32);
  color: var(--dark);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(21, 53, 44, 0.14);
  border-radius: var(--radius);
  box-shadow: none;
}

.hero-logo-frame {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 0;
}

.hero-logo-frame img {
  width: min(100%, 352px);
  height: auto;
  object-fit: contain;
}

.hero-note {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(21, 53, 44, 0.14);
  color: var(--dark);
}

.hero-note strong {
  font-size: 17px;
  text-transform: uppercase;
}

.hero-note span {
  color: var(--muted);
  font-size: 16px;
}

.intro-section {
  padding: 64px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 48px;
  align-items: start;
}

.intro-heading {
  display: grid;
  gap: 8px;
}

.intro-heading .section-label {
  margin-bottom: 0;
}

.intro-grid h2 {
  margin-bottom: 0;
}

.intro-text {
  padding-top: 38px;
  color: var(--muted);
  font-size: 18px;
}

.intro-text p {
  margin-bottom: 16px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.section {
  padding: 76px 0;
}

.services-section {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

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

.section-title-row > div {
  display: grid;
  gap: 8px;
}

.section-title-row .section-label {
  margin-bottom: 0;
}

.section-title-row h2 {
  max-width: 760px;
  margin-bottom: 0;
}

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

.product-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 455px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 53, 44, 0.06), rgba(21, 53, 44, 0.28));
  pointer-events: none;
}

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

.product-body {
  padding: 24px;
}

.product-body h3 {
  min-height: 50px;
  text-transform: uppercase;
}

.product-body ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.benefits-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.benefits-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--cream-2);
}

.benefits-grid h3 {
  margin-bottom: 0;
  text-transform: uppercase;
}

.benefits-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.request-section {
  padding: 76px 0;
  color: var(--white);
  background: var(--dark);
}

.request-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.request-copy p:not(.section-label) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.request-form {
  display: grid;
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
}

.request-form input {
  height: 56px;
  padding: 0 18px;
}

.request-form textarea {
  min-height: 130px;
  padding: 16px 18px;
  resize: vertical;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(121, 173, 69, 0.38);
  border-color: var(--green-2);
}

.form-button {
  width: 100%;
  margin-top: 6px;
  border: 0;
  font: inherit;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-2);
  font-weight: 800;
}

.contacts-section {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contacts-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  column-gap: 64px;
  row-gap: 8px;
}

.contacts-inner .section-label {
  grid-column: 1;
  margin-bottom: 0;
}

.contacts-inner h2 {
  grid-column: 1;
  margin-bottom: 0;
}

.contacts-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 16px;
  align-content: start;
}

.contacts-list a {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--dark);
  font-size: 26px;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
  white-space: nowrap;
}

.privacy-main {
  padding: 82px 0;
}

.privacy-content {
  max-width: 860px;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.privacy-content h1 {
  font-size: 42px;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }

  .hero-inner,
  .intro-grid,
  .request-panel,
  .contacts-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 58px;
  }

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

  .contacts-list,
  .contacts-inner .section-label,
  .contacts-inner h2 {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 48px 0 58px;
    gap: 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-subtitle,
  .intro-text,
  .request-copy p:not(.section-label) {
    font-size: 16px;
  }

  .hero-actions,
  .section-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-column: auto;
    min-height: auto;
  }

  .section,
  .request-section,
  .contacts-section,
  .intro-section {
    padding: 56px 0;
  }

  .contacts-list a {
    font-size: 21px;
  }

  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
