:root {
  --brand: #14795a;
  --brand-dark: #0e5a43;
  --brand-soft: #e7f4ee;
  --ink: #17211d;
  --muted: #5c6b64;
  --line: #e4e9e6;
  --bg: #ffffff;
  --bg-alt: #f6f9f7;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 40, 30, 0.08);
  --wrap: 1140px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--brand-dark);
}
.btn-outline {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--brand);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* --- Шапка --- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
}
.brand img {
  height: 44px;
  width: auto;
}
nav.main {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
nav.main a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main a:hover {
  color: var(--ink);
  border-color: var(--brand);
}
nav.main a.price {
  color: var(--brand-dark);
  font-weight: 600;
}
.header-phone {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
}
.header-phone small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.burger span::before {
  position: absolute;
  top: -6px;
}
.burger span::after {
  position: absolute;
  top: 6px;
}

/* --- Герой: карусель баннеров --- */
.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  padding: 22px 20px;
}
.carousel {
  position: relative;
  aspect-ratio: 1024 / 405;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0e2019;
}
.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.carousel img.on {
  opacity: 1;
}
.dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}
.dots button.on {
  background: #fff;
  width: 26px;
  border-radius: 6px;
}
.cnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
}
.cnav.prev {
  left: 12px;
}
.cnav.next {
  right: 12px;
}
.cnav:hover {
  background: #fff;
}

/* --- Интро --- */
.intro {
  padding: 56px 0 8px;
  text-align: center;
}
.intro .kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.intro h1 {
  margin: 10px auto 14px;
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  max-width: 16em;
}
.intro p.lead {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 19px);
  max-width: 40em;
}
.intro .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Секции --- */
section {
  padding: 64px 0;
}
section.alt {
  background: var(--bg-alt);
}
.sec-head {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 40px;
}
.sec-head .kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sec-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  font-weight: 800;
}
.sec-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* --- Каталог --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d3e3db;
}
.card .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .ph img {
  transform: scale(1.04);
}
.card .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.card .body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.card .more {
  margin-top: auto;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card:hover .more {
  color: var(--brand-dark);
}

/* --- О компании --- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about .txt h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 6px 0 16px;
  font-weight: 800;
  line-height: 1.2;
}
.about .txt .kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.about .txt p {
  color: var(--muted);
  margin: 0 0 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat {
  background: var(--brand-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.stat b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
}
.stat span {
  color: var(--muted);
  font-size: 15px;
}

/* --- Преимущества --- */
.feat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feat .item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feat .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 22px;
}
.feat h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* --- Контакты --- */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact .lbl {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.contact .val {
  font-size: 19px;
  font-weight: 700;
}
.contact .val a {
  color: var(--brand-dark);
}
.cta-band {
  margin-top: 40px;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}
.cta-band p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Подвал --- */
footer.site {
  background: #0e2019;
  color: rgba(255, 255, 255, 0.72);
  padding: 40px 0 30px;
  font-size: 15px;
}
footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
footer .brand-f img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
footer a:hover {
  color: #fff;
}
footer .legal {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

/* --- Страница категории (детальная) --- */
.detail {
  padding: 30px 0 60px;
}
.crumb {
  display: inline-block;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}
.crumb:hover {
  color: var(--brand);
}
.detail-head {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}
.detail-head .pic {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
}
.detail-head .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-head h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 800;
}
.detail-head .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-body {
  max-width: 880px;
  font-size: 16.5px;
  color: var(--ink);
}
.detail-body p {
  margin: 0 0 14px;
  color: var(--muted);
}
.detail-body h3,
.detail-body h4 {
  margin: 26px 0 10px;
  font-weight: 700;
  color: var(--ink);
}
.detail-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--muted);
}
.detail-body li {
  margin-bottom: 6px;
}
.spec-scroll {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 10px;
}
.detail-body table {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
  font-size: 15px;
}
.detail-body th,
.detail-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.detail-body thead th,
.detail-body tr:first-child th {
  background: var(--brand-soft);
  font-weight: 700;
}
.detail-body tr:nth-child(even) td {
  background: var(--bg-alt);
}

/* --- Правовая сноска (цены не оферта) --- */
.note {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.note b {
  color: var(--ink);
  font-weight: 600;
}

/* --- Баннер согласия на cookies --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #0e2019;
  color: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.22);
}
.cookie-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 66ch;
}
.cookie-text a {
  color: #8fe3bd;
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btns .btn {
  padding: 10px 18px;
  font-size: 14px;
}
@media (max-width: 620px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btns .btn {
    flex: 1;
    justify-content: center;
  }
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-head .pic {
    max-width: 420px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  nav.main,
  .header-phone {
    display: none;
  }
  .burger {
    display: flex;
  }
  nav.main.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    box-shadow: var(--shadow);
  }
  nav.main.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  section {
    padding: 44px 0;
  }
  .intro {
    padding-top: 44px;
  }
  .cta-band {
    padding: 30px 22px;
  }
  .cnav {
    display: none;
  }
  .detail-body {
    font-size: 16px;
  }
}
