/* ========================================
   RIHAU — Premium Design System v2.0
   ======================================== */

/* --- TOKENS --- */
:root {
  /* Backgrounds — Light Premium */
  --bg: #f5f2ed;
  --bg-inset: #ebe7e1;
  --bg-card: #ffffff;
  --bg-alt: #edeae5;
  --bg-raised: #faf8f5;
  --bg-overlay: rgba(26,26,26,0.55);
  --overlay-dark: rgba(10,10,10,0.82);
  /* Text */
  --text: #1a1a1a;
  --text-secondary: #3d3832;
  --text-muted: #6b6560;
  --text-on-accent: #ffffff;
  --text-ivory: #eae6df;
  /* Bronze accent */
  --accent: #8b7355;
  --accent-hover: #7a6248;
  --accent-active: #6b553d;
  --accent-soft: #b8a48e;
  --accent-line: rgba(139,115,85,0.2);
  --accent-glow: rgba(139,115,85,0.12);
  --accent-glow-lg: rgba(139,115,85,0.18);
  /* Gold shimmer */
  --gold: #c9a96e;
  --gold-light: #e8d5ab;
  /* Glass — architectural material hint */
  --glass: #5a7a94;
  --glass-soft: rgba(90,122,148,0.08);
  --glass-line: rgba(90,122,148,0.15);
  /* Borders */
  --border: rgba(0,0,0,0.07);
  --border-mid: rgba(0,0,0,0.12);
  --border-accent: rgba(139,115,85,0.28);
  --border-gold: rgba(201,169,110,0.35);
  /* Feedback — muted premium */
  --success: #5a7a5e;
  --error: #a0584e;
  /* Focus */
  --focus-ring: 0 0 0 2px rgba(139,115,85,0.15), 0 0 0 4px rgba(139,115,85,0.3);
  --focus-outline: 1px solid rgba(139,115,85,0.4);
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-accent: 0 8px 32px rgba(139,115,85,0.22);
  /* Core */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s cubic-bezier(0.25, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 4px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --nav-h: 72px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; cursor: auto; }

/* --- SCROLL PROGRESS --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 1000;
  padding: 8px 16px; background: var(--accent); color: var(--text-on-accent);
  border-radius: var(--radius); font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* --- UTILITIES --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (min-width: 1440px) { .container { max-width: 1380px; } }
.label {
  display: inline-block;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-family: var(--font-heading); font-size: clamp(30px, 4vw, 48px);
  font-weight: 400; line-height: 1.15; margin-bottom: 56px;
  max-width: 720px; letter-spacing: -0.02em;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.8px; text-transform: uppercase;
  border-radius: var(--radius); transition: all 0.3s cubic-bezier(0.25, 0, 0.2, 1);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover::after { opacity: 1; }
.btn--primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 2px 12px rgba(139,115,85,0.3);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}
.btn--primary:active { background: var(--accent-active); transform: scale(0.98); box-shadow: none; }
.btn--ghost {
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--text);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}
.btn--ghost:active { transform: scale(0.98); }
.btn--small { padding: 10px 22px; font-size: 12px; }
.btn--lg { padding: 17px 44px; font-size: 13px; }
.btn:focus-visible { box-shadow: var(--focus-ring); outline: var(--focus-outline); }

/* --- PLACEHOLDER IMAGES --- */
.img-placeholder {
  background: linear-gradient(135deg, #e8e4dd 0%, #d9d3ca 50%, #e8e4dd 100%);
  aspect-ratio: 16/9; border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.img-placeholder--tall { aspect-ratio: 3/4; }
.img-placeholder > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- FADE-IN --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }

/* ========================================
   1. NAVIGATION
   ======================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(245,242,237,0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.nav.scrolled {
  background: rgba(245,242,237,0.94);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo {
  font-family: var(--font-body); font-size: 18px; font-weight: 600;
  letter-spacing: 5px; color: var(--text); text-transform: uppercase;
}
.nav__logo:hover { color: var(--accent); }
.nav__links { display: flex; gap: 36px; }
.nav__link {
  font-size: 12px; font-weight: 400; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--text-muted); transition: color var(--transition-fast);
}
.nav__link:hover { color: var(--text); }
.nav__link.active { color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__phone {
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.5px;
  font-weight: 400;
}
.nav__phone:hover { color: var(--accent); }
.nav__burger {
  display: none; width: 32px; height: 22px;
  position: relative; z-index: 110;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__burger span {
  display: block; width: 32px; height: 1.5px; background: var(--text);
  position: absolute; left: 50%;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.25, 0, 0.2, 1),
              opacity 0.22s ease,
              width 0.25s ease;
}
.nav__burger span:nth-child(1) { top: calc(50% - 10px); transform: translateX(-50%); }
.nav__burger span:nth-child(2) { top: 50%; width: 26px; transform: translate(-50%, -50%); }
.nav__burger span:nth-child(3) { top: calc(50% + 10px); transform: translateX(-50%); }
.nav__burger:hover span:nth-child(2) { width: 100%; }
.nav__burger.active span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger.active span:nth-child(2) { width: 32px; opacity: 0; transform: translate(-50%, -50%) scaleX(0); }
.nav__burger.active span:nth-child(3) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }
.nav__burger:focus-visible { outline: var(--focus-outline); box-shadow: var(--focus-ring); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: clamp(48px, 9vh, 84px) 20px 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition:
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.28s;
}
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(139,115,85,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(201,169,110,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.mobile-menu__nav {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.mobile-menu__link {
  font-family: var(--font-heading); font-size: clamp(30px, 8.5vw, 38px); font-weight: 400;
  color: var(--text); transition: color var(--transition-fast);
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-align: center;
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__phone { font-size: 16px; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 0.5px; }
.mobile-menu__cta { margin-top: 8px; }

/* ========================================
   2. HERO
   ======================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end; padding-bottom: 96px; padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  will-change: transform;
}
.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__bg-video {
  display: none;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
}
.hero__bg img {
  width: 100%; height: 110%; object-fit: cover; object-position: center;
  transform: translateY(0);
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(245,242,237,0.82) 0%, transparent 30%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  padding: 64px 0;
  margin-left: 40px; 
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__title {
  font-family: var(--font-heading); 
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 400; 
  line-height: 1.05; 
  margin-bottom: 32px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.hero__subtitle {
  font-size: 16px; 
  line-height: 1.6;
  color: var(--text-secondary); 
  margin-bottom: 56px;
  max-width: 360px;
  font-weight: 400;
}
.hero__actions { 
  display: flex; 
  gap: 40px; 
  margin-bottom: 88px; 
  align-items: center;
  width: 100%;
}
.hero__actions .btn--primary {
  padding: 20px 44px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(139,115,85,0.2);
  flex-shrink: 0;
}
.hero__button { display: none; }
/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}
.hero__scroll-text {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* ========================================
   3. TRUST METRICS
   ======================================== */
.trust {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  position: relative;
  z-index: 5;
}
.trust__inner {
  display: grid; 
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust__item {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
  transition: background var(--transition-fast);
}
.trust__item:last-child { border-right: none; }
.trust__number {
  display: block; 
  font-family: var(--font-heading); 
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 400; 
  color: var(--accent); 
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.trust__label { 
  font-size: 11px; 
  color: var(--text-muted); 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  font-weight: 500;
}

/* ========================================
   4. STORYTELLING
   ======================================== */
.story { 
  position: relative; 
  padding: 80px 0 100px;
}
/* Removed RIHAU background watermark */

.story__grid { 
  display: grid; 
  grid-template-columns: 1fr 1.1fr; 
  gap: 100px; 
  align-items: start; 
}
.story__text { 
  font-size: 16px; 
  line-height: 1.8; 
  color: var(--text-secondary); 
  font-weight: 400;
  max-width: 440px;
}
.story__points { 
  display: flex; 
  flex-direction: column; 
  gap: 0; 
}
.story__point {
  display: flex; 
  gap: 32px; 
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}
.story__point:first-child { padding-top: 0; }
.story__point:last-child { border-bottom: none; padding-bottom: 0; }

.story__point-num {
  font-family: var(--font-heading); 
  font-size: 14px; 
  font-weight: 400;
  color: var(--accent-soft); 
  flex-shrink: 0; 
  width: 24px;
  padding-top: 4px;
}
.story__point h3 { 
  font-size: 18px; 
  font-weight: 500; 
  margin-bottom: 8px; 
  letter-spacing: -0.01em; 
  color: var(--text);
}
.story__point p { 
  font-size: 14.5px; 
  color: var(--text-muted); 
  line-height: 1.6; 
}

/* ========================================
   5. SOLUTION CATEGORIES
   ======================================== */
.categories__grid {
  display: grid; 
  grid-template-columns: repeat(6, 1fr); 
  gap: 24px; 
  margin-bottom: 64px;
}
.categories__card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card); 
  border-radius: var(--radius-lg);
  overflow: hidden; 
  border: 1px solid var(--border);
  grid-column: span 2;
  transition: border-color 0.4s ease, transform 0.6s var(--transition-slow),
              box-shadow 0.4s ease;
}
.categories__card--main {
  grid-column: span 3;
}
.categories__card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.categories__img { 
  aspect-ratio: 16/10; 
  overflow: hidden; 
  position: relative;
}
.categories__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.1);
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
}
.categories__card:hover .categories__img::after {
  opacity: 0;
}
.categories__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--transition-slow);
}
.categories__card:hover .categories__img img { 
  transform: scale(1.05); 
}
.categories__body { 
  padding: 32px 36px; 
  flex: 1;
  display: flex;
  flex-direction: column;
}
.categories__tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
  display: block;
}
.categories__body h3 {
  font-family: var(--font-heading); 
  font-size: 24px; 
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.categories__body p { 
  font-size: 14px; 
  color: var(--text-muted); 
  line-height: 1.6; 
  margin: 0;
}
.categories__cta { text-align: center; margin-top: 48px; }

/* ========================================
   6. STANDARDS & RELIABILITY
   ======================================== */
.advantages__grid { 
  display: grid; 
  grid-template-columns: repeat(6, 1fr); 
  border-top: 1px solid var(--border-mid);
  border-left: 1px solid var(--border-mid);
  margin-top: 48px;
}
.advantages__card {
  padding: 48px 40px; 
  background: var(--bg-card); 
  border-right: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  transition: background 0.4s ease;
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}
.advantages__card--primary {
  grid-column: span 3;
  padding: 64px 48px;
}
.advantages__card:hover {
  background: var(--bg-raised);
}
.advantages__num {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.15em;
  opacity: 0.6;
}
.advantages__card h3 { 
  font-family: var(--font-heading);
  font-size: 21px; 
  font-weight: 400; 
  margin-bottom: 16px; 
  color: var(--text);
  line-height: 1.2;
}
.advantages__card--primary h3 {
  font-size: 26px;
  max-width: 320px;
}
.advantages__card p { 
  font-size: 14px; 
  color: var(--text-muted); 
  line-height: 1.6; 
  margin: 0;
}
.advantages__card--primary p {
  font-size: 15px;
  max-width: 400px;
}

/* ========================================
   7. FLAGSHIP SOLUTIONS
   ======================================== */
.flagship__grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 32px; 
}
.flagship__card {
  position: relative; 
  display: block; 
  overflow: hidden; 
  aspect-ratio: 4/5;
  background: var(--bg-inset);
  border: 1px solid var(--border);
}
.flagship__img { 
  width: 100%; height: 100%; 
  overflow: hidden; 
}
.flagship__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--transition-slow);
}
.flagship__card:hover .flagship__img img { transform: scale(1.08); }

.flagship__overlay {
  position: absolute; inset: 0;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
  transition: background 0.4s ease;
}
.flagship__card:hover .flagship__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, transparent 80%);
}
.flagship__overlay .label { 
  margin-bottom: 16px; 
  color: var(--gold-light);
  font-size: 11px;
}
.flagship__tagline {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  color: var(--text-ivory);
  margin-bottom: 24px;
  max-width: 90%;
  letter-spacing: -0.01em;
}
.flagship__link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.flagship__card:hover .flagship__link { 
  letter-spacing: 0.2em; 
  color: var(--text-ivory);
}

/* ========================================
   8. CATALOG
   ======================================== */
.catalog__filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px;
}
.catalog__chip {
  padding: 10px 22px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 100px;
  background: transparent; color: var(--text-muted);
  transition: all 0.25s ease;
}
.catalog__chip:hover { border-color: var(--accent); color: var(--text); }
.catalog__chip.active {
  background: var(--accent); color: var(--text-on-accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(139,115,85,0.28);
}
.catalog__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.catalog__card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  transition: border-color 0.35s ease, transform 0.45s var(--transition-slow), box-shadow 0.45s ease;
}
.catalog__card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.catalog__card:hover .catalog__card-photo { transform: scale(1.04); }
.catalog__card-img {
  aspect-ratio: 16/10; border-radius: 0; position: relative; overflow: hidden;
}
.catalog__card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.catalog__card-marker {
  position: absolute; top: 16px; left: 16px;
  padding: 4px 12px; font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(10,10,10,0.7); color: var(--text-ivory);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.catalog__card-body { padding: 32px; display: flex; flex-direction: column; height: 100%; }
.catalog__card-name {
  font-family: var(--font-heading); font-size: 21px; font-weight: 400;
  margin-bottom: 12px; color: var(--text);
}
.catalog__card-tagline { 
  font-size: 14px; color: var(--text-secondary); 
  margin-bottom: 20px; line-height: 1.5;
  font-weight: 500;
}
.catalog__card-specs { 
  display: flex; flex-direction: column; gap: 8px; 
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.catalog__card-spec {
  font-size: 13px; color: var(--text-muted); padding-left: 20px;
  position: relative;
}
.catalog__card-spec::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 10px; height: 1px; background: var(--accent-soft);
}
.catalog__card-footer { margin-top: auto; }
.catalog__card-use { 
  font-size: 12px; color: var(--text-muted); 
  opacity: 0.8; margin-bottom: 20px; 
  font-style: italic;
}
.catalog__card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); transition: all 0.3s ease;
}
.catalog__card-cta:hover { color: var(--text); gap: 12px; }
.catalog__more { text-align: center; margin-top: 40px; }

/* ========================================
   9. GUIDED SELECTOR
   ======================================== */
.selector__header {
  margin-bottom: 56px;
}
.selector__lead {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}
.selector__widget {
  max-width: 720px; 
  background: var(--bg-card); 
  border-radius: var(--radius-lg);
  padding: 64px; 
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative; 
  min-height: 440px;
  display: flex;
  flex-direction: column;
}
.selector__steps-info {
  margin-bottom: 48px;
}
.selector__step-count {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.selector__progress-bar {
  width: 100%;
  height: 2px;
  background: var(--bg-inset);
  border-radius: 2px;
  overflow: hidden;
}
.selector__progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
}

.selector__step { display: none; }
.selector__step.active { display: block; animation: fadeIn 0.4s ease forwards; }

.selector__question {
  font-family: var(--font-heading); 
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 400; 
  margin-bottom: 32px; 
  color: var(--text);
  line-height: 1.2;
}
.selector__chips { 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.chip {
  padding: 20px 24px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: left;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}
.chip:hover {
  border-color: var(--accent);
  background: var(--bg-raised);
}
.chip.selected {
  background: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(139,115,85,0.2);
}

.selector__result-header {
  margin-bottom: 32px;
}
.selector__result-header h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 8px;
}
.selector__result-header p {
  font-size: 14px;
  color: var(--text-muted);
}
.selector__recommendations { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
  margin-bottom: 40px; 
}
.selector__rec-card {
  padding: 24px; 
  background: var(--bg-raised); 
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.selector__rec-card:hover { border-color: var(--accent-soft); transform: translateX(4px); }
.selector__rec-card h4 { 
  font-family: var(--font-heading);
  font-size: 18px; 
  font-weight: 500; 
  margin-bottom: 6px; 
  color: var(--accent);
}
.selector__rec-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.selector__result-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}
.selector__reset { 
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}
.selector__reset:hover { color: var(--text); }

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

/* ========================================
   10. PROCESS
   ======================================== */
.process { overflow: hidden; }
.process__grid {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 64px 48px;
  margin-top: 56px;
}
.process__step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  position: relative;
  transition: transform 0.4s ease;
}
.process__step:hover {
  transform: translateY(-4px);
}
.process__num {
  position: static;
  transform: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.process__step:hover .process__num {
  background: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
}
.process__content h3 { 
  font-family: var(--font-heading);
  font-size: 20px; 
  font-weight: 500; 
  margin-bottom: 12px; 
  color: var(--text);
}
.process__content p { 
  font-size: 14.5px; 
  color: var(--text-secondary); 
  line-height: 1.6; 
  margin-bottom: 16px;
  max-width: none;
}
.process__meta {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--bg-alt);
  padding: 5px 12px;
  font-weight: 600;
  border-radius: 2px;
}

/* ========================================
   11. PORTFOLIO
   ======================================== */
.portfolio__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px;
}
.portfolio__card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  transition: border-color 0.35s ease, box-shadow 0.45s ease, transform 0.45s var(--transition-slow);
}
.portfolio__card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.portfolio__card:hover .portfolio__img img { transform: scale(1.04); }
.portfolio__img { aspect-ratio: 16/10; border-radius: 0; overflow: hidden; }
.portfolio__body { padding: 28px; }
.portfolio__body .label { margin-bottom: 10px; }
.portfolio__body h3 {
  font-family: var(--font-heading); font-size: 24px; font-weight: 400;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.portfolio__body p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }
.portfolio__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.portfolio__tags span {
  padding: 4px 12px; font-size: 11px; letter-spacing: 0.5px;
  border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted);
  background: var(--bg-raised);
}
.portfolio__cta { text-align: center; }

/* ========================================
   12. BEFORE/AFTER SLIDER
   ======================================== */
.proof { background: var(--bg); }
.proof__slider-wrap {
  margin-top: 48px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.proof__slider {
  position: relative; 
  aspect-ratio: 16/9; 
  border-radius: var(--radius-xl);
  overflow: hidden; 
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.proof__before,
.proof__after {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.proof__before { z-index: 1; }
.proof__after { 
  clip-path: inset(0 0 0 50%); 
  z-index: 2;
}
.proof__image { position: absolute; inset: 0; width: 100%; height: 100%; }
.proof__image img { width: 100%; height: 100%; object-fit: cover; }

.proof__label {
  position: absolute; top: 24px; z-index: 5;
  padding: 8px 16px; font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(255,255,255,0.92); color: var(--text);
  backdrop-filter: blur(8px); border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  pointer-events: none;
}
.proof__label--before { left: 24px; }
.proof__label--after { right: 24px; }

.proof__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.proof__handle-line { flex: 1; width: 2px; background: rgba(255,255,255,0.4); }
.proof__handle-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  margin: 12px 0; color: var(--accent);
  transition: transform 0.3s var(--transition-base);
}
.proof__slider:hover .proof__handle-circle { transform: scale(1.1); }
.proof__handle-arrows { display: flex; align-items: center; justify-content: center; }

.proof__info {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  margin-top: 40px; padding: 40px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.proof__info-item { display: flex; flex-direction: column; gap: 8px; }
.proof__info-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); font-weight: 600;
}
.proof__info-value { font-size: 14.5px; color: var(--text-secondary); line-height: 1.5; font-weight: 500; }

/* ========================================
   13. TESTIMONIALS
   ======================================== */
.testimonials__grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 32px; 
}
.testimonials__card {
  background: var(--bg-card); 
  padding: 48px;
  border: 1px solid var(--border); 
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}
.testimonials__card--featured {
  border-left: 2px solid var(--accent);
  background: var(--bg-raised);
}
.testimonials__card::before {
  content: '\201C';
  position: absolute; top: 24px; left: 32px;
  font-family: var(--font-heading); font-size: 80px;
  line-height: 1; color: var(--accent); opacity: 0.1;
}
.testimonials__card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.testimonials__card p {
  font-size: 15.5px; 
  line-height: 1.7; 
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.testimonials__card footer { 
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonials__author {
  display: flex; align-items: center; gap: 16px;
}
.testimonials__initial {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-inset); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.testimonials__name { display: block; font-size: 14px; font-weight: 600; font-style: normal; color: var(--text); }
.testimonials__context { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.testimonials__tags {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.testimonials__tags span {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600;
}
.testimonials__link {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); font-weight: 600; text-decoration: none;
  transition: color 0.3s ease;
}
.testimonials__link:hover { color: var(--accent); }

/* ========================================
   14. FAQ
   ======================================== */
.faq__list { max-width: 900px; margin-bottom: 80px; }
.faq__item {
  border-bottom: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}
.faq__item:hover { background: rgba(139, 115, 85, 0.02); }

/* Выделение открытого состояния */
.faq__item:has(.faq__trigger[aria-expanded="true"]) {
  background: var(--bg-alt);
  border-bottom-color: var(--accent);
}

.faq__trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 32px 16px 32px 0; font-size: 18px; font-weight: 400;
  text-align: left; color: var(--text);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none; background: none;
}
.faq__trigger span:first-child { flex: 1; padding-right: 40px; }
.faq__trigger:hover { color: var(--accent); }

.faq__trigger[aria-expanded="true"] { 
  color: var(--accent); 
  font-weight: 500;
  padding-bottom: 16px; 
}

.faq__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text-muted);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.faq__trigger:hover .faq__icon { border-color: var(--accent); color: var(--accent); }

.faq__trigger[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.faq__answer { 
  padding: 0 40px 32px 0; 
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}
.faq__trigger[aria-expanded="true"] + .faq__answer {
  opacity: 1;
  transform: translateY(0);
}
.faq__answer p { 
  font-size: 16px; color: var(--text-secondary); line-height: 1.8; 
  max-width: 780px; font-weight: 400; 
}

/* Мягкий мост к CTA */
.faq__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 40px;
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  max-width: 900px;
}
.faq__footer-text {
  font-size: 17px;
  color: var(--text);
  font-weight: 400;
  max-width: 320px;
  line-height: 1.5;
}
.faq__footer .btn {
  min-width: 240px;
}

@media (max-width: 768px) {
  .faq__trigger { padding: 24px 0; font-size: 16px; }
  .faq__footer { 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .faq__footer-text { max-width: 100%; }
}

/* ========================================
   15. CONTACT
   ======================================== */
.contact__subtitle {
  font-size: 16px; line-height: 1.6; color: var(--text-secondary);
  max-width: 600px; margin: -32px 0 64px;
}
.contact__grid { display: grid; grid-template-columns: 1fr 400px; gap: 88px; align-items: start; }
.contact__grid > * { min-width: 0; }

.contact__form {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form__group { margin-bottom: 24px; }
.form__label {
  display: block; font-size: 12px; font-weight: 500; margin-bottom: 10px;
  color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase;
}
.form__label-optional { font-size: 10px; text-transform: lowercase; font-weight: 400; opacity: 0.7; margin-left: 4px; }

.form__input {
  width: 100%; padding: 16px 20px; font-size: 15px;
  background: var(--bg-raised); border: 1px solid var(--border-mid);
  border-radius: var(--radius); color: var(--text);
  transition: all 0.3s ease;
}
.form__input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: var(--focus-ring); }
.form__input.error { border-color: var(--error); }
.form__error { display: block; font-size: 12px; color: var(--error); margin-top: 4px; min-height: 16px; }

.form__textarea { resize: vertical; min-height: 100px; }

.form__file-wrapper { position: relative; margin-top: 8px; }
.form__file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.form__file-label {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border: 1px dashed var(--border-mid);
  border-radius: var(--radius); color: var(--text-secondary);
  font-size: 14px; cursor: pointer; transition: all 0.3s ease;
}
.form__file-label svg { color: var(--accent); opacity: 0.7; }
.form__file-label small { font-size: 12px; color: var(--text-muted); }
.form__file-wrapper:hover .form__file-label { border-color: var(--accent); background: rgba(139,115,85,0.03); }

.form__checkbox { 
  display: flex; align-items: center; gap: 12px; 
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  user-select: none;
}
.form__checkbox input { display: none; }
.form__checkmark {
  width: 20px; height: 20px; border: 1px solid var(--border-mid);
  border-radius: 4px; background: #fff; position: relative;
  transition: all 0.2s ease; flex-shrink: 0;
}
.form__checkbox:hover .form__checkmark { border-color: var(--accent); }
.form__checkbox input:checked + .form__checkmark {
  background: var(--accent); border-color: var(--accent);
}
.form__checkbox input:checked + .form__checkmark::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 6px; height: 11px; border: solid white;
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.form__checkbox a { color: var(--accent); }
.form__submit { width: 100%; margin-top: 8px; }
.form__reassurance { 
  font-size: 13px; color: var(--text-muted); text-align: center; 
  margin-top: 20px; font-weight: 400; 
}

/* Right Column Styles */
.contact__info { display: flex; flex-direction: column; gap: 40px; }
.contact__method { display: flex; flex-direction: column; gap: 8px; }
.contact__method-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); font-weight: 600; opacity: 0.9;
}
.contact__method-value {
  font-family: var(--font-heading); font-size: 26px; color: var(--text);
  text-decoration: none; transition: color 0.3s ease;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.contact__method-value:hover { color: var(--accent); }
.contact__method-note { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.contact__actions { display: flex; gap: 10px; margin-top: 8px; }

.contact__address-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 360px;
}
.contact__address-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact__address-content { padding: 20px 24px; }
.contact__address-text { font-size: 14.5px; color: var(--text); line-height: 1.5; margin-top: 8px; }
.contact__address-text strong { color: var(--accent); font-weight: 500; }

.contact__map-link { text-decoration: none; }
.contact__map-static {
  height: 100px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.contact__map-static::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M10 10l80 80m0-80L10 90' stroke='%238b7355' stroke-opacity='0.05' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 40px;
}
.contact__map-static span {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; color: var(--accent);
  background: #fff; padding: 10px 20px; border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn--success { background: #4a6741 !important; color: #fff !important; border-color: #4a6741 !important; box-shadow: none !important; }

@media (max-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr; gap: 64px; }
  .contact__info { order: -1; }
  .contact__address-card { max-width: 100%; }
}

@media (max-width: 768px) {
  .contact__form { padding: 32px 20px; }
  .contact__method-value { font-size: 24px; }
}

/* ========================================
   STICKY MOBILE CTA
   ======================================== */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 12px 16px 16px; background: rgba(245,242,237,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: 10px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
}
.sticky-cta.visible { display: flex; }
.sticky-cta__btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px; font-size: 13px; font-weight: 500;
  border-radius: var(--radius-lg); transition: all 0.25s ease;
  letter-spacing: 0.5px;
}
.sticky-cta__btn--phone {
  background: var(--accent); color: var(--text-on-accent);
  box-shadow: 0 2px 12px rgba(139,115,85,0.3);
}
.sticky-cta__btn--phone:hover { background: var(--accent-hover); }
.sticky-cta__btn--msg { border: 1px solid var(--border-mid); color: var(--text); background: var(--bg-card); }
.sticky-cta__btn--msg:hover { border-color: var(--accent); color: var(--accent); }

/* ========================================
   16. FOOTER
   ======================================== */
.footer {
  padding: 88px 0 44px;
  border-top: 1px solid var(--border);
  background: var(--bg-inset);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  background:
    radial-gradient(ellipse at 80% 100%, rgba(139,115,85,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 0%, rgba(201,169,110,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.footer__top { display: grid; grid-template-columns: 320px 1fr; gap: 88px; margin-bottom: 64px; }
.footer__logo {
  font-family: var(--font-body); font-size: 18px; font-weight: 600;
  letter-spacing: 0.35em; color: var(--text); display: block; margin-bottom: 16px;
  text-transform: uppercase; text-decoration: none;
}
.footer__logo:hover { color: var(--accent); }
.footer__tagline { 
  font-size: 14px; color: var(--text-secondary); line-height: 1.6; 
  max-width: 260px; font-weight: 400; opacity: 0.8;
}

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer__col h4 {
  font-size: 10px; font-weight: 600; margin-bottom: 24px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent);
}
.footer__col a {
  display: block; font-size: 14px; color: var(--text-secondary);
  margin-bottom: 14px; transition: color 0.25s ease;
  font-weight: 400; text-decoration: none;
}
.footer__col a:hover { color: var(--accent); }

.footer__phone {
  display: block; font-family: var(--font-heading); font-size: 22px !important;
  color: var(--text) !important; margin-bottom: 8px !important;
  letter-spacing: -0.01em; font-weight: 400 !important;
  text-decoration: none;
}
.footer__hours { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.footer__socials { display: flex; gap: 20px; }
.footer__social-link {
  font-size: 12px !important; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; color: var(--text-muted) !important;
  border-bottom: 1px solid var(--border-mid); padding-bottom: 2px;
  margin-bottom: 0 !important; display: inline-block !important;
  text-decoration: none; transition: all 0.2s;
}
.footer__social-link:hover { color: var(--accent) !important; border-color: var(--accent); }

.footer__divider {
  height: 1px;
  background: var(--border);
  opacity: 0.6;
  margin-bottom: 32px;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-muted);
}
.footer__bottom a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer__bottom a:hover { color: var(--accent); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1280px) {
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
  .categories__card,
  .categories__card--main { grid-column: span 1; }
}
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .story__grid { grid-template-columns: 1fr; gap: 48px; }
  .story::before { display: none; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__card,
  .advantages__card--primary { grid-column: span 1; padding: 44px 32px; }
  .flagship__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__info { gap: 24px; padding: 32px; }
  .selector__widget { max-width: 100%; }
  .contact__grid { grid-template-columns: 1fr; gap: 52px; }
  .contact__info { order: -1; }
  .contact__address-card { max-width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 56px; }
  .footer__tagline { max-width: 100%; }
  .footer__nav { gap: 32px; }
}
@media (max-width: 768px) {
  :root { 
    --nav-h: 64px; 
    --container-padding: 20px;
    --radius-mobile: 12px;
  }
  .container { padding: 0 var(--container-padding); }
  .section { padding: 64px 0; }
  .section__title { margin-bottom: 32px; font-size: 28px; letter-spacing: -0.01em; }

  /* Header Mobile Optimization */
  .nav { height: var(--nav-h); border-bottom: 1px solid var(--border); }
  .nav__links, .nav__phone-text, .nav__cta { display: none; }
  .nav__phone { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--accent); }
  .nav__phone svg { width: 22px; height: 22px; }
  .nav__logo { font-size: 15px; letter-spacing: 4px; }
  .nav__burger { margin-left: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .nav__burger:hover span:nth-child(2) { width: 26px; }

  /* Hero Mobile UX */
  .hero {
    height: 100svh;
    min-height: 600px;
    max-height: 860px;
    display: block;
    padding: 0;
    text-align: left;
    background: var(--bg);
  }
  .hero__bg { top: var(--nav-h); }
  .hero__bg picture { display: none; }
  .hero__bg-video {
    display: block;
    height: 100%;
    object-position: center center;
  }
  .hero__overlay {
    top: var(--nav-h);
    background:
      linear-gradient(to bottom, rgba(245,242,237,0.02) 0%, rgba(245,242,237,0) 38%, rgba(245,242,237,0.78) 76%, rgba(245,242,237,0.98) 100%),
      linear-gradient(to right, rgba(245,242,237,0.28) 0%, rgba(245,242,237,0) 58%);
  }
  .hero__content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 132px;
    z-index: 2;
    max-width: 420px;
    margin: 0;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }
  .hero__title {
    margin: 0;
    max-width: 100%;
    font-size: 44px;
    line-height: 1.03;
    letter-spacing: 0;
  }
  .hero__subtitle {
    margin-top: 22px;
    margin-bottom: 0;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.42;
    opacity: 0.95;
  }
  .hero__actions { display: none; }
  .hero__button {
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 32px);
    z-index: 2;
  }
  .hero__button .btn {
    width: 100%;
    height: 56px;
    font-size: 14px;
    justify-content: center;
  }
  .hero .fade-in,
  .hero .fade-in.visible,
  .hero .fade-in:nth-child(2),
  .hero .fade-in:nth-child(3),
  .hero .fade-in:nth-child(4),
  .hero .fade-in:nth-child(5),
  .hero .fade-in:nth-child(6) {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
  
  .hero__scroll { display: none; }
  
  /* Trust Section */
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .trust__item { padding: 28px 16px; text-align: center; border-right: none; border-bottom: 1px solid var(--border); }
  .trust__item:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust__item:nth-last-child(-n+2) { border-bottom: none; }
  .trust__number { font-size: 28px; margin-bottom: 8px; }
  .trust__label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }

  /* Story */
  .story__text { max-width: 100%; font-size: 15px; line-height: 1.7; }
  .story__point { gap: 20px; padding: 24px 0; }
  .story__point h3 { font-size: 18px; margin-bottom: 8px; }
  .story__point p { font-size: 14px; line-height: 1.6; }

  /* Categories */
  .categories__grid { grid-template-columns: 1fr; gap: 16px; }
  .categories__card,
  .categories__card--main { grid-column: span 1; }
  .categories__body { padding: 24px 22px; }
  .categories__body h3 { font-size: 22px; }

  /* Advantages */
  .advantages__grid { grid-template-columns: 1fr; }
  .advantages__card,
  .advantages__card--primary { grid-column: span 1; padding: 36px 24px; }
  .advantages__card h3,
  .advantages__card--primary h3 { font-size: 22px; max-width: none; }
  .advantages__card p,
  .advantages__card--primary p { font-size: 14px; max-width: none; }

  /* Flagship + Catalog */
  .flagship__grid { grid-template-columns: 1fr; gap: 20px; }
  .catalog__filters { gap: 8px; margin-bottom: 28px; }
  .catalog__grid { grid-template-columns: 1fr; gap: 20px; }
  .catalog__card-img { aspect-ratio: 4/3; }
  .catalog__card-body { padding: 24px 20px; }
  .catalog__card-name { font-size: 20px; }
  .catalog__card-tagline { margin-bottom: 16px; }
  .catalog__card-specs { margin-bottom: 20px; padding-bottom: 20px; }

  /* Selector */
  .selector__header { margin-bottom: 40px; }
  .selector__lead { font-size: 15px; line-height: 1.6; }
  .selector__widget { padding: 32px 20px; min-height: auto; border-radius: var(--radius-mobile); }
  .selector__steps-info { margin-bottom: 32px; }
  .selector__question { font-size: 24px; margin-bottom: 24px; }
  .selector__chips { gap: 12px; }
  .chip { padding: 16px; font-size: 15px; }
  .selector__result-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .selector__result-actions .btn { width: 100%; justify-content: center; }
  .selector__reset { text-align: center; }

  /* Process */
  .process__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .process__step { gap: 16px; }
  .process__num {
    width: 40px; height: 40px; font-size: 12px;
  }
  .process__content h3 { font-size: 18px; margin-bottom: 8px; }
  .process__content p { font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
  .process__meta { font-size: 9px; letter-spacing: 0.1em; }

  /* Portfolio */
  .portfolio__grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio__body { padding: 24px 20px; }
  .portfolio__body h3 { font-size: 22px; }

  /* Before/After */
  .proof__slider-wrap { margin-top: 36px; }
  .proof__slider { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
  .proof__label { top: 12px; padding: 7px 12px; font-size: 9px; letter-spacing: 0.11em; }
  .proof__label--before { left: 12px; }
  .proof__label--after { right: 12px; }
  .proof__handle-circle { width: 44px; height: 44px; margin: 10px 0; }
  .proof__handle-arrows svg { width: 18px; height: 18px; }
  .proof__info { grid-template-columns: 1fr; gap: 18px; padding: 28px 20px; margin-top: 24px; }
  .proof__info-value { font-size: 16px; line-height: 1.55; }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials__card { padding: 28px 22px; }
  .testimonials__card::before { font-size: 56px; top: 14px; left: 16px; }
  .testimonials__card p { font-size: 14.5px; line-height: 1.65; margin-bottom: 24px; }
  .testimonials__tags { flex-wrap: wrap; gap: 12px; }

  /* FAQ */
  .faq__list { margin-bottom: 48px; }
  .faq__trigger { padding: 24px 0; font-size: 16px; }
  .faq__trigger span:first-child { padding-right: 16px; }
  .faq__icon { width: 32px; height: 32px; font-size: 20px; }
  .faq__answer { padding: 0 0 24px 0; }
  .faq__answer p { font-size: 16px; line-height: 1.6; }
  .faq__footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }
  .faq__footer-text { max-width: 100%; }
  .faq__footer .btn { width: 100%; min-width: 0; justify-content: center; }

  /* Contact */
  .contact__subtitle { margin: -12px 0 40px; font-size: 15px; }
  .contact__grid { gap: 40px; }
  .contact__form { padding: 28px 20px; }
  .contact__method-value { font-size: 20px; }
  .contact__actions { flex-wrap: wrap; }
  .contact__actions .btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
    justify-content: center;
  }
  .contact__address-content { padding: 18px; }
  .contact__map-static { height: 92px; }

  /* Footer + Sticky CTA */
  .footer { padding: 72px 0 108px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .sticky-cta { padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 12px); }
  .sticky-cta__btn { min-height: 50px; font-size: 12px; }

  body { padding-bottom: 88px; }
}

@media (max-width: 480px) {
  :root { --container-padding: 14px; }
  .section { padding: 56px 0; }
  .section__title { font-size: 24px; margin-bottom: 28px; }

  .hero { min-height: 620px; }
  .hero__content { left: 22px; right: 22px; bottom: 124px; max-width: 360px; }
  .hero__title { font-size: 40px; line-height: 1.04; }
  .hero__subtitle { margin-top: 20px; font-size: 16px; line-height: 1.42; }
  .hero__button { left: 14px; right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
  .hero__button .btn { height: 54px; }

  .story__text { font-size: 14.5px; }
  .story__point { gap: 18px; }
  .story__point h3 { font-size: 17px; }

  .categories__body { padding: 22px 18px; }
  .categories__body h3 { font-size: 20px; }

  .advantages__card,
  .advantages__card--primary { padding: 32px 20px; }
  .advantages__card h3,
  .advantages__card--primary h3 { font-size: 20px; }

  .catalog__chip { padding: 8px 14px; font-size: 11px; }
  .catalog__card-body { padding: 22px 18px; }
  .catalog__card-name { font-size: 19px; }

  .selector__widget { padding: 24px 16px; }
  .selector__question { font-size: 22px; }
  .selector__chips { grid-template-columns: 1fr; }
  .chip { padding: 14px 16px; font-size: 14px; }

  .process__content h3 { font-size: 17px; }

  .proof__slider { aspect-ratio: 1 / 1; }
  .proof__label { font-size: 8px; letter-spacing: 0.1em; max-width: 46%; text-align: center; }

  .testimonials__card { padding: 24px 18px; }
  .testimonials__card::before { display: none; }

  .contact__actions .btn { flex: 1 1 100%; }
  .contact__method-value { font-size: 18px; }

  .sticky-cta { gap: 8px; padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 10px); }
  .sticky-cta__btn { min-height: 48px; padding: 10px; }
  body { padding-bottom: 84px; }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; }
  .selector__widget::before { animation: none; }
}
