:root {
  --ink: #1b140f;
  --ink-soft: #5e5248;
  --line: rgba(27, 20, 15, 0.1);
  --paper: #fffdf9;
  --cream: #f3eee6;
  --sand: #e7dfd2;
  --copper: #b4632a;
  --copper-deep: #8a4318;
  --copper-soft: #f3e2d2;
  --gold: #e4c39a;
  --dark: #14110e;
  --dark-2: #231c17;
  --ok: #1f6b45;
  --max: #5b4bff;
  --shadow: 0 18px 50px rgba(40, 24, 10, 0.1);
  --radius: 22px;
  --header: 76px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(180, 99, 42, 0.08), transparent 50%),
    var(--cream);
  line-height: 1.55;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(20, 17, 14, 0.92);
  color: #f7f1ea;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand img { width: 46px; height: 40px; object-fit: contain; }
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.brand small {
  display: block;
  color: #cbbbaa;
  font-size: 12px;
  letter-spacing: 0.01em;
}
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  text-decoration: none;
  color: #efe6dc;
  font-size: 14.5px;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover, .nav a.is-active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.header-phone {
  text-decoration: none;
  text-align: right;
  line-height: 1.15;
}
.header-phone span { display: block; color: #cbbbaa; font-size: 12px; }
.header-phone strong { font-size: 15px; font-weight: 750; }
.burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  position: relative;
}
.burger span, .burger span:before, .burger span:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.burger span { top: 22px; }
.burger span:before { top: -8px; }
.burger span:after { top: 8px; }

.hero { padding: 34px 0 20px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(500px 280px at 80% 20%, rgba(228, 195, 154, 0.18), transparent 60%),
    linear-gradient(160deg, #1a1410 0%, #2c2118 55%, #3d2a1c 100%);
  color: #f8f2eb;
  border-radius: 32px;
  padding: 42px 42px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(40, 22, 8, 0.22);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}
.kicker i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--copper); display: block;
}
.hero h1 { font-size: clamp(34px, 4.4vw, 62px); max-width: 12ch; }
.hero__lead { margin-top: 16px; color: #e6d9cc; font-size: 17.5px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__visual { position: relative; min-height: 420px; }
.hero__photo {
  width: 100%;
  height: 460px;
  object-fit: contain;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 60%, #fff, #f3ece3 72%);
  padding: 12px;
}
.float-card {
  position: absolute;
  background: rgba(255, 252, 248, 0.95);
  color: var(--ink);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  min-width: 180px;
}
.float-card b { display: block; font-size: 18px; }
.float-card span { color: var(--ink-soft); font-size: 13px; }
.float-card--price { left: -18px; bottom: 58px; }
.float-card--warranty { right: 12px; top: 18px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 12px 14px;
}
.stat b { display: block; font-size: 16px; }
.stat span { color: #d9cbbd; font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--copper { background: linear-gradient(180deg, #c56d32, #9a4b1c); color: #fff; box-shadow: 0 10px 24px rgba(154, 75, 28, .28); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--line { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn--max { background: linear-gradient(135deg, #6a5cff, #3d7dff 55%, #8a4dff); color: #fff; }
.btn--ghost { background: var(--copper-soft); color: var(--copper-deep); }
.btn svg { width: 18px; height: 18px; flex: none; }

.section { padding: 72px 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(30px, 4vw, 46px); max-width: 16ch; }
.section__head p { color: var(--ink-soft); max-width: 42ch; }
.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}
.filter.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card[hidden] { display: none !important; }
.card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(27,20,15,.06);
  box-shadow: 0 10px 30px rgba(50, 30, 10, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card__media {
  aspect-ratio: 1.15 / 1;
  background: linear-gradient(180deg, #f7f4ef, #fff);
  display: grid;
  place-items: center;
  padding: 16px;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cat {
  color: var(--copper-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card h3 { font-family: var(--font); font-weight: 800; letter-spacing: -0.03em; font-size: 20px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--copper-deep); }
.card__text { color: var(--ink-soft); font-size: 14.5px; }
.card__price { margin-top: auto; font-weight: 800; font-size: 18px; }
.card__price small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 12.5px; }
.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.card__more { grid-column: 1 / -1; }

.about-grid, .contact-grid, .product-grid, .article-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}
.about-photo, .panel {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 460px; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
}
.ticks b { display: block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  min-height: 180px;
}
.step em {
  font-style: normal;
  font-family: var(--display);
  color: var(--copper);
  font-size: 28px;
}
.step h3 { font-family: var(--font); font-size: 18px; font-weight: 800; margin: 10px 0 6px; }

.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 24px; overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.price-table th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table a { font-weight: 800; text-underline-offset: 3px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service img { height: 210px; width: 100%; object-fit: contain; background: #f7f3ee; padding: 12px; }
.service span { padding: 16px 18px 20px; display: grid; gap: 6px; }
.service strong { font-family: var(--display); font-size: 26px; font-weight: 500; }
.service em { font-style: normal; color: var(--ink-soft); }

.news-grid, .post-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.news-card, .post-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.news-card img, .post-card .cover {
  height: 210px;
  object-fit: contain;
  width: 100%;
  background: #f6f1ea;
  padding: 12px;
}
.news-card div, .post-card div { padding: 16px 16px 18px; display: grid; gap: 8px; }
.meta { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.news-card h3, .post-card h3 { font-family: var(--font); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.news-grid .news-card:first-child { grid-row: span 1; }
.news-grid .news-card:first-child img { height: 250px; }

.story {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.story time { color: var(--copper-deep); font-weight: 800; }
.story h3 { font-family: var(--font); font-size: 22px; font-weight: 800; }
.story p { color: var(--ink-soft); margin-top: 4px; }
.story span { color: var(--ink-soft); font-weight: 800; }

.cta {
  background: linear-gradient(135deg, #1b140f, #3a2618);
  color: #f8f2eb;
  border-radius: 30px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta h2 { font-size: clamp(28px, 3vw, 42px); max-width: 16ch; }
.cta p { color: #e4d5c6; margin-top: 8px; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.contact-card { padding: 8px 8px 8px 0; }
.contact-line { display: grid; gap: 4px; margin-bottom: 16px; }
.contact-line a { font-weight: 800; font-size: 20px; text-decoration: none; }
.contact-line a:hover { color: var(--copper-deep); }
.map-wrap { border-radius: 28px; overflow: hidden; min-height: 360px; background: #e7dfd2; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

.page-hero { padding: 28px 0 0; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); max-width: 18ch; }
.page-hero .lead { margin-top: 12px; color: var(--ink-soft); max-width: 62ch; font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: var(--copper-deep); }

.product-grid { align-items: start; margin-top: 22px; }
.gallery { background: #fff; border-radius: 28px; padding: 16px; border: 1px solid var(--line); }
.gallery__main {
  background: linear-gradient(#faf7f2, #fff);
  border-radius: 20px;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.gallery__main img { width: 100%; height: 460px; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button {
  width: 84px; height: 72px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; padding: 4px; cursor: pointer;
}
.thumbs button.is-active { border-color: var(--copper); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy {
  background: #fff;
  border-radius: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}
.buy .price { font-family: var(--display); font-size: 36px; margin: 8px 0; }
.buy .actions { display: grid; gap: 8px; margin: 14px 0; }
.specs { width: 100%; border-collapse: collapse; margin-top: 8px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--ink-soft); font-weight: 700; width: 42%; }

.prose { max-width: 760px; }
.prose h2 { font-size: 32px; margin: 28px 0 10px; }
.prose h3 { font-family: var(--font); font-size: 22px; font-weight: 800; margin: 22px 0 8px; }
.prose p, .prose li { color: #3b322b; font-size: 17.5px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.faq { display: grid; gap: 8px; margin-top: 12px; }
.faq details { background: #fff; border-radius: 16px; padding: 12px 16px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin-top: 8px; }

.footer { background: var(--dark); color: #efe6dc; padding: 42px 0 28px; margin-top: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 24px; }
.footer h3 { font-family: var(--font); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #cbbbaa; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #cbbbaa;
  font-size: 14px;
}
.footer__itegor a { color: #fff; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.35); }

.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #d27a3b, #9a4b1c);
  color: #fff;
  box-shadow: 0 12px 30px rgba(154, 75, 28, .4);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: translateY(-2px); }

.dock { display: none; }

.modal { position: fixed; inset: 0; z-index: 80; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16, 11, 8, .62); }
.modal__dialog {
  position: relative;
  width: min(460px, calc(100% - 24px));
  margin: 8vh auto;
  background: #fffdf9;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.modal__close {
  position: absolute; right: 12px; top: 12px;
  width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--cream); cursor: pointer;
}
.modal h2 { font-size: 30px; padding-right: 36px; }
.modal .sub { color: var(--ink-soft); margin: 8px 0 16px; }
.contact-list { display: grid; gap: 8px; }
.contact-link {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}
.contact-link:hover { border-color: var(--copper); }
.contact-link i {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; flex: none;
  background: var(--copper-soft); color: var(--copper-deep);
}
.contact-link svg { width: 22px; height: 22px; }
.contact-link--max i { background: #ece9ff; color: var(--max); }
.contact-link b { display: block; }
.contact-link span { color: var(--ink-soft); font-size: 14px; }

.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 55;
  width: min(420px, calc(100% - 32px));
  background: rgba(20, 17, 14, .96);
  color: #f6efe6;
  border-radius: 20px;
  padding: 14px 14px 14px 16px;
  display: none;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cookie.is-on { display: flex; }
.cookie p { font-size: 14px; color: #eadfD2; }
.cookie .btn { min-height: 40px; flex: none; }

.note { color: var(--ink-soft); font-size: 14px; }

@media (max-width: 980px) {
  .hero__grid, .about-grid, .contact-grid, .product-grid, .article-layout, .cards, .steps, .services, .news-grid, .post-grid, .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  .services, .news-grid, .post-grid, .steps, .article-layout { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 6px; }
  .nav { display: none; }
  .header-phone { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0; top: var(--header);
    background: #1b1613;
    padding: 12px 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .header { position: sticky; }
  .header__inner { position: static; }
  .header { position: sticky; }
  .nav.is-open a { padding: 12px; }
}

@media (max-width: 760px) {
  .hero__grid, .about-grid, .contact-grid, .product-grid, .article-layout, .cards, .post-grid, .footer__grid, .section__head, .cta {
    grid-template-columns: 1fr;
    display: grid;
  }
  .section__head, .cta { display: grid; }
  .hero { padding-top: 16px; }
  .hero__grid { padding: 22px 16px 16px; border-radius: 24px; }
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { min-height: 0; }
  .hero__photo, .gallery__main img, .about-photo img { height: 260px; }
  .float-card--price { left: 8px; bottom: 8px; }
  .float-card--warranty { right: 8px; top: 8px; }
  .section { padding: 46px 0; }
  .buy { position: static; }
  .fab { display: none; }
  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 10px; right: 10px; bottom: 10px;
    z-index: 50;
    padding: 8px;
    background: rgba(255, 253, 249, .9);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 16, 6, .2);
  }
  .dock .btn { width: 100%; }
  body { padding-bottom: 84px; }
  .cookie { bottom: 92px; width: calc(100% - 20px); left: 10px; }
  .footer__bottom { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .fab { transition: none; }
}
