:root {
  --orange: #f3a01e;
  --brown: #64554e;
  --panel: #62554e;
  --ink: #3a342f;
  --muted: #64554e;
  --gray: #ededed;
  --line: #e4e0db;
  --max: 1180px;
  --font: Montserrat, "Segoe UI", sans-serif;
}
@font-face {
  font-family: Montserrat;
  src: url("/fonts/montserrat-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Montserrat;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.45; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
:focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: #000; color: #fff; padding: 8px 12px; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.burger {
  position: fixed; top: 18px; right: 18px; z-index: 70;
  width: 54px; height: 54px; border: 0; background: #f7f4f0; cursor: pointer;
  display: grid; place-items: center; gap: 5px; padding: 16px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.burger span { display: block; height: 2px; width: 100%; background: #2b2724; }
.header__panel {
  position: fixed; top: 80px; right: 18px; z-index: 69; width: min(320px, calc(100% - 36px));
  background: #fff; padding: 22px; display: none; flex-direction: column; gap: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.header.is-open .header__panel { display: flex; }
.nav { display: flex; flex-direction: column; gap: 12px; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.header__side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.phone { font-weight: 700; font-size: 18px; }
.header__ico img { width: 42px; height: 42px; }

.hero { position: relative; background: var(--panel); }
.hero__art { width: 100%; height: auto; }
.hero__copy {
  position: absolute; left: 51%; top: 16%; width: min(520px, 44%); color: #fff;
}
.hero__head { display: flex; align-items: flex-start; gap: 18px; }
.hero h1 {
  margin: 0; color: var(--orange); font-size: 82px; font-weight: 500; line-height: .9;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero__kicker { margin: 8px 0 0; font-size: 22px; font-weight: 700; line-height: 1.15; text-transform: uppercase; max-width: 11ch; }
.hero__line { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 0; font-size: 22px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; max-width: 28ch; }
.hero__note { margin: 28px 0 0; font-size: 22px; font-weight: 400; max-width: 22ch; }
.hero__note b { font-weight: 700; color: var(--orange); }
.hero__cta { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hero__calc { width: 46px; height: 46px; color: var(--orange); flex: 0 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 14px 22px; font-size: 14px;
}
.btn--dark { background: #111; }

.why { background: #ededed; padding: 72px 0 64px; }
.why h2, .block-title {
  margin: 0 0 36px; text-align: center; color: var(--muted); font-size: 38px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.why__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why__card {
  background: var(--orange); color: #fff; min-height: 340px; padding: 28px 18px 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.why__card b { display: block; font-size: 52px; font-weight: 500; line-height: 1; }
.why__card h3 { margin: 18px 0 12px; font-size: 18px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.why__card p { margin: 0; font-size: 15px; }

.edge { display: block; width: 100%; height: 46px; background: var(--brown); }
.kinds { background: var(--brown); padding: 28px 0 48px; }
.kinds__title {
  color: #fff; text-align: center; font-size: clamp(26px, 3vw, 36px); font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1.25;
  width: min(16em, calc(100% - 40px)); margin: 0 auto 36px;
}
.types { width: min(1100px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.type {
  position: relative; border: 0; padding: 0; background: #ececec; cursor: pointer;
  min-height: 420px; color: #ff8562; text-align: left;
}
.type img { width: 100%; height: auto; display: block; background: #ececec; }
.type__hand {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
}
.type__text {
  display: none; position: absolute; inset: 0; margin: 0; padding: 22px 16px;
  background: rgba(100, 85, 78, .94); font-size: 16px; line-height: 1.4;
}
.type__text b { display: block; margin-bottom: 8px; font-size: 18px; }
.type:hover .type__text, .type:focus-visible .type__text, .type.is-open .type__text { display: block; }
.type:hover .type__hand, .type.is-open .type__hand { display: none; }

.gallery { padding: 28px 0 72px; background: #ededed; }
.gallery .block-title { width: min(16em, 100%); margin-left: auto; margin-right: auto; line-height: 1.25; }
.slider { position: relative; width: min(860px, 100%); margin: 0 auto; }
.slider__stage { height: 550px; background: #d9d4ce; }
.slider__stage img { width: 100%; height: 550px; object-fit: cover; display: none; }
.slider__stage img.is-active { display: block; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--orange); color: #111;
  font-size: 28px; line-height: 1; cursor: pointer;
}
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }

.steps-title { padding: 64px 0 10px; }
.steps { background: var(--brown); color: #fff; padding: 36px 0 56px; }
.steps__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { text-align: center; padding: 8px; }
.step svg { width: 72px; height: 72px; margin: 0 auto 12px; }
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; font-size: 15px; }

.catalog { background: #ededed; padding: 72px 0; }
.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product { background: #fff; }
.product img { width: 100%; height: 460px; object-fit: cover; }
.product__body { padding: 18px 18px 22px; }
.product h3 { margin: 0 0 8px; font-size: 20px; }
.product p { margin: 0 0 8px; }
.price { font-size: 22px; font-weight: 700; }
.price s { color: #9a9088; font-weight: 500; margin-left: 8px; font-size: 16px; }

.reviews { background: var(--brown); color: #fff; padding: 72px 0; }
.reviews .block-title, .reviews h3, .reviews p { color: #fff; }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.review { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: start; }
.review img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.review h3 { margin: 0 0 6px; font-size: 18px; }
.review p { margin: 0; }

.faq { background: var(--gray); padding: 72px 0; }
.faq details { background: #fff; margin: 0 0 10px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; }

.form-box { background: var(--brown); color: #fff; padding: 72px 0; text-align: center; }
.form-box h2 { text-transform: uppercase; letter-spacing: .04em; color: #fff; font-size: 34px; }
.form-box .check, .form-box .check a { color: #fff; }
.form-box form { width: min(640px, 100%); margin: 0 auto; text-align: left; }
.fields { display: grid; gap: 10px; }
.fields input, .dialog__info input {
  width: 100%; border: 1px solid #d9d3cc; padding: 14px 12px; font-size: 16px; background: #fff;
}
.check { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: 14px; }
.check a { text-decoration: underline; }
.form-status { min-height: 1.4em; }
.form-status.is-success { color: #1d7a32; }
.form-status.is-error { color: #a12626; }
.honeypot { position: absolute; left: -9999px; }

#contacts { background: var(--brown); color: #fff; padding: 48px 0; }
.contacts { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.contacts a { color: #fff; }
.map { min-height: 320px; background: var(--gray); position: relative; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacts__card h2 { margin-top: 0; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.contacts__phone { font-size: 32px; font-weight: 700; color: #fff; }
.contacts__social { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.contacts__social img { width: 42px; height: 42px; }

.footer { background: var(--brown); color: #f3ece4; padding: 36px 0; }
.footer a, .footer button { color: inherit; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

.float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; }
.float__main {
  width: 56px; height: 56px; border: 0; border-radius: 50%; background: #76cc3d; color: #fff;
  font-size: 28px; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.float__list { position: absolute; right: 3px; bottom: 64px; display: none; gap: 10px; flex-direction: column; }
.float.is-open .float__list { display: flex; }
.float__item img { width: 50px; height: 50px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.float__phone {
  width: 50px; height: 50px; border-radius: 50%; background: #fff; color: #111;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.18); font-size: 22px;
}
.cookie {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(420px, calc(100% - 32px));
  background: #fff; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.16); font-size: 14px;
}
.cookie[hidden] { display: none; }
.cookie__text { margin: 0 0 12px; }
.cookie__btns { display: flex; gap: 8px; justify-content: flex-end; }
.cookie a { color: var(--orange); }

dialog { border: 0; padding: 0; width: min(860px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(0,0,0,.55); }
.dialog__box { display: grid; grid-template-columns: 280px 1fr; background: #fff; }
.dialog__box img { width: 100%; height: 100%; object-fit: cover; }
.dialog__info { padding: 22px; position: relative; }
.dialog__x { position: absolute; right: 8px; top: 8px; border: 0; background: #fff; width: 36px; height: 36px; cursor: pointer; font-size: 24px; }

.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.legal-content { padding: 28px 0 64px; }
.legal-content h1 { font-size: 34px; }
.legal-box { background: var(--gray); padding: 14px 16px; }

@media (max-width: 980px) {
  .hero__copy { position: relative; left: auto; top: auto; width: auto; padding: 28px 20px 36px; background: var(--panel); }
  .hero__art { height: 320px; object-fit: cover; object-position: left center; }
  .hero h1 { font-size: 56px; }
  .why__grid, .types, .steps__row, .catalog__grid, .reviews__grid, .contacts, .footer__grid, .dialog__box {
    grid-template-columns: 1fr;
  }
  .gallery .block-title { font-size: 22px; }
  .types { width: min(300px, calc(100% - 72px)); }
  .type { min-height: 0; }
  .slider__stage, .slider__stage img { height: 240px; }
  .review { grid-template-columns: 72px 1fr; }
  .review img { width: 72px; height: 72px; }
}
