/* ================================================================
   ДВЕРИ НОВО — Редизайн 2025
   Тема: Тёплая тёмная — дерево + медь (Copper/Wood Luxury)
   ================================================================ */

/* ── Google Fonts Import ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  /* Dark warm tones */
  --dark:          #12100E;
  --dark-2:        #1C1714;
  --dark-3:        #251F1A;
  --dark-4:        #2E2620;
  --card-dark:     #352C25;
  --border-dark:   rgba(255,255,255,0.07);
  --border-dark2:  rgba(255,255,255,0.12);

  /* Copper/Bronze accent */
  --accent:        #C4873A;
  --accent-h:      #D9993F;
  --accent-d:      #A06B28;
  --accent-subtle: rgba(196,135,58,0.10);
  --accent-glow:   rgba(196,135,58,0.25);

  /* Light / warm white */
  --cream:         #FAF7F2;
  --sand:          #F0E8DC;
  --sand-2:        #E8DCCC;
  --white:         #FFFFFF;

  /* Text */
  --text-dark:     #1A1410;
  --text-mid:      #5C4A3A;
  --text-muted:    #8C7A6A;
  --text-on-dark:  rgba(255,255,255,0.92);
  --text-on-dark2: rgba(255,255,255,0.58);
  --text-on-dark3: rgba(255,255,255,0.30);

  /* Layout */
  --radius:        10px;
  --radius-lg:     18px;
  --radius-xl:     28px;
  --shadow:        0 4px 24px rgba(18,16,14,0.08);
  --shadow-lg:     0 16px 56px rgba(18,16,14,0.14);
  --shadow-warm:   0 8px 32px rgba(196,135,58,0.22);
  --transition:    0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; scrollbar-gutter: stable; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
address { font-style: normal; }
input, textarea, select { font: inherit; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
p { color: var(--text-mid); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn--lg { padding: 18px 38px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 13px; border-radius: 8px; }
.btn--full { width: 100%; justify-content: center; }

.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-d) 100%);
  color: var(--white);
  box-shadow: var(--shadow-warm);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196,135,58,0.38);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover { background: var(--accent-subtle); transform: translateY(-2px); }

.btn--white {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow);
}
.btn--white:hover { background: var(--cream); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.20);
  color: var(--text-on-dark);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn--dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--dark:hover { background: var(--dark-3); transform: translateY(-2px); }

/* ── Section Styles ──────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--dark-2); }
.section--dark2 { background: var(--dark-3); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-label { justify-content: center; }

.section-title { color: var(--text-dark); margin-bottom: 14px; }
.section-title--light { color: var(--text-on-dark); }
.section-desc { color: var(--text-mid); font-size: 1.0625rem; max-width: 560px; line-height: 1.7; }
.section-desc--center { margin: 0 auto; }
.section-desc--light { color: var(--text-on-dark2); }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 52px;
  padding-top: 120px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero__bg { transform: scale(1.0); }
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12,10,8,0.88) 40%, rgba(12,10,8,0.40) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero__label { margin-bottom: 12px; }
.page-hero__title { color: var(--white); margin-bottom: 16px; }
.page-hero__desc { color: var(--text-on-dark2); max-width: 500px; font-size: 1rem; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-on-dark2);
  margin-top: 20px;
}
.breadcrumb a { color: var(--text-on-dark2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--text-on-dark3); }
.breadcrumb__current { color: var(--accent); }

/* ── HEADER ──────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
}
.header__top {
  background: var(--dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 9px 0;
  transition: height 0.3s, opacity 0.3s;
}
.header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-on-dark2);
}
.header__address {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__address-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__address-item svg { flex-shrink: 0; opacity: 0.6; }
.header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__hours { display: flex; align-items: center; gap: 6px; }
.header__email { color: var(--text-on-dark2); transition: color 0.2s; }
.header__email:hover { color: var(--accent); }

.header__main {
  position: relative;
  border-bottom: 1px solid var(--border-dark);
  padding: 0;
}
/* backdrop-filter вынесен в ::before чтобы не создавать containing block
   для position:fixed дочерних элементов (мобильное меню) */
.header__main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18,16,14,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 0;
  pointer-events: none;
}
.header__main-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header__logo-text { line-height: 1; }
.header__logo-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.header__logo-sub {
  font-size: 10px;
  color: var(--text-on-dark2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-on-dark2);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav__link:hover, .nav__link--active {
  color: var(--white);
  background: var(--accent-subtle);
}
.nav__link--active { color: var(--accent) !important; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__phone {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  transition: color 0.2s;
}
.header__phone:hover { color: var(--accent); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: 8px;
  background: var(--dark-3);
  transition: background 0.2s;
  flex-shrink: 0;
}
.burger:hover { background: var(--dark-4); }
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header scrolled */
.header--scrolled .header__top {
  height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  border: none;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.06);
  animation: heroZoom 12s ease forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12,10,8,0.92) 0%,
    rgba(18,16,14,0.75) 50%,
    rgba(18,16,14,0.35) 100%
  );
}
.hero__overlay-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 700px;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}
.hero__label-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  color: var(--white);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.6s 0.35s forwards;
}
.hero__title-accent {
  color: var(--accent);
  font-style: italic;
  font-family: 'Lora', serif;
  font-weight: 600;
}
.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-on-dark2);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s 0.5s forwards;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.6s 0.65s forwards;
}

.hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
}
.hero__stat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border-dark);
  text-align: center;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: 11px;
  color: var(--text-on-dark2);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.6s 1.2s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 1.6s 1.4s infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── Category Strip ──────────────────────────────────────────── */
.cat-strip {
  background: var(--dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip__inner {
  display: flex;
  align-items: stretch;
}
.cat-strip__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark2);
  border-right: 1px solid var(--border-dark);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.cat-strip__item:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}
.cat-strip__item svg { flex-shrink: 0; }

/* ── Product Categories Grid ─────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 72px rgba(18,16,14,0.22);
}
.cat-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,10,8,0.92) 0%, rgba(12,10,8,0.3) 55%, transparent 100%);
}
.cat-card__body {
  position: relative;
  z-index: 2;
  padding: 28px;
}
.cat-card__tag {
  display: inline-block;
  background: var(--accent-subtle);
  border: 1px solid rgba(196,135,58,0.3);
  color: var(--accent);
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.cat-card__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}
.cat-card__desc {
  font-size: 13px;
  color: var(--text-on-dark2);
  line-height: 1.55;
  margin-bottom: 18px;
}
.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.cat-card:hover .cat-card__link { gap: 11px; }

/* ── Advantages ──────────────────────────────────────────────── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.adv-card:hover {
  border-color: rgba(196,135,58,0.3);
  transform: translateY(-4px);
}
.adv-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-subtle);
  border: 1px solid rgba(196,135,58,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.adv-card__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}
.adv-card__desc {
  font-size: 13.5px;
  color: var(--text-on-dark2);
  line-height: 1.6;
}

/* ── Services Overview ───────────────────────────────────────── */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-item:hover {
  border-color: rgba(196,135,58,0.3);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-item__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-item__body {}
.service-item__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.service-item__desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.55; }

/* ── Process Steps ───────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent 50%, var(--accent));
  opacity: 0.3;
}
.step {
  text-align: center;
  padding: 0 16px;
}
.step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--border-dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  transition: background 0.3s, border-color 0.3s;
}
.step:hover .step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.step__icon { margin: 0 auto 6px; opacity: 0.7; }
.step__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.step__desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-wrap {
  position: relative;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  -ms-overflow-style: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s;
}
.review-card:hover { border-color: rgba(196,135,58,0.25); }
.review-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
}
.review-card__star { color: var(--accent); font-size: 18px; }
.review-card__text {
  font-size: 14.5px;
  color: var(--text-on-dark2);
  line-height: 1.68;
  margin-bottom: 20px;
  position: relative;
}
.review-card__text::before {
  content: '\201C';
  font-family: 'Lora', serif;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -12px;
  left: -6px;
  line-height: 1;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-4);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}
.review-card__name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}
.review-card__project { font-size: 12px; color: var(--text-on-dark3); }

.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.testi-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ── CTA Band ────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(110deg, var(--dark) 0%, var(--dark-3) 50%, var(--dark) 100%);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 56px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: 8px;
}
.cta-band__sub { color: var(--text-on-dark2); font-size: 0.9375rem; }
.cta-band__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cta-band__phone {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-on-dark2);
  transition: color 0.2s;
}
.cta-band__phone:hover { color: var(--accent); }

/* ── Contacts Preview ────────────────────────────────────────── */
.contacts-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contacts-info__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.contacts-info__list { display: flex; flex-direction: column; gap: 14px; }
.contacts-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-mid);
}
.contacts-info__item-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-subtle);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.contacts-info__item-text { line-height: 1.5; }
.contacts-info__item a { color: var(--accent); }
.contacts-info__item a:hover { text-decoration: underline; }
.contacts-preview-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-lg);
}
.contacts-preview-map iframe { width: 100%; height: 100%; border: none; }

/* ── CATALOG ─────────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  background: var(--white);
  border: 1.5px solid var(--sand-2);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-warm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s, border-color 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,135,58,0.25);
}
.product-card__img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--sand);
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.product-card__badge--new { background: #4CAF50; }
.product-card__badge--sale { background: #E53935; }
.product-card__body { padding: 22px; }
.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.product-card__tag {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--sand);
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}
.product-card__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.product-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--sand-2);
}
.product-card__price {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
}
.product-card__price span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

/* ── SERVICES PAGE ───────────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-detail-card:hover {
  border-color: rgba(196,135,58,0.35);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-detail-card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-subtle);
  border: 1px solid rgba(196,135,58,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-detail-card__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.service-detail-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.service-detail-card__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-mid);
}
.service-detail-card__item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.service-detail-card__note {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--sand);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.warranty-block {
  text-align: center;
  padding: 64px 0;
}
.warranty-block__num {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.warranty-block__label {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-on-dark2);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.warranty-block__desc { color: var(--text-on-dark2); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ── PORTFOLIO ───────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.gallery-item--tall .gallery-item__img { min-height: 460px; }
.gallery-item:hover .gallery-item__img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,10,8,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__caption {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.gallery-item__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
}
.gallery-item:hover .gallery-item__zoom { opacity: 1; }

/* Before/After slider */
.ba-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  user-select: none;
  box-shadow: var(--shadow-lg);
}
.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-slider__before {
  z-index: 1;
}
.ba-slider__after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
}
.ba-slider__handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  color: var(--text-dark);
  font-size: 18px;
}
.ba-slider__labels {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
.ba-slider__label {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.ba-slider__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  cursor: ew-resize;
  width: 100%;
  height: 100%;
}

.ba-sliders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.ba-wrap { }
.ba-wrap__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-mid);
  text-align: center;
  margin-top: 14px;
}

/* Counter Row */
.counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}
.counter-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border-dark);
}
.counter-item:last-child { border-right: none; }
.counter-item__num {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.counter-item__label { font-size: 13px; color: var(--text-on-dark2); line-height: 1.4; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  border: 1px solid var(--border-dark2);
  transition: background 0.2s;
}
.lightbox__close:hover { background: var(--accent); }
.lightbox__caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-on-dark2);
  font-size: 14px;
}
.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.lightbox__prev { left: -70px; }
.lightbox__next { right: -70px; }
.lightbox__prev:hover, .lightbox__next:hover { background: var(--accent); }

/* ── ABOUT PAGE ──────────────────────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-story__text p { margin-bottom: 16px; color: var(--text-mid); line-height: 1.75; }
.about-story__text p:last-child { margin-bottom: 0; }
.about-story__img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-lg);
}
.about-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-story__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--dark);
  border: 1px solid var(--border-dark2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-story__badge-num {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.about-story__badge-text { font-size: 12px; color: var(--text-on-dark2); line-height: 1.4; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fact-card {
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.fact-card:hover { border-color: rgba(196,135,58,0.3); transform: translateY(-4px); }
.fact-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.fact-card__num {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.fact-card__label { font-size: 13px; color: var(--text-muted); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.value-card:hover { border-color: rgba(196,135,58,0.3); transform: translateY(-4px); }
.value-card__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}
.value-card__desc { font-size: 13.5px; color: var(--text-on-dark2); line-height: 1.65; }

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.brand-chip {
  background: var(--white);
  border: 1.5px solid var(--sand-2);
  border-radius: 50px;
  padding: 12px 24px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s;
}
.brand-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ── CONTACTS ────────────────────────────────────────────────── */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contacts-info__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.addr-tab-btn {
  padding: 9px 18px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  background: var(--sand);
  border: 1.5px solid var(--sand-2);
  cursor: pointer;
  transition: all 0.2s;
}
.addr-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.addr-tab-content { display: none; }
.addr-tab-content.active { display: block; }
.contacts-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.contacts-map-wrap iframe { width: 100%; height: 100%; border: none; }

.contacts-phones { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.contacts-phone-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contacts-phone-item a {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: color 0.2s;
}
.contacts-phone-item a:hover { color: var(--accent); }
.contacts-phone-item__badge {
  font-size: 11px;
  background: var(--sand);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}

.contacts-form { }
.contacts-form__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contacts-form__sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(196,135,58,0.3); }
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
}
.faq-item__icon {
  width: 26px;
  height: 26px;
  background: var(--accent-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
  color: var(--accent);
  font-size: 14px;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item__text {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── BLOG ────────────────────────────────────────────────────── */
.blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: stretch;
}
.blog-card--featured {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card--featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card--featured .blog-card__img-wrap { height: 260px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,135,58,0.2);
}
.blog-card__img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--sand);
}
.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card__img { transform: scale(1.05); }
.blog-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.blog-card__cat {
  background: var(--accent-subtle);
  color: var(--accent);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}
.blog-card__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card:hover .blog-card__title { color: var(--accent); }
.blog-card__excerpt { font-size: 13px; color: var(--text-mid); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-card__link {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.blog-card:hover .blog-card__link { gap: 10px; }

/* Blog sidebar (for featured layout) */
.blog-sidebar { display: flex; flex-direction: column; gap: 16px; }
.blog-sidebar-card {
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  gap: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-sidebar-card:hover { border-color: rgba(196,135,58,0.2); transform: translateX(3px); }
.blog-sidebar-card__img {
  width: 90px;
  flex-shrink: 0;
  background: var(--sand);
  overflow: hidden;
}
.blog-sidebar-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-sidebar-card__body { padding: 14px; }
.blog-sidebar-card__cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
}
.blog-sidebar-card__title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 13px; color: var(--text-dark); line-height: 1.35; }
.blog-sidebar-card__date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── FORMS ───────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--cream);
  border: 1.5px solid var(--sand-2);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-subtle);
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--sand-2);
  background: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--accent);
}
.form-check a { color: var(--accent); text-decoration: underline; }

/* Inline mini form (on catalog/services pages) */
.inline-form {
  background: var(--sand);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.inline-form__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.inline-form__sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.inline-form .form { flex-direction: row; align-items: flex-end; flex-wrap: wrap; gap: 14px; }
.inline-form .form-group { flex: 1; min-width: 180px; }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.open { opacity: 1; pointer-events: all; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  transform: scale(0.92);
  transition: transform 0.3s;
}
.modal.open .modal__box { transform: scale(1); }
.modal__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 32px;
}
.modal__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.modal__text { color: var(--text-mid); font-size: 14.5px; line-height: 1.65; margin-bottom: 28px; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.modal__close:hover { background: var(--sand-2); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__logo-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}
.footer__about { font-size: 13.5px; color: var(--text-on-dark2); line-height: 1.65; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 36px;
  height: 36px;
  background: var(--dark-3);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark2);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.footer__social-link:hover { background: var(--accent); color: var(--white); }
.footer__col-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 13.5px;
  color: var(--text-on-dark2);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--accent); }
.footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-on-dark2); }
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }
.footer__contact-link { color: var(--text-on-dark2); transition: color 0.2s; }
.footer__contact-link:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-on-dark3);
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-link { color: var(--text-on-dark3); transition: color 0.2s; }
.footer__bottom-link:hover { color: var(--text-on-dark2); }

/* ── Floating Elements ───────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-warm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-h); transform: translateY(-3px); }

.phone-float {
  position: fixed;
  bottom: 86px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--dark);
  border: 1px solid var(--border-dark2);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
  transition: background 0.2s;
}
.phone-float:hover { background: var(--accent); color: var(--white); }

/* ── AOS Animations ──────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos="fade-left"] { transform: translateX(-28px); }
[data-aos="fade-right"] { transform: translateX(28px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ── 404 Page ────────────────────────────────────────────────── */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--dark);
}
.page-404__num {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-d) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.page-404__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.page-404__desc { color: var(--text-on-dark2); margin-bottom: 36px; max-width: 400px; line-height: 1.7; }
.page-404__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Responsive: Tablet ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav__list { gap: 2px; }
  .nav__link { font-size: 13px; padding: 8px 9px; }
  .header__phone { display: none; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid .cat-card:nth-child(3) { grid-column: 1 / -1; height: 280px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ba-sliders-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .burger { display: flex; }

  /* Скрыть кнопку «Замер» в хедере на мобилке чтобы бургер был виден */
  .header__actions .btn--accent { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    /* solid background — без backdrop-filter чтобы не было конфликта */
    background: #1C1714;
    border-left: 1px solid rgba(196,135,58,0.15);
    box-shadow: -12px 0 40px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* nav — ребёнок header с z-index:1000, поэтому берём 100
       относительно стекинг-контекста header — это выше содержимого header */
    z-index: 100;
  }
  .nav.open { transform: translateX(0); }

  /* Тёмный оверлей — прямой ребёнок body, ниже header (1000) */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
  }
  .nav-overlay.open { display: block; }

  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-size: 17px; padding: 12px 16px; border-radius: 10px; }
  .services-list { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--tall .gallery-item__img { min-height: 220px; }
  .about-story { grid-template-columns: 1fr; gap: 40px; }
  .contacts-layout { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero__stats { flex-direction: column; gap: 0; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .hero__stat:last-child { border-bottom: none; }
  .hero__actions { gap: 12px; }
  .categories-grid { grid-template-columns: 1fr; }
  .categories-grid .cat-card:nth-child(3) { grid-column: 1; height: 320px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 10px; }
  .blog-grid { grid-template-columns: 1fr; }
  .counter-row { grid-template-columns: 1fr 1fr; }
  .counter-item:nth-child(2) { border-right: none; }
  .counter-item:nth-child(3) { border-right: 1px solid var(--border-dark); }
  .process-steps { grid-template-columns: 1fr; }
  .header__address { display: none; }
  .modal__box { padding: 32px 24px; }
  .inline-form { padding: 28px; }
  .inline-form .form { flex-direction: column; }
  .form-group--row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header__contacts { gap: 12px; }
  .header__hours { display: none; }
  .hero__content { padding-top: 110px; }
  .cat-card { height: 280px; }
  .contacts-preview { grid-template-columns: 1fr; }
}
