/*
Theme Name: SLIM SINK
Theme URI: https://slimsink.com
Author: SLIM SINK
Author URI: https://slimsink.com
Description: Премиальная тема для бренда SLIM SINK — раковины-столешницы. Одностраничный лендинг с SEO-оптимизацией под Яндекс и Google. Весь контент редактируется через Внешний вид → Настроить.
Version: 3.8.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slimsink
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   SLIM SINK — Premium Sanitaryware Theme (v2.0 — no configurator, fully editable)
   ========================================================================== */

:root {
  --ink: #16160f;
  --coal: #1f1f17;
  --stone: #f5f1ea;
  --linen: #efe9df;
  --sand: #e7dfd2;
  --bronze: #b08d57;
  --bronze-soft: #c8a169;
  --gold: #cbb179;
  --clay: #9a7a4f;
  --mist: #a3a092;
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --radius: 24px;
  --shadow-soft: 0 20px 50px -20px rgba(22, 22, 15, 0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-wrap: break-word;
}

img, svg, video, canvas, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

::selection { background: var(--bronze); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--linen); }
::-webkit-scrollbar-thumb { background: #c8c0b1; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--bronze); }

section[id], div[id] { scroll-margin-top: 90px; }
.no-scroll { overflow: hidden; }
.font-display, .disp { font-family: var(--font-display); }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--stone); }
.section-linen { background: var(--linen); }
.section-stone { background: var(--stone); }

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 16px;
}
.kicker-gold { color: var(--bronze-soft); }

.section-head { margin-bottom: 56px; }
.section-head-center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}
.h-display.lg { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.h-display .it { font-style: italic; color: var(--bronze); }
.section-dark .h-display .it { color: var(--gold); }

.lead { color: rgba(22, 22, 15, 0.65); max-width: 560px; margin: 20px 0 0; overflow-wrap: anywhere; }
.section-dark .lead { color: rgba(245, 241, 234, 0.6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  white-space: normal;
  text-align: center;
}
.btn .arr { transition: transform 0.3s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-bronze { background: var(--bronze); color: #fff; }
.btn-bronze:hover { background: var(--gold); box-shadow: 0 18px 40px -12px rgba(176, 141, 87, 0.55); }

.btn-outline-light { border: 1px solid rgba(245, 241, 234, 0.4); color: var(--stone); background: transparent; }
.btn-outline-light:hover { background: var(--stone); color: var(--ink); border-color: var(--stone); }

.btn-dark { background: var(--ink); color: var(--stone); }
.btn-dark:hover { background: var(--bronze); box-shadow: 0 18px 40px -12px rgba(176, 141, 87, 0.5); }

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(245, 241, 234, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(22, 22, 15, 0.08);
  padding: 12px 0;
}
.navbar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stone);
  line-height: 1;
  display: block;
  transition: color 0.3s;
}
.brand-sub {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}
.navbar.scrolled .brand-name { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.35vw, 24px); }
.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245, 241, 234, 0.85);
  transition: color 0.3s;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--bronze);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--bronze-soft); }
.navbar.scrolled .nav-links a { color: rgba(22, 22, 15, 0.8); }
.navbar.scrolled .nav-links a:hover { color: var(--ink); }

.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--stone);
  transition: color 0.3s;
  overflow-wrap: anywhere;
}
.nav-phone:hover { color: var(--gold); }
.navbar.scrolled .nav-phone { color: var(--ink); }
.navbar.scrolled .nav-phone:hover { color: var(--bronze); }

.nav-cta {
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  background: var(--stone);
  color: var(--ink);
  transition: all 0.3s;
}
.navbar.scrolled .nav-cta { background: var(--ink); color: var(--stone); }
.nav-cta:hover { background: var(--bronze); color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 234, 0.3);
  background: transparent;
  position: relative;
  z-index: 80;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--stone);
  transition: transform 0.3s, opacity 0.3s;
}
.navbar.scrolled .burger { border-color: rgba(22, 22, 15, 0.2); background: rgba(255,255,255,.6); }
.navbar.scrolled .burger span { background: var(--ink); }
.burger.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 70;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.drawer.open { opacity: 1; visibility: visible; }

/* Читаемая чёрная подложка мобильного меню.
   Усилено через !important, чтобы плагины/меню WordPress не перекрыли фон. */
#drawer.drawer,
#drawer.drawer.open {
  background: rgba(22, 22, 15, 0.98) !important;
  color: #f5f1ea !important;
}
#drawer.drawer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(22, 22, 15, 0.98);
  z-index: -1;
}
#drawer .drawer-nav,
#drawer .drawer-links,
#drawer .drawer-links li {
  background: transparent !important;
}
#drawer a,
#drawer .drawer-links a,
#drawer .drawer-phone {
  color: #f5f1ea !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
#drawer a:hover,
#drawer .drawer-links a:hover {
  color: var(--gold) !important;
}
.drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  gap: 4px;
}
.drawer-nav a,
.drawer-links a {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.6vw, 1.7rem);
  font-weight: 500;
  color: var(--stone);
  padding: 7px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s;
  display: block;
}
.drawer-links li { display: block; }
.drawer-links { display: flex; flex-direction: column; }
.drawer.open .drawer-nav a,
.drawer.open .drawer-links a { opacity: 1; transform: none; }
.drawer-nav a:hover, .drawer-links a:hover { color: var(--bronze-soft); }
.drawer.open .drawer-nav a:nth-child(1), .drawer.open .drawer-links li:nth-child(1) a { transition-delay: 0.1s; }
.drawer.open .drawer-nav a:nth-child(2), .drawer.open .drawer-links li:nth-child(2) a { transition-delay: 0.16s; }
.drawer.open .drawer-nav a:nth-child(3), .drawer.open .drawer-links li:nth-child(3) a { transition-delay: 0.22s; }
.drawer.open .drawer-nav a:nth-child(4), .drawer.open .drawer-links li:nth-child(4) a { transition-delay: 0.28s; }
.drawer.open .drawer-nav a:nth-child(5), .drawer.open .drawer-links li:nth-child(5) a { transition-delay: 0.34s; }
.drawer.open .drawer-nav a:nth-child(6), .drawer.open .drawer-links li:nth-child(6) a { transition-delay: 0.4s; }
.drawer-foot {
  padding: 0 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-foot span { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245,241,234,.4); }
.drawer-phone { font-family: var(--font-display); font-size: 20px; color: var(--gold); margin: 0 0 16px; display: block; overflow-wrap: anywhere; }
.drawer-cta { display: inline-flex; width: fit-content; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hero-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(22,22,15,0.55) 55%, rgba(22,22,15,0.1) 100%); }
.hero-overlay-b { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: linear-gradient(180deg, transparent, var(--ink)); }
.hero-content { position: relative; max-width: 1280px; margin: 0 auto; padding: 140px 32px 70px; width: 100%; }
.hero-inner { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(176, 141, 87, 0.4);
  background: rgba(176, 141, 87, 0.12);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  flex-wrap: wrap;
}
.hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 6.5vw, 4.8rem);
  line-height: 1.02;
  color: var(--stone);
  margin: 24px 0 0;
  overflow-wrap: anywhere;
}
.hero-title .it { font-style: italic; color: var(--gold); }

.hero-sub {
  margin: 28px 0 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(245, 241, 234, 0.75);
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.hero-sub strong { color: var(--stone); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-actions .btn { white-space: normal; text-align: center; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 520px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
}
.stat-value { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 600; color: var(--gold); margin: 0; overflow-wrap: anywhere; }
.stat-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245, 241, 234, 0.5); margin: 4px 0 0; }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 241, 234, 0.6);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.hero-scroll:hover { color: var(--gold); }
.hero-scroll .wheel {
  width: 20px;
  height: 36px;
  border: 1px solid rgba(245, 241, 234, 0.4);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll .wheel::after {
  content: "";
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--bronze);
  animation: bounce 1.6s infinite;
}

@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.ss-marquee {
  overflow: hidden;
  overflow-x: clip;
  border-top: 1px solid rgba(22, 22, 15, 0.08);
  border-bottom: 1px solid rgba(22, 22, 15, 0.08);
  background: var(--linen);
  padding: 18px 0;
}
.ss-marquee-track { display: flex; width: max-content; animation: ss-marquee 32s linear infinite; }
.ss-marquee-item { display: flex; align-items: center; white-space: nowrap; }
.ss-marquee-item span { font-family: var(--font-display); font-size: 20px; font-style: italic; color: rgba(22, 22, 15, 0.7); padding: 0 24px; }
.ss-marquee-item i { color: var(--bronze); font-style: normal; }

@keyframes ss-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-frame { position: absolute; inset: -20px auto auto -20px; width: 100%; height: 100%; border: 1px solid rgba(176, 141, 87, 0.3); border-radius: 32px; }
.about-media img { position: relative; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-soft); }
.about-badge {
  position: absolute;
  right: -16px;
  bottom: -24px;
  background: var(--ink);
  color: var(--stone);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: var(--shadow-soft);
}
.about-badge b { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--gold); display: block; line-height: 1; overflow-wrap: anywhere; }
.about-badge small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,241,234,.6); }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat-card { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(22, 22, 15, 0.1); border-radius: 16px; padding: 20px; }
.stat-card b { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--bronze); display: block; }
.stat-card small { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(22, 22, 15, 0.5); }

/* ==========================================================================
   Collection
   ========================================================================== */
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.collection-grid > * { min-width: 0; }
.product-card {
  background: var(--coal);
  border: 1px solid rgba(245, 241, 234, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(176, 141, 87, 0.4); box-shadow: 0 30px 60px -20px rgba(176, 141, 87, 0.25); }
.product-media { position: relative; aspect-ratio: 4/5; min-height: 320px; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(22, 22, 15, 0.7);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin: 0; color: var(--stone); }
.product-body p { font-size: 14px; color: rgba(245, 241, 234, 0.6); margin: 8px 0 0; flex: 1; white-space: pre-line; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(245, 241, 234, 0.1); }
.product-price { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--gold); white-space: nowrap; overflow-wrap: anywhere; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 234, 0.2);
  background: transparent;
  color: var(--stone);
  transition: all 0.3s;
  flex: none;
}
.icon-btn:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 234, 0.25);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--stone);
  transition: all 0.3s;
}
.btn-more-link:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

/* ==========================================================================
   Categories
   ========================================================================== */
.categories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  aspect-ratio: 16/11;
}
.cat-card:nth-child(even) { transform: translateY(40px); }
.cat-card img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: linear-gradient(180deg, rgba(22,22,15,.1) 0%, rgba(22,22,15,.3) 45%, rgba(22,22,15,.9) 100%);
  transition: opacity 0.5s;
}
.cat-body { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.cat-body h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; color: var(--stone); margin: 0; }
.cat-body p { font-size: 14px; color: rgba(245, 241, 234, 0.7); max-width: 340px; margin: 8px 0 0; white-space: pre-line; }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.cat-link .arr { transition: transform 0.3s; }
.cat-card:hover .cat-link .arr { transform: translateX(4px); }

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.features-grid > * { min-width: 0; }
.feature-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 22, 15, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.5s, box-shadow 0.5s, border-color 0.5s;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(176,141,87,.4); box-shadow: 0 30px 60px -25px rgba(176,141,87,.35); }
.feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--gold); transition: all 0.4s; }
.feature-card:hover .feature-icon { background: var(--bronze); color: #fff; }
.feature-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin: 22px 0 0; }
.feature-card p { font-size: 14px; color: rgba(22, 22, 15, 0.6); margin: 12px 0 0; white-space: pre-line; }

/* ==========================================================================
   Showcase (quote)
   ========================================================================== */
.showcase { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; }
.showcase-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; }
.showcase-bg img { width: 100%; height: 100%; object-fit: cover; }
.showcase-bg::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: linear-gradient(90deg, rgba(22,22,15,.85) 0%, rgba(22,22,15,.4) 60%, transparent 100%); }
.showcase-content { position: relative; max-width: 760px; }
.quote-mark { color: var(--bronze); }
.quote-text { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; line-height: 1.25; color: var(--stone); margin: 24px 0 0; overflow-wrap: anywhere; }
.quote-text .it { font-style: italic; color: var(--gold); }
.quote-footer { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.quote-footer::before { content: ""; width: 48px; height: 1px; background: var(--bronze); }
.quote-footer span { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,241,234,.7); overflow-wrap: anywhere; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery-grid > * { min-width: 0; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-cap {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 40%, rgba(22,22,15,.8));
  opacity: 0;
  transition: opacity 0.5s;
}
.gallery-item:hover .gallery-cap { opacity: 1; }
.gallery-cap span { font-size: 13px; font-weight: 500; color: var(--stone); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews-grid > * { min-width: 0; }
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 22, 15, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(22,22,15,.2); }
.stars { display: flex; gap: 4px; color: var(--bronze); margin-bottom: 20px; }
.stars svg { width: 16px; height: 16px; }
.review-text { font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.4; margin: 0; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.review-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--font-display); font-weight: 600; }
.review-author b { font-size: 14px; font-weight: 600; color: rgba(22,22,15,.7); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { text-align: center; padding: 96px 0; }
.cta-inner { max-width: 820px; margin: 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: center; gap: 20px; min-width: 0; }
.contact-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 16px;
  border: 1px solid rgba(245, 241, 234, 0.15);
  color: var(--gold);
  transition: all 0.3s;
}
a.contact-item:hover .contact-ico { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.contact-item small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,241,234,.4); }
.contact-item b { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--stone); transition: color 0.3s; overflow-wrap: anywhere; }
a.contact-item:hover b { color: var(--gold); }

.contact-form-card {
  background: var(--coal);
  border: 1px solid rgba(245, 241, 234, 0.1);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--stone); margin: 0; }
.contact-form-card > p { font-size: 14px; color: rgba(245,241,234,.55); margin: 8px 0 0; }
.form-row { margin-top: 20px; }
.form-row label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,241,234,.5); margin-bottom: 8px; }
.form-row .input, .form-row textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(245, 241, 234, 0.15);
  background: var(--ink);
  color: var(--stone);
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row .input::placeholder, .form-row textarea::placeholder { color: rgba(245,241,234,.35); }
.form-row .input:focus, .form-row textarea:focus { border-color: var(--bronze); }
.form-submit {
  width: 100%;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--bronze);
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.form-submit:hover { background: var(--gold); }
.form-note { text-align: center; font-size: 11px; color: rgba(245,241,234,.4); margin: 14px 0 0; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}
.form-success.show { display: flex; }
.form-success .ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(176,141,87,.2); color: var(--gold); }
.form-success h3 { font-family: var(--font-display); font-size: 30px; font-weight: 500; margin: 24px 0 0; }
.form-success p { color: rgba(245,241,234,.6); font-size: 14px; max-width: 320px; margin: 12px 0 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--stone); padding: 56px 0 0; border-top: 1px solid rgba(245,241,234,.1); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin: 0; }
.footer-brand h3 .it { font-style: italic; color: var(--gold); }
.footer-brand p { font-size: 14px; color: rgba(245,241,234,.55); max-width: 340px; margin: 16px 0 0; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px 20px; }
.footer-nav ul { display: contents; }
.footer-nav a { font-size: 14px; color: rgba(245,241,234,.6); transition: color 0.3s; display: block; }
.footer-nav a:hover { color: var(--gold); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-contacts a { color: var(--stone); font-weight: 500; transition: color 0.3s; overflow-wrap: anywhere; }
.footer-contacts a:hover { color: var(--gold); }
.footer-contacts span { color: rgba(245,241,234,.45); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(245,241,234,.1);
  padding: 24px 0;
  font-size: 12px;
  color: rgba(245,241,234,.4);
}
.footer-bottom p { overflow-wrap: anywhere; }

/* Floating phone */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bronze);
  color: #fff;
  box-shadow: 0 18px 40px -10px rgba(176,141,87,.5);
  transition: transform 0.3s, background 0.3s;
}
.fab:hover { transform: scale(1.1); background: var(--gold); }
.fab svg { width: 24px; height: 24px; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-fade-up { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.anim-fade-in { animation: fadeIn 1s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ss-marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Blog / pages
   ========================================================================== */
.page-hero { background: var(--ink); color: var(--stone); padding: 180px 0 80px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.page-content { padding: 72px 0; }
.page-content .entry { max-width: 860px; }
.page-content h2, .page-content h3 { font-family: var(--font-display); font-weight: 500; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts-grid > * { min-width: 0; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(22,22,15,.08); transition: transform .4s, box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card h2 { font-family: var(--font-display); font-size: 22px; margin: 0; }
.post-card h2 a { color: var(--ink); }
.post-card p { font-size: 14px; color: rgba(22,22,15,.6); }
.entry-content { font-size: 16px; line-height: 1.8; }
.entry-content img { border-radius: 16px; }
.wp-block-button__link { border-radius: 999px !important; }

/* ==========================================================================
   Встраиваемый Конструктор
   ========================================================================== */
.constructor-section {
  background: linear-gradient(180deg, var(--ink) 0%, var(--coal) 100%);
}
.constructor-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: end;
}
.constructor-lead {
  margin: 0;
  max-width: 540px;
  justify-self: end;
}
.constructor-shell {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(245, 241, 234, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 30px 80px -35px rgba(0,0,0,.65);
}
.ss3d-root {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #26261f 0%, #181814 58%, #0e0e0d 100%);
}
.ss3d-stage {
  position: relative;
  min-height: 650px;
  height: min(68vh, 720px);
}
.ss3d-canvas {
  width: 100%;
  height: 100%;
}
.ss3d-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.ss3d-loading, .ss3d-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  z-index: 6;
  padding: 24px;
  text-align: center;
  background: rgba(14,14,13,.82);
  color: rgba(245,241,234,.7);
  font-size: 14px;
}
.ss3d-loading span {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(245,241,234,.15);
  border-top-color: var(--bronze);
  border-radius: 50%;
  animation: ss-spin .9s linear infinite;
}
.ss3d-loading em { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
@keyframes ss-spin { to { transform: rotate(360deg); } }
.ss3d-current {
  pointer-events: none;
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 190px);
  padding: 10px 14px;
  border: 1px solid rgba(245,241,234,.15);
  border-radius: 16px;
  background: rgba(22,22,15,.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ss3d-current-swatch { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.ss3d-current b { display: block; font-size: 10px; letter-spacing: .14em; color: rgba(245,241,234,.48); }
.ss3d-current em { display: block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-size: 12px; color: var(--stone); }
.ss3d-settings-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(176,141,87,.55);
  border-radius: 999px;
  padding: 11px 17px;
  background: rgba(176,141,87,.2);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all .3s ease;
}
.ss3d-settings-button:hover, .ss3d-settings-button.active { background: var(--bronze); color: #fff; border-color: var(--bronze); }
.ss3d-settings-icon { font-size: 16px; line-height: 0; }
.ss3d-chevron { transition: transform .3s ease; }
.ss3d-settings-button.active .ss3d-chevron { transform: rotate(180deg); }
.ss3d-settings {
  position: absolute;
  z-index: 11;
  top: 74px;
  right: 20px;
  width: min(390px, calc(100% - 40px));
  overflow: hidden;
  border: 1px solid rgba(245,241,234,.16);
  border-radius: 24px;
  background: rgba(20,20,15,.92);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.ss3d-settings[hidden], .ss3d-ral-catalog[hidden], .ss3d-error[hidden] { display: none; }
.ss3d-settings-scroll { max-height: min(510px, 62vh); overflow-y: auto; overscroll-behavior: contain; }
.ss3d-group { padding: 15px 18px; border-top: 1px solid rgba(245,241,234,.09); }
.ss3d-group:first-child { border-top: 0; }
.ss3d-group-title { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.ss3d-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.ss3d-presets button { border: 1px solid rgba(245,241,234,.13); border-radius: 10px; padding: 8px 4px; background: rgba(0,0,0,.22); color: var(--stone); font-size: 11px; transition: all .2s ease; }
.ss3d-presets button b { display: block; font-size: 9px; letter-spacing: .12em; color: var(--bronze); }
.ss3d-presets button span { display: block; margin-top: 2px; }
.ss3d-presets button:hover, .ss3d-presets button.active { border-color: var(--bronze); background: rgba(176,141,87,.18); }
.ss3d-control { margin-top: 13px; }
.ss3d-control label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,241,234,.52); }
.ss3d-control output { font-family: var(--font-display); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--gold); }
.ss3d-control input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--bronze); }
.ss3d-seg-wrap { margin-top: 13px; }
.ss3d-seg-wrap > span { display: block; margin-bottom: 7px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,241,234,.52); }
.ss3d-segment { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ss3d-segment button { border: 1px solid rgba(245,241,234,.15); border-radius: 10px; padding: 9px 6px; background: rgba(0,0,0,.22); color: rgba(245,241,234,.75); font-size: 12px; font-weight: 600; transition: all .2s ease; }
.ss3d-segment button.active { border-color: var(--bronze); background: var(--bronze); color: #fff; }
.ss3d-fixed { margin: 14px 0 0; padding: 9px 11px; border: 1px solid rgba(245,241,234,.1); border-radius: 10px; background: rgba(0,0,0,.2); font-size: 11px; line-height: 1.55; color: rgba(245,241,234,.45); }
.ss3d-fixed b { color: rgba(245,241,234,.8); }
.ss3d-popular-ral { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ss3d-popular-ral button { width: 31px; height: 31px; border: 2px solid rgba(255,255,255,.15); border-radius: 50%; transition: transform .2s ease; }
.ss3d-popular-ral button:hover, .ss3d-popular-ral button.active { transform: scale(1.12); border-color: var(--bronze); }
.ss3d-ral-toggle { margin-top: 13px; border: 0; padding: 0; background: transparent; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.ss3d-ral-catalog { margin-top: 12px; }
.ss3d-ral-catalog input { width: 100%; padding: 10px 12px; border: 1px solid rgba(245,241,234,.14); border-radius: 10px; background: rgba(0,0,0,.25); color: var(--stone); outline: none; }
.ss3d-ral-catalog input:focus { border-color: var(--bronze); }
.ss3d-ral-groups { display: flex; gap: 6px; overflow-x: auto; margin-top: 9px; padding-bottom: 3px; }
.ss3d-ral-groups button { flex: none; border: 1px solid rgba(245,241,234,.12); border-radius: 999px; padding: 5px 9px; background: transparent; color: rgba(245,241,234,.5); font-size: 10px; }
.ss3d-ral-groups button.active { border-color: var(--bronze); color: var(--gold); background: rgba(176,141,87,.16); }
.ss3d-ral-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-height: 155px; overflow-y: auto; margin-top: 9px; padding-right: 3px; }
.ss3d-ral-list button { aspect-ratio: 1; border: 2px solid rgba(255,255,255,.1); border-radius: 8px; font-size: 8px; font-weight: 700; }
.ss3d-ral-list button.active { border-color: var(--bronze); }
.ss3d-view-tools { position: absolute; bottom: 18px; left: 18px; z-index: 10; display: flex; flex-wrap: wrap; gap: 7px; }
.tool-btn { border: 1px solid rgba(245,241,234,.2); border-radius: 999px; padding: 8px 12px; background: rgba(22,22,15,.62); color: rgba(245,241,234,.76); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: all .2s ease; }
.tool-btn:hover, .tool-btn.active { border-color: var(--bronze); background: var(--bronze); color: #fff; }
.ss3d-hint { position: absolute; right: 18px; bottom: 20px; margin: 0; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(245,241,234,.35); }
.ss3d-spec { border-top: 1px solid rgba(245,241,234,.08); background: rgba(0,0,0,.15); }
.ss3d-spec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-bottom: 1px solid rgba(245,241,234,.08); }
.ss3d-spec-head h3 { margin: 0; font-family: var(--font-display); font-size: 25px; font-weight: 500; color: var(--stone); }
.ss3d-spec-head p { margin: 2px 0 0; font-size: 12px; color: rgba(245,241,234,.45); }
.ss3d-spec-head .btn { padding: 10px 18px; font-size: 12px; }
.ss3d-spec-head .btn.done { background: #24834f; }
.ss3d-spec-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 28px; padding: 0 22px; }
.ss3d-spec-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(245,241,234,.07); }
.ss3d-spec-list dt { display: flex; gap: 6px; font-size: 12px; color: rgba(245,241,234,.48); }
.ss3d-spec-list dt small { border-radius: 4px; padding: 2px 4px; background: rgba(176,141,87,.15); color: var(--bronze); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.ss3d-spec-list dd { margin: 0; font-family: var(--font-display); font-size: 15px; color: var(--stone); text-align: right; }
.ss3d-spec-note { margin: 0; padding: 17px 22px 21px; font-size: 11px; line-height: 1.55; color: rgba(245,241,234,.35); }
}
.constructor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(245, 241, 234, 0.08);
}
.constructor-note {
  margin: 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 241, 234, .56);
}
.constructor-empty {
  padding: 32px;
  text-align: center;
  color: rgba(245, 241, 234, .6);
}

@media (max-width: 1100px) {
  .constructor-head {
    grid-template-columns: 1fr;
  }
  .constructor-lead {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .ss3d-stage { min-height: 500px; height: 68vh; }
  .ss3d-settings { width: calc(100% - 28px); top: 68px; right: 14px; }
  .ss3d-settings-button { top: 14px; right: 14px; padding: 10px 14px; }
  .ss3d-current { top: 14px; left: 14px; max-width: calc(100% - 168px); padding: 8px 10px; }
  .ss3d-view-tools { bottom: 12px; left: 12px; }
  .ss3d-hint { display: none; }
  .ss3d-spec-list { grid-template-columns: 1fr; }
  .ss3d-spec-head { padding: 18px; }
  .ss3d-spec-list { padding: 0 18px; }
  .ss3d-spec-note { padding: 15px 18px 19px; }
}

/* ==========================================================================
   Соцсети: контакты и подвал
   ========================================================================== */
.contact-socials {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 241, 234, 0.1);
}
.contact-socials-label {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.4);
}
.contact-socials-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(245, 241, 234, 0.15);
  padding: 12px 16px;
  transition: all 0.3s ease;
}
.social-chip:hover { border-color: var(--bronze); background: rgba(176, 141, 87, 0.1); }
.social-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 12px;
  background: rgba(245, 241, 234, 0.05);
  color: var(--gold);
  transition: all 0.3s ease;
}
.social-chip:hover .social-ico { background: var(--bronze); color: #fff; }
.social-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--stone);
  transition: color 0.3s ease;
}
.social-chip:hover .social-name { color: var(--gold); }

.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(245, 241, 234, 0.15);
  color: var(--gold);
  transition: all 0.3s ease;
}
.footer-socials a:hover { border-color: var(--bronze); background: var(--bronze); color: #fff; }

/* ==========================================================================
   Монтаж и уход (editorial bento: фото сверху, текст строго под фото)
   ========================================================================== */
.install-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}
.install-head .lead { margin: 0; justify-self: end; max-width: 520px; }
.install-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.ss-col-5 { grid-column: span 5; }
.ss-col-7 { grid-column: span 7; }
.install-card { display: flex; flex-direction: column; min-width: 0; }
.install-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.install-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.install-card:hover .install-media img { transform: scale(1.04); }
.inst-ratio-43 { aspect-ratio: 4 / 3; }
.inst-ratio-169 { aspect-ratio: 16 / 9; }
.inst-ratio-1610 { aspect-ratio: 16 / 10; }
.install-index {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 22, 15, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}
.install-text { padding: 24px 4px 0; }
.install-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.install-text p {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(22, 22, 15, 0.65);
}

/* Блок «Стоп» */
.install-stop {
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}
.install-stop-media {
  position: relative;
  aspect-ratio: 21 / 7;
  overflow: hidden;
}
.install-stop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.install-stop:hover .install-stop-media img { transform: scale(1.03); }
.install-stop-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(22, 22, 15, 0.2) 55%, var(--ink) 100%);
}
.install-stop-flag {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.5);
  background: rgba(69, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fca5a5;
}
.install-stop-body { padding: 24px 24px 32px; }
.install-stop-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 500;
  color: var(--stone);
  margin: 0;
}
.install-stop-lead {
  margin: 12px 0 0;
  max-width: 640px;
  font-size: 15px;
  color: rgba(245, 241, 234, 0.7);
}
.install-stop-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 0;
}
.install-stop-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.2);
  background: rgba(69, 10, 10, 0.25);
  padding: 16px;
}
.install-stop-list .stop-x {
  flex: none;
  margin-top: 2px;
  color: #f87171;
}
.install-stop-list li > span:last-child {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.8);
}

@media (max-width: 900px) {
  .ss-col-5, .ss-col-7 { grid-column: 1 / -1; }
  .install-stop-media { aspect-ratio: 16 / 9; }
  .install-stop-list { grid-template-columns: 1fr; }
  .install-head { grid-template-columns: 1fr; }
  .install-head .lead { justify-self: start; }
}

/* ==========================================================================
   Blog page
   ========================================================================== */
.blog-hero .blog-intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(245, 241, 234, .65);
  font-size: 16px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.blog-card {
  min-width: 0;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(22, 22, 15, .08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(176, 141, 87, .35);
  box-shadow: var(--shadow-soft);
}
.blog-card-link {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
}
.blog-card-kicker {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronze);
}
.blog-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.blog-card p {
  margin: 14px 0 0;
  color: rgba(22, 22, 15, .62);
  font-size: 14px;
}
.blog-card-more {
  margin-top: auto;
  padding-top: 22px;
  color: var(--bronze);
  font-size: 13px;
  font-weight: 700;
}
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(22, 22, 15, .1);
  color: var(--ink);
}
.blog-pagination .current,
.blog-pagination a:hover {
  background: var(--ink);
  color: var(--stone);
}

/* Single Post styling */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.back-to-blog:hover { color: #fff; }

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(245, 241, 234, 0.6);
}
.post-meta-bar .meta-dot { color: var(--bronze); }

.entry-article {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(22, 22, 15, 0.85);
}
.entry-article h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin: 40px 0 16px;
}
.entry-article p { margin-bottom: 20px; }
.entry-article ul, .entry-article ol {
  margin: 0 0 24px 20px;
  padding: 0;
}
.entry-article li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.article-footer-cta {
  margin-top: 56px;
  padding: 36px;
  background: var(--ink);
  color: var(--stone);
  border-radius: var(--radius);
  border: 1px solid rgba(176, 141, 87, 0.3);
}
.article-footer-cta h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--stone);
  margin: 0 0 12px;
}
.article-footer-cta p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.7);
  margin-bottom: 24px;
}
.article-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-outline-dark {
  border: 1px solid rgba(245, 241, 234, 0.3);
  color: var(--stone);
  background: transparent;
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-phone { display: none; }
}

@media (max-width: 1100px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-actions { display: none; }
  .burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .categories-grid { grid-template-columns: 1fr; }
  .cat-card:nth-child(even) { transform: none; }
  .cat-card { min-height: 340px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .posts-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-link { min-height: auto; padding: 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .navbar .inner { padding: 0 20px; }
  .hero-content { padding: 120px 20px 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .collection-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .drawer-nav { padding: 0 24px; }
  .drawer-foot { padding: 0 24px 28px; }
  .contact-form-card { padding: 24px; }
  .hero-actions .btn { width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .about-badge { right: 12px; bottom: -14px; padding: 14px 18px; }
  .about-frame { inset: -10px auto auto -10px; border-radius: 24px; }
  .about-media img { border-radius: 24px; }
  .page-hero h1 { font-size: 2rem; }
}

/* Доступность: скрытые элементы и пропуск навигации */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  z-index: 100000;
  width: auto; height: auto;
  clip: auto; margin: 0;
  padding: 12px 22px;
  background: var(--ink); color: var(--stone);
  border-radius: 999px; font-size: 14px; font-weight: 600;
}

/* Honeypot — скрытое поле-ловушка для ботов */
.ss-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Ошибка отправки формы */
.form-error {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(190, 60, 60, .15);
  border: 1px solid rgba(190, 60, 60, .4);
  color: #f0c9c9;
  font-size: 13px;
}

/* Постраничная навигация внутри записи */
.page-links { margin-top: 24px; font-size: 14px; }
.page-links a { color: var(--bronze); }

/* Логотип из админки */
.brand .custom-logo-link { display: block; line-height: 0; }
.brand .custom-logo { max-height: 46px; width: auto; }
.footer-brand .custom-logo-link { display: inline-block; margin-bottom: 4px; }
.footer-brand .custom-logo { max-height: 52px; width: auto; }

/* v2.0 — text overflow safety */
body { overflow-wrap: break-word; }
.product-body p, .lead, .stat-value, .price, .config-summary, .quote-footer span,
.footer-contacts a, .footer-bottom p, .contact-item b, .spec-item dd, .hero-title,
.hero-sub, .brand-name, .nav-phone, .drawer-phone, .h-display, .cta-actions .btn { overflow-wrap: anywhere; }
