﻿:root {
  --cream-50: #f7f3eb;
  --cream-100: #efe7d8;
  --green-900: #0b2e26;
  --green-800: #12463a;
  --green-700: #1a7058;
  --green-500: #2a8b6c;
  --gold-500: #c39a64;
  --text-900: #1d2b26;
  --text-700: #395149;
  --line: #d9cfbd;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(15, 39, 31, 0.12);
  --font-ui: "Segoe UI", "Trebuchet MS", Tahoma, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  color: var(--text-900);
  background:
    radial-gradient(1300px 700px at -5% -5%, #e6ddcc 0%, transparent 64%),
    radial-gradient(1100px 600px at 105% 0%, #ece2d0 0%, transparent 62%),
    var(--cream-50);
  line-height: 1.64;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.045;
  background-image: radial-gradient(var(--green-900) 0.4px, transparent 0.4px);
  background-size: 4px 4px;
}

.container { width: min(1200px, 92vw); margin-inline: auto; }
.section { padding: 78px 0; }

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  color: var(--green-900);
  line-height: 1.08;
  letter-spacing: 0.2px;
}
h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.24rem, 2vw, 1.65rem); }
p { margin: 0 0 13px; color: var(--text-700); }
a { color: var(--green-700); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--cream-50) 84%, white 16%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-header .navbar {
  --bs-navbar-toggler-border-color: #c7b89f;
  --bs-navbar-toggler-focus-width: 0.12rem;
  min-height: 84px;
}
.site-header .navbar-toggler {
  border-radius: 12px;
  background: #f5ecdc;
}
.brand img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}
.navbar-nav .nav-link {
  text-decoration: none;
  font-weight: 700;
  color: #375348;
  border-radius: 999px;
  padding: 7px 12px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--green-900);
  background: #e6ddcc;
}
.btn-catalog {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  line-height: 1.1;
  box-shadow: 0 8px 22px rgba(15, 51, 39, 0.14);
}
.btn-catalog:hover,
.btn-catalog.active {
  color: var(--green-900);
  background: linear-gradient(135deg, #f0debf, #e9c996);
}
.catalog-dropdown .dropdown-menu {
  border-radius: 14px;
  min-width: 250px;
  margin-top: 10px;
  padding: 8px;
}
.catalog-dropdown .dropdown-item {
  border-radius: 10px;
  padding: 8px 10px;
  color: #305043;
  font-weight: 600;
}
.catalog-dropdown .dropdown-item:hover {
  background: #f1e6d3;
  color: var(--green-900);
}
@media (min-width: 992px) {
  .catalog-dropdown:hover .dropdown-menu {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn,
button.btn {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
}
.btn-sm { padding: 10px 14px; font-size: 0.92rem; }
.btn-ghost {
  background: transparent;
  color: var(--green-800);
  border-color: #c2b49d;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 30px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  color: var(--green-700);
  font-weight: 700;
  margin-bottom: 8px;
}
.lead {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  max-width: 62ch;
}
.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-media img,
.two-col img,
.media-strip img,
.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-media { min-height: 430px; }

.stat-grid,
.trust-grid,
.delivery-grid,
.catalog-grid,
.review-grid,
.case-grid,
.post-grid {
  display: grid;
  gap: 14px;
}
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid article {
  background: #f0e8d8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.stat-grid strong {
  display: block;
  color: var(--green-800);
  font-size: 1.3rem;
}

.trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-grid.trust-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.delivery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.catalog-grid.catalog-wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.trust-grid article,
.delivery-grid article,
.catalog-grid .card,
.review-grid article,
.case-grid article,
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(25, 50, 42, 0.04);
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f7f3eb;
  margin-bottom: 12px;
}

.product-card .product-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f7f3eb;
  margin-bottom: 12px;
}

.heading-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.heading-wrap p { max-width: 42ch; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 1fr 1fr; }

.plain-list {
  margin: 0;
  padding-left: 20px;
}
.plain-list li {
  margin-bottom: 8px;
  color: #2f4a40;
}
.plain-list.ordered { list-style: decimal; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #cab9a0;
  background: #fff;
  color: #355549;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}
.chip:hover { transform: translateY(-1px); background: #f1e6d3; color: var(--green-900); }

.catalog-section { scroll-margin-top: 110px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(25, 50, 42, 0.04);
}
.product-card h3 { margin-bottom: 10px; }

.business-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
  background: linear-gradient(120deg, #f2ebdd, #eadfcb);
  border: 1px solid #d7c7ae;
  border-radius: 26px;
  padding: 24px;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.pill-list span {
  border: 1px solid #cab9a0;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: #355549;
  font-size: 0.9rem;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.media-strip img { min-height: 270px; }

.post-card {
  display: grid;
  gap: 12px;
  padding: 12px;
}
.post-card img { min-height: 210px; }

.faq-grid {
  display: grid;
  gap: 10px;
}
.faq-grid details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-900);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 24px;
  align-items: start;
}
form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}
label {
  display: grid;
  gap: 6px;
  color: #274338;
  font-weight: 700;
  font-size: 0.95rem;
}
input, select {
  width: 100%;
  border: 1px solid #cebfa7;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fffdfa;
  color: #243b33;
}
.form-note { min-height: 22px; margin: 0; color: var(--green-700); }

.cta-band { padding-top: 8px; }
.cta-wrap {
  background: linear-gradient(130deg, #133f33, #1f7358);
  color: #ecf4ef;
  border-radius: 24px;
  border: 1px solid #0f5744;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cta-wrap h2,
.cta-wrap p { color: #ecf4ef; }

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: #efe4d0;
  padding: 36px 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 20px;
}
.footer-logo { width: min(280px, 100%); height: auto; margin-bottom: 8px; }
.site-footer h3 { font-size: 1.45rem; margin-bottom: 8px; }
.site-footer p { margin-bottom: 8px; }

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 800;
  background: #25d366;
  color: #083f28;
  box-shadow: 0 14px 30px rgba(10, 70, 42, 0.3);
}

.contacts-map {
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.contacts-map-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}
.contacts-city-list {
  display: grid;
  gap: 8px;
}
.contacts-map-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(25, 50, 42, 0.04);
  cursor: pointer;
  min-height: 50px;
}
.contacts-map-item:hover {
  transform: translateY(-1px);
  transition: 0.2s ease;
}
.contacts-map-item.is-active {
  border-color: #c2b49d;
  background: #f1e6d3;
}
.contacts-map-title {
  font-weight: 900;
  color: var(--green-900);
  line-height: 1.2;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .catalog-grid,
  .catalog-grid.catalog-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid.trust-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .navbar-nav {
    align-items: stretch !important;
    gap: 8px;
  }
  .navbar-nav .nav-link { display: inline-block; }
  .btn-catalog { width: 100%; justify-content: center; }
  .catalog-dropdown .dropdown-menu { min-width: 100%; }
  .hero-grid,
  .two-col,
  .business-wrap,
  .lead-grid,
  .foot-grid,
  .cta-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }
  .contacts-map { min-height: 420px; }
  .contacts-map-list { max-height: 320px; }
  .stat-grid,
  .delivery-grid,
  .catalog-grid,
  .catalog-grid.catalog-wide,
  .review-grid,
  .post-grid,
  .media-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 300px; }
  .section { padding: 58px 0; }
  .cta-wrap { text-align: left; }
}

