:root {
  --bg: #ffffff;
  --ink: #14151a;
  --muted: #6c6f78;
  --line: #e9e9ee;
  --soft: #f6f6f4;
  --accent: #1500d4;
  --accent-2: #c79a4b;
  --radius: 16px;
  --shadow-sm: 0 6px 20px rgba(20, 22, 35, .06);
  --shadow: 0 18px 50px rgba(20, 22, 35, .12);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(21, 0, 212, .3); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

/* Topbar */
.topbar { background: var(--ink); color: #d7d8df; font-size: 13px; }
.topbar__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 24px;
}
.topbar__phone { color: #fff; text-decoration: none; font-weight: 700; }
.topbar__phone:hover { color: #fff; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand {
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.brand--light { color: #fff; }
.brand--light span { color: var(--accent-2); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(21, 0, 212, .08), transparent 60%),
    linear-gradient(180deg, #fbfbfd, #ffffff);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px 72px;
}
.badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero__text h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 18px 0 16px;
}
.hero__text h1 span { color: var(--accent); }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  list-style: none;
  display: flex;
  gap: 36px;
  padding: 0;
  margin: 40px 0 0;
}
.hero__stats b { display: block; font-size: 26px; }
.hero__stats span { color: var(--muted); font-size: 14px; }

.hero__media { position: relative; }
.hero__card {
  background: linear-gradient(160deg, #f3f3f1, #e9e9e7);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 380px;
  margin: 0 auto;
}
.hero__card img {
  border-radius: 0;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}
.hero__chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.hero__chip--1 { top: 30px; left: -6px; }
.hero__chip--2 { bottom: 56px; right: -8px; color: var(--accent); }

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--soft); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 10px; letter-spacing: -.02em; }
.section__head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 22px; }
.grid--adv { grid-template-columns: repeat(3, 1fr); }
.grid--catalog { grid-template-columns: repeat(4, 1fr); }
.grid--reviews { grid-template-columns: repeat(3, 1fr); }

/* Advantage cards */
.card-adv {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .16s, box-shadow .2s;
}
.card-adv:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-adv__ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--soft);
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 16px;
}
.card-adv h3 { margin: 0 0 8px; font-size: 19px; }
.card-adv p { margin: 0; color: var(--muted); font-size: 15px; }

/* Catalog cards */
.card-door {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .16s, box-shadow .2s;
}
.card-door:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-door__img {
  background: linear-gradient(160deg, #f4f4f2, #ebebe9);
  padding: 18px;
  display: grid;
  place-items: center;
}
.card-door__img img { height: 280px; object-fit: contain; border-radius: 8px; }
.card-door__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-door__body h3 { margin: 0; font-size: 18px; }
.card-door__body p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.card-door .btn { margin-top: auto; }
.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(21, 0, 212, .08);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Color promo */
.color-promo { background: linear-gradient(135deg, #14151a, #25263a); color: #fff; }
.color-promo__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.color-promo__text h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; }
.color-promo__text p { color: #b9bac6; font-size: 17px; margin: 0 0 26px; max-width: 460px; }
.color-promo__swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.color-promo__swatches span {
  aspect-ratio: 1/1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .2);
}

/* Reviews */
.card-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.stars { color: #f5a623; letter-spacing: 3px; margin-bottom: 12px; }
.card-review p { margin: 0 0 16px; font-size: 15px; }
.card-review__author { color: var(--muted); font-weight: 700; font-size: 14px; }
.reviews__cta { text-align: center; margin-top: 36px; }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.contacts__row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contacts__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; }
.contacts__row p { margin: 0; font-size: 16px; }
.contacts__row a { color: var(--accent); text-decoration: none; font-weight: 700; }
.contacts__socials { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-link {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink) !important;
  transition: .2s;
}
.chip-link:hover { background: var(--ink); color: #fff !important; }

.contacts__form {
  margin-top: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contacts__form h3 { margin: 0 0 16px; font-size: 18px; }
.field-row { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.contacts__form input {
  flex: 1 1 160px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.contacts__form input:focus { outline: 2px solid rgba(21, 0, 212, .35); border-color: var(--accent); }
.form-note { margin: 14px 0 0; color: #1f8a3b; font-weight: 700; }
.contacts__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; border: 1px solid var(--line); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Floating buttons */
.fab { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 50; }
.fab__btn {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .16s;
}
.fab__btn:hover { transform: scale(1.08); }
.fab__btn--wa { background: #25d366; }
.fab__btn--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #bc1888); }

/* Footer */
.footer { background: var(--ink); color: #c7c8d2; padding: 56px 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__col h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.footer__col a, .footer__col p { display: block; color: #c7c8d2; text-decoration: none; margin: 0 0 8px; font-size: 15px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #8d8f9b; }

/* Responsive */
@media (max-width: 980px) {
  .nav__links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__burger { display: flex; }
  .hero__inner {
    grid-template-columns: 1fr min(36%, 220px);
    gap: 20px 16px;
    align-items: center;
    padding: 36px 16px 44px;
  }
  .hero__text h1 { font-size: clamp(24px, 5.5vw, 36px); margin: 12px 0 10px; }
  .hero__lead { font-size: 15px; margin-bottom: 18px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn--lg { padding: 12px 16px; font-size: 14px; }
  .hero__stats { gap: 16px; margin-top: 22px; }
  .hero__stats b { font-size: 20px; }
  .hero__stats span { font-size: 12px; }
  .hero__card { max-width: 100%; padding: 12px; border-radius: 18px; }
  .hero__card img { max-height: min(46vh, 300px); }
  .hero__chip { font-size: 10px; padding: 6px 9px; border-radius: 10px; }
  .hero__chip--1 { top: 10px; left: -4px; }
  .hero__chip--2 { bottom: 24px; right: -4px; }
  .grid--adv, .grid--reviews { grid-template-columns: repeat(2, 1fr); }
  .grid--catalog { grid-template-columns: repeat(2, 1fr); }
  .color-promo__inner, .contacts { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid--adv, .grid--reviews, .grid--catalog { grid-template-columns: 1fr; }
  .hero__inner {
    grid-template-columns: 1fr min(40%, 168px);
    gap: 16px 12px;
    padding: 28px 14px 36px;
  }
  .badge { font-size: 11px; padding: 5px 10px; }
  .hero__text h1 { font-size: clamp(20px, 6.2vw, 28px); line-height: 1.08; }
  .hero__lead {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn--lg { width: 100%; padding: 11px 14px; font-size: 13px; }
  .hero__stats { gap: 10px 14px; margin-top: 16px; }
  .hero__stats li { min-width: 0; }
  .hero__stats b { font-size: 17px; }
  .hero__stats span { font-size: 11px; }
  .hero__card { padding: 8px; border-radius: 14px; box-shadow: var(--shadow-sm); }
  .hero__card img { max-height: min(42vh, 240px); }
  .hero__chip { font-size: 9px; padding: 5px 7px; }
  .hero__chip--1 { top: 4px; left: -2px; }
  .hero__chip--2 { bottom: 14px; right: -2px; }
  .nav__actions .btn--sm { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .color-promo__swatches { grid-template-columns: repeat(6, 1fr); }
  .section { padding: 48px 0; }
}
@media (max-width: 380px) {
  .hero__inner { grid-template-columns: 1fr 132px; gap: 12px 10px; }
  .hero__text h1 { font-size: 19px; }
  .hero__lead { -webkit-line-clamp: 2; }
  .hero__stats { flex-wrap: wrap; }
  .hero__card img { max-height: 210px; }
}
