/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #fffcf6;
  color: #1c1c1c;
  -webkit-font-smoothing: antialiased;
}
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --color-dark: #295a70;
  --color-accent: #3990bd;
  --color-cream: #fef4db;
  --page-bg: #fffcf6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--color-dark); }
.btn--accent { background: var(--color-accent); }
.btn--light { background: #fff; color: var(--color-dark); }

/* ===== Header ===== */
.header {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.header__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.header__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.header__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 20px 0;
}

/* ---- Topbar ---- */
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--color-cream);
  border-radius: 14px;
  height: 56px;
  padding: 0 20px;
  color: var(--color-dark);
}
.topbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.topbar__logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}
.topbar__logo-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
}
.topbar__address {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.topbar__address-icon { width: 18px; height: 18px; flex-shrink: 0; }
.topbar__address-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.topbar__city { font-size: 16px; font-weight: 600; }
.topbar__street { font-size: 13px; font-weight: 600; white-space: nowrap; }
.topbar__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.topbar__social-icon { width: 36px; height: 36px; }
.topbar__social-icon img { width: 100%; height: 100%; }
.topbar__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.topbar__phone-icon { width: 20px; height: 28px; }
.topbar__phone-numbers {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
.btn--topbar { padding: 10px 24px; flex-shrink: 0; }

/* ---- Main nav ---- */
.mainnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 16px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.mainnav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.mainnav__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.mainnav__chevron { width: 10px; height: 6px; }
.mainnav__buttons { display: flex; gap: 16px; }
.btn--nav { padding: 10px 24px; }
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 24px;
}
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ---- Hero ---- */
.hero {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 16px 90px;
}
.hero__content { width: 613px; max-width: 100%; flex-shrink: 0; }
.hero__badge {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 38px;
}
.hero__title {
  margin: 0 0 38px;
  font-weight: 800;
  font-size: 75px;
  line-height: 1.15;
  color: #fff;
}
.hero__title span { display: block; font-weight: 700; color: var(--color-cream); }
.hero__list { margin-bottom: 38px; }
.hero__list li {
  position: relative;
  padding-left: 27px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.59;
}
.hero__list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.hero__buttons { display: flex; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.btn--hero { height: 45px; padding: 0 24px; }
.hero__features {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 10px 18px;
  width: max-content;
  max-width: 100%;
}
.hero__features span { font-size: 16px; font-weight: 400; line-height: 1.59; white-space: nowrap; }
.hero__features i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.hero__gallery { width: 647px; max-width: 100%; flex-shrink: 0; }
.hero__main-img {
  position: relative;
  width: 100%;
  height: 527px;
  border-radius: 21px;
  overflow: hidden;
}
.hero__main-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 41px;
  height: 41px;
}
.hero__arrow--prev { left: 38px; }
.hero__arrow--prev img { transform: rotate(180deg); }
.hero__arrow--next { right: 15px; }
.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 33px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero__dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}
.hero__dots i.is-active { background: var(--color-accent); }
.hero__thumbs {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.hero__thumb {
  width: 123px;
  height: 93px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Stats bar ===== */
.stats {
  background: var(--color-accent);
  padding: 50px 40px;
}
.stats__inner { max-width: 1360px; margin: 0 auto; }
.stats__item {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1 1 280px;
  max-width: 444px;
}
.stats__inner { display: flex; gap: 40px; flex-wrap: wrap; }
.stats__icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats__icon--round {
  background: var(--color-cream);
  border-radius: 50%;
  padding: 12px;
}
.stats__icon img { width: 100%; height: 100%; object-fit: contain; }
.stats__text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
}
.stats__text strong { font-size: 40px; font-weight: 700; line-height: 32px; }
.stats__text span { font-size: 18px; font-weight: 500; line-height: 24px; white-space: nowrap; }

/* ===== Advantages ===== */
.advantages {
  background: #f3f2f7;
  padding: 80px 40px;
}
.advantages__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.advantages__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 41px;
}
.advcard {
  position: relative;
  height: 420px;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.advcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(41,90,112,.55) 0%, rgba(41,90,112,.55) 100%), rgba(0,0,0,.3);
}
.advcard__num {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-dark);
  font-size: 44px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.advcard__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.advcard__text strong {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-cream);
}
.advcard__text p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

/* ===== Categories ===== */
.categories {
  background: #f3f2f7;
  padding: 80px 40px;
}
.categories__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.categories__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 26px;
  row-gap: 30px;
}
.catcard { display: flex; flex-direction: column; gap: 20px; color: #1c1c1c; }
.catcard__media {
  height: 393px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.catcard__media img { max-width: 82%; max-height: 82%; object-fit: contain; }
.catcard__media--cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.catcard h3 { margin: 0; font-size: 34px; font-weight: 400; line-height: 1.1; }
.catcard p { margin: 0; font-size: 20px; color: #555a65; line-height: 1.3; }
.categories__more { display: flex; justify-content: center; padding: 10px; margin-top: 10px; }
.btn--big { padding: 15px 30px; font-size: 24px; }

/* ===== CTA 1 (форма подбора материала) ===== */
.cta1 {
  position: relative;
  background-color: var(--color-accent);
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.cta1__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.1); }
.cta1__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta1__inner h2 { margin: 0; font-size: 60px; line-height: 64px; font-weight: 700; color: #fff; max-width: 900px; }
.cta1__inner > p { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.15; color: #fff; }
.cta1__eyebrow { font-size: 20px; font-weight: 500; color: #fff; }
.cta1__form {
  background: var(--color-cream);
  border-radius: 16px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 535px;
  max-width: 100%;
}
.cta1__form input[type="text"], .cta1__form input[type="tel"] {
  height: 50px;
  border: 1px solid #d7dae2;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1c1c1c;
  background: #fff;
}
.cta1__form .btn { height: 50px; width: 100%; font-size: 16px; }
.cta1__agree {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  font-size: 14px;
  color: #555a65;
  cursor: pointer;
}
.cta1__agree input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--color-accent); }
.cta1__agree a { color: #555a65; text-decoration: underline; }

/* ===== Services ===== */
.services { background: #f3f2f7; padding: 60px 40px; }
.services__title {
  margin: 0;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.services__subtitle {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #111;
  margin: 10px 0 30px;
}
.services__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px;
}
.svccard {
  position: relative;
  height: 420px;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.svccard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,33,36,0) 30%, rgba(32,33,36,.55) 60%, rgba(32,33,36,.92) 100%), rgba(41,90,112,.3);
}
.svccard h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-cream);
}
.svccard__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.svccard__tags span {
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.07;
  max-width: 100%;
}
.services__more { display: flex; justify-content: center; padding: 10px; margin-top: 10px; }
.btn--outline-dark {
  background: transparent;
  border: 2px solid #111;
  color: #111;
}

/* ===== About ===== */
.about {
  position: relative;
  padding: 40px 0 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.about__overlay {
  position: absolute;
  inset: 0;
  background: rgba(41,90,112,.6);
}
.about__inner { position: relative; z-index: 1; padding: 0 40px; display: flex; flex-direction: column; gap: 20px; color: #fff; }
.about__eyebrow { font-size: 20px; font-weight: 500; }
.about__title { margin: 0; font-size: 60px; line-height: 64px; font-weight: 400; }
.about__title strong { color: var(--color-cream); font-weight: 700; }
.about__text { display: flex; flex-direction: column; gap: 20px; font-size: 22px; font-weight: 500; line-height: 1.2; margin-bottom: 30px; }
.about__text p { margin: 0; }
.about__stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(2px);
  padding: 40px;
}

/* ===== Delivery & Payment ===== */
.delivery { background: #f3f2f7; padding: 60px 40px; }
.delivery__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.delivery__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.delivery__left { flex: 1 1 861px; display: flex; flex-direction: column; gap: 10px; }
.delivery__card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
}
.delivery__card h3 { margin: 0 0 20px; font-size: 50px; font-weight: 700; }
.delivery__list { list-style: none; margin: 0; padding: 0; }
.delivery__list li {
  padding: 15px 10px;
  border-bottom: 2px solid rgba(41,90,112,.3);
  font-size: 16px;
  line-height: 1.4;
}
.delivery__list li.no-border { border-bottom: none; }
.delivery__photo {
  flex: 1 0 0;
  min-height: 180px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}
.delivery__right { flex: 0 0 489px; display: flex; flex-direction: column; gap: 10px; }
.delivery__payment-header {
  position: relative;
  flex: 1 0 0;
  min-height: 180px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.delivery__payment-overlay { position: absolute; inset: 0; background: rgba(41,90,112,.5); }
.delivery__payment-header h3 { position: relative; z-index: 1; margin: 0; font-size: 50px; font-weight: 700; color: #fff; }
.delivery__payment-list { display: flex; flex-direction: column; gap: 10px; }
.delivery__payment-item {
  background: #fff;
  border-radius: 16px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  padding: 0 20px;
}

/* ===== Reviews ===== */
.reviews { background: #f3f2f7; padding: 60px 40px; }
.reviews__title {
  margin: 0 0 64px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.reviews__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.reviewcard {
  flex: 1 1 320px;
  max-width: 538px;
  background: var(--color-cream);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  box-shadow: 0 2px 1px rgba(71,74,89,.02), 0 2px 4px rgba(71,74,89,.08);
}
.reviewcard__stars { color: #f5d140; font-size: 24px; letter-spacing: 4px; }
.reviewcard p { margin: 0; font-style: italic; font-size: 18px; line-height: 1.55; color: #111; }
.reviewcard__client { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.reviewcard__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}
.reviewcard__client strong { font-size: 16px; }
.reviewcard__client span { font-size: 16px; color: #555a65; }

/* ===== FAQ ===== */
.faq { background: #f3f2f7; padding: 60px 120px; }
.faq__title {
  margin: 0 0 64px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.faq__grid { display: flex; gap: 60px; justify-content: center; }
.faq__col { display: flex; flex-direction: column; gap: 20px; max-width: 590px; flex: 1; }
.faq__item h3 { margin: 0 0 16px; font-size: 24px; font-weight: 700; line-height: 1.33; color: #202124; }
.faq__item p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.33; color: #555a65; }

/* ===== Footer ===== */
.footer { background: #202124; padding: 30px 40px; }
.footer__top {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  gap: 52px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer__brand { width: 525px; max-width: 100%; display: flex; flex-direction: column; gap: 17px; }
.footer__logo { width: 100px; margin: 0; }
.footer__desc { margin: 0; font-size: 14px; color: #fff; line-height: 1.48; }
.footer__phones { display: flex; flex-direction: column; gap: 5px; }
.footer__phones a { color: var(--color-accent); font-weight: 700; font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.footer__col h4 { margin: 0 0 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--color-accent); }
.footer__col a { display: block; color: #fff; font-size: 14px; padding: 4px 0; }
.footer__vk { display: flex; align-items: center; gap: 10px; }
.footer__bottom {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 15px;
  font-size: 14px;
  color: #fff;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #fff; }

/* ===== Usluga detail hero ===== */
.header--usluga { min-height: 862px; }
.header__overlay--strong { background: rgba(0,0,0,.4); }
.header--usluga .header__overlay--strong { background: linear-gradient(0deg, rgba(41,90,112,.5), rgba(41,90,112,.5)), rgba(0,0,0,.4); }
.usluga-hero { padding: 40px 16px 90px; max-width: 745px; }
.usluga-hero__breadcrumbs {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 38px;
}
.usluga-hero__breadcrumbs a { color: rgba(255,255,255,.5); }
.usluga-hero__title {
  margin: 0 0 38px;
  font-weight: 800;
  font-size: 75px;
  line-height: 1.15;
  color: #fff;
}
.usluga-hero__title span { display: block; font-weight: 700; color: var(--color-cream); }
.usluga-hero__list { margin: 0 0 38px; list-style: none; padding: 0; }
.usluga-hero__list li {
  position: relative;
  padding-left: 27px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.59;
  color: #fff;
}
.usluga-hero__list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.usluga-hero__buttons { display: flex; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.usluga-hero__features {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 10px 18px;
  width: max-content;
  max-width: 100%;
}
.usluga-hero__features span { font-size: 16px; font-weight: 400; line-height: 1.59; color: #fff; white-space: nowrap; }
.usluga-hero__features i { width: 7px; height: 7px; border-radius: 50%; background: #fff; flex-shrink: 0; }

/* ===== Usluga: includes list ===== */
.includes {
  position: relative;
  padding: 40px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.includes__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(41,90,112,.25), rgba(41,90,112,.25)), rgba(0,0,0,.4); }
.includes__title { position: relative; z-index: 1; margin: 0 0 40px; text-align: center; font-size: 60px; line-height: 64px; font-weight: 700; color: #fff; }
.includes__list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.includes__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(3px);
  border-radius: 16px;
  padding: 20px 40px;
}
.includes__item img { width: 44px; height: 44px; flex-shrink: 0; }
.includes__item p { margin: 0; font-size: 30px; font-weight: 600; color: #fff; line-height: 1.1; }

/* ===== Usluga: how we work ===== */
.howwework { background: #f3f2f7; padding: 60px 0; overflow: hidden; }
.howwework__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.howwework__track { display: flex; gap: 40px; overflow-x: auto; padding: 0 40px 10px; }
.howwework__step { flex: 0 0 348px; display: flex; flex-direction: column; }
.howwework__photo { height: 239px; border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.howwework__photo img { width: 100%; height: 100%; object-fit: cover; }
.howwework__num-row { display: flex; align-items: center; margin-bottom: 20px; }
.howwework__num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--color-accent);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.howwework__line { flex: 1; height: 3px; background: var(--color-accent); margin-left: -3px; }
.howwework__step h3 { margin: 0 0 20px; font-size: 34px; font-weight: 400; color: #111; }
.howwework__step p { margin: 0; font-size: 20px; color: #111; line-height: 1.3; }

/* ===== Usluga: materials table ===== */
.materials { background: #f3f2f7; padding: 60px 40px; }
.materials__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.materials__table-wrap { max-width: 1360px; margin: 0 auto; overflow-x: auto; border-radius: 16px; }
.materials__table { width: 100%; border-collapse: collapse; font-size: 20px; }
.materials__table th {
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 10px 40px;
  white-space: nowrap;
}
.materials__table td {
  background: #fff;
  text-align: center;
  padding: 10px 40px;
  color: #111;
  white-space: nowrap;
}
.materials__table tbody tr:nth-child(even) td { background: #f3f2f7; }

/* ===== Usluga: our works ===== */
.ourworks { background: #f3f2f7; padding: 40px; }
.ourworks__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--color-dark);
}
.ourworks__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.workcard {
  position: relative;
  height: 420px;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.workcard--photo .workcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,33,36,0) 45%, rgba(32,33,36,.85) 90%, #202124 100%), rgba(41,90,112,.2);
}
.workcard__badge {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(3px);
  border-radius: 6px;
  padding: 10px;
  color: #fff;
  font-size: 26px;
  font-weight: 500;
}
.workcard__badge img { width: 29px; height: 29px; }
.workcard__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.workcard__text h3 { margin: 0; font-size: 34px; font-weight: 700; color: var(--color-cream); }
.workcard__text p { margin: 0; font-size: 20px; color: #fff; }

/* ===== CTA 3 (расширенная форма расчёта) ===== */
.cta3 {
  position: relative;
  background: linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--color-dark);
  padding: 50px 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  overflow: hidden;
}
.cta3__worker {
  position: absolute;
  right: 8%;
  top: 6%;
  height: 105%;
  width: auto;
  max-width: 25%;
  object-fit: contain;
  opacity: .5;
  pointer-events: none;
}
.cta3__left { flex: 1 1 400px; display: flex; flex-direction: column; gap: 15px; position: relative; z-index: 1; }
.cta3__left h2 { margin: 0; font-size: 60px; line-height: 64px; font-weight: 700; color: var(--color-cream); }
.cta3__left p { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.2; color: #fff; max-width: 734px; }
.cta3__form {
  position: relative;
  z-index: 1;
  flex: 1 1 400px;
  max-width: 545px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cta3__form input, .cta3__form select {
  height: 50px;
  border: 1px solid #d7dae2;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1c1c1c;
  background: #fff;
}
.cta3__form select { appearance: none; color: #555a65; }
.cta3__form .btn { height: 50px; width: 100%; font-size: 16px; }
.cta3__agree { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: #fff; cursor: pointer; }
.cta3__agree input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--color-accent); }
.cta3__agree a { color: #fff; text-decoration: underline; }

/* ===== Kontakty hero ===== */
.header--kontakty { min-height: 440px; }
.kontakty-hero { padding: 40px 16px 90px; max-width: 745px; }
.kontakty-hero__badge {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 38px;
}
.kontakty-hero__title { margin: 0 0 15px; font-weight: 800; font-size: 75px; line-height: 1.15; color: var(--color-cream); }
.kontakty-hero__subtitle { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.59; color: #fff; }

/* ===== Kontakty info + map ===== */
.kontakty-info { background: var(--color-cream); padding: 60px 40px; }
.kontakty-info__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.kontakty-info__card {
  flex: 1 1 0;
  background: #fff;
  border-radius: 25px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.kontakty-info__eyebrow { font-size: 16px; color: #555a65; }
.kontakty-info__card h2 { margin: 10px 0 30px; font-size: 36px; font-weight: 600; color: var(--color-dark); }
.kontakty-info__row { display: flex; gap: 20px; }
.kontakty-info__row + .kontakty-info__row { margin-top: 20px; }
.kontakty-info__cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 20px;
  border-right: 1px solid #555a65;
}
.kontakty-info__cell:last-child { border-right: none; padding-right: 0; padding-left: 20px; }
.kontakty-info__cell span { font-size: 16px; color: #555a65; }
.kontakty-info__cell strong { font-size: 16px; font-weight: 500; color: #111; line-height: 1.25; }
.kontakty-info__cell a { color: #111; text-decoration: underline; }
.kontakty-info__side { flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; }
.kontakty-info__map {
  background: #fff;
  border-radius: 25px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}
.kontakty-info__map img { width: 54px; height: 60px; }
.kontakty-info__map h3 { margin: 0; font-size: 18px; font-weight: 600; color: #111; }
.kontakty-info__map p { margin: 0; font-size: 16px; color: #555a65; }
.kontakty-info__map .btn { height: 50px; padding: 0 30px; margin-top: 5px; }
.kontakty-info__howto { background: #fff; border-radius: 25px; padding: 20px 40px; }
.kontakty-info__howto h4 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--color-dark); }
.kontakty-info__howto p { margin: 0; font-size: 16px; color: #555a65; line-height: 1.3; }

.cta1__form--wide textarea {
  border: 1px solid #d7dae2;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1c1c1c;
  background: #fff;
  resize: vertical;
}

/* ===== Catalog hero ===== */
.header--catalog { min-height: 540px; }
.catalog-hero { padding: 40px 16px 90px; max-width: 960px; }
.catalog-hero__breadcrumbs {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 38px;
}
.catalog-hero__breadcrumbs a { color: rgba(255,255,255,.5); }
.catalog-hero__title { margin: 0 0 30px; font-weight: 800; font-size: 75px; line-height: 1.15; color: var(--color-cream); }
.catalog-hero__desc { margin: 0 0 30px; font-size: 18px; font-weight: 500; line-height: 1.59; color: #fff; }
.catalog-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-hero__chips span {
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

/* ===== Products grid ===== */
.products { background: #fffcf6; padding: 40px; }
.products__title { margin: 40px 0; text-align: center; font-size: 60px; line-height: 64px; font-weight: 700; color: var(--color-dark); }
.products__grid {
  max-width: 1362px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 14px;
}
.productcard {
  background: #f3f2f7;
  border-radius: 11px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: left;
}
.productcard__img { width: 100%; max-width: 223px; height: 130px; object-fit: contain; }
.productcard__info { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.productcard__brand { font-size: 20px; color: #555a65; }
.productcard__name { font-size: 20px; color: #111; font-weight: 500; }
.productcard__btn { width: 100%; height: 55px; font-size: 20px; }

/* ===== Uslugi list page band ===== */
.uslugi-band { background: var(--color-dark); }
.uslugi-band__title { padding: 40px 16px 60px; text-align: center; }
.uslugi-band__eyebrow { display: block; font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.uslugi-band__title h1 { margin: 0 0 10px; font-size: 60px; line-height: 64px; font-weight: 700; color: var(--color-cream); }
.uslugi-band__title p { margin: 0; font-size: 20px; font-weight: 500; color: #fff; max-width: 900px; margin-inline: auto; }

/* ===== Tovar page ===== */
.topbar-wrap { background: #fffcf6; padding: 30px 20px 0; }
.mainnav--dark .mainnav__list a { color: var(--color-dark); }
.burger--dark span { background: var(--color-dark); }

.tovar { background: #fff; padding: 40px; }
.tovar__breadcrumbs {
  display: inline-block;
  border: 1px solid var(--color-dark);
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 40px;
}
.tovar__breadcrumbs a { color: rgba(41,90,112,.7); }
.tovar__main {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.tovar__gallery { display: flex; gap: 48px; align-items: center; flex: 1 1 500px; }
.tovar__thumbs { display: flex; flex-direction: column; gap: 24px; }
.tovar__thumb {
  width: 97px;
  height: 93px;
  border-radius: 8px;
  overflow: hidden;
  opacity: .4;
  flex-shrink: 0;
}
.tovar__thumb.is-active { opacity: 1; }
.tovar__thumb img { width: 100%; height: 100%; object-fit: contain; background: #f3f2f7; }
.tovar__main-img { flex: 1; height: 516px; display: flex; align-items: center; justify-content: center; }
.tovar__main-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tovar__info { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; }
.tovar__info h1 { margin: 0; font-size: 40px; font-weight: 700; color: #000; }
.tovar__brand { margin: 0; font-size: 20px; font-weight: 500; color: #000; }
.tovar__price { display: flex; align-items: baseline; gap: 16px; }
.tovar__price-current { font-size: 32px; font-weight: 500; color: #000; }
.tovar__price-old { font-size: 24px; color: #a0a0a0; text-decoration: line-through; }
.tovar__desc { margin: 0; font-size: 14px; color: #6c6c6c; line-height: 1.7; }
.tovar__btn { align-self: flex-start; height: 55px; padding: 0 40px; font-size: 18px; margin-top: 10px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1400px) {
  .hero { flex-wrap: wrap; }
  .hero__content, .hero__gallery { width: 100%; }
  .hero__title { font-size: 60px; }
}

@media (max-width: 1100px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }

  .topbar { flex-wrap: wrap; height: auto; padding: 14px 16px; row-gap: 10px; }
  .topbar__street { white-space: normal; }
  .topbar__social { margin-left: 0; }
  .mainnav__list { gap: 20px; }
}

@media (max-width: 900px) {
  .usluga-hero__title { font-size: 44px; }
  .usluga-hero__buttons { flex-direction: column; }
  .usluga-hero .btn--hero { width: 100%; }
  .includes__title { font-size: 40px; line-height: 1.2; margin-bottom: 24px; }
  .includes__item { padding: 16px 20px; }
  .includes__item p { font-size: 20px; }
  .includes__item img { width: 32px; height: 32px; }
  .howwework__title { font-size: 40px; line-height: 1.2; margin-bottom: 24px; }
  .howwework__track { padding: 0 16px 10px; gap: 24px; }
  .howwework__step { flex-basis: 280px; }
  .howwework__photo { height: 190px; }
  .howwework__step h3 { font-size: 26px; margin-bottom: 12px; }
  .howwework__step p { font-size: 16px; }
  .materials { padding: 40px 16px; }
  .materials__title { font-size: 40px; line-height: 1.2; margin-bottom: 24px; }
  .materials__table th, .materials__table td { padding: 10px 20px; font-size: 16px; }
  .ourworks { padding: 40px 16px; }
  .ourworks__title { font-size: 40px; line-height: 1.2; margin-bottom: 24px; }
  .ourworks__grid { grid-template-columns: 1fr; }
  .workcard { height: 320px; }
  .workcard__text h3 { font-size: 26px; }
  .cta3 { padding: 30px 16px; }
  .cta3__left h2 { font-size: 32px; line-height: 1.2; }
  .cta3__left p { font-size: 16px; }
  .cta3__worker { display: none; }
  .cta3__form { max-width: 100%; }
  .kontakty-hero__title { font-size: 44px; }
  .kontakty-info { padding: 40px 20px; }
  .kontakty-info__grid { flex-direction: column; }
  .kontakty-info__card { padding: 24px; }
  .kontakty-info__row { flex-direction: column; gap: 16px; }
  .kontakty-info__cell { border-right: none; padding-right: 0; }
  .kontakty-info__cell:last-child { padding-left: 0; }
  .catalog-hero__title { font-size: 44px; }
  .products__title { font-size: 40px; line-height: 1.2; margin: 30px 0; }
  .advantages { padding: 50px 20px; }
  .advantages__title { font-size: 40px; line-height: 1.2; margin-bottom: 30px; }
  .categories { padding: 50px 20px; }
  .categories__title { font-size: 40px; line-height: 1.2; margin-bottom: 30px; }
  .catcard__media { height: 260px; }
  .catcard h3 { font-size: 26px; }
  .cta1__inner h2 { font-size: 40px; line-height: 1.2; }
  .services { padding: 40px 20px; }
  .services__title { font-size: 40px; line-height: 1.2; }
  .svccard h3 { font-size: 26px; }
  .about__inner { padding: 0 20px; }
  .about__title { font-size: 40px; line-height: 1.2; }
  .about__text { font-size: 18px; }
  .about__stats { padding: 30px 20px; gap: 24px; }
  .delivery { padding: 40px 20px; }
  .delivery__title { font-size: 40px; line-height: 1.2; margin-bottom: 24px; }
  .delivery__grid { flex-direction: column; }
  .delivery__left, .delivery__right { flex: none; width: 100%; }
  .delivery__card { padding: 24px; }
  .delivery__card h3 { font-size: 34px; }
  .delivery__photo { min-height: 220px; }
  .delivery__payment-header { min-height: 160px; }
  .reviews { padding: 40px 20px; }
  .reviews__title { font-size: 40px; line-height: 1.2; margin-bottom: 30px; }
  .faq { padding: 40px 20px; }
  .faq__title { font-size: 40px; line-height: 1.2; margin-bottom: 30px; }
  .faq__grid { flex-direction: column; gap: 30px; }
  .footer { padding: 24px 16px; }
  .footer__top { flex-direction: column; gap: 30px; }
  .uslugi-band__title h1 { font-size: 40px; line-height: 1.2; }
  .uslugi-band__title p { font-size: 16px; }
  .mainnav__list, .mainnav__buttons, .mainnav--dark .mainnav__buttons { display: none; }
  .burger { display: flex; position: relative; z-index: 2; }
  .burger span { transition: transform .2s ease, opacity .2s ease; }

  /* Мобильное меню: бургер разворачивает список пунктов и кнопки в выпадающую панель. */
  .mainnav.is-open {
    background: var(--color-dark);
    border-radius: 16px;
    padding-bottom: 20px;
  }
  .mainnav.is-open .mainnav__list,
  .mainnav.is-open .mainnav__buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px;
  }
  .mainnav.is-open .mainnav__list { order: 3; padding-top: 4px; }
  .mainnav.is-open .mainnav__buttons { order: 4; }
  .mainnav.is-open .mainnav__list a { color: #fff; font-size: 18px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .mainnav.is-open .mainnav__list li:last-child a { border-bottom: none; }
  .mainnav.is-open .mainnav__buttons .btn--dark { background: transparent; border: 1px solid #fff; }
  .mainnav.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mainnav.is-open .burger span:nth-child(2) { opacity: 0; }
  .mainnav.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tovar { padding: 30px 20px; }
  .tovar__gallery { flex-direction: column-reverse; gap: 24px; }
  .tovar__thumbs { flex-direction: row; overflow-x: auto; width: 100%; }
  .tovar__main-img { height: 320px; width: 100%; }
  .hero__title { font-size: 44px; }
  .hero__buttons { flex-direction: column; }
  .btn--hero { width: 100%; }
  .hero__thumbs { flex-wrap: wrap; }
  .hero__thumb { width: calc(33.333% - 11px); height: 80px; }
  .stats { padding: 30px 20px; }
  .stats__inner { gap: 24px; }
  .stats__item { flex: 1 1 45%; gap: 16px; }
}

@media (max-width: 640px) {
  .advantages__grid { grid-template-columns: 1fr; }
  .advcard { height: 340px; }
  .advantages__title { font-size: 30px; }
  .categories__grid { grid-template-columns: 1fr; }
  .categories__title { font-size: 30px; }
  .catcard__media { height: 300px; }
  .btn--big { width: 100%; }
  .cta1 { padding: 40px 16px; }
  .cta1__inner h2 { font-size: 28px; }
  .cta1__inner > p { font-size: 16px; }
  .cta1__form, .cta1__inner { width: 100%; }
  .cta1__form { padding: 24px 16px; }
  .services__grid { grid-template-columns: 1fr; }
  .services__title { font-size: 28px; }
  .services__subtitle { font-size: 16px; }
  .svccard__tags span { font-size: 15px; padding: 8px 12px; }
  .about__title { font-size: 28px; }
  .about__text { font-size: 16px; }
  .stats__item { flex: 1 1 100%; }
  .stats__text strong { font-size: 28px; }
  .header__inner { padding: 16px 12px 0; }
  .topbar { border-radius: 10px; }
  .topbar__logo-text { font-size: 13px; }
  .topbar__address-text { display: none; }
  .topbar__address-icon { display: none; }
  .topbar__phone-numbers { font-size: 13px; }
  .btn--topbar { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 24px 12px 50px; }
  .hero__title { font-size: 32px; }
  .hero__badge { font-size: 14px; padding: 8px 14px; margin-bottom: 20px; }
  .hero__list li { font-size: 15px; }
  .hero__features { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__features i { display: none; }
  .hero__main-img { height: 260px; }
  .hero__thumb { width: calc(50% - 8px); height: 70px; }
  .usluga-hero__title { font-size: 32px; }
  .usluga-hero__breadcrumbs { font-size: 14px; padding: 8px 14px; }
  .usluga-hero__features { flex-direction: column; align-items: flex-start; gap: 10px; }
  .usluga-hero__features i { display: none; }
  .kontakty-hero__title { font-size: 32px; }
  .kontakty-hero__subtitle { font-size: 15px; }
  .catalog-hero__title { font-size: 32px; }
  .catalog-hero__desc { font-size: 15px; }
  .catalog-hero__chips span { font-size: 15px; padding: 8px; }
  .products__grid { grid-template-columns: 1fr; }
  .tovar__info h1 { font-size: 28px; }
  .footer__brand { text-align: center; }
  .footer__logo { margin: 0 auto; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===================== HOVER / MICROANIMATIONS ===================== */
.productcard, .catcard, .advcard, .svccard, .reviewcard, .delivery__card, .faq__item,
.hits-card, .kontakty-info__card, .kontakty-info__map {
  transition: transform .25s ease, box-shadow .25s ease;
}
.productcard:hover, .reviewcard:hover, .delivery__card:hover, .faq__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(28,36,48,.08);
}
.catcard:hover .catcard__media, .advcard:hover, .svccard:hover {
  transform: translateY(-4px) scale(1.015);
}
.catcard__media { transition: transform .3s ease; }
.advcard, .svccard { transition: transform .3s ease, box-shadow .3s ease; }
.advcard:hover, .svccard:hover { box-shadow: 0 20px 40px rgba(0,0,0,.22); }
.catcard__media img, .productcard__img { transition: transform .35s ease; }
.catcard:hover .catcard__media img { transform: scale(1.06); }
.productcard:hover .productcard__img { transform: scale(1.04); }

.mainnav__list a, .footer a, .kontakty-info__col a {
  transition: color .2s ease, opacity .2s ease;
}
.mainnav__list a:hover { opacity: .8; }
.footer a:hover { color: var(--color-accent); opacity: 1; }

.hero__thumb, .tovar__thumb { transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.hero__thumb:hover, .tovar__thumb:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.15); }
.hero__arrow, .tovar__thumb.is-active { transition: opacity .2s ease, transform .2s ease; }
.hero__arrow { cursor: pointer; opacity: .85; }
.hero__arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.08); }
.hero__dots i { transition: background .2s ease, transform .2s ease; cursor: pointer; }
.hero__dots i:hover { transform: scale(1.15); }

.tovar__main-img { cursor: zoom-in; overflow: hidden; }
.tovar__main-img img { transition: transform .3s ease; }
.tovar__main-img:hover img { transform: scale(1.03); }

/* ===================== SCROLL-REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== ЛАЙТБОКС (фото товара крупным планом) ===================== */
.ds-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(15, 20, 26, .92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; transition: opacity .25s ease;
}
.ds-lightbox.is-open { display: flex; }
.ds-lightbox.is-visible { opacity: 1; }
.ds-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.ds-lightbox__close, .ds-lightbox__arrow {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 22px;
  transition: background .2s ease, transform .2s ease;
}
.ds-lightbox__close:hover, .ds-lightbox__arrow:hover { background: rgba(255,255,255,.24); }
.ds-lightbox__close { top: 24px; right: 24px; }
.ds-lightbox__arrow { top: 50%; transform: translateY(-50%); }
.ds-lightbox__arrow:hover { transform: translateY(-50%) scale(1.06); }
.ds-lightbox__arrow--prev { left: 24px; }
.ds-lightbox__arrow--next { right: 24px; }
.ds-lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .8; }
@media (max-width: 640px) {
  .ds-lightbox { padding: 16px; }
  .ds-lightbox__close, .ds-lightbox__arrow { width: 40px; height: 40px; font-size: 18px; }
  .ds-lightbox__close { top: 12px; right: 12px; }
  .ds-lightbox__arrow--prev { left: 8px; }
  .ds-lightbox__arrow--next { right: 8px; }
}

/* ===================== COOKIE-БАННЕР ===================== */
.ds-cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 9999;
  max-width: 620px; margin: 0 auto;
  background: var(--color-dark); color: #fff;
  border-radius: 14px; padding: 20px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 20px 48px rgba(0,0,0,.28);
  transform: translateY(140%); transition: transform .4s ease;
}
.ds-cookie.is-visible { transform: translateY(0); }
.ds-cookie p { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 260px; }
.ds-cookie a { text-decoration: underline; color: #fff; }
.ds-cookie button { flex-shrink: 0; }
@media (max-width: 480px) {
  .ds-cookie { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
}

/* ===================== СООБЩЕНИЕ ОБ ОТПРАВКЕ ФОРМЫ ===================== */
.ds-form-success {
  display: none; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 20px 0;
}
.ds-form-success.is-visible { display: flex; }
.ds-form-success svg { color: var(--color-accent); }
form.ds-submitted > *:not(.ds-form-success) { display: none; }
