/* =========================================================
   ARCHITECTURAL GLAZING — global stylesheet
   Architecture: BEM, mobile-first responsive
   Single global CSS file (WordPress-ready)
   ========================================================= */

/* ---------- FONTS (локальные, @font-face) ---------- */
@font-face {
  font-family: "Manrope";
  src:
    url("../fonts/Manrope-Cyrillic.woff2") format("woff2"),
    url("../fonts/Manrope-Latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS VARIABLES ---------- */
:root {
  /* colors */
  --color-bg: #0e1116;
  --color-dark: #0a0a0c;
  --color-white: #ffffff;
  --color-gold: #b89263;
  --color-gold-hover: #c49b67;
  --color-text: rgba(255, 255, 255, 0.9);
  --color-text-muted: rgba(255, 255, 255, 0.8);
  --color-border: rgba(255, 255, 255, 0.12);

  /* glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-soft: rgba(255, 255, 255, 0.15);

  /* typography */
  --font-base:
    "Manrope", "Inter", "SF Pro Display", -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;

  /* container */
  --container-max: 1320px;
  --container-pad: 40px;

  /* header */
  --header-height: 82px;

  /* radius */
  --radius-sm: 4px;
  --radius-card: 8px;

  /* transitions */
  --transition: 0.3s ease;
}

/* ---------- RESET / BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color var(--transition),
    opacity var(--transition),
    background-color var(--transition);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---------- BUTTONS (shared) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-white);
  width: 150px;
  height: 48px;
}

.btn--gold:hover {
  background: var(--color-gold-hover);
}

.btn--gold:active {
  transform: scale(0.98);
}

/* large primary hero button */
.btn--lg {
  width: 170px;
  height: 54px;
  font-size: 16px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-white);
  isolation: isolate;
}

/* Background image — full-screen cover */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.08);
  animation: hero-zoom 14s ease-out forwards;
  opacity: 1;
  transition: opacity 0.36s ease;
}

.hero__bg.is-changing {
  opacity: 0;
}

/* заглушка-фон, если фото не загрузилось */
.hero__bg.is-missing {
  animation: none;
  transform: none;
  background:
    radial-gradient(
      120% 80% at 80% 20%,
      rgba(184, 146, 99, 0.22),
      transparent 60%
    ),
    linear-gradient(135deg, #1a2029 0%, #0e1116 55%, #05070a 100%);
}

/* Dark overlay — затемняет левую часть, сохраняет детали справа */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 12, 0.78) 0%,
    rgba(10, 10, 12, 0.6) 35%,
    rgba(10, 10, 12, 0.25) 70%,
    rgba(10, 10, 12, 0.15) 100%
  );
}

/* ---------- HEADER ---------- */
.header {
  position: relative;
  z-index: 20;
  width: 100%;
  height: var(--header-height);
  background: rgba(20, 22, 26, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(-20px);
  animation: fade-down 0.6s ease forwards;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-white);
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  width: 55px;
  height: 55px;
  object-fit: contain;
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  opacity: 0.85;
  line-height: 1;
  padding: 6px 0;
  transition: opacity var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  opacity: 1;
}

.nav__item.current-menu-item > .nav__link,
.nav__link[aria-current="page"] {
  opacity: 1;
  position: relative;
}

.nav__item.current-menu-item > .nav__link::after,
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* WP submenu support */
.nav__item.menu-item-has-children {
  position: relative;
}

.nav__item .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 10px 0;
  display: none;
  flex-direction: column;
  z-index: 30;
}

.nav__item.menu-item-has-children:hover .sub-menu,
.nav__item.menu-item-has-children:focus-within .sub-menu {
  display: flex;
}

.nav__item .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-white);
  font-size: 14px;
  opacity: 0.85;
}

.nav__item .sub-menu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

/* Right group */
.header__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.header__phone {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
}

.header__phone:hover {
  opacity: 0.85;
}

/* Burger (hidden on desktop) */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color var(--transition);
}

.burger:hover {
  background: rgba(255, 255, 255, 0.14);
}

.burger__icon {
  width: 24px;
  height: 24px;
}

.burger__icon--close {
  display: none;
}

.burger[aria-expanded="true"] .burger__icon--open {
  display: none;
}

.burger[aria-expanded="true"] .burger__icon--close {
  display: block;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 40;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px var(--container-pad) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity var(--transition),
    transform var(--transition);
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity var(--transition);
}

.mobile-menu__link:hover {
  opacity: 0.75;
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu__phone {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-white);
}

.mobile-menu__cta {
  width: 100%;
}

/* ---------- HERO INNER LAYOUT ---------- */
.hero__container {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
  padding-block: 60px;
}

/* ---------- HERO CONTENT (left) ---------- */
.hero__content {
  max-width: 600px;
}

.hero__label {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 26px;
  opacity: 0;
  transform: translateX(-40px);
  animation: fade-right 0.8s ease 0.1s forwards;
}

.hero__title {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-white);
  max-width: 560px;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateX(-40px);
  animation: fade-right 0.8s ease 0.1s forwards;
}

.hero__desc {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-top: 40px;
  opacity: 0;
  transform: translateX(-40px);
  animation: fade-right 0.8s ease 0.3s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateX(-40px);
  animation: fade-right 0.8s ease 0.45s forwards;
}

.hero__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.35);
}

/* Secondary link */
.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  position: relative;
}

.hero__link-text {
  position: relative;
}

.hero__link-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.hero__link:hover .hero__link-text::after,
.hero__link:focus-visible .hero__link-text::after {
  transform: scaleX(1);
}

.hero__link-arrow {
  transition: transform var(--transition);
}

.hero__link:hover .hero__link-arrow {
  transform: translateX(4px);
}

/* ---------- STATISTICS GLASS CARD (right) ---------- */
.stats-card {
  width: 370px;
  min-height: 510px;
  padding: 40px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateX(60px);
  animation: fade-left 1s ease 0.5s forwards;
}

.stats-card__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.stats-card__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-card__num {
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.stats-card__label {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- SLIDER NAVIGATION ---------- */
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-bottom: 40px;
}

.slider-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.slider-nav__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.slider-nav__btn:active {
  transform: scale(0.95);
}

.slider-nav__icon {
  width: 22px;
  height: 22px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-right {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-left {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  .header,
  .hero__label,
  .hero__title,
  .hero__desc,
  .hero__actions,
  .stats-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about {
  background: #ffffff;
  color: #1a1a1a;
  min-height: 760px;
  padding: 120px 0;
  overflow: hidden;
}

.about__container {
  max-width: none;
  padding: 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 60px;
}

/* --- Left: image — edge-to-edge left --- */
.about__media {
  position: relative;
}

.about__img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 0;
}

/* заглушка, если нет фото */
.about__img.is-missing {
  background: linear-gradient(135deg, #e8e0d4 0%, #c5bdb1 50%, #a9c76f 100%);
}

/* --- Right: content --- */
.about__content {
  max-width: 560px;
  padding-right: 40px;
}

.about__label {
  font-size: 14px;
  font-weight: 400;
  color: #7f7f7f;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.about__title {
  font-size: 54px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
  max-width: 520px;
  margin-bottom: 48px;
}

/* --- Glass content card --- */
.glass-card {
  position: relative;
  width: 560px;
  min-height: 360px;
  padding: 50px;
  margin-left: -80px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

/* Decorative blur element */
.glass-card__decor {
  position: absolute;
  left: -25px;
  top: 70px;
  width: 80px;
  height: 180px;
  background: linear-gradient(180deg, #a9c76f, #8aa057);
  filter: blur(14px);
  opacity: 0;
  border-radius: 40px;
  pointer-events: none;
  z-index: 0;
}

.glass-card__body {
  position: relative;
  z-index: 1;
}

.glass-card__desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #666666;
  max-width: 430px;
  margin-bottom: 24px;
}

.glass-card__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

.glass-card__item {
  font-size: 17px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 8px;
}

.glass-card__item:last-child {
  margin-bottom: 0;
}

.glass-card__note {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 36px;
}

.glass-card__btn {
  width: 170px;
  height: 52px;
}

.glass-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.3);
}

/* --- Reveal animation states (before IntersectionObserver triggers) --- */
.js [data-reveal] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-timing-function: ease;
}

.js [data-reveal="image"] {
  transform: translateX(-40px);
  transition-duration: 0.8s;
}

.js [data-reveal="title"] {
  transform: translateY(20px);
  transition-duration: 0.6s;
}

.js [data-reveal="card"] {
  transform: translateX(50px);
  transition-duration: 0.9s;
}

.js [data-reveal="decor"] {
  transition-duration: 1.2s;
}

.js [data-reveal="product"] {
  transform: translateY(30px);
  transition-duration: 0.6s;
}

/* Revealed state */
[data-reveal].is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

[data-reveal="decor"].is-revealed {
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-reveal="decor"] {
    opacity: 0.6;
  }
}

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products {
  background: #ffffff;
  color: #1a1a1a;
  padding: 120px 0;
}

.products__label {
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.products__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 60px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* --- Product card --- */
.product-card {
  position: relative;
  display: block;
  height: 165px;
  overflow: hidden;
  border-radius: 0;
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* заглушка, если нет фото */
.product-card__img[src=""],
.product-card__img:not([src]) {
  background: linear-gradient(135deg, #e0dcd5, #c8c2b8);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 20%,
    rgba(0, 0, 0, 0.55) 100%
  );
  transition: background 0.35s ease;
  z-index: 1;
}

.product-card__name {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  max-width: 85%;
  transition: transform 0.35s ease;
}

/* Hover */
.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card:hover .product-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 20%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

.product-card:hover .product-card__name {
  transform: translateY(-4px);
}

/* --- Footer / CTA --- */
.products__footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.products__btn {
  width: 170px;
  height: 50px;
  font-size: 15px;
  font-weight: 500;
}

.products__btn:hover {
  background: #c69b68;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.28);
}

/* =========================================================
   SHOWCASE (ADVANTAGES + PROJECTS)
   ========================================================= */
.showcase {
  background: #ffffff;
  color: #1a1a1a;
}

.showcase__container {
  padding-block: 120px;
}

/* ---------- shared slider arrows ---------- */
.slider-arrows {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.slider-arrows--start {
  justify-content: flex-start;
}

.slider-arrows--center {
  justify-content: center;
}

.slider-arrows__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cfcfcf;
  color: #1a1a1a;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.slider-arrows__btn svg {
  width: 20px;
  height: 20px;
}

.slider-arrows__btn:hover {
  background: #b89263;
  border-color: #b89263;
  color: #ffffff;
}

.slider-arrows__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.slider-arrows__btn:disabled:hover {
  background: #ffffff;
  border-color: #cfcfcf;
  color: #1a1a1a;
}

/* ---------- generic slider viewport ---------- */
[data-slider] {
  overflow: hidden;
}

[data-slider-track] {
  display: flex;
  gap: 18px;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* =========================================================
   ADVANTAGES
   ========================================================= */
.advantages {
  position: relative;
}

.advantages__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  background-image: var(--bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.advantages__head {
  position: relative;
  z-index: 1;
}

.advantages__label {
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.advantages__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 70px;
}

.advantages__slider {
  position: relative;
  z-index: 1;
}

.adv-card {
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  min-height: 180px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.adv-card__num {
  display: block;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  color: #b89263;
  margin-bottom: 18px;
}

.adv-card__icon {
  position: absolute;
  top: 30px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d4b08a;
  color: #b89263;
  transition: transform var(--transition);
}

.adv-card__icon svg {
  width: 14px;
  height: 14px;
}

.adv-card:hover .adv-card__icon {
  transform: rotate(45deg);
}

.adv-card__title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  color: #222222;
  margin-bottom: 14px;
}

.adv-card__desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: #777777;
}

/* =========================================================
   PROJECTS (showcase)
   ========================================================= */
.projects {
  margin-top: 120px;
}

.projects__label {
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.projects__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 60px;
}

.project-card {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  z-index: 1;
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
}

.project-card:hover .project-card__overlay {
  background: rgba(0, 0, 0, 0.12);
}

.project-card__tags {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.project-card__tag {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
}

.projects__footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.projects__btn {
  width: 190px;
  height: 52px;
  font-size: 15px;
  font-weight: 500;
}

.projects__btn:hover {
  background: #c69b68;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.3);
}

/* =========================================================
   OFFERS SECTION (Акции и скидки) — dark premium
   ========================================================= */
.offers {
  position: relative;
  background: #1b222c;
  color: var(--color-white);
  overflow: hidden;
}

.offers__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.offers[data-hero-zoom].is-revealed .offers__bg {
  animation: offers-zoom 11s ease-out forwards;
}

.offers__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 48, 0.86),
    rgba(16, 30, 60, 0.92)
  );
}

.offers__container {
  position: relative;
  z-index: 2;
  padding-block: 120px;
}

/* Header */
.offers__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
}

.offers__label {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.offers__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-white);
}

.offers__desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 430px;
  justify-self: end;
}

/* Grid */
.offers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Offer card — glassmorphism */
.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.offer-card__media {
  position: relative;
  height: 240px;
  margin: -24px -24px 24px;
  overflow: hidden;
}

.offer-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.offer-card:hover .offer-card__img {
  transform: scale(1.05);
}

.offer-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-card__meta {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.offer-card__title {
  font-size: 46px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 16px;
}

.offer-card__text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

@keyframes offers-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

/* =========================================================
   WORKFLOW SECTION (Этапы работы) — light
   ========================================================= */
.workflow {
  background: #ffffff;
  color: #1a1a1a;
  overflow: hidden;
}

.workflow__container {
  padding-block: 120px;
}

.workflow__label {
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.workflow__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 60px;
}

/* Stage: photo (right) + glass panel overlapping */
.workflow__stage {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 500px;
  margin-bottom: 60px;
}

/* Photo stretches to the right viewport edge (beyond container) */
.workflow__media {
  width: 620px;
  max-width: none;
  height: 500px;
  margin-right: calc(50% - 50vw);
}

.workflow__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* Glass panel — overlaps photo & extends left */
.workflow__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  min-height: 160px;
  padding: 40px 48px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.workflow__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.workflow-step {
  position: relative;
  padding-top: 22px;
}

.workflow-step__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.workflow-step__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: #222222;
  margin-bottom: 12px;
}

.workflow-step__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #777777;
}

/* CTA */
.workflow__footer {
  display: flex;
  justify-content: flex-start;
}

.workflow__btn {
  width: 180px;
  height: 52px;
  font-size: 15px;
  font-weight: 500;
}

.workflow__btn:hover {
  background: #c69b68;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.3);
}

/* Reveal tuning for panel (from right) */
.workflow__panel[data-reveal="card"] {
  transform: translate(40px, -50%);
}

.workflow__panel[data-reveal="card"].is-revealed {
  transform: translate(0, -50%);
}

/* =========================================================
   NEWS + REGIONS SECTION — light
   ========================================================= */
.news-regions {
  background: #ffffff;
  color: #1a1a1a;
}

.news-regions__container {
  padding-block: 120px;
}

/* ---------- NEWS ---------- */
.news__label {
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.news__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 60px;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.news-card__link {
  display: block;
  color: inherit;
}

.news-card__media {
  height: 260px;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.04);
}

.news-card__title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  color: #222222;
  margin-top: 24px;
}

.news-card__text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #777777;
  margin-top: 18px;
}

.news-card__date {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #8a8a8a;
  margin-top: 26px;
}

.news__footer {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.news__btn {
  width: 180px;
  height: 52px;
  font-size: 15px;
  font-weight: 500;
}

.news__btn:hover {
  background: #c69b68;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.3);
}

/* ---------- REGIONS ---------- */
.regions {
  position: relative;
  margin-top: 140px;
}

.regions__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.06) 0 1px,
    transparent 1px 60px
  );
}

.regions__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.regions__content {
  max-width: 560px;
}

.regions__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 42px;
}

.regions__desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #666666;
}

.regions__intro {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #222222;
  margin-top: 24px;
}

.regions__lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.regions__col-title {
  font-size: 18px;
  font-weight: 500;
  color: #b89263;
  margin-bottom: 16px;
}

.regions__list {
  list-style: disc;
  padding-left: 20px;
}

.regions__list li {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #555555;
}

.regions__media {
  height: 560px;
}

.regions__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #1b222c;
  color: rgba(255, 255, 255, 0.85);
  padding-block: 70px 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
}

/* --- Col 1: brand --- */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__cta-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 28px;
}

.footer__cta-btn {
  width: auto;
  height: 52px;
  padding-inline: 32px;
  margin-bottom: 70px;
}

.footer__cta-btn:hover {
  background: #c69b68;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.3);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.footer__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--color-white);
}

.footer__copy {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  margin-top: auto;
}

/* --- Headings --- */
.footer__heading {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 28px;
}

.footer__heading--legal {
  margin-top: 56px;
}

/* --- Blocks / text --- */
.footer__block {
  margin-bottom: 24px;
}

.footer__block:last-child {
  margin-bottom: 0;
}

.footer__label-sm {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.footer__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Links --- */
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__link {
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__block .footer__link {
  margin-bottom: 6px;
}

.footer__block .footer__link:last-child {
  margin-bottom: 0;
}

/* =========================================================
   RESPONSIVE
   Breakpoints: 1440, 1280, 768, 390, 375
   ========================================================= */

/* Laptop ≤1439px */
@media (max-width: 1439px) {
  .hero__title {
    font-size: 48px;
  }

  .stats-card {
    width: 320px;
    min-height: 460px;
    padding: 34px;
  }

  .stats-card__list {
    gap: 40px;
  }

  .stats-card__num {
    font-size: 60px;
  }

  .stats-card__label {
    font-size: 20px;
  }

  /* About */
  .about__title {
    font-size: 46px;
  }

  .glass-card {
    width: 500px;
    padding: 40px;
  }

  /* Products */
  .product-card {
    height: 150px;
  }

  /* Showcase */
  .adv-card {
    flex-basis: 240px;
    width: 240px;
  }

  .project-card {
    flex-basis: 280px;
    width: 280px;
    height: 400px;
  }

  /* Offers / Workflow */
  .offers__title,
  .workflow__title {
    font-size: 46px;
  }

  .offer-card {
    min-height: 440px;
  }

  .offer-card__title {
    font-size: 42px;
  }

  .workflow__media {
    width: 560px;
  }

  .workflow__panel {
    padding: 32px 36px;
  }

  .workflow__steps {
    gap: 24px;
  }

  .workflow-step__title {
    font-size: 22px;
  }
}

/* ≤1280px */
@media (max-width: 1280px) {
  :root {
    --container-pad: 32px;
  }

  .nav__list {
    gap: 22px;
  }

  .header__actions {
    gap: 22px;
  }

  .hero__grid {
    gap: 40px;
  }

  .hero__desc {
    font-size: 24px;
  }
}

/* Tablet ≤1023px — burger, card под текстом */
@media (max-width: 1023px) {
  .nav {
    display: none;
  }

  .header__cta,
  .header__phone {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 48px;
    padding-block: 48px 40px;
  }

  .hero__content {
    max-width: 640px;
  }

  .stats-card {
    width: 100%;
    max-width: 420px;
    min-height: auto;
  }

  .stats-card__list {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
  }

  .stats-card__item {
    flex: 1 1 auto;
  }

  /* About */
  .about {
    padding: 80px 0;
    min-height: auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__content {
    padding-inline: 32px;
  }

  .about__img {
    height: 400px;
  }

  .glass-card {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .about__title {
    font-size: 40px;
  }

  /* Products tablet */
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    height: 200px;
  }

  .products__title {
    font-size: 42px;
  }

  .products {
    padding: 80px 0;
  }

  /* Showcase tablet */
  .showcase__container {
    padding-block: 80px;
  }

  .advantages__title,
  .projects__title {
    font-size: 42px;
  }

  .adv-card {
    flex-basis: calc((100% - 18px) / 2);
    width: auto;
  }

  .project-card {
    flex-basis: calc((100% - 18px) / 2);
    width: auto;
  }

  .projects {
    margin-top: 90px;
  }

  /* Offers tablet — 2 columns */
  .offers__container {
    padding-block: 80px;
  }

  .offers__head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .offers__desc {
    justify-self: start;
  }

  .offers__title,
  .workflow__title {
    font-size: 40px;
  }

  .offers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-card {
    min-height: 420px;
  }

  /* Workflow tablet — panel below photo, steps 2-3 cols */
  .workflow__container {
    padding-block: 80px;
  }

  .workflow__stage {
    display: block;
    min-height: auto;
    margin-bottom: 48px;
  }

  .workflow__media {
    width: 100%;
    height: 380px;
  }

  .workflow__panel {
    position: relative;
    top: auto;
    transform: none;
    margin-top: -40px;
    width: auto;
    margin-inline: 20px;
  }

  .workflow__panel[data-reveal="card"] {
    transform: translateX(40px);
  }

  .workflow__panel[data-reveal="card"].is-revealed {
    transform: translateX(0);
  }

  .workflow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  /* News + Regions tablet */
  .news-regions__container {
    padding-block: 80px;
  }

  .news__title,
  .regions__title {
    font-size: 40px;
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card__title {
    font-size: 26px;
  }

  .regions {
    margin-top: 100px;
  }

  .regions__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .regions__content {
    max-width: none;
  }

  .regions__lists {
    grid-template-columns: repeat(2, 1fr);
  }

  .regions__media {
    height: 420px;
    order: 2;
  }

  /* Footer tablet — 2 columns */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }

  .footer__cta-btn {
    margin-bottom: 48px;
  }

  .footer__logo {
    margin-bottom: 24px;
  }

  .footer__copy {
    margin-top: 24px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --container-pad: 20px;
  }

  .mobile-menu {
    inset: var(--header-height) 0 0 0;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__desc {
    font-size: 20px;
    margin-top: 28px;
  }

  .hero__label {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero__actions {
    gap: 20px;
    margin-top: 32px;
  }

  .btn--lg,
  .hero__btn-primary {
    width: 100%;
    max-width: 320px;
  }

  .hero__actions .hero__link {
    width: 100%;
  }

  .stats-card {
    padding: 28px;
  }

  .stats-card__num {
    font-size: 48px;
  }

  .stats-card__label {
    font-size: 16px;
  }

  .slider-nav {
    justify-content: flex-start;
    padding-bottom: 32px;
  }

  /* About mobile */
  .about {
    padding: 60px 0;
  }

  .about__title {
    font-size: 34px;
    margin-bottom: 32px;
  }

  .about__img {
    height: 280px;
  }

  .glass-card {
    padding: 28px;
    min-height: auto;
  }

  .glass-card__btn {
    width: 100%;
  }

  .glass-card__decor {
    display: none;
  }

  /* Products mobile */
  .products {
    padding: 60px 0;
  }

  .products__title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    height: 230px;
  }

  .product-card__name {
    font-size: 18px;
  }

  .products__btn {
    width: 100%;
  }

  /* Showcase mobile */
  .showcase__container {
    padding-block: 60px;
  }

  .advantages__title,
  .projects__title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .advantages__title {
    margin-bottom: 48px;
  }

  .adv-card {
    flex-basis: 100%;
    width: 100%;
  }

  .project-card {
    flex-basis: 100%;
    width: 100%;
    height: 380px;
  }

  .projects {
    margin-top: 70px;
  }

  .slider-arrows {
    justify-content: center;
  }

  .slider-arrows__btn {
    flex: 1;
    border-radius: var(--radius-sm);
    max-width: 50%;
  }

  .projects__btn {
    width: 100%;
  }

  /* Offers mobile — 1 column */
  .offers__container {
    padding-block: 60px;
  }

  .offers__title,
  .workflow__title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .offers__head {
    margin-bottom: 40px;
  }

  .offers__title {
    margin-bottom: 0;
  }

  .offers__grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: auto;
  }

  .offer-card__title {
    font-size: 38px;
  }

  /* Workflow mobile — photo above vertical panel */
  .workflow__container {
    padding-block: 60px;
  }

  .workflow__media {
    height: 300px;
  }

  .workflow__panel {
    margin-top: -30px;
    margin-inline: 12px;
    padding: 28px 24px;
  }

  .workflow__steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .workflow__footer {
    justify-content: stretch;
  }

  .workflow__btn {
    width: 100%;
  }

  /* News + Regions mobile */
  .news-regions__container {
    padding-block: 60px;
  }

  .news__title,
  .regions__title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .news-card__media {
    height: 220px;
  }

  .news-card__title {
    font-size: 24px;
  }

  .news__btn {
    width: 100%;
  }

  .regions {
    margin-top: 70px;
  }

  .regions__title {
    margin-bottom: 32px;
  }

  .regions__lists {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .regions__media {
    height: 320px;
  }

  /* Footer mobile — 1 column */
  .footer {
    padding-block: 50px 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__col--brand {
    grid-column: auto;
  }

  .footer__cta-text {
    font-size: 17px;
  }

  .footer__cta-btn {
    width: 100%;
    margin-bottom: 36px;
  }

  .footer__heading--legal {
    margin-top: 40px;
  }

  .footer__copy {
    margin-top: 8px;
  }
}

/* ≤390px */
@media (max-width: 390px) {
  .hero__title {
    font-size: 34px;
  }

  .logo__img {
    width: 48px;
    height: 48px;
  }

  .stats-card__list {
    flex-direction: column;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ≤375px */
@media (max-width: 375px) {
  :root {
    --container-pad: 16px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__desc {
    font-size: 18px;
  }

  .stats-card__num {
    font-size: 44px;
  }
}

/* =========================================================
   ============ CATALOG PAGE (catalog.html) ================
   Page hero + breadcrumbs + catalog grid + consult CTA
   ========================================================= */

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   PAGE HERO (внутренние страницы)
   ========================================================= */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-white);
  isolation: isolate;
  min-height: 560px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero__bg.is-missing {
  background:
    radial-gradient(
      120% 80% at 80% 20%,
      rgba(184, 146, 99, 0.22),
      transparent 60%
    ),
    linear-gradient(135deg, #1a2029 0%, #0e1116 55%, #05070a 100%);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 12, 0.72) 0%,
    rgba(10, 10, 12, 0.55) 45%,
    rgba(10, 10, 12, 0.35) 100%
  );
}

.page-hero__container {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-block: 40px 80px;
  gap: 32px;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-top: 8px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cfc2ad;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumbs__link {
  color: #cfc2ad;
  transition: color var(--transition);
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: var(--color-gold);
}

.breadcrumbs__item--current {
  color: var(--color-white);
  opacity: 0.9;
}

/* Content */
.page-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.page-hero__title {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.page-hero__desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 36px;
}

.page-hero__btn {
  width: 220px;
  height: 54px;
}

.page-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.35);
}

/* =========================================================
   CATALOG SECTION
   ========================================================= */
.catalog {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ---------- Sidebar filter ---------- */
.catalog-filter {
  position: sticky;
  top: 24px;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #ffffff;
}

.catalog-filter__list {
  display: flex;
  flex-direction: column;
}

.catalog-filter__item + .catalog-filter__item {
  border-top: 1px solid #ececec;
}

.catalog-filter__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  min-height: 54px;
  font-size: 15px;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 1.3;
  transition:
    background-color var(--transition),
    color var(--transition);
}

.catalog-filter__link:hover,
.catalog-filter__link:focus-visible {
  background: #f7f4ef;
  color: #1a1a1a;
}

.catalog-filter__count {
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 400;
  flex-shrink: 0;
}

/* Active category — gold row */
.catalog-filter__item--active .catalog-filter__link,
.catalog-filter__item.current-menu-item > .catalog-filter__link,
.catalog-filter__link[aria-current="page"] {
  background: var(--color-gold);
  color: var(--color-white);
  font-weight: 500;
}

.catalog-filter__item--active .catalog-filter__link:hover,
.catalog-filter__item.current-menu-item > .catalog-filter__link:hover,
.catalog-filter__link[aria-current="page"]:hover {
  background: var(--color-gold-hover);
  color: var(--color-white);
}

.catalog-filter__item--active .catalog-filter__count,
.catalog-filter__item.current-menu-item
  > .catalog-filter__link
  .catalog-filter__count,
.catalog-filter__link[aria-current="page"] .catalog-filter__count {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Products grid ---------- */
.catalog__grid-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Карточки на этой странице должны быть выше, чем на index */
.catalog__grid-items .product-card {
  height: 240px;
  border-radius: var(--radius-card);
}

.catalog__grid-items .product-card__name {
  font-size: 20px;
  line-height: 1.25;
  left: 22px;
  bottom: 20px;
  max-width: 85%;
}

/* =========================================================
   CONSULT CTA SECTION — карточка-баннер внутри контейнера
   ========================================================= */
.consult {
  background: #ffffff;
  color: var(--color-white);
  padding-block: 40px 100px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.consult__container {
  /* контейнер уже ограничен 1320px, паддинги 40px = ~1400px по внешним краям */
  padding-inline: var(--container-pad);
}

/* Карточка-баннер */
.consult__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  isolation: isolate;
  background: #1b222c;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.consult__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: -2;
}

.consult__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 22, 0.92) 0%,
    rgba(10, 14, 22, 0.75) 45%,
    rgba(10, 14, 22, 0.35) 100%
  );
}

.consult__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  min-height: 220px;
  padding: 60px 60px;
}

/* Left */
.consult__content {
  max-width: 560px;
}

.consult__label {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-gold);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.consult__title {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 18px;
}

.consult__desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  margin-bottom: 28px;
}

.consult__btn {
  width: 220px;
  height: 54px;
}

.consult__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.35);
}

/* Right — contacts */
.consult__contacts {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: center;
  justify-self: start;
}

.consult-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.consult-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  flex-shrink: 0;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.consult-contact__icon svg {
  width: 26px;
  height: 26px;
}

.consult-contact:hover .consult-contact__icon {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.consult-contact__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.consult-contact__label {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.consult-contact__value {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.2;
  transition: color var(--transition);
}

.consult-contact__value:hover,
.consult-contact__value:focus-visible {
  color: var(--color-gold);
}

/* =========================================================
   CATALOG PAGE — RESPONSIVE
   Breakpoints: 1440 / 1280 / 1024 / 768 / 390 / 375
   ========================================================= */

/* ≤1440px */
@media (max-width: 1440px) {
  .page-hero__title {
    font-size: 58px;
  }
}

/* ≤1280px */
@media (max-width: 1280px) {
  .page-hero {
    min-height: 520px;
  }

  .page-hero__title {
    font-size: 52px;
  }

  .catalog__grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
  }

  .catalog__grid-items .product-card {
    height: 220px;
  }

  .consult__title {
    font-size: 34px;
  }

  .consult-contact__value {
    font-size: 20px;
  }
}

/* ≤1023px (tablet) */
@media (max-width: 1023px) {
  .page-hero {
    min-height: 460px;
  }

  .page-hero__container {
    padding-block: 32px 60px;
  }

  .page-hero__title {
    font-size: 44px;
  }

  .page-hero__desc {
    font-size: 17px;
  }

  .catalog {
    padding-block: 70px;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .catalog-filter {
    position: static;
  }

  /* Горизонтальный список категорий на планшете */
  .catalog-filter__list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .catalog-filter__item {
    flex: 1 1 auto;
  }

  .catalog-filter__item + .catalog-filter__item {
    border-top: 0;
    border-left: 1px solid #ececec;
  }

  .catalog-filter__link {
    padding: 14px 18px;
    min-height: 48px;
  }

  .catalog__grid-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog__grid-items .product-card {
    height: 240px;
  }

  /* Consult */
  .consult {
    padding-block: 32px 80px;
  }

  .consult__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 44px;
  }

  .consult__title {
    font-size: 32px;
  }

  .consult__contacts {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 40px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .page-hero {
    min-height: 420px;
  }

  .page-hero__title {
    font-size: 36px;
  }

  .page-hero__desc {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .page-hero__btn,
  .consult__btn {
    width: 100%;
    max-width: 320px;
  }

  .catalog {
    padding-block: 60px;
  }

  /* Категории — вертикальный аккордеон-подобный список */
  .catalog-filter__list {
    flex-direction: column;
  }

  .catalog-filter__item {
    flex: none;
  }

  .catalog-filter__item + .catalog-filter__item {
    border-left: 0;
    border-top: 1px solid #ececec;
  }

  .catalog__grid-items {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog__grid-items .product-card {
    height: 220px;
  }

  .catalog__grid-items .product-card__name {
    font-size: 18px;
  }

  /* Consult mobile */
  .consult {
    padding-block: 24px 60px;
  }

  .consult__grid {
    padding: 36px 24px;
  }

  .consult__bg {
    object-position: center;
  }

  .consult__overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 14, 22, 0.9),
      rgba(10, 14, 22, 0.85)
    );
  }

  .consult__title {
    font-size: 28px;
  }

  .consult__desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .consult__contacts {
    flex-direction: column;
    gap: 20px;
  }

  .consult-contact__value {
    font-size: 18px;
  }

  .consult-contact__icon {
    width: 48px;
    height: 48px;
  }

  .consult-contact__icon svg {
    width: 22px;
    height: 22px;
  }
}

/* ≤390px */
@media (max-width: 390px) {
  .page-hero__title {
    font-size: 30px;
  }

  .page-hero__desc {
    font-size: 15px;
  }

  .catalog__grid-items .product-card {
    height: 190px;
  }

  .catalog__grid-items .product-card__name {
    font-size: 17px;
    left: 16px;
    bottom: 16px;
  }

  .consult__title {
    font-size: 24px;
  }
}

/* ≤375px */
@media (max-width: 375px) {
  .page-hero__title {
    font-size: 28px;
  }

  .catalog {
    padding-block: 48px;
  }

  .catalog__grid-items .product-card {
    height: 180px;
  }

  .catalog-filter__link {
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* =========================================================
   ============ CATEGORY PAGE (glass-and-mirrors.html) =====
   Product groups with items (image + name + "Заказать →")
   ========================================================= */

/* Container for multiple groups */
.category-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* One product group (Виды стекла / Виды зеркал / ...) */
.category-block__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}

.category-block__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Product item card */
.product-item {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: #e0d7c6;
}

.product-item__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.product-item__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3efe8;
}

.product-item__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover .product-item__img {
  transform: scale(1.03);
}

.product-item__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 22px;
  flex: 1;
}

.product-item__name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  color: #333333;
  min-height: 2.5em;
}

.product-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gold);
  transition:
    color var(--transition),
    gap var(--transition);
}

.product-item__arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.product-item:hover .product-item__cta {
  color: var(--color-gold-hover);
  gap: 12px;
}

.product-item:hover .product-item__arrow {
  transform: translateX(3px);
}

/* Footer — 4-column variant when 4 columns exist */
.footer__col--legal .footer__heading {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .footer__grid:has(.footer__col--legal) {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

/* =========================================================
   CATEGORY PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .category-block__title {
    font-size: 36px;
  }

  .category-block__grid {
    gap: 16px;
  }

  .product-item__name {
    font-size: 17px;
  }
}

/* ≤1023px (tablet) — 3 columns */
@media (max-width: 1023px) {
  .category-content {
    gap: 50px;
  }

  .category-block__title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .category-block__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ≤768px — 2 columns */
@media (max-width: 768px) {
  .category-block__title {
    font-size: 28px;
  }

  .category-block__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-item__body {
    padding: 16px 16px 18px;
    gap: 12px;
  }

  .product-item__name {
    font-size: 16px;
  }
}

/* ≤480px — 1 column */
@media (max-width: 480px) {
  .category-block__grid {
    grid-template-columns: 1fr;
  }

  .product-item__media {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================
   ============ HARDWARE PAGE (hardware.html) ==============
   Каталог фурнитуры: sidebar (переиспользован .catalog-filter)
   + сетка карточек .hardware-card 3×N (фото сверху,
   название, описание, «Подробнее →»).
   ========================================================= */

.hardware {
  min-width: 0;
}

.hardware__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Hardware card --- */
.hardware-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.hardware-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
  border-color: #e0d7c6;
}

.hardware-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.hardware-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3efe8;
}

.hardware-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hardware-card:hover .hardware-card__img {
  transform: scale(1.05);
}

.hardware-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 26px;
  flex: 1;
}

.hardware-card__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
}

.hardware-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #6a6a6a;
  margin: 0;
}

.hardware-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gold);
  transition:
    color var(--transition),
    gap var(--transition);
}

.hardware-card__arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.hardware-card:hover .hardware-card__more {
  color: var(--color-gold-hover);
  gap: 12px;
}

.hardware-card:hover .hardware-card__arrow {
  transform: translateX(4px);
}

/* --- Hardware page responsive --- */
@media (max-width: 1280px) {
  .hardware__grid {
    gap: 18px;
  }

  .hardware-card__body {
    padding: 20px 20px 22px;
  }

  .hardware-card__title {
    font-size: 19px;
  }
}

/* ≤1023px — 2 колонки */
@media (max-width: 1023px) {
  .hardware__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* ≤768px — 1 колонка */
@media (max-width: 768px) {
  .hardware__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hardware-card__title {
    font-size: 18px;
  }

  .hardware-card__body {
    padding: 20px;
    gap: 12px;
  }
}

/* =========================================================
   ============ SERVICES PAGE (services.html) ==============

   Каталог услуг (4×2) + «Почему выбирают нас» с фирменным
   декоративным SVG-фоном.
   ========================================================= */

/* ---------- SERVICES GRID ---------- */
.services {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Service card --- */
.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
  border-color: #e0d7c6;
}

.service-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.service-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3efe8;
}

.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.05);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 26px 28px;
  flex: 1;
}

.service-card__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0;
}

.service-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #6a6a6a;
  margin: 0;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gold);
  transition:
    color var(--transition),
    gap var(--transition);
}

.service-card__arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.service-card:hover .service-card__more {
  color: var(--color-gold-hover);
  gap: 12px;
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

/* ---------- WHY-US SECTION ---------- */
.why-us {
  position: relative;
  background: #ffffff; /* чистый белый фон */
  color: #1a1a1a;
  padding-block: 110px;
  overflow: hidden;
  isolation: isolate;
}

/* Декоративный SVG-фон — очень бледные серые линии */
.why-us__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: #d8d8d8; /* базовый серый для волн/дуг через currentColor */
  overflow: hidden;
}

.why-us__decor-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Волны — едва заметные серые заливки */
.why-us__wave--1 {
  opacity: 0.2;
}

.why-us__wave--2 {
  opacity: 0.14;
}

.why-us__wave--3 {
  opacity: 0.1;
}

/* Тонкие серые архитектурные дуги */
.why-us__arc {
  opacity: 0.35;
  stroke: #cfcfcf;
  vector-effect: non-scaling-stroke;
}

.why-us__container {
  position: relative;
  z-index: 1;
}

/* --- Header --- */
.why-us__head {
  margin-bottom: 60px;
}

.why-us__label {
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.why-us__title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
  letter-spacing: -0.005em;
}

/* --- Grid of advantages --- */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  position: relative;
  padding: 36px 32px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
  border-color: #e0d7c6;
}

.advantage-card__num {
  display: block;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.advantage-card__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.advantage-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #6a6a6a;
  margin-top: auto;
}

/* =========================================================
   SERVICES PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px — 3 колонки сервисов, 4 преимущества */
@media (max-width: 1280px) {
  .services {
    padding-block: 80px;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .service-card__body {
    padding: 22px 22px 24px;
  }

  .why-us {
    padding-block: 90px;
  }

  .why-us__title {
    font-size: 44px;
  }

  .advantage-card {
    padding: 30px 26px;
    min-height: 240px;
  }
}

/* ≤1023px (планшет) — 2 колонки */
@media (max-width: 1023px) {
  .services {
    padding-block: 70px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-us {
    padding-block: 80px;
  }

  .why-us__head {
    margin-bottom: 44px;
  }

  .why-us__title {
    font-size: 38px;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .advantage-card {
    min-height: 220px;
  }
}

/* ≤768px (мобилки) — 1 колонка карточек, 2 колонки преимуществ */
@media (max-width: 768px) {
  .services {
    padding-block: 60px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card__title {
    font-size: 20px;
  }

  .service-card__body {
    padding: 20px 20px 22px;
    gap: 12px;
  }

  .why-us {
    padding-block: 60px;
  }

  .why-us__head {
    margin-bottom: 36px;
  }

  .why-us__title {
    font-size: 30px;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .advantage-card {
    min-height: auto;
    padding: 26px 22px;
  }

  .advantage-card__num {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .advantage-card__title {
    font-size: 20px;
  }
}

/* ≤390px */
@media (max-width: 390px) {
  .why-us__title {
    font-size: 26px;
  }

  .service-card__title {
    font-size: 19px;
  }
}

/* =========================================================
   ============ PROMOTIONS PAGE (promotions.html) ==========
   Каталог акций: 3 одинаковых карточки в ряд.
   Каждая карточка: фото сверху с бейджем «15% НА …»,
   заголовок, описание, футер с датой и «Подробнее →».
   ========================================================= */

.promotions {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px;
}

.promotions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- Promo card --- */
.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
  border-color: #e0d7c6;
}

.promo-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

/* --- Media (фото + бейдж 15%) --- */
.promo-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dcdcdc;
}

.promo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.promo-card:hover .promo-card__img {
  transform: scale(1.05);
}

.promo-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.promo-card__badge {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  pointer-events: none;
}

.promo-card__percent {
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.promo-card__badge-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--color-white);
  text-transform: uppercase;
}

/* --- Body --- */
.promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 24px;
  flex: 1;
}

.promo-card__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
}

.promo-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #6a6a6a;
  margin: 0;
}

/* --- Footer (дата + «Подробнее →») --- */
.promo-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.promo-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #8a8a8a;
  line-height: 1.3;
}

.promo-card__date-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #b0b0b0;
}

.promo-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gold);
  white-space: nowrap;
  transition:
    color var(--transition),
    gap var(--transition);
}

.promo-card__arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.promo-card:hover .promo-card__more {
  color: var(--color-gold-hover);
  gap: 12px;
}

.promo-card:hover .promo-card__arrow {
  transform: translateX(4px);
}

/* =========================================================
   PROMOTIONS PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .promotions {
    padding-block: 80px;
  }

  .promotions__grid {
    gap: 22px;
  }

  .promo-card__percent {
    font-size: 54px;
  }

  .promo-card__title {
    font-size: 20px;
  }

  .promo-card__body {
    padding: 22px 22px 22px;
  }
}

/* ≤1023px — 2 колонки */
@media (max-width: 1023px) {
  .promotions {
    padding-block: 70px;
  }

  .promotions__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ≤768px — 1 колонка */
@media (max-width: 768px) {
  .promotions {
    padding-block: 60px;
  }

  .promotions__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .promo-card__badge {
    left: 20px;
    bottom: 18px;
  }

  .promo-card__percent {
    font-size: 48px;
  }

  .promo-card__badge-text {
    font-size: 14px;
  }

  .promo-card__title {
    font-size: 19px;
  }

  .promo-card__body {
    padding: 20px;
    gap: 10px;
  }

  .promo-card__footer {
    padding-top: 16px;
  }
}

/* ≤390px */
@media (max-width: 390px) {
  .promo-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .promo-card__percent {
    font-size: 44px;
  }
}

/* =========================================================
   ============ DELIVERY PAGE (delivery.html) ==============
   Двухколоночный блок: слева — способы доставки,
   справа — таблица стоимости + карточка условий.
   Ниже — блок «Как мы работаем» (5 одинаковых карточек).
   ========================================================= */

.delivery {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px;
}

.delivery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

/* --- Left column: способы --- */
.delivery-methods {
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: 520px;
}

.delivery-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.delivery-block__title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.005em;
}

.delivery-block__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: #6a6a6a;
  margin: 0;
  max-width: 480px;
}

.delivery-block__meta {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-gold);
  margin: 4px 0 0;
}

/* --- Right column: side card stack --- */
.delivery-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* --- Table card --- */
.delivery-table {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.delivery-table__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.delivery-table__th,
.delivery-table__td {
  padding: 18px 26px;
  text-align: left;
  font-size: 16px;
  line-height: 1.4;
  color: #333333;
  vertical-align: middle;
}

.delivery-table__th {
  background: #f5efe4;
  font-weight: 500;
  color: #2a2a2a;
  border-bottom: 1px solid #ececec;
}

.delivery-table__th--right,
.delivery-table__td--right {
  text-align: right;
}

.delivery-table__td {
  font-weight: 300;
  color: #4a4a4a;
  border-bottom: 1px solid #ececec;
}

.delivery-table__table tbody tr:last-child .delivery-table__td {
  border-bottom: 0;
}

.delivery-table__td--right {
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}

/* --- Conditions card --- */
.delivery-conditions {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  padding: 30px 32px 32px;
}

.delivery-conditions__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 22px;
}

.delivery-conditions__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.delivery-conditions__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: #4a4a4a;
}

.delivery-conditions__icon {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   HOW WE WORK SECTION (страница «Доставка»)
   ========================================================= */

.how-we-work {
  position: relative;
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px 120px;
  overflow: hidden;
  isolation: isolate;
}

/* Декоративный SVG-фон — фирменные полупрозрачные волны и дуги */
.how-we-work__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: #d8d8d8; /* базовый серый для волн/дуг через currentColor */
  overflow: hidden;
}

.how-we-work__decor-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Волны — едва заметные серые заливки */
.how-we-work__wave--1 {
  opacity: 0.2;
}

.how-we-work__wave--2 {
  opacity: 0.14;
}

.how-we-work__wave--3 {
  opacity: 0.1;
}

/* Тонкие серые архитектурные дуги */
.how-we-work__arc {
  opacity: 0.35;
  stroke: #cfcfcf;
  vector-effect: non-scaling-stroke;
}

.how-we-work__container {
  position: relative;
  z-index: 1;
}

.how-we-work__head {
  margin-bottom: 60px;
}

.how-we-work__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: #2a2a2a;
  letter-spacing: -0.005em;
  margin: 0;
}

.how-we-work__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* --- Work step card --- */
.work-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 26px 32px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  min-height: 220px;
}

.work-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.07);
  border-color: #e0d7c6;
}

.work-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(184, 146, 99, 0.12);
  color: var(--color-gold);
  margin-bottom: 6px;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.work-step__icon svg {
  width: 26px;
  height: 26px;
}

.work-step:hover .work-step__icon {
  background: rgba(184, 146, 99, 0.22);
  transform: scale(1.05);
}

.work-step__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
}

.work-step__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #6a6a6a;
  margin: 0;
}

/* =========================================================
   DELIVERY PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .delivery {
    padding-block: 80px;
  }

  .delivery__grid {
    gap: 56px;
  }

  .delivery-block__title {
    font-size: 24px;
  }

  .delivery-table__th,
  .delivery-table__td {
    padding: 16px 22px;
    font-size: 15px;
  }

  .delivery-conditions {
    padding: 26px 28px;
  }

  .how-we-work {
    padding-block: 80px 100px;
  }

  .how-we-work__title {
    font-size: 40px;
  }

  .how-we-work__grid {
    gap: 16px;
  }

  .work-step {
    padding: 26px 22px 28px;
    min-height: 210px;
  }
}

/* ≤1023px — 1 колонка инфо, 3 колонки этапов */
@media (max-width: 1023px) {
  .delivery {
    padding-block: 70px;
  }

  .delivery__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .delivery-methods {
    max-width: none;
  }

  .how-we-work {
    padding-block: 70px 90px;
  }

  .how-we-work__head {
    margin-bottom: 44px;
  }

  .how-we-work__title {
    font-size: 36px;
  }

  .how-we-work__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .work-step {
    min-height: auto;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .delivery {
    padding-block: 60px;
  }

  .delivery__grid {
    gap: 40px;
  }

  .delivery-methods {
    gap: 36px;
  }

  .delivery-block__title {
    font-size: 22px;
  }

  .delivery-table__th,
  .delivery-table__td {
    padding: 14px 18px;
    font-size: 14px;
  }

  .delivery-conditions {
    padding: 24px 22px;
  }

  .delivery-conditions__title {
    font-size: 20px;
  }

  .delivery-conditions__item {
    font-size: 15px;
  }

  .how-we-work {
    padding-block: 60px 70px;
  }

  .how-we-work__title {
    font-size: 30px;
  }

  .how-we-work__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .work-step {
    padding: 22px 20px 24px;
  }
}

/* ≤480px — 1 колонка этапов */
@media (max-width: 480px) {
  .how-we-work__grid {
    grid-template-columns: 1fr;
  }

  .delivery-table__th,
  .delivery-table__td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* =========================================================
   ============ NEWS PAGE (news.html) ======================
   Архив новостей: сетка 3×2 переиспользует компонент
   .news-card из главной, плюс центрированная кнопка
   «Показать еще».
   ========================================================= */

/* --- Page hero override: чуть выше, крупный фон, ноутбук справа --- */
.page-hero--news {
  min-height: 640px;
}

/* Отражаем hero-фото по горизонтали, чтобы ноутбук был в правой части.
   Одновременно чуть увеличиваем масштаб — картинка на всю ширину и
   визуально «больше». */
.page-hero__bg--flipped {
  transform: scaleX(-1) scale(1.08);
  transform-origin: center;
  object-position: center;
}

/* Оверлей: слева заметно темнее, справа почти прозрачный —
   ноутбук справа остаётся хорошо виден. */
.page-hero--news .page-hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 10, 12, 0.82) 0%,
    rgba(10, 10, 12, 0.55) 40%,
    rgba(10, 10, 12, 0.25) 75%,
    rgba(10, 10, 12, 0.15) 100%
  );
}

.news-archive {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px 110px;
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}

/* --- Load more button (центр) --- */
.news-archive__footer {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.news-archive__btn {
  width: 220px;
  height: 52px;
  font-size: 15px;
  font-weight: 500;
}

.news-archive__btn:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.3);
}

/* =========================================================
   NEWS PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .news-archive {
    padding-block: 80px 90px;
  }

  .news-archive__grid {
    gap: 36px 20px;
  }

  .news-archive__footer {
    margin-top: 60px;
  }
}

/* ≤1023px — 2 колонки */
@media (max-width: 1023px) {
  .news-archive {
    padding-block: 70px 80px;
  }

  .news-archive__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .news-archive__footer {
    margin-top: 48px;
  }
}

/* ≤768px — 1 колонка */
@media (max-width: 768px) {
  .news-archive {
    padding-block: 60px 70px;
  }

  .news-archive__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-archive__footer {
    margin-top: 40px;
  }

  .news-archive__btn {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   ============ NEWS SINGLE PAGE (news-single.html) ========
   Страница одной новости: заголовок в hero + двухколоночная
   статья (текст + изображение) + prev/next навигация.
   ========================================================= */

/* Заголовок H1 внутри hero — по правому краю не выравниваем,
   но чуть уменьшаем максимальную ширину и меняем начертание. */
.page-hero--news-single {
  min-height: 560px;
}

.page-hero__title--single {
  font-size: 56px;
  font-weight: 500;
  max-width: 720px;
  line-height: 1.15;
}

/* --- Article section --- */
.news-single {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px 90px;
}

.news-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

/* Left column: article body */
.news-single__body {
  max-width: 560px;
}

.news-single__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #1a1a1a;
  letter-spacing: -0.005em;
  margin: 0 0 32px;
}

.news-single__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-single__text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #4a4a4a;
  margin: 0;
}

.news-single__list {
  list-style: disc;
  padding-left: 22px;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-single__list li {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #4a4a4a;
}

.news-single__date {
  display: block;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 400;
  color: #6a6a6a;
  letter-spacing: 0.01em;
}

/* Right column: hero image of the object */
.news-single__media {
  margin: 0;
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 4px;
  background: #f0ece5;
}

.news-single__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Post navigation (prev / next) --- */
.news-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid #ececec;
}

.news-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gold);
  transition:
    color var(--transition),
    gap var(--transition);
}

.news-nav__link:hover,
.news-nav__link:focus-visible {
  color: var(--color-gold-hover);
  gap: 14px;
}

.news-nav__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.news-nav__link--prev:hover .news-nav__arrow {
  transform: translateX(-3px);
}

.news-nav__link--next:hover .news-nav__arrow {
  transform: translateX(3px);
}

.news-nav__link--next {
  margin-left: auto;
}

/* =========================================================
   NEWS SINGLE PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .page-hero__title--single {
    font-size: 48px;
    max-width: 640px;
  }

  .news-single {
    padding-block: 80px 70px;
  }

  .news-single__grid {
    gap: 56px;
  }

  .news-single__title {
    font-size: 40px;
    margin-bottom: 28px;
  }

  .news-single__media {
    height: 400px;
  }

  .news-nav {
    margin-top: 64px;
  }
}

/* ≤1023px — одна колонка, картинка сверху */
@media (max-width: 1023px) {
  .page-hero__title--single {
    font-size: 40px;
  }

  .news-single {
    padding-block: 70px 60px;
  }

  .news-single__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-single__body {
    max-width: none;
    order: 2;
  }

  .news-single__media {
    order: 1;
    height: 380px;
  }

  .news-single__title {
    font-size: 34px;
  }

  .news-nav {
    margin-top: 56px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .page-hero__title--single {
    font-size: 32px;
  }

  .news-single {
    padding-block: 60px 50px;
  }

  .news-single__grid {
    gap: 32px;
  }

  .news-single__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .news-single__text p,
  .news-single__list li {
    font-size: 15px;
  }

  .news-single__media {
    height: 260px;
  }

  .news-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
  }

  .news-nav__link {
    justify-content: center;
  }

  .news-nav__link--next {
    margin-left: 0;
  }
}

/* =========================================================
   ============ CONTACTS PAGE (contacts.html) ==============
   Страница «Контакты»: hero + 3 карточки контактов
   (иконка + заголовок + значение) + интерактивная карта.
   ========================================================= */

.page-hero--contacts {
  min-height: 540px;
}

/* --- Contacts info (3 cards) --- */
.contacts-info {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 50px 40px;
}

.contacts-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: stretch;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 4px;
  min-height: 84px;
}

.contact-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.contact-card__icon svg {
  width: 28px;
  height: 28px;
}

.contact-card:hover .contact-card__icon {
  background: rgba(184, 146, 99, 0.08);
  transform: translateY(-2px);
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-gold);
  margin: 0;
  letter-spacing: 0.005em;
}

.contact-card__value {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0;
  transition: color var(--transition);
}

a.contact-card__value:hover,
a.contact-card__value:focus-visible {
  color: var(--color-gold);
}

/* --- Interactive map --- */
.contacts-map {
  background: #ffffff;
  padding-block: 40px 60px;
}

.contacts-map__frame {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f0ece5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.contacts-map__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================================
   CONTACTS PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .contacts-info {
    padding-block: 44px 32px;
  }

  .contacts-info__grid {
    gap: 32px;
  }

  .contact-card__icon {
    width: 60px;
    height: 60px;
  }

  .contact-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .contacts-map__frame {
    height: 420px;
  }
}

/* ≤1023px — 1 колонка, карточки в столбик */
@media (max-width: 1023px) {
  .contacts-info {
    padding-block: 40px 28px;
  }

  .contacts-info__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-card {
    min-height: auto;
  }

  .contacts-map {
    padding-block: 32px 50px;
  }

  .contacts-map__frame {
    height: 380px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .contacts-info {
    padding-block: 36px 24px;
  }

  .contact-card {
    gap: 18px;
  }

  .contact-card__icon {
    width: 54px;
    height: 54px;
  }

  .contact-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-card__title {
    font-size: 17px;
  }

  .contact-card__value {
    font-size: 16px;
  }

  .contacts-map {
    padding-block: 28px 44px;
  }

  .contacts-map__frame {
    height: 320px;
  }
}

/* =========================================================
   ============ PAYMENT PAGE (payment.html) ================


   Секция со способами оплаты: 4 одинаковые карточки

   с крупным золотистым номером в левом верхнем углу.
   Ниже — переиспользуемый блок «Как мы работаем».
   ========================================================= */

.payment {
  position: relative;
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px;
  overflow: hidden;
  isolation: isolate;
}

.payment__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.payment__decor-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.payment__container {
  position: relative;
  z-index: 1;
}

.payment__head {
  margin-bottom: 60px;
}

.payment__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: #2a2a2a;
  letter-spacing: -0.005em;
  margin: 0;
}

.payment__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Payment method card --- */
.payment-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 34px 30px 32px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  min-height: 240px;
}

.payment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
  border-color: #e0d7c6;
}

.payment-card__num {
  display: block;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-gold);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.payment-card__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
}

.payment-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #6a6a6a;
  margin: 0;
}

/* =========================================================
   PAYMENT PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .payment {
    padding-block: 80px;
  }

  .payment__title {
    font-size: 40px;
  }

  .payment__grid {
    gap: 20px;
  }

  .payment-card {
    padding: 28px 24px 28px;
    min-height: 220px;
  }

  .payment-card__num {
    font-size: 46px;
  }
}

/* ≤1023px — 2 колонки */
@media (max-width: 1023px) {
  .payment {
    padding-block: 70px;
  }

  .payment__head {
    margin-bottom: 44px;
  }

  .payment__title {
    font-size: 36px;
  }

  .payment__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .payment-card {
    min-height: auto;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .payment {
    padding-block: 60px;
  }

  .payment__title {
    font-size: 30px;
  }

  .payment__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .payment-card {
    padding: 24px 22px;
  }

  .payment-card__num {
    font-size: 42px;
  }

  .payment-card__title {
    font-size: 19px;
  }
}

/* =========================================================
   ============ ABOUT PAGE (about.html) ====================
   1) about-info — двухколоночный блок с описанием компании
      и фотографией команды.
   2) partnership — блок «Сотрудничество» с двумя большими
      симметричными карточками (иконка + заголовок + текст
      + подзаголовок + список + кнопка «Стать партнёром»).
   Блок .why-us + .advantage-card уже определён выше и
   переиспользуется без изменений (только добавляется
   .why-us__label — стиль ниже, на случай его отсутствия).
   ========================================================= */

/* --- ABOUT INFO SECTION --- */
.about-info {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px;
}

.about-info__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 80px;
  align-items: start;
}

.about-info__content {
  max-width: 560px;
}

.about-info__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
}

.about-info__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  color: #1a1a1a;
  letter-spacing: -0.005em;
  margin: 0 0 32px;
}

.about-info__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
}

.about-info__text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #6a6a6a;
  margin: 0;
}

.about-info__media {
  width: 100%;
}

.about-info__img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 520 / 340;
  object-fit: cover;
  border-radius: 4px;
  background: #f0ece5;
  margin-left: auto;
}

/* --- PARTNERSHIP SECTION --- */
.partnership {
  background: #ffffff;
  color: #1a1a1a;
  padding-block: 100px 120px;
}

.partnership__head {
  margin-bottom: 60px;
}

.partnership__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
}

.partnership__title {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.15;
  color: #1a1a1a;
  letter-spacing: -0.005em;
  margin: 0;
}

.partnership__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* --- Partner card --- */
.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px 44px 44px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
  border-color: #e0d7c6;
}

.partner-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(184, 146, 99, 0.12);
  color: var(--color-gold);
  margin-bottom: 4px;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.partner-card__icon svg {
  width: 30px;
  height: 30px;
}

.partner-card:hover .partner-card__icon {
  background: rgba(184, 146, 99, 0.22);
  transform: scale(1.05);
}

.partner-card__title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.005em;
}

.partner-card__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #6a6a6a;
  margin: 0;
}

.partner-card__subtitle {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 8px 0 0;
}

.partner-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-card__item {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #4a4a4a;
}

.partner-card__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.partner-card__btn {
  align-self: flex-start;
  width: 200px;
  height: 52px;
  margin-top: 12px;
}

.partner-card__btn:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 146, 99, 0.3);
}

/* =========================================================
   ABOUT PAGE — RESPONSIVE
   ========================================================= */

/* ≤1280px */
@media (max-width: 1280px) {
  .about-info {
    padding-block: 80px;
  }

  .about-info__grid {
    gap: 56px;
  }

  .about-info__title {
    font-size: 36px;
  }

  .partnership {
    padding-block: 80px 100px;
  }

  .partnership__title {
    font-size: 38px;
  }

  .partnership__head {
    margin-bottom: 44px;
  }

  .partner-card {
    padding: 36px 34px;
  }

  .partner-card__title {
    font-size: 24px;
  }
}

/* ≤1023px — одна колонка */
@media (max-width: 1023px) {
  .about-info {
    padding-block: 70px;
  }

  .about-info__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-info__content {
    max-width: none;
  }

  .about-info__text {
    max-width: none;
  }

  .about-info__img {
    margin-inline: 0;
    max-width: none;
  }

  .partnership {
    padding-block: 70px 90px;
  }

  .partnership__title {
    font-size: 34px;
  }

  .partnership__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partner-card {
    padding: 34px 30px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .about-info {
    padding-block: 60px;
  }

  .about-info__title {
    font-size: 30px;
    margin-bottom: 24px;
  }

  .about-info__text p {
    font-size: 15px;
  }

  .partnership {
    padding-block: 60px 70px;
  }

  .partnership__head {
    margin-bottom: 36px;
  }

  .partnership__title {
    font-size: 28px;
  }

  .partner-card {
    padding: 28px 22px;
    gap: 14px;
  }

  .partner-card__icon {
    width: 56px;
    height: 56px;
  }

  .partner-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .partner-card__title {
    font-size: 21px;
  }

  .partner-card__text,
  .partner-card__item {
    font-size: 14px;
  }

  .partner-card__btn {
    width: 100%;
  }
}

/* ≤390px */
@media (max-width: 390px) {
  .about-info__title {
    font-size: 26px;
  }

  .partnership__title {
    font-size: 24px;
  }
}

/* =========================================================
   TEAM SECTION — Наши сотрудники
   ========================================================= */
.team {
  position: relative;
  padding: 120px 0 100px;
  background: #f5f6f8;
  overflow: hidden;
}

.team__container {
  position: relative;
  z-index: 2;
}

.team__head {
  margin-bottom: 56px;
  text-align: left;
}

.team__label {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.team__title {
  margin: 0;
  font-family: inherit;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  color: #111827;
}

.team__slider {
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.team__slider:active {
  cursor: grabbing;
}

.team__track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  user-select: none;
}

.team__arrows {
  margin-top: 40px;
  justify-content: center;
}

.team-card {
  flex: 0 0 calc((100% - 30px * 3) / 4);
  max-width: calc((100% - 30px * 3) / 4);
  display: flex;
  flex-direction: column;
}

.team-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 260 / 300;
  overflow: hidden;
  background: #e5e7eb;
}

.team-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.team-card__img.is-missing {
  visibility: hidden;
}

.team-card:hover .team-card__img {
  transform: scale(1.04);
}

.team-card__body {
  background: #ffffff;
  padding: 22px 22px 26px;
  text-align: left;
}

.team-card__name {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  line-height: 1.3;
}

.team-card__role {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1.4;
}

/* =========================================================
   WARRANTY SECTION — Гарантии (темный блок)
   ========================================================= */
.warranty {
  position: relative;
  padding: 90px 0;
  min-height: 300px;
  color: #ffffff;
  overflow: hidden;
  background: #1a2338;
}

.warranty__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.55;
}

.warranty__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 30, 55, 0.88) 0%,
    rgba(15, 24, 46, 0.92) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.warranty__container {
  position: relative;
  z-index: 3;
}

.warranty__head {
  max-width: 720px;
  margin-bottom: 40px;
}

.warranty__label {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.warranty__title {
  margin: 0 0 20px;
  font-family: inherit;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
}

.warranty__desc {
  margin: 0;
  max-width: 500px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.warranty__subtitle {
  margin: 32px 0 28px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}

.warranty__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 34px;
}

.warranty-card {
  position: relative;
  padding: 0 32px;
  text-align: left;
}

.warranty-card + .warranty-card {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.warranty-card:first-child {
  padding-left: 0;
}
.warranty-card:last-child {
  padding-right: 0;
}

.warranty-card__value {
  display: block;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.warranty-card__text {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   RETURN SECTION — Возврат
   ========================================================= */
.return {
  position: relative;
  padding: 120px 0;
  background: #f5f6f8;
  overflow: hidden;
}

.return__container {
  position: relative;
  z-index: 2;
}

.return__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.return__label {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.return__title {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  color: #111827;
}

.return__desc {
  margin: 0;
  max-width: 600px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6b7280;
}

.return__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.return-card {
  position: relative;
  padding: 34px 28px 32px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #ececec;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.return-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border-color: #e0d7c6;
}

.return-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #ffffff;
  margin-bottom: 6px;
}

.return-card__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.return-card__num {
  font-family: inherit;
  font-size: 34px;
  font-weight: 500;
  color: #111827;
  line-height: 1;
  letter-spacing: 0.01em;
}

.return-card__title {
  margin: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: #111827;
}

.return-card__text {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: #6b7280;
}

/* =========================================================
   CERTIFICATES SECTION
   ========================================================= */
.certificates {
  position: relative;
  padding: 120px 0 100px;
  background: #f5f6f8;
  overflow: hidden;
}

.certificates__container {
  position: relative;
  z-index: 2;
}

.certificates__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.certificates__label {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.certificates__title {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  color: #111827;
}

.certificates__desc {
  margin: 0;
  max-width: 600px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6b7280;
}

.certificates__slider {
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.certificates__slider:active {
  cursor: grabbing;
}

.certificates__track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  user-select: none;
}

.certificates__arrows {
  margin-top: 40px;
  justify-content: center;
}

.certificate-card {
  flex: 0 0 calc((100% - 30px * 3) / 4);
  max-width: calc((100% - 30px * 3) / 4);
  aspect-ratio: 230 / 320;
  margin: 0;
  background: #e5e7eb;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
}

.certificate-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-card__img.is-missing {
  visibility: hidden;
}

/* =========================================================
   RAL SECTION — Шкала цветов
   ========================================================= */
.ral {
  position: relative;
  padding: 120px 0;
  background: #f5f6f8;
  overflow: hidden;
}

.ral__container {
  position: relative;
  z-index: 2;
}

.ral__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.ral__label {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.ral__title {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  color: #111827;
}

.ral__desc {
  margin: 0;
  max-width: 640px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6b7280;
}

.ral__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 6px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(17, 24, 39, 0.04);
}

.ral__swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  cursor: help;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}

.ral__swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* =========================================================
   FAQ SECTION — Вопрос-ответ (аккордеон)
   ========================================================= */
.faq {
  position: relative;
  padding: 120px 0;
  background: #f5f6f8;
  overflow: hidden;
}

.faq__container {
  position: relative;
  z-index: 2;
}

.faq__head {
  margin-bottom: 48px;
}

.faq__label {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.faq__title {
  margin: 0;
  font-family: inherit;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  color: #111827;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 960px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.faq-item.is-open {
  border-color: #d6bd8a;
  box-shadow: 0 8px 24px rgba(184, 146, 99, 0.12);
}

.faq-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.faq-item__question {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #111827;
}

.faq-item.is-open .faq-item__question {
  color: #0f172a;
}

.faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #111827;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after {
  background: var(--color-gold);
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__body {
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item__inner {
  padding: 0 28px 24px;
}

.faq-item__inner p {
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #6b7280;
}

/* =========================================================
   RESPONSIVE — Team / Warranty / Return / Certificates / RAL / FAQ
   ========================================================= */

/* 1280px */
@media (max-width: 1280px) {
  .team,
  .certificates {
    padding: 100px 0 80px;
  }

  .return,
  .ral,
  .faq {
    padding: 100px 0;
  }

  .warranty {
    padding: 80px 0;
  }

  .team__title,
  .warranty__title,
  .certificates__title,
  .ral__title,
  .faq__title {
    font-size: 34px;
  }

  .return__title {
    font-size: 32px;
  }

  .team-card,
  .certificate-card {
    flex: 0 0 calc((100% - 24px * 2) / 3);
    max-width: calc((100% - 24px * 2) / 3);
  }

  .team__track,
  .certificates__track {
    gap: 24px;
  }
}

/* 1023px */
@media (max-width: 1023px) {
  .team,
  .certificates {
    padding: 80px 0 70px;
  }

  .return,
  .ral,
  .faq,
  .warranty {
    padding: 80px 0;
  }

  .team-card,
  .certificate-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }

  .team__track,
  .certificates__track {
    gap: 20px;
  }

  .return__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .warranty__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .warranty-card {
    padding: 0 20px;
  }

  .warranty-card:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .warranty-card:nth-child(2) {
    padding-right: 0;
  }
}

/* 768px */
@media (max-width: 768px) {
  .team,
  .certificates,
  .return,
  .ral,
  .faq,
  .warranty {
    padding: 60px 0;
  }

  .team__head,
  .warranty__head,
  .return__head,
  .certificates__head,
  .ral__head,
  .faq__head {
    margin-bottom: 32px;
  }

  .team__title,
  .warranty__title,
  .certificates__title,
  .ral__title,
  .faq__title {
    font-size: 28px;
  }

  .return__title {
    font-size: 26px;
  }

  .team-card,
  .certificate-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .team__arrows,
  .certificates__arrows {
    margin-top: 28px;
  }

  .return__grid {
    grid-template-columns: 1fr;
  }

  .warranty__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .warranty-card,
  .warranty-card + .warranty-card {
    padding: 20px 0 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .warranty-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .warranty-card__value {
    font-size: 28px;
  }

  .ral__grid {
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    gap: 4px;
    padding: 16px;
  }

  .faq-item__head {
    padding: 18px 20px;
  }

  .faq-item__inner {
    padding: 0 20px 20px;
  }

  .faq-item__question {
    font-size: 15px;
  }
}

/* 480px */
@media (max-width: 480px) {
  .team-card,
  .certificate-card {
    flex: 0 0 90%;
    max-width: 90%;
  }

  .team-card__body {
    padding: 18px;
  }

  .return-card {
    padding: 26px 22px 24px;
  }

  .warranty__title,
  .team__title,
  .certificates__title,
  .ral__title,
  .faq__title {
    font-size: 24px;
  }
}

/* 390px */
@media (max-width: 390px) {
  .team__title,
  .warranty__title,
  .certificates__title,
  .ral__title,
  .faq__title,
  .return__title {
    font-size: 22px;
  }

  .warranty-card__value {
    font-size: 24px;
  }

  .faq-item__question {
    font-size: 14px;
  }
}
