/* =========================================================
   СРУБМАСТЕР — Deep Forest Premium v2
   Dark-first. Seamless. Архитектурная роскошь.
   Fonts: Cormorant Garamond + Jost
   ========================================================= */

:root {
  /* Forest palette — dark first */
  --forest-1:   #060C07;
  --forest-2:   #0B1510;
  --forest-3:   #111E15;
  --forest-4:   #172819;
  --forest-5:   #1F3624;
  --forest-6:   #28472F;
  --sage:        #4D7A5E;
  --sage-light:  #7BAA8A;
  --sage-pale:   #C8DDD0;

  /* Gold */
  --gold:        #C8852A;
  --gold-light:  #E8A84E;
  --gold-pale:   #F7EDD6;
  --gold-glow:   rgba(200,133,42,.22);

  /* Neutral light */
  --off-white:   #F5F0E8;
  --cream:       #FAF7F1;
  --white:       #FFFFFF;

  /* Text */
  --text-dark:   #1A2B1E;
  --text-mid:    #3D5443;
  --text-muted:  #607068;
  --text-light:  rgba(255,255,255,.82);
  --text-faint:  rgba(255,255,255,.46);

  /* Borders */
  --border-dark: rgba(255,255,255,.07);
  --border-gold: rgba(200,133,42,.25);
  --border-light: rgba(60,90,70,.12);

  /* Shadows */
  --shadow-sm:   0 2px 16px rgba(6,12,7,.08);
  --shadow-md:   0 8px 40px rgba(6,12,7,.14);
  --shadow-lg:   0 24px 80px rgba(6,12,7,.22);
  --shadow-gold: 0 8px 40px rgba(200,133,42,.28);

  /* Radii */
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 44px;

  /* Motion */
  --ease:    cubic-bezier(.22,1,.36,1);
  --t:       .3s;
  --t-slow:  .55s;

  /* Fonts */
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-u: 'Jost', system-ui, sans-serif;

  --container: 1300px;
  --section-py: 100px;
}

/* ─── RESET ─── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body {
  font-family: var(--font-u);
  color: #ffffff;
  background: var(--forest-1);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; transition:color var(--t) var(--ease); }
ul,ol { list-style:none; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }
input,textarea,select { font-family:inherit; }

/* ─── NOISE OVERLAY ─── */
body::after {
  content:'';
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E");
  pointer-events:none;
  z-index:9999;
}

.container { max-width:var(--container); margin:0 auto; padding:0 28px; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity:0; transform:translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal-delay-4 { transition-delay:.42s; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 30px; border-radius:999px;
  font-family:var(--font-u); font-size:13px; font-weight:700;
  letter-spacing:.07em; text-transform:uppercase;
  border:1.5px solid transparent;
  transition:all var(--t) var(--ease); white-space:nowrap; cursor:pointer;
}
.btn:active { transform:scale(.97); }
.btn-primary {
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#fff; border-color:transparent;
  box-shadow:0 4px 24px rgba(200,133,42,.38);
}
.btn-primary:hover { box-shadow:0 8px 40px rgba(200,133,42,.6); transform:translateY(-2px); color:#fff; }
.btn-outline {
  background:rgba(255,255,255,.06); color:rgba(255,255,255,.9);
  border-color:rgba(255,255,255,.3); backdrop-filter:blur(8px);
}
.btn-outline:hover { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.7); color:#fff; transform:translateY(-2px); }
.btn-outline-dark {
  background:transparent; color:var(--text-dark); border-color:rgba(0,0,0,.25);
}
.btn-outline-dark:hover { background:var(--text-dark); color:#fff; transform:translateY(-2px); }
.btn-outline-sm {
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 20px; border-radius:999px; font-size:12px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
  border:1.5px solid var(--border-light); color:var(--text-muted);
  transition:all var(--t) var(--ease);
}
.btn-outline-sm:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-1px); }
.btn-sm { padding:9px 20px; font-size:12px; }
.btn-lg { padding:17px 46px; font-size:15px; }
.btn-block { width:100%; }
.btn-danger { background:#dc2626; color:#fff; border-color:#dc2626; }
.btn-danger:hover { background:#b91c1c; }

/* BADGES */
.badge-discount { background:var(--gold); color:#fff; padding:4px 12px; border-radius:999px; font-size:13px; font-weight:700; }
.badge-dom    { background:rgba(59,130,246,.15); color:#93c5fd; padding:4px 11px; border-radius:999px; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.badge-banya  { background:rgba(244,114,182,.12); color:#f9a8d4; padding:4px 11px; border-radius:999px; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.badge-besedka{ background:rgba(52,211,153,.1); color:#6ee7b7; padding:4px 11px; border-radius:999px; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANNOUNCE BAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.announce-bar {
  background:linear-gradient(90deg, var(--forest-5) 0%, var(--forest-6) 50%, var(--forest-5) 100%);
  border-bottom:1px solid var(--border-gold);
  color:var(--gold-light); text-align:center;
  padding:10px 20px; font-size:12px; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase;
}
.announce-bar a { color:var(--gold-light); font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.announce-bar a:hover { color:#fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position:sticky; top:0; z-index:100;
  background:rgba(8,15,9,.75);
  backdrop-filter:blur(24px) saturate(1.6);
  -webkit-backdrop-filter:blur(24px) saturate(1.6);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:all var(--t);
}
.site-header.is-scrolled {
  background:rgba(6,10,7,.9);
  border-bottom-color:var(--border-gold);
  box-shadow:0 4px 48px rgba(0,0,0,.45);
}
.header-inner { display:flex; align-items:center; gap:18px; padding:14px 0; }

.logo { display:flex; align-items:center; gap:12px; flex-shrink:0; color:#fff; }
.logo:hover { color:var(--gold-light); }
.logo-icon {
  width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,rgba(200,133,42,.28),rgba(200,133,42,.08));
  border:1px solid rgba(200,133,42,.32); border-radius:12px; font-size:20px;
  transition:all var(--t);
}
.logo:hover .logo-icon { background:linear-gradient(135deg,rgba(200,133,42,.48),rgba(200,133,42,.2)); border-color:var(--gold); }
.logo-text { font-family:var(--font-d); font-size:22px; font-weight:700; letter-spacing:-.01em; }

.main-nav { display:flex; gap:2px; flex:1; }
.main-nav a {
  color:rgba(255,255,255,.65); font-size:13px; font-weight:500;
  letter-spacing:.02em; padding:8px 13px; border-radius:999px; transition:all var(--t);
}
.main-nav a:hover { background:rgba(255,255,255,.09); color:#fff; }
.main-nav a.active { background:rgba(200,133,42,.18); color:var(--gold-light); }

.header-contacts { display:flex; align-items:center; gap:11px; flex-shrink:0; }
.hphone { color:#fff; font-weight:700; font-size:16px; letter-spacing:-.01em; white-space:nowrap; }
.hphone:hover { color:var(--gold-light); }
.header-mess { display:flex; gap:7px; }
.btn-mess { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:11px; color:#fff; transition:all var(--t); }
.btn-mess.wa { background:#25d366; }
.btn-mess.tg { background:#0088cc; }
.btn-mess.wa:hover { background:#1da94e; transform:translateY(-2px); box-shadow:0 6px 18px rgba(37,211,102,.38); }
.btn-mess.tg:hover { background:#006daa; transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,136,204,.38); }
.btn-mess svg { width:18px; height:18px; }
.header-contacts .callback-btn {
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#fff; font-size:12px; padding:10px 18px; border-radius:999px;
  font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  box-shadow:0 4px 18px rgba(200,133,42,.38); transition:all var(--t);
}
.header-contacts .callback-btn:hover { box-shadow:0 6px 28px rgba(200,133,42,.6); transform:translateY(-2px); }

.burger { display:none; flex-direction:column; gap:5px; padding:8px; border-radius:10px; border:1px solid rgba(255,255,255,.16); }
.burger span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:all var(--t); }
.burger:hover { background:rgba(255,255,255,.08); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE NAV
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mobile-nav {
  position:fixed; top:0; left:-310px; width:290px; height:100vh;
  background:var(--forest-2); z-index:300; overflow-y:auto;
  transition:left .35s var(--ease); padding:22px 0 32px;
  border-right:1px solid var(--border-gold);
}
.mobile-nav.open { left:0; }
.mobile-nav nav { display:flex; flex-direction:column; }
.mobile-nav nav a { color:rgba(255,255,255,.7); padding:13px 28px; font-size:15px; border-bottom:1px solid rgba(255,255,255,.05); transition:all var(--t); }
.mobile-nav nav a:hover { background:rgba(200,133,42,.1); color:var(--gold-light); padding-left:36px; }
.mobile-nav nav strong { display:block; padding:16px 28px 6px; font-size:10px; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.28); }
.mobile-nav a.mobile-phone { font-size:20px; font-weight:700; color:var(--gold-light); padding:22px 28px; border-top:1px solid var(--border-gold); margin-top:10px; }
.mobile-nav-close { position:absolute; top:18px; right:18px; width:36px; height:36px; border-radius:10px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05); color:#fff; font-size:18px; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all var(--t); }
.mobile-nav-close:hover { background:rgba(200,133,42,.22); border-color:var(--gold); }
.overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.65); backdrop-filter:blur(4px); z-index:200; }
.overlay.show { display:block; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO — full dark, big & cinematic
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position:relative; min-height:92vh;
  display:flex; align-items:center;
  overflow:hidden;
  background:var(--forest-1);
}
.hero-slider.has-slides { background:#061008; }
.hero-slides { position:absolute; inset:0; z-index:0; }
.hero-slide { position:absolute; inset:0; background-size:cover; background-position:center; background-repeat:no-repeat; opacity:0; transition:opacity 1s ease; transform:scale(1.03); }
.hero-slide.active { opacity:1; }
.hero-slide::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(5,11,6,.62) 0%, rgba(8,15,9,.46) 36%, rgba(8,15,9,.30) 62%, rgba(8,15,9,.58) 100%); }
.hero-slide-nav { position:absolute; left:50%; bottom:26px; transform:translateX(-50%); display:flex; gap:10px; z-index:3; }
.hero-slide-dot { width:12px; height:12px; border-radius:50%; border:1px solid rgba(255,255,255,.55); background:rgba(255,255,255,.18); padding:0; transition:all var(--t) var(--ease); }
.hero-slide-dot.active, .hero-slide-dot:hover { background:var(--gold-light); border-color:var(--gold-light); box-shadow:0 0 0 4px rgba(200,133,42,.16); }

/* Multi-layer atmospheric gradient */
.hero::before {
  content:''; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(ellipse 75% 80% at 10% 55%, rgba(31,54,36,.55) 0%, transparent 58%),
    radial-gradient(ellipse 55% 65% at 88% 20%, rgba(15,28,18,.52) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 60% 80%, rgba(23,40,25,.34) 0%, transparent 55%),
    linear-gradient(155deg, rgba(5,11,6,.62) 0%, rgba(13,26,16,.48) 35%, rgba(17,31,21,.42) 65%, rgba(8,14,9,.58) 100%);
}
/* Subtle grid texture */
.hero::after {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 80% at 20% 50%, black 0%, transparent 75%);
}

/* Decorative rings */
.hero-rings {
  position:absolute; right:5%; top:50%; transform:translateY(-50%); z-index:2;
  width:560px; height:560px; pointer-events:none;
  animation:ringsFloat 10s ease-in-out infinite alternate;
  opacity:.7;
}
@keyframes ringsFloat {
  0%   { transform:translateY(-50%) scale(1); opacity:.7; }
  100% { transform:translateY(-56%) scale(1.07); opacity:1; }
}
.hero-rings circle { fill:none; }
.hero-rings circle:nth-child(1) { stroke:rgba(200,133,42,.14); stroke-width:1; }
.hero-rings circle:nth-child(2) { stroke:rgba(200,133,42,.09); stroke-width:1; }
.hero-rings circle:nth-child(3) { stroke:rgba(200,133,42,.06); stroke-width:.8; }
.hero-rings circle:nth-child(4) { stroke:rgba(200,133,42,.035); stroke-width:.7; }

/* Gold glow blob */
.hero-glow {
  position:absolute; right:12%; top:42%; width:380px; height:380px;
  border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(200,133,42,.09) 0%, transparent 70%);
  animation:glowPulse 7s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0%   { transform:scale(1); opacity:.7; }
  100% { transform:scale(1.2); opacity:1; }
}

.hero-inner {
  position:relative; z-index:2;
  padding:140px 0 120px; max-width:760px;
}

.hero-eyebrow {
  display:inline-flex; align-items:center; gap:12px;
  font-size:11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold-light); margin-bottom:28px;
}
.hero-eyebrow::before { content:''; display:block; width:36px; height:1px; background:linear-gradient(90deg, var(--gold-light), transparent); }

.hero h1 {
  font-family:var(--font-d);
  font-size:clamp(40px, 5.8vw, 80px);
  font-weight:700; line-height:1.04; letter-spacing:-.025em;
  color:#fff; margin-bottom:28px;
}
.hero h1 em { font-style:italic; color:var(--gold-light); }

.hero-sub {
  font-size:18px; line-height:1.75; color:rgba(255,255,255,.62);
  margin-bottom:48px; max-width:540px;
}
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:60px; }

/* Trust strip */
.hero-trust {
  display:flex; align-items:center; gap:0;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r); overflow:hidden;
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(12px);
  width:fit-content;
}
.hero-trust-item {
  display:flex; flex-direction:column; align-items:center; gap:3px;
  padding:18px 32px; position:relative;
}
.hero-trust-item::after {
  content:''; position:absolute; right:0; top:20%; bottom:20%;
  width:1px; background:rgba(255,255,255,.1);
}
.hero-trust-item:last-child::after { display:none; }
.hero-trust-num {
  font-family:var(--font-d); font-size:28px; font-weight:700;
  color:var(--gold-light); line-height:1;
}
.hero-trust-label { font-size:11px; color:rgba(255,255,255,.42); letter-spacing:.04em; white-space:nowrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO → SITE seamless transition
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* The whole page flows dark → medium → light → dark */
body { background:var(--forest-1); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TRIGGERS — still dark, connected
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-triggers {
  background:var(--forest-2);
  padding:0; border-bottom:1px solid rgba(255,255,255,.06);
}
.triggers-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
}
.trigger-item {
  display:flex; align-items:center; gap:14px;
  color:rgba(255,255,255,.72); padding:26px 28px;
  font-size:14px; line-height:1.45;
  border-right:1px solid rgba(255,255,255,.06);
  transition:background var(--t);
}
.trigger-item:last-child { border-right:none; }
.trigger-item:hover { background:rgba(200,133,42,.07); }
.ti-icon {
  width:46px; height:46px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
  background:rgba(200,133,42,.12);
  border:1px solid rgba(200,133,42,.2);
  border-radius:12px; transition:all var(--t);
}
.trigger-item:hover .ti-icon { background:rgba(200,133,42,.22); border-color:rgba(200,133,42,.4); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICE AREA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-service-area {
  background:var(--forest-3);
  padding:34px 0 52px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.service-area-panel {
  position:relative;
  padding:34px;
  border-radius:var(--r-lg);
  background:linear-gradient(135deg, rgba(255,255,255,.05), rgba(200,133,42,.08));
  border:1px solid rgba(200,133,42,.18);
  box-shadow:0 16px 60px rgba(0,0,0,.18);
  overflow:hidden;
}
.service-area-panel::before {
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(232,168,78,.18), transparent 34%);
  pointer-events:none;
}
.service-area-copy,
.service-area-grid,
.service-area-note { position:relative; z-index:1; }
.service-area-copy .section-sub { margin-bottom:0; max-width:820px; }
.service-area-grid {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:28px 0 18px;
}
.service-area-chip {
  display:inline-flex;
  align-items:center;
  padding:11px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.88);
  font-size:14px;
  font-weight:600;
  line-height:1.3;
}
.service-area-note {
  color:rgba(255,255,255,.58);
  font-size:14px;
  line-height:1.7;
}
.service-area-note strong { color:var(--gold-light); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTIONS — seamless dark palette
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-table,
.section-projects,
.section-promo,
.section-about,
.section-steps,
.section-reviews,
.section-why,
.section-cta,
.section-catalog,
.section-product,
.section-project,
.section-page,
.section-contacts,
.section-gallery { padding:var(--section-py) 0; }

/* Dark sections (most of the site) */
.section-table      { background:var(--forest-2); }
.section-table--light{ background:var(--forest-3); }
.section-projects   { background:var(--forest-3); }
.section-promo      { background:var(--forest-2); }
.section-about      { background:var(--forest-4); }
.section-steps      { background:var(--forest-1); }
.section-reviews    { background:var(--forest-3); }
.section-why        { background:var(--forest-2); }
.section-cta        { background:var(--forest-1); }
.section-gallery    { background:var(--forest-3); }
.section-catalog    { background:var(--forest-2); }
.section-product    { background:var(--forest-2); }
.section-project    { background:var(--forest-2); }
.section-page       { background:var(--forest-3); }
.section-contacts   { background:var(--forest-2); }

/* Typography for dark sections */
.section-eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold-light); margin-bottom:14px;
}
.section-eyebrow::before { content:''; display:block; width:24px; height:1px; background:var(--gold-light); }

.section-title {
  font-family:var(--font-d);
  font-size:clamp(28px,3.6vw,56px);
  font-weight:700; letter-spacing:-.025em; line-height:1.08;
  color:#fff; margin-bottom:16px;
}
.section-sub { color:rgba(255,255,255,.52); font-size:17px; max-width:640px; line-height:1.7; margin-bottom:44px; }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:44px; gap:20px; flex-wrap:wrap; }
.section-more { text-align:center; margin-top:52px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRICE TABLE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.table-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:var(--r); border:1px solid rgba(255,255,255,.08); }
.price-table { width:100%; border-collapse:collapse; min-width:700px; font-size:14px; background:rgba(255,255,255,.03); }
.price-table thead tr { background:rgba(200,133,42,.15); }
.price-table th,.price-table td { padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.06); vertical-align:middle; color:rgba(255,255,255,.85); }
.price-table th { font-weight:700; text-align:center; font-size:12px; letter-spacing:.07em; text-transform:uppercase; border-bottom:1px solid rgba(255,255,255,.1); color:var(--gold-light); }
.price-table td { text-align:center; }
.price-table .size-col { text-align:left; font-weight:600; white-space:nowrap; }
.price-table .size-col a { color:var(--sage-light); }
.price-table .size-col a:hover { color:var(--gold-light); }
.price-table .var-col { width:160px; }
.price-table__variants-row th { padding:14px 12px 18px; background:transparent; border-bottom:1px solid rgba(255,255,255,.08); }
.price-table__variants-spacer { text-align:left; vertical-align:bottom; min-width:280px; }
.price-table__variants-spacer span { display:inline-flex; align-items:center; gap:10px; padding:10px 14px; border-radius:999px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.62); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.price-table__variant-col { width:188px; }
.variant-head-card { display:flex; flex-direction:column; gap:10px; }
.variant-head-card__media { position:relative; aspect-ratio:1.35/1; border-radius:16px; overflow:hidden; background:linear-gradient(180deg,#1b3022 0%,#0d1711 100%); border:1px solid rgba(255,255,255,.08); box-shadow:0 14px 34px rgba(0,0,0,.22); }
.variant-head-card__media::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(255,255,255,.02) 0%,rgba(6,12,7,.12) 100%); pointer-events:none; }
.variant-head-card__media img { width:100%; height:100%; object-fit:cover; }
.variant-head-card__title { font-size:12px; font-weight:700; line-height:1.3; color:var(--gold-pale); letter-spacing:.03em; text-transform:none; }
.price-table tbody tr:last-child td { border-bottom:none; }
.price-table tbody tr:nth-child(even) { background:rgba(255,255,255,.025); }
.price-table tbody tr:hover { background:rgba(200,133,42,.08); }
.price-cell.order-cell { cursor:pointer; transition:background var(--t); }
.price-cell.order-cell:hover { background:rgba(200,133,42,.14); color:var(--gold-light); }
.price-sep { color:rgba(255,255,255,.3); margin:0 4px; }
.price-req { color:rgba(255,255,255,.35); font-style:italic; font-size:12px; }
.table-note { margin-top:16px; color:rgba(255,255,255,.4); font-size:13px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECT CARDS — dark glass
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.projects-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
.projects-grid--full { grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); }

.project-card {
  border-radius:var(--r); overflow:hidden;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 4px 24px rgba(0,0,0,.2);
  display:flex; flex-direction:column;
  transition:transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.project-card:hover { transform:translateY(-6px); box-shadow:0 20px 64px rgba(0,0,0,.4); border-color:var(--border-gold); }

.project-card__img { position:relative; height:210px; overflow:hidden; background:linear-gradient(180deg,#1A3020 0%,#122019 100%); }
.project-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.project-card:hover .project-card__img img { transform:scale(1.07); }
.project-card__img::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.6) 100%); pointer-events:none; }
.project-card__no-img { height:100%; display:flex; align-items:center; justify-content:center; font-size:60px; background:linear-gradient(135deg,#1E3828,#152A1E); }
.project-article { position:absolute; top:12px; left:12px; background:rgba(0,0,0,.65); backdrop-filter:blur(8px); color:#fff; padding:3px 10px; border-radius:999px; font-size:11px; font-weight:600; letter-spacing:.04em; z-index:1; }
.project-type-badge { position:absolute; top:12px; right:12px; z-index:1; }
.project-card__body { padding:20px; flex:1; display:flex; flex-direction:column; gap:10px; }
.project-card__name { font-family:var(--font-d); font-weight:700; font-size:20px; color:rgba(255,255,255,.92); line-height:1.22; transition:color var(--t); }
.project-card__name:hover { color:var(--gold-light); }
.project-card__desc { color:rgba(255,255,255,.42); font-size:14px; line-height:1.55; flex:1; }
.project-card__footer { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:14px; border-top:1px solid rgba(255,255,255,.08); gap:10px; }
.project-price { font-family:var(--font-d); font-size:22px; font-weight:700; color:var(--gold-light); letter-spacing:-.01em; }
.project-size { font-size:13px; color:rgba(255,255,255,.38); font-weight:500; }

.projects-filter { display:flex; gap:8px; margin-bottom:36px; flex-wrap:wrap; }
.filter-btn { padding:9px 20px; border:1.5px solid rgba(255,255,255,.12); border-radius:999px; color:rgba(255,255,255,.55); font-weight:600; font-size:13px; text-decoration:none; transition:all var(--t); letter-spacing:.02em; }
.filter-btn:hover,.filter-btn.active { border-color:var(--gold); color:var(--gold-light); background:rgba(200,133,42,.1); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROMOTIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.promo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
.promo-card {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r); padding:26px 22px;
  transition:all var(--t) var(--ease); position:relative; overflow:hidden;
}
.promo-card::before { content:''; position:absolute; top:-60px; right:-60px; width:180px; height:180px; background:radial-gradient(circle,rgba(200,133,42,.12),transparent 70%); border-radius:50%; }
.promo-card:hover { transform:translateY(-5px); box-shadow:0 16px 48px rgba(0,0,0,.35); border-color:var(--border-gold); background:rgba(200,133,42,.06); }
.promo-card a { color:rgba(255,255,255,.82); font-weight:500; font-size:15px; display:flex; align-items:flex-start; gap:14px; position:relative; z-index:1; line-height:1.5; }
.promo-card a:hover { color:var(--gold-light); }
.promo-icon { font-size:26px; flex-shrink:0; width:50px; height:50px; display:flex; align-items:center; justify-content:center; background:rgba(200,133,42,.15); border-radius:12px; border:1px solid rgba(200,133,42,.25); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-inner { display:grid; grid-template-columns:1fr 1.5fr; gap:80px; align-items:center; }
.about-img { position:relative; }
.about-badge {
  position:absolute; top:-20px; left:-20px; z-index:2;
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#fff; padding:20px 24px; border-radius:var(--r);
  text-align:center; box-shadow:var(--shadow-gold);
}
.about-badge span { display:block; font-size:11px; opacity:.85; letter-spacing:.07em; text-transform:uppercase; }
.about-badge strong { display:block; font-family:var(--font-d); font-size:52px; font-weight:700; line-height:1; }
.about-img-placeholder {
  background:linear-gradient(135deg,#1E3828 0%,#142519 100%);
  border-radius:var(--r-lg); height:420px;
  display:flex; align-items:center; justify-content:center;
  font-size:80px; letter-spacing:14px;
  border:1px solid rgba(255,255,255,.08); box-shadow:var(--shadow-md);
}
.about-content .section-title { margin-bottom:20px; }
.about-content p { color:rgba(255,255,255,.52); margin-bottom:28px; font-size:16px; line-height:1.8; }
.about-stats { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:32px 0 36px; }
.stat-item {
  background:rgba(255,255,255,.04);
  padding:20px; border-radius:var(--r);
  border:1px solid rgba(255,255,255,.08);
  transition:all var(--t) var(--ease);
}
.stat-item:hover { transform:translateY(-3px); border-color:var(--border-gold); background:rgba(200,133,42,.06); }
.stat-num { display:block; font-family:var(--font-d); font-size:40px; font-weight:700; color:var(--gold-light); line-height:1; margin-bottom:4px; }
.stat-label { font-size:13px; color:rgba(255,255,255,.42); line-height:1.45; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STEPS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-steps { position:relative; overflow:hidden; }
.section-steps::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);
  background-size:60px 60px;
}
.steps-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.step-item {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07);
  border-radius:var(--r); padding:28px 20px; text-align:center;
  position:relative; transition:all var(--t) var(--ease);
}
.step-item:hover { background:rgba(200,133,42,.08); border-color:var(--border-gold); transform:translateY(-4px); }
.step-num { position:absolute; top:-14px; left:20px; background:linear-gradient(135deg,var(--gold),var(--gold-light)); color:#fff; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; box-shadow:0 4px 14px rgba(200,133,42,.45); }
.step-icon { font-size:36px; margin-bottom:12px; display:block; }
.step-title { font-weight:700; margin-bottom:8px; color:rgba(255,255,255,.88); font-size:15px; }
.step-text  { color:rgba(255,255,255,.45); font-size:13px; line-height:1.55; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   REVIEWS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-reviews { position:relative; overflow:hidden; }
.section-reviews::before {
  content:'\201C'; position:absolute; top:24px; right:3%;
  font-family:var(--font-d); font-size:360px; color:rgba(255,255,255,.04);
  line-height:1; pointer-events:none; user-select:none;
}
.reviews-slider { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.review-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07);
  border-radius:var(--r); padding:26px;
  display:flex; flex-direction:column;
  transition:all var(--t) var(--ease);
}
.review-card:hover { transform:translateY(-5px); border-color:var(--border-gold); background:rgba(200,133,42,.05); }
.review-stars { color:var(--gold-light); font-size:15px; margin-bottom:12px; letter-spacing:2px; }
.review-title { font-family:var(--font-d); font-weight:600; font-size:18px; margin-bottom:12px; font-style:italic; color:rgba(255,255,255,.9); }
.review-text  { color:rgba(255,255,255,.48); font-size:14px; line-height:1.72; margin-bottom:22px; flex:1; }
.review-author { display:flex; align-items:center; gap:13px; padding-top:18px; border-top:1px solid rgba(255,255,255,.08); }
.review-author img { width:50px; height:50px; border-radius:50%; object-fit:cover; }
.review-avatar { width:50px; height:50px; border-radius:50%; background:linear-gradient(135deg,var(--forest-6),var(--forest-4)); color:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; font-family:var(--font-d); font-size:22px; font-weight:700; flex-shrink:0; border:1px solid rgba(255,255,255,.1); }
.review-author strong { display:block; font-size:14px; font-weight:600; color:rgba(255,255,255,.82); }
.review-author span   { font-size:12px; color:rgba(255,255,255,.38); }
.slider-controls { display:none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WHY US
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.why-item {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07);
  border-radius:var(--r); padding:30px;
  transition:all var(--t) var(--ease); position:relative; overflow:hidden;
}
.why-item::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--gold),var(--gold-light)); transform:scaleX(0); transition:transform var(--t) var(--ease); transform-origin:left; }
.why-item:hover { transform:translateY(-5px); border-color:var(--border-gold); background:rgba(200,133,42,.05); }
.why-item:hover::after { transform:scaleX(1); }
.why-icon { font-size:38px; display:block; margin-bottom:16px; }
.why-item h3 { font-family:var(--font-d); font-size:22px; font-weight:700; margin-bottom:10px; color:rgba(255,255,255,.9); }
.why-item p { color:rgba(255,255,255,.45); font-size:14px; line-height:1.65; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-cta { position:relative; overflow:hidden; }
.section-cta::before { content:''; position:absolute; top:-150px; left:50%; transform:translateX(-50%); width:800px; height:800px; background:radial-gradient(circle,rgba(200,133,42,.09) 0%,transparent 65%); border-radius:50%; pointer-events:none; }
.section-cta::after { content:''; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px); background-size:72px 72px; }
.cta-box { text-align:center; position:relative; z-index:1; }
.cta-box h2 { font-family:var(--font-d); font-size:clamp(30px,5vw,68px); font-weight:700; letter-spacing:-.025em; margin-bottom:18px; color:#fff; }
.cta-box p { opacity:.55; font-size:18px; margin-bottom:40px; max-width:500px; margin-left:auto; margin-right:auto; line-height:1.7; color:#fff; }
.cta-box .btn-primary { font-size:15px; padding:18px 52px; box-shadow:0 8px 48px rgba(200,133,42,.55); }
.cta-box .btn-primary:hover { box-shadow:0 14px 64px rgba(200,133,42,.75); transform:translateY(-3px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CATALOG
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.catalog-layout { display:grid; grid-template-columns:250px 1fr; gap:36px; padding:48px 0; }
.catalog-sidebar { position:sticky; top:90px; align-self:start; }
.catalog-sidebar h3 { font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.35); margin-bottom:10px; }
.cat-tree { background:rgba(255,255,255,.04); border-radius:var(--r); border:1px solid rgba(255,255,255,.08); overflow:hidden; margin-bottom:18px; }
.cat-link { display:block; padding:12px 18px; color:rgba(255,255,255,.62); font-size:14px; border-bottom:1px solid rgba(255,255,255,.06); transition:all var(--t); }
.cat-link:last-child { border-bottom:none; }
.cat-link:hover { background:rgba(200,133,42,.1); color:var(--gold-light); padding-left:24px; }
.cat-link.active { background:rgba(200,133,42,.1); color:var(--gold-light); font-weight:700; }
.cat-link--root { font-weight:700; background:rgba(255,255,255,.03); color:rgba(255,255,255,.82); }
.cat-sub { padding-left:8px; }
.cat-sub .cat-link { font-size:13px; color:rgba(255,255,255,.45); }
.sidebar-cta { background:rgba(200,133,42,.08); border:1px solid var(--border-gold); border-radius:var(--r); padding:22px; }
.sidebar-cta h4 { color:rgba(255,255,255,.9); font-size:15px; margin-bottom:8px; }
.sidebar-cta p { font-size:13px; color:rgba(255,255,255,.5); margin-bottom:14px; line-height:1.5; }
.catalog-main h1 { font-family:var(--font-d); font-size:clamp(28px,3.5vw,48px); font-weight:700; letter-spacing:-.02em; margin-bottom:16px; color:#fff; }
.catalog-intro { color:rgba(255,255,255,.5); margin-bottom:30px; font-size:16px; }

.cat-cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; margin-bottom:40px; }
.cat-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:var(--r); padding:26px 20px; text-align:center; transition:all var(--t) var(--ease); color:rgba(255,255,255,.82); display:block; }
.cat-card:hover { transform:translateY(-5px); border-color:var(--border-gold); background:rgba(200,133,42,.07); color:rgba(255,255,255,.92); }
.cat-card__icon { width:58px; height:58px; display:inline-flex; align-items:center; justify-content:center; border-radius:16px; background:rgba(200,133,42,.12); margin-bottom:14px; font-size:28px; border:1px solid rgba(200,133,42,.2); transition:all var(--t); }
.cat-card:hover .cat-card__icon { background:rgba(200,133,42,.22); transform:scale(1.08); }
.cat-card__name { font-family:var(--font-d); font-weight:700; font-size:20px; display:block; margin-bottom:6px; color:rgba(255,255,255,.9); }
.cat-card__desc { font-size:13px; color:rgba(255,255,255,.4); display:block; line-height:1.45; }

.products-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.product-card { border-radius:var(--r); overflow:hidden; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); display:flex; flex-direction:column; transition:all var(--t) var(--ease); }
.product-card:hover { transform:translateY(-6px); box-shadow:0 20px 60px rgba(0,0,0,.35); border-color:var(--border-gold); }
.product-card__img-link { display:block; height:200px; overflow:hidden; background:linear-gradient(180deg,#1E3828 0%,#142519 100%); position:relative; }
.product-card__img-link img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.product-card:hover .product-card__img-link img { transform:scale(1.07); }
.product-card__no-img { height:100%; display:flex; align-items:center; justify-content:center; font-size:64px; }
.product-card__body { padding:20px; flex:1; display:flex; flex-direction:column; gap:10px; }
.product-card__name { font-family:var(--font-d); font-weight:700; font-size:19px; color:rgba(255,255,255,.9); display:block; line-height:1.28; transition:color var(--t); }
.product-card__name:hover { color:var(--gold-light); }
.product-card__meta { display:flex; gap:7px; flex-wrap:wrap; }
.product-card__meta span { font-size:12px; color:rgba(255,255,255,.45); background:rgba(255,255,255,.06); padding:4px 10px; border-radius:999px; font-weight:500; }
.product-card__features { display:flex; gap:6px; flex-wrap:wrap; }
.feature-tag { background:rgba(200,133,42,.12); color:var(--gold-light); font-size:11px; padding:4px 10px; border-radius:999px; font-weight:700; letter-spacing:.04em; }
.feature-tag--lg { font-size:13px; padding:6px 14px; }
.product-card__footer { margin-top:auto; }
.product-card__prices { display:grid; grid-template-columns:auto 1fr; gap:4px 10px; margin-bottom:12px; font-size:13px; align-items:center; }
.price-label { color:rgba(255,255,255,.38); }
.price-val { font-weight:700; color:rgba(255,255,255,.88); font-family:var(--font-d); font-size:16px; }
.product-card__btns { display:flex; gap:8px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRODUCT DETAIL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-product { padding:40px 0 var(--section-py); }
.product-layout { display:grid; grid-template-columns:1fr 1.1fr; gap:48px; margin-bottom:48px; align-items:start; }
.product-main-img { border-radius:var(--r-lg); overflow:hidden; background:linear-gradient(180deg,#1E3828 0%,#142519 100%); box-shadow:var(--shadow-md); }
.product-main-img img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.product-no-img { aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; font-size:100px; }
.product-thumbs { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.product-thumbs .thumb { width:80px; height:62px; object-fit:cover; border-radius:10px; cursor:pointer; opacity:.55; border:2px solid transparent; transition:all var(--t); }
.product-thumbs .thumb.active,.product-thumbs .thumb:hover { opacity:1; border-color:var(--gold); box-shadow:0 4px 14px rgba(200,133,42,.32); }
.product-info { background:rgba(255,255,255,.04); border-radius:var(--r-lg); padding:32px; border:1px solid rgba(255,255,255,.08); box-shadow:var(--shadow-md); }
.product-info h1 { font-family:var(--font-d); font-size:clamp(24px,3vw,40px); font-weight:700; letter-spacing:-.02em; margin-bottom:14px; color:#fff; }
.product-short-desc { color:rgba(255,255,255,.52); margin-bottom:22px; font-size:16px; line-height:1.68; }
.product-specs { border:1px solid rgba(255,255,255,.08); border-radius:var(--r-sm); overflow:hidden; margin-bottom:26px; }
.spec-row { display:flex; border-bottom:1px solid rgba(255,255,255,.07); }
.spec-row:last-child { border-bottom:none; }
.spec-l { background:rgba(255,255,255,.04); padding:11px 15px; font-size:13px; color:rgba(255,255,255,.42); width:155px; flex-shrink:0; font-weight:600; }
.spec-v { padding:11px 15px; font-size:14px; color:rgba(255,255,255,.78); }
.product-price-table { margin-bottom:22px; overflow-x:auto; }
.product-price-table table { width:100%; border-collapse:collapse; font-size:14px; }
.product-price-table th,.product-price-table td { padding:11px 13px; border:1px solid rgba(255,255,255,.08); text-align:center; color:rgba(255,255,255,.78); }
.product-price-table th { background:rgba(200,133,42,.14); color:var(--gold-light); font-weight:600; border-color:rgba(255,255,255,.1); }
.product-price-table td:first-child { text-align:left; font-weight:500; }
.price-note { font-size:13px; color:var(--sage-light); margin-top:10px; font-weight:600; }
.product-features { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:26px; }
.product-actions { display:flex; gap:12px; flex-wrap:wrap; }
.product-description { background:rgba(255,255,255,.04); border-radius:var(--r-lg); padding:36px; margin-bottom:48px; border:1px solid rgba(255,255,255,.08); }
.product-description h2 { font-family:var(--font-d); font-size:32px; font-weight:700; margin-bottom:18px; color:#fff; }
.product-description p { margin-bottom:14px; color:rgba(255,255,255,.5); line-height:1.78; }
.similar-products h2 { font-family:var(--font-d); font-size:32px; font-weight:700; margin-bottom:22px; color:#fff; }
.products-grid--compact { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); }
.product-card--sm { min-height:100%; }
.product-card--sm .product-card__body { padding:18px 18px 20px; gap:14px; justify-content:space-between; min-height:100%; }
.product-card--sm .product-card__name { font-size:18px; line-height:1.4; color:#fff; text-wrap:balance; word-break:break-word; }
.product-card--sm .product-card__prices { margin-bottom:0; }
.product-card__prices--single { grid-template-columns:auto 1fr; gap:6px 10px; align-items:end; }
.product-card--sm .price-label { font-size:14px; color:rgba(255,255,255,.56); }
.product-card--sm .price-val { font-size:22px; color:#fff; line-height:1.1; }
.product-card--sm .product-card__footer { margin-top:auto; }
.product-card--sm .btn { width:100%; justify-content:center; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECT DETAIL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-project { padding:40px 0 var(--section-py); }
.project-layout { display:grid; grid-template-columns:1fr 1fr; gap:48px; margin-bottom:48px; align-items:start; }
.project-main-img { border-radius:var(--r-lg); overflow:hidden; height:420px; background:linear-gradient(180deg,#1E3828 0%,#142519 100%); box-shadow:var(--shadow-md); }
.project-main-img img { width:100%; height:100%; object-fit:cover; }
.project-no-img { height:100%; display:flex; align-items:center; justify-content:center; font-size:100px; }
.project-thumbs { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.project-info { background:rgba(255,255,255,.04); border-radius:var(--r-lg); padding:32px; border:1px solid rgba(255,255,255,.08); box-shadow:var(--shadow-md); }
.project-article-lg { font-size:11px; color:rgba(255,255,255,.38); margin-bottom:10px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.project-info h1 { font-family:var(--font-d); font-size:clamp(24px,3vw,38px); font-weight:700; letter-spacing:-.02em; margin-bottom:14px; color:#fff; }
.project-spec { font-size:16px; margin-bottom:14px; color:rgba(255,255,255,.75); }
.project-desc { color:rgba(255,255,255,.5); margin-bottom:22px; line-height:1.72; }
.project-price-box { background:rgba(200,133,42,.1); border-radius:var(--r-sm); padding:18px 22px; margin-bottom:26px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; border:1px solid var(--border-gold); }
.project-price-label { font-size:13px; color:rgba(255,255,255,.45); }
.project-price-val { font-family:var(--font-d); font-size:38px; font-weight:700; color:var(--gold-light); letter-spacing:-.02em; }
.project-price-note { font-size:12px; color:rgba(255,255,255,.38); }
.project-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:22px; }
.project-includes { display:flex; flex-direction:column; gap:8px; }
.project-includes li { font-size:14px; color:rgba(255,255,255,.48); display:flex; align-items:flex-start; gap:8px; }
.project-includes li::before { content:'✓'; color:var(--sage-light); font-weight:700; flex-shrink:0; }
.project-full-desc { background:rgba(255,255,255,.04); border-radius:var(--r-lg); padding:36px; margin-bottom:48px; border:1px solid rgba(255,255,255,.08); }
.similar-projects h2 { font-family:var(--font-d); font-size:32px; font-weight:700; margin-bottom:22px; color:#fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE, CONTACTS, GALLERY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-page { padding:40px 0 var(--section-py); }
.page-layout { display:grid; grid-template-columns:1fr 280px; gap:44px; }
.page-content h1 { font-family:var(--font-d); font-size:clamp(28px,3.5vw,48px); font-weight:700; letter-spacing:-.02em; margin-bottom:24px; color:#fff; }
.page-content h2,.page-content h3 { font-family:var(--font-d); margin:26px 0 12px; color:#fff; }
.page-content h2 { font-size:28px; }
.page-content h3 { font-size:22px; }
.page-content p { margin-bottom:16px; color:rgba(255,255,255,.52); line-height:1.78; }
.page-content ul,.page-content ol { padding-left:20px; margin-bottom:16px; }
.page-content li { margin-bottom:8px; color:rgba(255,255,255,.52); list-style:disc; }
.page-content ol li { list-style:decimal; }
.sidebar-nav h4 { margin:20px 0 10px; font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.32); font-weight:700; }
.sidebar-nav ul { display:flex; flex-direction:column; gap:2px; }
.sidebar-nav a { font-size:14px; color:rgba(255,255,255,.48); padding:10px 14px; display:block; border-radius:var(--r-sm); border-bottom:1px solid rgba(255,255,255,.06); transition:all var(--t); }
.sidebar-nav a:hover { color:var(--gold-light); background:rgba(200,133,42,.1); }

.section-contacts { padding:40px 0 var(--section-py); }
.contacts-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:48px; }
.contacts-info h1 { font-family:var(--font-d); font-size:clamp(28px,3.5vw,48px); font-weight:700; letter-spacing:-.02em; margin-bottom:30px; color:#fff; }
.contact-block { margin-bottom:26px; }
.contact-block h3 { font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.32); margin-bottom:8px; }
.contact-block p { color:rgba(255,255,255,.52); font-size:15px; }
.contact-block a { color:rgba(255,255,255,.9); font-weight:700; font-size:22px; }
.contact-block a:hover { color:var(--gold-light); }
.contact-note { font-size:12px!important; color:rgba(255,255,255,.38)!important; font-style:italic; }
.mess-links { display:flex; gap:10px; flex-wrap:wrap; }
.mess-links .btn-mess { width:auto; padding:10px 18px; border-radius:12px; font-size:14px; font-weight:700; }
.contacts-form { background:rgba(255,255,255,.04); border-radius:var(--r-lg); padding:36px; border:1px solid rgba(255,255,255,.08); box-shadow:var(--shadow-md); }
.contacts-form h2 { font-family:var(--font-d); font-size:32px; font-weight:700; margin-bottom:26px; color:#fff; }
.contact-form .form-group { margin-bottom:16px; }
.contact-form label { display:block; font-size:11px; font-weight:700; margin-bottom:6px; color:rgba(255,255,255,.38); letter-spacing:.08em; text-transform:uppercase; }
.contact-form input,.contact-form textarea { width:100%; padding:13px 17px; border:1.5px solid rgba(255,255,255,.1); border-radius:var(--r-sm); font-size:15px; background:rgba(255,255,255,.05); color:rgba(255,255,255,.9); transition:all var(--t); }
.contact-form input::placeholder,.contact-form textarea::placeholder { color:rgba(255,255,255,.28); }
.contact-form input:focus,.contact-form textarea:focus { border-color:var(--gold); outline:none; background:rgba(255,255,255,.08); box-shadow:0 0 0 3px rgba(200,133,42,.14); }

.section-gallery { padding:40px 0 var(--section-py); }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px; }
.gallery-item { display:block; border-radius:var(--r); overflow:hidden; position:relative; aspect-ratio:4/3; border:1px solid rgba(255,255,255,.08); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-caption { position:absolute; bottom:0; left:0; right:0; background:linear-gradient(0deg,rgba(0,0,0,.88) 0%,transparent 100%); color:#fff; padding:20px 14px 12px; font-size:13px; transform:translateY(100%); transition:transform var(--t) var(--ease); }
.gallery-item:hover .gallery-caption { transform:none; }
.gallery-placeholder { text-align:center; padding:80px 0; color:rgba(255,255,255,.5); }
.gallery-emoji-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:20px; max-width:400px; margin:30px auto 0; font-size:48px; }

.modal-gallery { padding:24px; background:rgba(7,12,8,.9); z-index:500; }
.modal-gallery-box { position:relative; width:min(1100px, 100%); max-height:100%; display:flex; flex-direction:column; align-items:center; }
.modal-gallery-image { display:block; width:auto; max-width:100%; max-height:calc(100vh - 120px); border-radius:var(--r); box-shadow:0 30px 80px rgba(0,0,0,.45); background:#0b120d; }
.modal-gallery-caption { margin-top:14px; text-align:center; color:rgba(255,255,255,.82); font-size:14px; line-height:1.5; max-width:900px; }
.modal-gallery .modal-close { top:12px; right:12px; z-index:2; }
body.modal-open { overflow:hidden; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BREADCRUMB
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.breadcrumb { margin:16px 0 0; }
.breadcrumb ul { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.breadcrumb li { font-size:13px; color:rgba(255,255,255,.38); }
.breadcrumb li::after { content:'›'; margin-left:8px; opacity:.5; }
.breadcrumb li.active::after { content:''; }
.breadcrumb a { color:rgba(255,255,255,.38); transition:color var(--t); }
.breadcrumb a:hover { color:var(--gold-light); }

/* PAGINATION */
.pagination { display:flex; gap:8px; justify-content:center; margin-top:44px; flex-wrap:wrap; }
.pagination a { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:1.5px solid rgba(255,255,255,.1); border-radius:10px; font-size:14px; font-weight:600; color:rgba(255,255,255,.45); transition:all var(--t); }
.pagination a:hover,.pagination a.active { border-color:var(--gold); color:var(--gold-light); background:rgba(200,133,42,.12); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal { display:none; position:fixed; inset:0; z-index:400; align-items:center; justify-content:center; background:rgba(0,0,0,.72); backdrop-filter:blur(10px); }
.modal.open { display:flex; }
.modal-box { background:var(--forest-3); border:1px solid rgba(255,255,255,.1); border-radius:var(--r-lg); padding:44px; max-width:480px; width:calc(100% - 40px); position:relative; box-shadow:0 48px 100px rgba(0,0,0,.5); animation:modalIn .3s var(--ease); }
@keyframes modalIn { from{opacity:0;transform:scale(.94) translateY(20px)} to{opacity:1;transform:none} }
.modal-box h3 { font-family:var(--font-d); font-size:30px; font-weight:700; margin-bottom:10px; color:#fff; }
.modal-box p { color:rgba(255,255,255,.5); margin-bottom:24px; font-size:15px; }
.modal-close { position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:10px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.05); font-size:16px; color:rgba(255,255,255,.55); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all var(--t); }
.modal-close:hover { background:rgba(255,255,255,.12); color:#fff; }
.callback-form .form-group { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.callback-form input,.callback-form textarea,.callback-form select { width:100%; padding:13px 17px; border:1.5px solid rgba(255,255,255,.1); border-radius:var(--r-sm); font-size:15px; background:rgba(255,255,255,.05); color:rgba(255,255,255,.9); transition:all var(--t); }
.callback-form input::placeholder,.callback-form textarea::placeholder { color:rgba(255,255,255,.28); }
.callback-form input:focus,.callback-form textarea:focus,.callback-form select:focus { border-color:var(--gold); outline:none; background:rgba(255,255,255,.08); box-shadow:0 0 0 3px rgba(200,133,42,.14); }
.form-politic { font-size:12px; color:rgba(255,255,255,.3); text-align:center; margin-top:12px; line-height:1.5; }
.form-politic a { color:rgba(255,255,255,.38); text-decoration:underline; }

/* ALERTS */
.alert { padding:14px 18px; border-radius:var(--r-sm); margin-bottom:16px; font-size:14px; font-weight:500; }
.alert-success { background:rgba(52,211,153,.1); color:#6ee7b7; border:1px solid rgba(52,211,153,.2); }
.alert-error   { background:rgba(239,68,68,.1); color:#fca5a5; border:1px solid rgba(239,68,68,.2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FLOAT CALL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.float-call { position:fixed; bottom:28px; right:28px; z-index:150; width:62px; height:62px; background:linear-gradient(135deg,var(--gold),var(--gold-light)); border-radius:50%; display:flex; align-items:center; justify-content:center; border:3px solid rgba(255,255,255,.88); transition:all var(--t) var(--ease); animation:floatPulse 2.5s ease-in-out infinite; }
.float-call svg { width:26px; height:26px; stroke:#fff; }
.float-call:hover { transform:scale(1.1) translateY(-3px); box-shadow:0 12px 44px rgba(200,133,42,.72); }
@keyframes floatPulse { 0%,100%{box-shadow:0 6px 32px rgba(200,133,42,.58)} 50%{box-shadow:0 6px 32px rgba(200,133,42,.65),0 0 0 10px rgba(200,133,42,.08)} }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer { background:var(--forest-1); color:rgba(255,255,255,.55); border-top:1px solid var(--border-gold); position:relative; }
.site-footer::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(200,133,42,.5),transparent); }
.footer-top { padding:72px 0 52px; }
.footer-grid { display:grid; grid-template-columns:2fr 1.2fr 1.2fr 1.5fr; gap:52px; }
.footer-col h4 { color:rgba(255,255,255,.85); font-size:11px; text-transform:uppercase; letter-spacing:.14em; margin-bottom:18px; font-weight:700; }
.footer-col ul { display:flex; flex-direction:column; gap:8px; }
.footer-col a { color:rgba(255,255,255,.4); font-size:14px; transition:all var(--t); }
.footer-col a:hover { color:var(--gold-light); padding-left:4px; }
.footer-about .logo { color:#fff; gap:12px; }
.footer-about .logo:hover { color:var(--gold-light); }
.footer-about p { font-size:14px; margin-top:16px; line-height:1.78; color:rgba(255,255,255,.45); }
.footer-social { display:flex; gap:10px; margin-top:20px; }
.soc-link { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:11px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.09); font-size:12px; font-weight:700; color:rgba(255,255,255,.55); transition:all var(--t); }
.soc-link:hover { background:linear-gradient(135deg,var(--gold),var(--gold-light)); border-color:transparent; color:#fff; transform:translateY(-2px); }
.footer-contacts p { font-size:14px; margin-bottom:8px; }
.footer-contacts a { color:rgba(255,255,255,.8); font-size:18px; font-weight:700; }
.footer-contacts a:hover { color:var(--gold-light); }
.footer-address,.footer-hours { font-size:13px!important; color:rgba(255,255,255,.3)!important; }
.footer-mess { display:flex; gap:8px; margin-top:14px; }
.footer-mess .btn-mess { width:auto; padding:8px 16px; border-radius:10px; font-size:13px; }
.footer-bottom { background:rgba(0,0,0,.22); padding:18px 0; border-top:1px solid rgba(255,255,255,.05); }
.footer-bottom-inner { display:flex; justify-content:space-between; align-items:center; font-size:13px; gap:12px; flex-wrap:wrap; color:rgba(255,255,255,.28); }
.footer-bottom-meta { display:flex; flex-direction:column; gap:6px; max-width:680px; }
.footer-service-area { line-height:1.6; color:rgba(255,255,255,.38); }
.footer-bottom-links { display:flex; align-items:center; justify-content:flex-end; gap:18px; flex-wrap:wrap; }
.footer-credit { color:rgba(255,255,255,.58)!important; }
.footer-credit:hover { color:var(--gold-light)!important; }
.footer-bottom-inner a { color:rgba(255,255,255,.28); transition:color var(--t); }
.footer-bottom-inner a:hover { color:rgba(255,255,255,.7); }

/* COMPAT */
.logo-light .logo-text { color:#fff; }
.logo-light { color:#fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media(max-width:1200px){
  :root{--section-py:80px}
  .triggers-grid{grid-template-columns:repeat(2,1fr)}
  .about-inner{grid-template-columns:1fr;gap:48px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
  .steps-grid{grid-template-columns:repeat(2,1fr)}
  .hero-rings{width:380px;height:380px;right:2%}
  .service-area-panel{padding:28px}
}
@media(max-width:900px){
  :root{--section-py:64px}
  .main-nav{display:none}
  .burger{display:flex}
  .header-contacts .callback-btn{display:none}
  .catalog-layout{grid-template-columns:1fr}
  .catalog-sidebar{display:none}
  .product-layout{grid-template-columns:1fr;gap:24px}
  .project-layout{grid-template-columns:1fr;gap:24px}
  .contacts-layout{grid-template-columns:1fr}
  .page-layout{grid-template-columns:1fr}
  .reviews-slider{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr 1fr}
  .about-stats{grid-template-columns:1fr 1fr}
  .hero-rings{display:none}
  .hero-glow{display:none}
  .hero-trust{width:100%}
  .hero-trust-item{flex:1}
  .container{padding:0 20px}
  .product-info,.project-info,.contacts-form,.product-description{padding:24px}
}
@media(max-width:640px){
  :root{--section-py:52px}
  .container{padding:0 16px}
  .hero-inner{padding:100px 0 80px}
  .hero h1{font-size:clamp(34px,10vw,54px)}
  .hero-btns{flex-direction:column}

  .hero-slide-nav{bottom:18px}
  .hero-trust{flex-direction:column;width:auto}
  .hero-trust-item{width:100%;flex-direction:row;justify-content:center;gap:16px}
  .hero-trust-item::after{display:none}
  .triggers-grid{grid-template-columns:1fr}
  .trigger-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.06)}
  .trigger-item:last-child{border-bottom:none}
  .section-service-area{padding:24px 0 40px}
  .service-area-panel{padding:24px 20px}
  .service-area-grid{gap:10px;margin:22px 0 16px}
  .service-area-chip{width:100%;justify-content:center;text-align:center}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .footer-bottom-inner,.footer-bottom-links{flex-direction:column;align-items:flex-start}
  .footer-bottom-links{gap:10px}
  .why-grid{grid-template-columns:1fr}
  .steps-grid{grid-template-columns:1fr 1fr}
  .product-actions{flex-direction:column}
  .project-main-img{height:260px}
  .float-call{right:16px;bottom:16px;width:54px;height:54px}
  .modal-box{padding:26px}
  .product-info,.project-info{padding:18px}
  .about-img-placeholder{height:220px;font-size:56px}
  .section-reviews::before{font-size:200px;right:1%}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO ANIMATIONS — CSS only, no JS needed
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-eyebrow {
  animation: heroFadeUp .7s var(--ease) .1s both;
}
.hero h1 {
  animation: heroFadeUp .8s var(--ease) .25s both;
}
.hero-sub {
  animation: heroFadeUp .8s var(--ease) .4s both;
}
.hero-btns {
  animation: heroFadeUp .8s var(--ease) .55s both;
}
.hero-trust {
  animation: heroFadeUp .8s var(--ease) .72s both;
}
.hero-rings {
  animation: ringsFloat 10s ease-in-out infinite alternate, heroFadeIn 1.2s var(--ease) .3s both;
}
@keyframes heroFadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:none; }
}
@keyframes heroFadeIn {
  from { opacity:0; }
  to   { opacity:.7; }
}


@media (max-width: 640px) {
  .products-grid--compact { grid-template-columns:1fr; }

  .product-card--sm .product-card__body { padding:16px; }

  .product-card--sm .product-card__name { font-size:17px; }

  .product-card--sm .price-val { font-size:20px; }
}

/* =========================================================
   MOBILE OPTIMIZATION PATCH
   ========================================================= */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html { -webkit-text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; }
body.nav-open,
body.modal-open {
  overflow: hidden;
  touch-action: none;
}

.site-header {
  padding-top: var(--safe-top);
}
.header-inner,
.catalog-layout,
.product-layout,
.project-layout,
.page-layout,
.contacts-layout,
.footer-grid,
.project-card,
.product-card,
.review-card,
.why-item,
.step-item,
.about-content,
.product-info,
.project-info,
.product-description,
.contacts-form,
.page-content,
.page-sidebar,
.sidebar-cta,
.contact-block,
.footer-col,
.footer-bottom-meta,
.footer-bottom-links {
  min-width: 0;
}

.main-nav a,
.mobile-nav nav a,
.btn,
.btn-mess,
.filter-btn,
.cat-link,
.soc-link,
.footer-bottom-inner a,
.mobile-nav-close,
.burger,
.float-call,
.hero-slide-dot,
.thumb,
.modal-close {
  -webkit-tap-highlight-color: transparent;
}

.burger,
.mobile-nav-close,
.modal-close,
.hero-slide-dot,
.soc-link,
.float-call {
  min-width: 44px;
  min-height: 44px;
}

.mobile-nav {
  left: auto;
  right: 0;
  transform: translateX(100%);
  width: min(100%, 420px);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: calc(var(--safe-top) + 10px) calc(16px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(16px + var(--safe-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform var(--t-slow) var(--ease);
}
.mobile-nav.open {
  left: auto;
  transform: translateX(0);
}
.mobile-nav nav { gap: 2px; }
.mobile-nav nav a,
.mobile-nav nav strong {
  padding-left: 16px;
  padding-right: 16px;
}
.mobile-nav nav a {
  border-radius: 14px;
  font-size: 16px;
}
.mobile-nav nav a:hover,
.mobile-nav nav a:focus-visible {
  padding-left: 16px;
}
.mobile-nav-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  margin-bottom: 10px;
  z-index: 2;
}
.mobile-nav a.mobile-phone {
  font-size: 18px;
  line-height: 1.35;
}
.overlay {
  background: rgba(0,0,0,.72);
}

.modal {
  padding: max(20px, var(--safe-top)) max(12px, var(--safe-right)) max(20px, var(--safe-bottom)) max(12px, var(--safe-left));
}
.modal-box,
.modal-gallery-box {
  max-height: calc(100dvh - max(40px, var(--safe-top) + var(--safe-bottom)));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-gallery-box {
  width: min(100%, 1100px);
}
.modal-gallery-image {
  max-height: min(72dvh, 820px);
  object-fit: contain;
}

.header-contacts {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hphone,
.footer-contacts a,
.contact-block a,
.footer-address,
.footer-hours,
.footer-about p,
.contact-block p,
.service-area-note,
.section-sub,
.catalog-intro,
.project-card__desc,
.product-short-desc,
.product-description p,
.page-content,
.review-text,
.table-note,
.form-politic,
.alert {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.header-mess,
.footer-mess,
.mess-links,
.product-actions,
.project-actions,
.product-card__btns,
.hero-btns,
.projects-filter,
.footer-social {
  flex-wrap: wrap;
}

.table-scroll,
.product-price-table {
  scrollbar-width: thin;
}
.table-scroll::after,
.product-price-table::after {
  content: '';
  display: block;
  min-height: 1px;
}
.price-table,
.product-price-table table {
  min-width: 640px;
}

.btn,
.btn-mess,
.filter-btn,
.cat-link,
.main-nav a,
.mobile-nav nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-group input,
.form-group textarea,
.callback-form input,
.callback-form textarea,
.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 48px;
  font-size: 16px;
}
.callback-form textarea,
.contact-form textarea {
  min-height: 120px;
}

.gallery-grid,
.products-grid,
.projects-grid,
.cat-cards-grid,
.gallery-emoji-grid,
.reviews-slider,
.steps-grid,
.why-grid,
.about-stats {
  align-items: stretch;
}
.gallery-item,
.product-card__img-link,
.project-card__img,
.product-main-img,
.project-main-img {
  border-radius: inherit;
}
.product-thumbs,
.project-thumbs {
  gap: 8px;
}
.product-thumbs .thumb,
.project-thumbs .thumb {
  width: clamp(64px, 20vw, 88px);
  height: clamp(52px, 16vw, 68px);
}

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .header-contacts {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    backdrop-filter: blur(14px);
  }
  .header-inner {
    gap: 12px;
    padding: 12px 0;
  }
  .logo {
    min-width: 0;
    max-width: calc(100% - 72px);
  }
  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-contacts {
    display: none;
  }
  .burger {
    margin-left: auto;
  }
  .section-head {
    align-items: flex-start;
  }
  .product-card__btns,
  .product-actions,
  .project-actions,
  .contacts-form .btn,
  .sidebar-cta .btn,
  .footer-contacts .btn {
    width: 100%;
  }
  .product-card__btns .btn,
  .product-actions .btn,
  .project-actions .btn {
    flex: 1 1 100%;
  }
  .project-price-box {
    align-items: flex-start;
  }
  .gallery-emoji-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .site-header {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .container {
    padding-left: calc(16px + var(--safe-left));
    padding-right: calc(16px + var(--safe-right));
  }
  .announce-bar .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding: 86px 0 64px;
  }
  .hero-sub {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .hero-btns .btn,
  .cta-box .btn,
  .contacts-form .btn,
  .callback-form .btn,
  .product-actions .btn,
  .project-actions .btn,
  .sidebar-cta .btn,
  .product-card__btns .btn,
  .footer-contacts .btn {
    width: 100%;
  }
  .hero-trust {
    width: 100%;
    border-radius: 22px;
  }
  .hero-trust-item {
    padding: 16px 18px;
    justify-content: flex-start;
  }
  .hero-trust-label {
    white-space: normal;
  }
  .section-head,
  .catalog-layout,
  .product-layout,
  .project-layout,
  .page-layout,
  .contacts-layout {
    gap: 20px;
  }
  .price-table,
  .product-price-table table {
    min-width: 560px;
    font-size: 13px;
  }
  .price-table th,
  .price-table td,
  .product-price-table th,
  .product-price-table td {
    padding: 10px 12px;
  }
  .table-note {
    gap: 8px;
    font-size: 12px;
  }
  .projects-grid,
  .products-grid,
  .cat-cards-grid,
  .gallery-grid,
  .reviews-slider,
  .why-grid,
  .steps-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }
  .project-card__footer,
  .footer-bottom-inner,
  .footer-bottom-links {
    align-items: flex-start;
  }
  .project-card__footer {
    flex-direction: column;
  }
  .project-main-img,
  .product-main-img {
    border-radius: 20px;
  }
  .project-main-img {
    height: auto;
    min-height: 220px;
  }
  .product-main-img img,
  .project-main-img img {
    aspect-ratio: 4 / 3;
  }
  .product-info,
  .project-info,
  .contacts-form,
  .product-description,
  .page-content,
  .page-sidebar,
  .service-area-panel,
  .modal-box {
    border-radius: 20px;
  }
  .gallery-emoji-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    font-size: 34px;
  }
  .footer-top {
    padding: 52px 0 36px;
  }
  .footer-bottom {
    padding-bottom: calc(18px + var(--safe-bottom));
  }
  .float-call {
    right: calc(16px + var(--safe-right));
    bottom: calc(16px + var(--safe-bottom));
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: calc(14px + var(--safe-left));
    padding-right: calc(14px + var(--safe-right));
  }
  .logo {
    gap: 10px;
  }
  .logo-text {
    font-size: 20px;
  }
  .hero h1 {
    font-size: clamp(30px, 10.5vw, 42px);
  }
  .hero-btns {
    gap: 10px;
  }
  .section-title,
  .cta-box h2,
  .product-description h2,
  .similar-products h2 {
    line-height: 1.12;
  }
  .product-card__body,
  .project-card__body,
  .contacts-form,
  .product-info,
  .project-info,
  .product-description {
    padding: 16px;
  }
  .spec-row {
    flex-direction: column;
  }
  .spec-l,
  .spec-v {
    width: auto;
  }
  .contact-block a,
  .footer-contacts a {
    font-size: 18px;
  }
  .gallery-emoji-grid {
    font-size: 28px;
  }
}
