/* ===================================================
   ITALICA — Premium Interior Paints
   Style System: Light Minimalist Premium
   =================================================== */

/* ===== FONTS — loaded via <link> in HTML, no @import needed ===== */

/* ===== ACCESSIBILITY / SEO ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--gold, #A8673A);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body.cursor-ready { cursor: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; }
body.cursor-ready button { cursor: none; }
input, textarea, select { font-family: inherit; }

/* ===== DESIGN TOKENS ===== */
:root {
  --bg:          #FFFFFF;
  --bg-alt:      #F5F3F0;
  --bg-dark:     #1C1A18;
  --gold:        #A8673A;
  --gold-light:  #C4895A;
  --gold-pale:   #EDE3D8;
  --gold-line:   #C4895A;
  --text:        #1C1A18;
  --text-muted:  #7A7470;
  --border:      #E4E0DB;
  --font-serif:  'Jost', sans-serif;
  --font-sans:   'Jost', sans-serif;
  --radius:      50px;
  --radius-lg:   16px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  0.5s var(--ease);
}

/* ===== CUSTOM CURSOR ===== */
#cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
  opacity: 0;
}
#cursorDot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body.cursor-ready #cursor,
body.cursor-ready #cursorDot { opacity: 1; }

/* ===== PRELOADER — удалён целиком (разметка, скрипт и стили) ===== */

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-pale); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ===== TYPOGRAPHY HELPERS ===== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== REVEAL ANIMATION ===== */
.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.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   HEADER
   =================================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 24px 0;
  transition: background 0.5s cubic-bezier(0.16,1,0.3,1), padding 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s;
}
/* На тёмном hero — белые nav-ссылки и инвертированный логотип */
#header:not(.scrolled) .header__logo-img {
  filter: brightness(0) invert(1);
}
#header:not(.scrolled) .header__nav a {
  color: rgba(255,255,255,0.85);
}
#header:not(.scrolled) .header__nav a:hover {
  color: #fff;
}
#header:not(.scrolled) .header__phone {
  color: rgba(255,255,255,0.85);
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 16px 0;
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
}
.header__logo:hover .header__logo-img {
  opacity: 0.85;
}
.header__logo em { font-style: italic; color: var(--gold); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.header__nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.4s;
  position: relative;
  white-space: nowrap;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
  transform-origin: left;
}
.header__nav a:hover { color: var(--text); }
.header__nav a:hover::after { width: 100%; }

.header__phone {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.3s;
}
.header__phone:hover { color: var(--gold); }

/* Соцсети в хедере */
.header__socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  flex-shrink: 0;
}
.header__social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
/* На тёмном герое — белые иконки */
#header:not(.scrolled) .header__social {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
}
#header:not(.scrolled) .header__social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.header__cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: background 0.3s;
}
.header__burger:hover span { background: var(--gold); }

/* ===================================
   FULLSCREEN MENU
   =================================== */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.fullscreen-menu.open { opacity: 1; pointer-events: all; }

.fullscreen-menu__close {
  position: absolute;
  top: 24px; right: 40px;
  font-size: 2rem;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
  line-height: 1;
}
.fullscreen-menu__close:hover { color: var(--gold); transform: rotate(90deg); }

.fullscreen-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.fullscreen-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: color 0.3s, letter-spacing 0.3s;
  line-height: 1.2;
}
.fullscreen-menu__link em { font-style: italic; }
.fullscreen-menu__link:hover { color: var(--gold); letter-spacing: 0.1em; }

.fullscreen-menu__phone {
  margin-top: 32px;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.fullscreen-menu__phone a { color: var(--gold); }

/* ===================================
   HERO — rayart-style layout
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #111;
}

/* Background image */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 8, 7, 0.80) 0%,
    rgba(10, 8, 7, 0.50) 45%,
    rgba(10, 8, 7, 0.10) 100%
  );
}

/* ── LEFT SIDEBAR — USP list ── */
.hero__sidebar {
  position: relative;
  z-index: 3;
  width: 220px;
  flex-shrink: 0;
  align-self: stretch;
  background: rgba(10, 8, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.hero__usp {
  list-style: none;
  padding: 0 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.hero__usp-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero__usp-item:first-child { padding-top: 0; }
.hero__usp-item:last-child { border-bottom: none; padding-bottom: 0; }

/* Square marker on right edge */
.hero__usp-item::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__usp-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.hero__usp-num:empty { display: none; }

.hero__usp-text {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  display: block;
}

/* ── MAIN CONTAINER ── */
.hero > .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Inner grid: main content | right stat */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 120px 0 80px;
  width: 100%;
}

/* ── MAIN CONTENT ── */
.hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 4vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__offer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 44px;
  max-width: 540px;
}
.hero__offer-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}

/* CTA button */
.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  padding: 20px 56px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 8px 40px rgba(168,103,58,0.5);
  white-space: nowrap;
}
.hero__cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(168,103,58,0.6);
}

/* ── RIGHT STAT ── */
.hero__stat-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  flex-shrink: 0;
  z-index: 5;
}
.hero__stat-aside-num {
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero__stat-aside-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* =====================================================
   LEAD MODAL
   ===================================================== */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lead-modal.open {
  opacity: 1;
  pointer-events: all;
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.lead-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.4);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.lead-modal.open .lead-modal__box {
  transform: translateY(0) scale(1);
}

.lead-modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.lead-modal__close:hover {
  background: var(--border);
  color: var(--text);
}

/* Modal head */
.lead-modal__head { margin-bottom: 28px; }
.lead-modal__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.lead-modal__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
}
.lead-modal__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Modal form */
.lead-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-modal__field-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.lead-modal__input {
  width: 100%;
  padding: 14px 18px;
  background: #F6F4F1;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.lead-modal__input::placeholder { color: #bbb; }
.lead-modal__input:focus {
  border-color: var(--gold);
  background: #fff;
}

/* Messenger radio chips */
.lead-modal__messengers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lead-modal__messenger-option {
  cursor: pointer;
}
.lead-modal__messenger-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.lead-modal__messenger-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  user-select: none;
}
.lead-modal__messenger-option input:checked + .lead-modal__messenger-chip {
  border-color: var(--gold);
  background: rgba(168,103,58,0.07);
  color: var(--gold);
}
.lead-modal__messenger-chip:hover {
  border-color: var(--gold-light);
  color: var(--text);
}

/* Submit button */
.lead-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 28px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  margin-top: 4px;
}
.lead-modal__submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.lead-modal__submit svg { transition: transform 0.25s; flex-shrink: 0; }
.lead-modal__submit:hover svg { transform: translateX(4px); }

.lead-modal__agree {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.lead-modal__agree a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(168,103,58,0.35);
}

/* Modal responsive */
@media (max-width: 560px) {
  .lead-modal__box { padding: 36px 24px 28px; border-radius: 18px; }
  .lead-modal__title { font-size: 1.45rem; }
  .lead-modal__messengers { gap: 8px; }
  .lead-modal__messenger-chip { padding: 8px 14px; font-size: 0.8rem; }
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Buttons (global) ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background 0.3s, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-primary svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: border-color 0.3s, color 0.3s, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Keep old elements for compat */
.hero__visual { display: none; }
.hero__slider { display: none; }
.hero__stats  { display: none; }
.hero__actions { display: none; }
.hero__bg-photo { display: none; }

/* ── HERO RESPONSIVE ── */
@media (max-width: 1200px) {
  .hero__sidebar { width: 190px; }
  .hero__inner { gap: 40px; }
}
@media (max-width: 1024px) {
  .hero__sidebar { display: none; }
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 130px 0 60px;
    gap: 32px;
  }
  .hero__stat-aside { display: none; }
  .hero__bg-overlay {
    background: linear-gradient(180deg, rgba(10,8,7,0.82) 0%, rgba(10,8,7,0.55) 100%);
  }
}
@media (max-width: 768px) {
  .hero__inner { padding: 100px 0 48px; gap: 24px; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero__offer { font-size: 0.78rem; }
  .hero__cta-btn { padding: 16px 36px; font-size: 0.8rem; width: 100%; justify-content: center; }
  .hero__scroll { display: none; }
}

/* ===================================
   MARQUEE
   =================================== */
.marquee {
  padding: 16px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee__item .sep {
  display: inline-block;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}
.marquee__item .din {
  color: var(--gold);
  font-style: italic;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================================
   PRODUCTS
   =================================== */
.products {
  padding: 64px 0;
  background: var(--bg);
}
.products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Product Tabs Navigation */
.prod-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 40px;
  padding-bottom: 4px;
}
.prod-tabs::-webkit-scrollbar { display: none; }
.prod-tab-btn {
  padding: 10px 22px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.prod-tab-btn:hover { border-color: var(--gold-pale); color: var(--text); }
.prod-tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Product Panel */
.prod-panel { display: none; }
.prod-panel.active {
  display: block;
  animation: panelFadeIn 0.4s var(--ease);
}
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Product Card — image-first layout */
.prod-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 380px;
  max-height: 460px;
}
.prod-card__swatch {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.prod-card__swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.15) 0%, transparent 60%);
}
/* Old prod-card sub-elements — kept for legacy but overridden above */
.prod-card__line {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.prod-card__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.prod-card__cta {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
}
.prod-card__cta:hover { background: var(--gold-light); transform: translateY(-2px); }

/* Product card body — right side */
.prod-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  gap: 0;
}
.prod-card__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.prod-card__name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.prod-card__note {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent);
  margin-top: 4px;
}
.prod-card__tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: normal;
}
/* Chips — compact feature tags */
.prod-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.prod-chip {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--gold-pale);
  border-radius: 50px;
  white-space: nowrap;
}

/* Product Specs (right) */
.prod-specs__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.prod-specs__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.prod-specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.prod-spec {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.prod-spec:nth-child(2n) { border-right: none; }
.prod-spec:nth-last-child(-n+2) { border-bottom: none; }
.prod-spec__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.prod-spec__value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
}

/* Prod List (benefits) */
.prod-specs__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prod-specs__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.prod-specs__list li::before {
  content: '—';
  color: var(--gold-light);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== PACKAGES ===== */
.packages {
  padding: 80px 0 120px;
  background: var(--bg-alt);
}
.packages__head { margin-bottom: 40px; }
.packages__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 8px;
}
.packages__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.packages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pkg-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.pkg-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-pale);
}
.pkg-card.featured {
  border-color: var(--gold);
  background: var(--bg-dark);
}
.pkg-card.featured .pkg-card__name { color: #fff; }
.pkg-card.featured .pkg-card__line { color: rgba(255,255,255,0.55); }
.pkg-card.featured .pkg-card__desc { color: rgba(255,255,255,0.6); }
.pkg-card.featured .pkg-card__item { color: rgba(255,255,255,0.65); }
.pkg-card.featured .pkg-card__cta {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.pkg-card.featured .pkg-card__cta:hover { background: var(--gold-light); border-color: var(--gold-light); }

.pkg-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 16px;
}
.pkg-card.featured .pkg-card__badge {
  background: rgba(201,169,110,0.2);
  color: var(--gold-light);
}

.pkg-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.pkg-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}
.pkg-card__line {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pkg-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.pkg-card__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.pkg-card__item {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pkg-card__item::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
}
.pkg-card.featured .pkg-card__item::before { color: var(--gold-light); }

.pkg-card__cta {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 50px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.pkg-card__cta:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ===================================
   DESIGNERS
   =================================== */
.designers {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}
.designers::before {
  display: none;
}
.designers__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.designers__left {}
.designers__head { margin-bottom: 40px; }
.designers__head .eyebrow { margin-bottom: 12px; display: block; }
.designers__head .section-title { margin-bottom: 16px; }

.designers__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.designers__benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.designers__benefit:first-child { border-top: 1px solid var(--border); }
.benefit-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.benefit-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.benefit-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Designers Tiers Table */
.designers__tiers { overflow-x: auto; margin-bottom: 0; }
.tiers {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.tiers thead tr {
  border-bottom: 2px solid var(--border);
}
.tiers th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.tiers td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.tiers td:first-child { font-weight: 500; }
.tiers tr:last-child td { border-bottom: none; }
.tiers .gold { color: var(--gold); font-weight: 600; }
.tiers .best-row { background: var(--gold-pale); }
.tiers .best-row td:first-child { font-family: var(--font-serif); font-size: 1rem; }

/* Join Card (dark) */
.designers__join { margin-top: 48px; }
.join-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.join-card__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  display: block;
}
.join-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.join-card__title em { font-style: italic; color: var(--gold-light); }
.join-card__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 28px;
}
.join-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
}
.join-card__cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.join-card__cta svg { width: 15px; height: 15px; }

/* ===================================
   CALCULATOR
   =================================== */
.calculator {
  padding: 64px 0;
  background: var(--bg-alt);
}
.calculator__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.calculator__head .eyebrow { margin-bottom: 12px; display: block; }
.calculator__head .section-title { margin-bottom: 16px; }

.calc-inputs {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.calc-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.calc-field__wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.calc-field__wrap:focus-within { border-color: var(--gold); }
.calc-field__wrap input[type="number"] {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.calc-field__unit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Range Slider */
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold);
  transition: transform 0.2s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
}

/* Room Type Tabs */
.calc-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.calc-tab {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  text-align: center;
}
.calc-tab:hover { border-color: var(--gold-pale); color: var(--text); }
.calc-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Calculator Results */
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.calc-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.calc-col--italica { border-color: var(--gold); }
.calc-col__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-col__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
}
.calc-col__price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.calc-col--italica .calc-col__price { color: var(--gold); }
.calc-col__period {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Bar Chart */
.calc-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-bar-item { display: flex; flex-direction: column; gap: 6px; }
.calc-bar-item__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}
.calc-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.calc-bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.2s var(--ease);
}
.calc-bar-fill--budget { background: #C4B49A; }
.calc-bar-fill--italica { background: var(--gold); }

/* Savings Block */
.calc-savings {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.calc-savings__text .label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.calc-savings__text .amount {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.calc-savings__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.calc-savings__cta:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===================================
   ABOUT
   =================================== */
.about {
  padding: 64px 0;
  background: var(--bg);
}
.about__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.about__head .eyebrow { margin-bottom: 12px; display: block; }
.about__head .section-title { margin-bottom: 16px; }

/* ─── ABOUT COVER — полноширинный визуал ─── */
.about__cover {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 480px;
  max-height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 80px;
}
.about__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about__cover:hover img {
  transform: scale(1.03);
}
.about__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.12) 40%,
    rgba(0,0,0,0.62) 100%
  );
}
.about__cover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__cover-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.about__cover-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}
.about__cover-title em {
  font-style: italic;
  color: var(--gold-light);
}
.about__cover-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 480px;
}

@media (max-width: 768px) {
  .about__cover { height: 56vh; min-height: 360px; }
  .about__cover-content { padding: 32px 24px; }
  .about__cover-title { font-size: 32px; }
}

/* ─── ABOUT PILLARS — два отдельных ряда ─── */
.about__pillars-wrap {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* Второй ряд из 3 карточек — 3 равные колонки, центрируем через auto-отступы */
.about__pillars--row2 {
  grid-template-columns: repeat(3, 1fr);
  /* Отступы слева/справа = 1/8 от ширины родителя, чтобы 3 из 4 были по центру */
  padding-left: calc((100% + 20px) / 8);
  padding-right: calc((100% + 20px) / 8);
}

.pillar {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
}
.pillar:hover {
  border-color: var(--gold-pale);
  box-shadow: 0 6px 28px rgba(168,103,58,0.09);
  transform: translateY(-3px);
}
.pillar:hover .pillar__photo img {
  transform: scale(1.05);
}

/* Фото в карточке */
.pillar__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}
.pillar__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Текстовая часть карточки */
.pillar__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Большое число */
.pillar__num {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.pillar__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

/* Тег-метка внизу карточки */
.pillar__tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

/* DIN Badge */
.about__din {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.din-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--bg-dark);
  border-radius: 50px;
}
.din-badge__text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.din-badge__sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  display: block;
}
.about__din-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
  text-align: center;
}

/* About Stats */
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-stat {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}
.about-stat:hover { border-color: var(--gold-pale); transform: translateY(-4px); }
.about-stat__value {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  padding: 64px 0;
  background: var(--bg-alt);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__left .eyebrow { margin-bottom: 12px; display: block; }
.contact__left .section-title { margin-bottom: 16px; }
.contact__left .section-intro { margin-bottom: 40px; }

/* Form Type Selector */
.form-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.form-type-btn {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-type-btn .type-icon { font-size: 1rem; }
.form-type-btn:hover { border-color: var(--gold-pale); color: var(--text); }
.form-type-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  transform: none;
  box-shadow: 0 4px 16px rgba(168,103,58,0.3);
}

/* Contact Form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__group {
  margin-bottom: 16px;
}
.contact-form__group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.contact-form__group input:focus,
.contact-form__group textarea:focus { border-color: var(--gold); }
.contact-form__group input.error,
.contact-form__group textarea.error { border-color: #dc3545; }

.contact-form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  background: var(--gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  transition: background 0.3s, transform 0.2s;
}
.contact-form__submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.contact-form__submit:disabled { opacity: 0.6; cursor: default; transform: none; }

/* Form Success */
#formSuccess {
  display: none;
  text-align: center;
  padding: 60px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.form-success__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.form-success__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.form-success__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ */
.faq { margin-top: 48px; }
.faq__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  padding: 18px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s;
  user-select: none;
}
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  padding: 0 0 18px;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FAQ standalone section */
.faq-section {
  padding: 64px 0;
  background: var(--bg-alt);
}
.faq-section__head {
  text-align: center;
  margin-bottom: 56px;
}
.faq-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child,
.faq-item:nth-child(2) { border-top: 1px solid var(--border); }
.faq-item summary {
  padding: 18px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s;
  user-select: none;
}
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq__answer {
  padding: 0 0 18px;
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq-section { padding: 64px 0; }
  .faq-section__grid { grid-template-columns: 1fr; }
  .faq-item:nth-child(2) { border-top: none; }
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-info-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-info-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer__logo-wrap {
  margin-bottom: 16px;
}
.footer__logo-img {
  height: 72px;
  width: auto;
  display: block;
  border-radius: 6px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  display: block;
}
.footer__logo em { font-style: italic; color: var(--gold); }
.footer__tagline {
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
}
.footer__din {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(168,103,58,0.35);
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.footer__col-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  font-weight: 500;
  display: block;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.7); }
.footer__dev {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.3s;
  margin-left: auto;
  white-space: nowrap;
}
.footer__dev:hover { color: var(--gold-light); }

/* Footer: Реквизиты + юридические сноски */
.footer__requisites {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
}
.footer__req-title {
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.footer__requisites p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  margin: 0;
}
.footer__disclaimers {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__disclaimers p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  margin: 0 0 4px;
}
.footer__disclaimers a {
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.footer__disclaimers a:hover {
  color: rgba(255,255,255,0.6);
}

/* ===================================
   TOAST
   =================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===================================
   RESPONSIVE — 1200px
   =================================== */
@media (max-width: 1200px) {
  .container { padding: 0 28px; }
  .hero__inner { gap: 48px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .packages__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about__pillars { gap: 16px; }
  .about__pillars--row2 { padding-left: calc((100% + 16px) / 8); padding-right: calc((100% + 16px) / 8); }
}

/* ===================================
   RESPONSIVE — 1024px
   =================================== */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__phone { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }

  /* hero layout handled in hero section responsive rules */

  .prod-panel.active { grid-template-columns: 1fr; }
  .prod-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .prod-card__swatch { aspect-ratio: 16/9; }
  .prod-card__body { padding: 32px 28px; }

  .designers__inner { grid-template-columns: 1fr; gap: 56px; }

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

/* ===================================
   RESPONSIVE — 768px
   =================================== */
@media (max-width: 768px) {
  .products, .packages, .designers, .calculator, .about, .contact { padding: 80px 0; }
  .footer { padding: 56px 0 32px; }

  /* hero responsive handled in hero block */

  .calc-inputs { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-savings { flex-direction: column; text-align: center; }
  .calc-savings__cta { width: 100%; justify-content: center; }

  .about__pillars { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about__pillars--row2 { grid-template-columns: repeat(2, 1fr); padding-left: 0; padding-right: 0; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }

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

  .prod-specs__grid { grid-template-columns: 1fr; }
  .prod-spec { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .prod-spec:last-child { border-bottom: none !important; }

  .contact-form__row { grid-template-columns: 1fr; }
  .form-type-selector { grid-template-columns: 1fr 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .prod-tabs { flex-wrap: wrap; }
  .prod-tab-btn { min-width: auto; flex: 1 1 30%; }
}

/* ===================================
   RESPONSIVE — 480px
   =================================== */
@media (max-width: 480px) {
  .container { padding: 0 20px; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn-primary,
  .hero__actions .btn-ghost { width: 100%; justify-content: center; }

  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat strong { font-size: 1.6rem; }

  .packages__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }

  .form-type-selector { grid-template-columns: 1fr; }

  .fullscreen-menu__link { font-size: 2.5rem; }
  .fullscreen-menu__close { right: 20px; }

  .calc-savings__text .amount { font-size: 2rem; }

  .contact-form { padding: 24px 20px; }
  .join-card { padding: 28px 24px; }
}

/* ===================================================
   MISSING /補完 STYLES — Bug fixes patch
   =================================================== */

/* ===== HEADER: logo variants + right group ===== */
.header__logo-main {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}
.header__logo-main em { font-style: italic; color: var(--gold); }
.header__logo-sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* ===== SECTION LABEL extras ===== */

/* ===== SECTION LABEL & SUBTITLE (reusable) ===== */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label__line {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-line);
  flex-shrink: 0;
}
.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
  margin-top: 12px;
}

/* ===== PRODUCT CARD: cert badge inside swatch ===== */
.prod-card__cert-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--text);
}

/* ===== DESIGNERS: desc text + right column ===== */
.designers__left {}
.designers__right {}
.designers__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}

/* ===== CALC: footnote ===== */
.calc-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ===== ABOUT: head text alignment ===== */
.about__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

/* ===== CONTACT INFO (left column items) ===== */
.contact-info-text a {
  color: var(--text);
  transition: color 0.3s;
}
.contact-info-text a:hover { color: var(--gold); }

/* ===== FORM SUBMIT button: flex to hold SVG ===== */
.contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ===== PKG CARD CTA: anchor tag as button ===== */
a.pkg-card__cta {
  display: block;
  text-align: center;
}

/* ===== PROD CARD CTA: anchor tag as button ===== */
a.prod-card__cta {
  cursor: pointer;
}

/* ===== HERO responsive fix at 1024px ===== */
/* ===== DESIGNERS responsive ===== */
@media (max-width: 768px) {
  .designers__desc { max-width: 100%; }
}

/* ============================================================
   HERO PHOTO SWATCHES
   ============================================================ */
.hero__swatch-img {
  height: 140px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--bg-alt);
}
.hero__swatch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.hero__swatch:hover .hero__swatch-img img {
  transform: scale(1.07);
}

/* ============================================================
   PRODUCT CARD PHOTO
   ============================================================ */
/* prod-card photo overrides */
.prod-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s ease;
}
.prod-card:hover .prod-card__img {
  transform: scale(1.04);
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio {
  padding: var(--section-gap) 0;
}
.portfolio__head {
  margin-bottom: 48px;
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-alt);
}
.portfolio__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.portfolio__item:hover img {
  transform: scale(1.06);
}
.portfolio__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(20,18,16,0.78));
  padding: 48px 20px 20px;
  color: #fff;
  transform: translateY(6px);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.portfolio__item:hover .portfolio__caption {
  transform: translateY(0);
}
.portfolio__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 3px;
}
.portfolio__caption strong {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}
.portfolio__caption span {
  font-size: 0.78rem;
  opacity: 0.72;
}
.portfolio__cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__item--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .portfolio__grid { grid-template-columns: 1fr; gap: 12px; }
  .portfolio__item--wide { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ============================================================
   TEXTURES SECTION
   ============================================================ */
.textures {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
}
.textures__head {
  margin-bottom: 48px;
}
.textures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.texture-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.texture-card:hover {
  transform: translateY(-5px);
}
.texture-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--bg);
}
.texture-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.texture-card:hover .texture-card__img img {
  transform: scale(1.09);
}
.texture-card__img--css {
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  transition: filter 0.4s ease;
}
.texture-card:hover .texture-card__img--css {
  filter: brightness(1.06);
}
.tx-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.texture-card__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.texture-card__info strong {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}
.texture-card__info span {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.textures__cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .textures__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .textures__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .texture-card__info strong { font-size: 0.85rem; }
}

/* ============================================================
   PAINT CANS SECTION — банки краски
   ============================================================ */
.paint-cans {
  padding: 64px 0;
  background: #fff;
  overflow: hidden;
}
.paint-cans__head {
  display: none;
}
.paint-cans__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.can-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
}
.can-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f5f3f0;
}
.can-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.can-card:hover .can-card__img img {
  transform: scale(1.08);
}
.can-card__img--css {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.5s ease;
}
.can-card:hover .can-card__img--css {
  filter: brightness(1.08) saturate(1.1);
}
.can-card__roller {
  opacity: 0.2;
}
.can-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.can-card:hover .can-card__overlay {
  opacity: 1;
}
.can-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.can-card:hover .can-card__info {
  transform: translateY(0);
  opacity: 1;
}
.can-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}
.can-card__vol {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
/* Wide featured can card */
.can-card--wide {
  grid-column: span 2;
}
.can-card--wide .can-card__img {
  aspect-ratio: 16/9;
}
/* Tall card */
.can-card--tall .can-card__img {
  aspect-ratio: 2/3;
}
.paint-cans__cta {
  text-align: center;
  margin-top: 56px;
}

/* ===================================
   PAINT CANS — HORIZONTAL STRIP
   =================================== */

/* ── Section header ── */
.cans-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.cans-head__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  text-align: right;
}

/* ── 4-column strip ── */
.cans-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible;
}

/* ── Individual card ── */
.can-card2 {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: #fff;
  transition: background 0.3s var(--ease);
  position: relative;
}
.can-card2:last-child {
  border-right: none;
}
.can-card2:hover {
  background: var(--bg-alt);
  z-index: 1;
}

/* ── Image zone — tall, centred, big ── */
.can-card2__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 16px;
  min-height: 260px;
  background: var(--bg-alt);
  transition: background 0.3s var(--ease);
}
.can-card2:hover .can-card2__img-wrap {
  background: #edeae6;
}
.can-card2__img-wrap img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.13));
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), filter 0.55s;
  display: block;
}
.can-card2:hover .can-card2__img-wrap img {
  transform: translateY(-10px) scale(1.05);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.18));
}

/* Badge (Бестселлер / LOW VOC) */
.can-card2__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}
.can-card2__badge--green {
  background: #2e8b57;
}

/* ── Text body ── */
.can-card2__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 24px;
  gap: 5px;
  border-top: 1px solid var(--border);
}
.can-card2__room {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}
.can-card2__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
}
.can-card2__desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-top: 2px;
}
.can-card2__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.can-card2__chips span {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}
.can-card2__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: letter-spacing 0.2s;
}
.can-card2__cta:hover {
  letter-spacing: 0.08em;
}

/* ── Bottom CTA ── */
.cans-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 36px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.cans-bottom p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cans-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .can-card2:nth-child(3) { border-right: none; }
  .can-card2:nth-child(4),
  .can-card2:nth-child(5) {
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
  .can-card2:last-child { border-right: none; }
}
@media (max-width: 700px) {
  .cans-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cans-head__sub { text-align: left; max-width: 100%; }
  .cans-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .can-card2 { border-right: 1px solid var(--border); }
  .can-card2:nth-child(even) { border-right: none; }
  .can-card2:nth-child(n+3) { border-top: 1px solid var(--border); }
  .can-card2__img-wrap { min-height: 200px; }
  .can-card2__img-wrap img { max-width: 160px; }
}
@media (max-width: 420px) {
  .cans-row { grid-template-columns: 1fr; }
  .can-card2 { border-right: none; border-top: 1px solid var(--border); }
  .can-card2:first-child { border-top: none; }
}

/* ============================================================
   GALLERY SECTION — расширенная галерея проектов
   ============================================================ */
.gallery {
  padding: 64px 0;
  background: var(--bg-alt);
}
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.gallery__head-left {}
/* gallery__filter removed — no HTML */

/* Masonry-style bento grid */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 14px;
}
.gallery__cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--bg);
}
/* Span presets */
.gallery__cell--a { grid-column: span 8; grid-row: span 5; } /* hero wide */
.gallery__cell--b { grid-column: span 4; grid-row: span 5; } /* tall right */
.gallery__cell--c { grid-column: span 4; grid-row: span 4; } /* medium */
.gallery__cell--d { grid-column: span 4; grid-row: span 4; } /* medium */
.gallery__cell--e { grid-column: span 4; grid-row: span 4; } /* medium */
.gallery__cell--f { grid-column: span 6; grid-row: span 4; } /* half */
.gallery__cell--g { grid-column: span 6; grid-row: span 4; } /* half */
.gallery__cell--h { grid-column: span 12; grid-row: span 4; } /* full width */
.gallery__cell--i { grid-column: span 6; grid-row: span 5; } /* half — фасад */
.gallery__cell--j { grid-column: span 6; grid-row: span 5; } /* half — фасад */
/* Новые ячейки: 3+3 колонки, два ряда */
.gallery__cell--k { grid-column: span 4; grid-row: span 4; }
.gallery__cell--l { grid-column: span 4; grid-row: span 4; }
.gallery__cell--m { grid-column: span 4; grid-row: span 4; }
.gallery__cell--n { grid-column: span 4; grid-row: span 4; }
.gallery__cell--o { grid-column: span 4; grid-row: span 4; }
.gallery__cell--p { grid-column: span 4; grid-row: span 4; }

.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.gallery__cell:hover img {
  transform: scale(1.06);
}
.gallery__cell__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.gallery__cell:hover .gallery__cell__overlay {
  opacity: 1;
}
.gallery__cell__caption {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}
.gallery__cell:hover .gallery__cell__caption {
  transform: translateY(0);
}
.gallery__cell__tag {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.gallery__cell__title {
  font-family: var(--font-serif);
  font-size: 1.27rem;
  font-weight: 400;
  line-height: 1.3;
}
.gallery__cell__meta {
  font-size: 0.86rem;
  opacity: 0.65;
}
.gallery__cta {
  text-align: center;
  margin-top: 56px;
}

@media (max-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 70px;
  }
  .gallery__cell--a { grid-column: span 6; grid-row: span 5; }
  .gallery__cell--b { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--c { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--d { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--e { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--f { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--g { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--h { grid-column: span 6; grid-row: span 3; }
  .gallery__cell--i { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--j { grid-column: span 3; grid-row: span 4; }
  .gallery__cell--k { grid-column: span 2; grid-row: span 4; }
  .gallery__cell--l { grid-column: span 2; grid-row: span 4; }
  .gallery__cell--m { grid-column: span 2; grid-row: span 4; }
  .gallery__cell--n { grid-column: span 2; grid-row: span 4; }
  .gallery__cell--o { grid-column: span 2; grid-row: span 4; }
  .gallery__cell--p { grid-column: span 2; grid-row: span 4; }
  /* Always show overlay */
  .gallery__cell__overlay { opacity: 1; }
  .gallery__cell__caption { transform: translateY(0); }
}
@media (max-width: 640px) {
  .gallery { padding: 80px 0; }
  .gallery__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }
  .gallery__cell--a,
  .gallery__cell--b,
  .gallery__cell--c,
  .gallery__cell--d,
  .gallery__cell--e,
  .gallery__cell--f,
  .gallery__cell--g,
  .gallery__cell--h,
  .gallery__cell--i,
  .gallery__cell--j,
  .gallery__cell--k,
  .gallery__cell--l,
  .gallery__cell--m,
  .gallery__cell--n,
  .gallery__cell--o,
  .gallery__cell--p {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery__cell--a,
  .gallery__cell--h { grid-column: span 2; }
  .gallery__cell img { aspect-ratio: 4/3; height: auto; position: static; }
  .gallery__cell { height: auto; }
  .gallery__cell img { width: 100%; }
  .gallery__cell__overlay { opacity: 1; background: linear-gradient(to top, rgba(20,18,16,0.6) 0%, transparent 60%); }
  .gallery__cell__caption { transform: translateY(0); }
  .gallery__cell__title { font-size: 0.9rem; }
}

/* ============================================================
   MOBILE BUG FIXES — критические исправления
   ============================================================ */

/* Fix: hero__visual (swatches) hidden on mobile — показываем иначе */
@media (max-width: 1024px) {
  .hero__visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero__swatch {
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
  }
  .hero__swatch:hover { transform: none; box-shadow: none; }
  .hero__swatch-img {
    height: 120px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .hero__swatch-info {
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 10px 14px;
  }
  .hero__swatch-name { font-size: 0.9rem; }
  .hero__swatch-code { font-size: 0.68rem; }
  /* override .hero__right hide */
  .hero__right { display: block !important; }
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

/* Fix: header__nav перекрывает кнопку-бургер */
@media (max-width: 1024px) {
  .header__right { margin-left: 0; }
  .header__burger { margin-left: 0; }
}

/* Fix: prod-tabs__nav на телефоне — кнопки слишком маленькие */
@media (max-width: 480px) {
  .prod-tabs { gap: 0; }
  .prod-tab-btn {
    flex: 1 1 50%;
    min-width: 0;
    font-size: 0.72rem;
    padding: 10px 8px;
    letter-spacing: 0;
  }
}

/* Fix: prod-card на мобайл — вертикальная карточка */
@media (max-width: 1024px) {
  .prod-panel.active {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .prod-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .prod-card__swatch {
    aspect-ratio: 16/9;
  }
  .prod-card__body {
    padding: 28px 24px;
  }
}
@media (max-width: 480px) {
  .prod-card__body {
    padding: 24px 20px;
  }
  .prod-card__name {
    font-size: 1.5rem;
  }
  .prod-card__tagline {
    font-size: 0.85rem;
  }
  .prod-card__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .prod-card__actions .btn-primary {
    text-align: center;
    justify-content: center;
  }
  .prod-card__link {
    text-align: center;
    justify-content: center;
  }
}

/* Fix: packages__grid 1 колонка на телефоне */
@media (max-width: 480px) {
  .packages__grid { grid-template-columns: 1fr; }
}

/* Fix: секция-gap для portfolio и textures */
.portfolio { --section-gap: 120px; }
.textures { --section-gap: 120px; }
@media (max-width: 768px) {
  .portfolio { --section-gap: 80px; }
  .textures { --section-gap: 80px; }
  .gallery { padding: 80px 0; }
}

/* Fix: portfolio padding явно */
.portfolio { padding: 120px 0; }
.textures { padding: 120px 0; }

/* Fix: contact-form padding на мобайл */
@media (max-width: 480px) {
  .contact-form { padding: 24px 16px; }
  .calc-inputs { padding: 24px 16px; }
}

/* Fix: container overflow на мобайл */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  /* hero responsive handled in hero block */
  .section-title { font-size: clamp(1.9rem, 6vw, 2.6rem); }
}

/* Fix: tiers table overflow на мобайл */
@media (max-width: 480px) {
  .designers__tiers { overflow-x: auto; }
  .tiers { min-width: 420px; }
  .join-card { padding: 28px 20px; }
}

/* Fix: about__din flex-direction на мобайл */
@media (max-width: 640px) {
  .about__din { flex-direction: column; text-align: center; }
  .about__din-text { text-align: center; }
}

/* Fix: footer layout на мобайл */
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 56px 0 28px; }
}

/* Fix: hero__stats на очень маленьких экранах */
@media (max-width: 360px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat { padding: 20px 12px; }
  .hero__stat strong { font-size: 1.4rem; }
}

/* Fix: marquee__item .din класс на span внутри item (вложенность) */
.marquee__item.din { color: var(--gold); }

/* Fix: fullscreen-menu скрытие при клике на ссылки — pointer-events */
.fullscreen-menu.open .fullscreen-menu__link { pointer-events: all; }

/* Fix: form-type-selector на мобайл — 1 колонка */
@media (max-width: 360px) {
  .form-type-selector { grid-template-columns: 1fr; }
}

/* Fix: calc-savings padding на мобайл */
@media (max-width: 480px) {
  .calc-savings { padding: 24px 20px; }
}

/* Fix: hero__swatch — параллакс через CSS custom property, не конфликтует с hover */
.hero__swatch {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(var(--parallax-y, 0));
  transition: box-shadow 0.3s, transform 0.1s linear;
  will-change: transform;
}
.hero__swatch-info {
  padding: 14px 16px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: none;
}

/* =====================================================
   CTA / LEAD MAGNET BLOCKS — добавлено в сессии #3
   ===================================================== */

/* ── Hero background photo ── */
.hero__bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.10;
  filter: grayscale(30%);
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* ── Lead Magnet: Samples (splitscreen) ── */
.lm-samples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.lm-samples__img {
  position: relative;
  overflow: hidden;
}
.lm-samples__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.lm-samples:hover .lm-samples__img img {
  transform: scale(1.04);
}
.lm-samples__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg) 100%);
}
.lm-samples__content {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 56px 40px 48px;
}
.lm-samples__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.lm-samples__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.lm-samples__title em {
  font-style: italic;
  color: var(--gold);
}
.lm-samples__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 420px;
}
.lm-samples__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.lm-samples__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}
.lm-samples__perks li svg {
  flex-shrink: 0;
}
.lm-samples__input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.lm-samples__input-row input[type="tel"] {
  flex: 1 1 200px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color 0.2s;
}
.lm-samples__input-row input[type="tel"]:focus {
  outline: none;
  border-color: var(--gold);
}
.lm-samples__privacy {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ── CTA Banner 1: Tripwire (fullwidth photo bg) ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1s ease;
}
.cta-banner:hover .cta-banner__bg img {
  transform: scale(1.03);
}
.cta-banner__dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,18,16,0.78) 0%, rgba(20,18,16,0.55) 100%);
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}
.cta-banner__inner {
  max-width: 680px;
}
.cta-banner__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-banner__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}
.cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.cta-banner__title em {
  font-style: italic;
  color: var(--gold-light);
}
.cta-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}
.cta-banner__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn-primary--light {
  background: #fff !important;
  color: var(--gold) !important;
}
.btn-primary--light:hover {
  background: var(--gold-pale) !important;
}
.cta-banner__phone {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.cta-banner__phone:hover { color: var(--gold-light); }
.cta-banner__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner__trust span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* ── Lead Magnet: Catalog PDF (splitscreen reversed) ── */
.lm-catalog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg-alt);
}
.lm-catalog__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px 40px 56px;
  order: 1;
}
.lm-catalog__img {
  position: relative;
  overflow: hidden;
  order: 2;
  min-height: 0;
}
.lm-catalog__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.lm-catalog:hover .lm-catalog__img img {
  transform: scale(1.04);
}
.lm-catalog__img-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}
.lm-catalog__badge-icon {
  font-size: 1.6rem;
}
.lm-catalog__img-badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.lm-catalog__img-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.lm-catalog__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.lm-catalog__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 400;
  margin-top: 0;
  padding-top: 0;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.lm-catalog__title em {
  font-style: italic;
  color: var(--gold);
}
.lm-catalog__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 400px;
}
.lm-catalog__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}
.lm-catalog__list li {
  font-size: 0.88rem;
  color: var(--text);
}
.lm-catalog__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lm-catalog__fields input[type="text"],
.lm-catalog__fields input[type="email"] {
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}
.lm-catalog__fields input:focus {
  outline: none;
  border-color: var(--gold);
}
.lm-catalog__privacy {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ── CTA Designer Program (dark fullwidth) ── */
.cta-designer {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-designer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-designer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.cta-designer__dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,8,6,0.88) 0%, rgba(26,20,12,0.70) 60%, rgba(10,8,6,0.82) 100%);
}
.cta-designer .container {
  position: relative;
  z-index: 1;
}
.cta-designer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.cta-designer__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.cta-designer__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.cta-designer__title em {
  font-style: italic;
  color: var(--gold-light);
}
.cta-designer__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.cta-designer__features {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-designer__feat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.feat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.feat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  max-width: 110px;
  line-height: 1.4;
}
.cta-designer__card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 40px 36px;
  min-width: 340px;
}
.cta-designer__card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}
.cta-designer__card h3 em {
  font-style: italic;
  color: var(--gold-light);
}
.cta-designer__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-designer__form input {
  padding: 13px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #fff;
  transition: border-color 0.2s;
}
.cta-designer__form input::placeholder {
  color: rgba(255,255,255,0.45);
}
.cta-designer__form input:focus {
  outline: none;
  border-color: var(--gold-light);
}
.cta-designer__form .btn-primary {
  margin-top: 4px;
  justify-content: center;
  font-size: 0.85rem;
}
.cta-designer__fine {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  text-align: center;
}

/* ── Urgency strip ── */
.urgency-strip {
  background: var(--gold);
  padding: 24px 0;
}
.urgency-strip__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.urgency-strip__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.urgency-strip__text {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.urgency-strip__text strong {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.urgency-strip__text span {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
}
.urgency-strip__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 50px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.urgency-strip__btn:hover {
  background: rgba(255,255,255,0.32);
  border-color: rgba(255,255,255,0.8);
}

/* ── Responsive: CTA / LM blocks ── */
@media (max-width: 1024px) {
  .lm-samples { grid-template-columns: 1fr; min-height: auto; }
  .lm-samples__img { height: 320px; order: 0; }
  .lm-samples__img-overlay { background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%); }
  .lm-samples__content { padding: 48px 32px; }

  .lm-catalog { grid-template-columns: 1fr; min-height: auto; }
  .lm-catalog__content { order: 0; padding: 48px 32px; }
  .lm-catalog__img { height: 320px; order: 1; }

  .cta-designer__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-designer__card { min-width: auto; width: 100%; max-width: 480px; }
}
@media (max-width: 768px) {
  .cta-banner { padding: 72px 0; }
  .cta-designer { padding: 72px 0; }
  .cta-banner__title { font-size: 2rem; }
  .cta-designer__title { font-size: 2rem; }
  .cta-banner__actions { gap: 18px; }
  .cta-designer__features { gap: 24px; }
}
@media (max-width: 560px) {
  .lm-samples__content { padding: 32px 20px; }
  .lm-catalog__content { padding: 32px 20px; }
  .lm-samples__input-row { flex-direction: column; }
  .lm-samples__input-row input[type="tel"] { width: 100%; }
  .urgency-strip__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .urgency-strip__btn { width: 100%; justify-content: center; }
  .cta-banner__actions { flex-direction: column; align-items: flex-start; }
  .cta-banner__trust { gap: 12px; }
  .cta-designer__features { gap: 18px; }
}


/* =====================================================
   B2C REDESIGN — новые секции
   ===================================================== */

/* ── Hero badges ── */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(168,103,58,0.07);
  border: 1px solid rgba(168,103,58,0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* prod-card__why — removed, replaced with chips */

/* ── Section: How to choose ── */
.how {
  padding: 64px 0;
  background: var(--bg-alt);
}
.how__head {
  margin-bottom: 60px;
}
.how__head .section-label {
  margin-bottom: 16px;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 52px;
}
.how__step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.how__step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold-pale);
  line-height: 1;
}
.how__step-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.how__step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.how__step:hover .how__step-img img {
  transform: scale(1.05);
}
.how__step-text h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}
.how__step-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.how__cta {
  text-align: center;
}

/* ── Responsive: how ── */
@media (max-width: 900px) {
  .how__steps { grid-template-columns: 1fr; gap: 40px; }
  .how__step { flex-direction: row; align-items: flex-start; }
  .how__step-num { font-size: 2.5rem; min-width: 48px; }
  .how__step-img { display: none; }
}
@media (max-width: 560px) {
  .how { padding: 72px 0; }
  .how__step { flex-direction: column; }
}

/* ── prod-card__link ── */
.prod-card__link {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
  padding: 10px 0;
}
.prod-card__link:hover { opacity: 0.7; }

/* ── Fix: prod-card__actions layout ── */
.prod-card__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Fix: products section — убрать packages, нет B2B ── */
/* packages секция удалена, section просто заканчивается */

/* ── Fix: calculator новые данные ── */
/* Калькулятор перенастроен под B2C (меньшие площади) */


/* ── Responsive: hero__badges ── */
@media (max-width: 640px) {
  .hero__badges { gap: 7px; }
  .hero__badge { font-size: 0.72rem; padding: 5px 11px; }
}

/* ── Fix: lm-samples responsive ── */
@media (max-width: 768px) {
  .lm-samples { grid-template-columns: 1fr; }
  .lm-samples__img { height: 260px; }
  .lm-samples__content { padding: 40px 28px; }
}
@media (max-width: 480px) {
  .lm-samples__content { padding: 28px 20px; }
  .lm-samples__input-row { flex-direction: column; }
}

/* ====================================================
   VS COMPETITORS SECTION
   ==================================================== */
.vs-section {
  padding: 64px 0;
  background: var(--bg);
}

/* Split header: text left + photo right */
.vs__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.vs__head-text {
  text-align: left;
}
.vs__head-text .eyebrow { margin-bottom: 4px; }
.vs__head-text .section-intro {
  text-align: left;
  margin: 0;
  max-width: 480px;
}
.vs__head-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 420px;
}
.vs__head-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.vs__head-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.vs__head-badge-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.vs__head-badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Table ── */
.vs-table {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.vs-table__header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
}

.vs-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background 0.2s;
}
.vs-table__row:last-child { border-bottom: none; }
.vs-table__row:hover { background: rgba(168,103,58,0.04); }

.vs-table__col {
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.vs-table__col--italica {
  background: rgba(168,103,58,0.06);
  justify-content: center;
  border-left: 2px solid rgba(168,103,58,0.2);
  border-right: 2px solid rgba(168,103,58,0.2);
}

.vs-table__col--comp {
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.vs-table__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  width: 100%;
  padding: 16px 10px;
}

.vs-table__brand--italica {
  background: rgba(168,103,58,0.07);
  border-radius: 8px;
}

.vs-table__logo {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vs-table__logo--grey {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: none;
  font-weight: 600;
}

.vs-table__tag {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(168,103,58,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
}
.vs-table__tag--grey {
  color: var(--text-muted);
  background: transparent;
  font-size: 0.65rem;
  text-transform: none;
  letter-spacing: 0;
}

/* Feature cell */
.vs-feature__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.vs-feature__text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}

/* Check marks */
.vs-check {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.vs-check--yes  { color: #5a9e6f; }
.vs-check--no   { color: #c0392b; font-size: 1.2rem; }
.vs-check--partial { color: #c9943a; font-size: 1.1rem; }

.vs-check__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  margin-top: 2px;
}

/* ── Unique cards ── */
.vs__unique-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-title--sm {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

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

/* Cards with photo on top */
.vs-card {
  padding: 0;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.vs-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-pale);
}

/* Photo banner at top of card */
.vs-card__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.vs-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}
.vs-card:hover .vs-card__img img {
  transform: scale(1.05);
}

/* Card body below the image */
.vs-card__body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.vs-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}
.vs-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.vs-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.vs-card__proof {
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid rgba(168,103,58,0.15);
  margin-top: auto;
}

/* ── Warn card — full-width with photo background ── */
.vs-card--warn {
  grid-column: 1 / -1;
  position: relative;
  min-height: 240px;
  padding: 0;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1208;
}
.vs-card--warn:hover {
  transform: none;
  border-color: transparent;
}

/* Photo layer */
.vs-card--warn__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: opacity 0.4s var(--ease);
}
.vs-card--warn:hover .vs-card--warn__bg {
  opacity: 0.42;
}

/* Dark gradient overlay */
.vs-card--warn__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20,12,4,0.55) 0%,
    rgba(20,12,4,0.42) 55%,
    rgba(20,12,4,0.25) 100%
  );
}

/* Content on top */
.vs-card--warn__content {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 28px;
  row-gap: 10px;
  align-items: start;
}
.vs-card--warn__content .vs-card__icon {
  font-size: 2.6rem;
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
}
.vs-card--warn__content .vs-card__title {
  font-size: 1.3rem;
  grid-column: 2;
  grid-row: 1;
  color: #fff;
}
.vs-card--warn__content .vs-card__text {
  grid-column: 2;
  grid-row: 2;
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  flex: unset;
}
.vs-card--warn__content .vs-card__proof {
  grid-column: 2;
  grid-row: 3;
  margin-top: 0;
  border-top-color: rgba(255,255,255,0.2);
  color: var(--gold-light, #d4aa70);
  padding-top: 12px;
}
/* (old direct .vs-card--warn children selectors replaced by .vs-card--warn__content children) */

/* ── Responsive ── */
@media (max-width: 1024px) {
  .vs__head { grid-template-columns: 1fr; gap: 40px; }
  .vs__head-img { height: 320px; }
  .vs__head-text .section-intro { max-width: 100%; }
}

@media (max-width: 768px) {
  .vs-section { padding: 80px 0; }

  /* Header back to single column */
  .vs__head { gap: 32px; }
  .vs__head-img { height: 260px; }

  /* На мобайле прячем 3-ю колонку */
  .vs-table__col:nth-child(4) { display: none; }
  .vs-table__header,
  .vs-table__row { grid-template-columns: 2fr 1fr 1fr; }

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

  /* Warn card responsive */
  .vs-card--warn__content {
    padding: 28px 24px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .vs-card--warn__content .vs-card__icon { grid-column: 1; grid-row: 1; font-size: 2rem; }
  .vs-card--warn__content .vs-card__title { grid-column: 1; grid-row: 2; }
  .vs-card--warn__content .vs-card__text  { grid-column: 1; grid-row: 3; }
  .vs-card--warn__content .vs-card__proof { grid-column: 1; grid-row: 4; }
}

@media (max-width: 480px) {
  .vs-table__col { padding: 14px 10px; }
  .vs-feature__text { font-size: 0.78rem; }
  .vs-table__logo { font-size: 0.82rem; }
  .vs-table__tag { display: none; }
  .vs-card__img { height: 160px; }
}

/* ====================================================
   COLOR PALETTE SECTION
   ==================================================== */
.palette-section {
  padding: 64px 0;
  background: var(--bg-alt);
}

.palette__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* Grid — 10 columns × N rows, compact swatches */
.palette__grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
}

/* Each swatch card */
.palette__cell {
  cursor: crosshair;
  position: relative;
  z-index: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), z-index 0s;
  display: flex;
  flex-direction: column;
}
.palette__cell:hover {
  transform: translateY(-2px) scale(1.04);
  z-index: 10;
  border-color: var(--gold-pale);
}

/* Colour block */
.palette__cell__color {
  width: 100%;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

/* Label area below colour block */
.palette__cell__label {
  padding: 5px 6px 6px;
  background: var(--bg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.palette__cell__code {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
}
.palette__cell__name {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover tooltip showing hex */
.palette__cell::after {
  content: attr(data-hex);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,14,8,0.88);
  color: #fff;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
}
.palette__cell:hover::after { opacity: 1; }

/* Footer hint */
.palette__footer {
  text-align: center;
  margin-top: 40px;
}
.palette__hint {
  font-size: 1rem;
  color: var(--text-muted);
}
.palette__hint-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(168,103,58,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.palette__hint-link:hover { border-color: var(--gold); }

/* Responsive */
@media (max-width: 1100px) {
  .palette__grid { grid-template-columns: repeat(8, 1fr); gap: 6px; }
}
@media (max-width: 768px) {
  .palette__grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}
@media (max-width: 480px) {
  .palette-section { padding: 80px 0; }
  .palette__grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .palette__cell__name { font-size: 0.55rem; }
  .palette__cell__code { font-size: 0.48rem; }
}

/* ====================================================
   CONTACT — MAP
   ==================================================== */
.contact__map {
  margin-top: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact__map-frame {
  width: 100%;
  height: 400px;
  background: var(--bg-alt);
  display: block;
}

/* 2GIS popup style override */
.dg-popup__content-wrapper {
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
}

@media (max-width: 768px) {
  .contact__map-frame { height: 280px; }
  .contact__map { margin-top: 48px; }
}

/* =====================================================
   MOBILE FIXES — v20260307h
   ===================================================== */

/* 0. Кастомный курсор — скрыть на тач-устройствах */
@media (hover: none), (max-width: 768px) {
  #cursor, #cursorDot { display: none !important; }
}

/* 1-2. Hero mobile — handled in hero section block above */

/* 3. Prod-tabs — адаптивная сетка кнопок на мобиле */
@media (max-width: 600px) {
  .prod-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    flex-wrap: unset;
  }
  .prod-tab-btn {
    flex: unset;
    min-width: unset;
    width: 100%;
    padding: 9px 8px;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-align: center;
    justify-content: center;
  }
}

/* 4. Prod-tabs — на очень маленьких: 2 колонки */
@media (max-width: 400px) {
  .prod-tabs {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================================
   HERO CTA GROUP (двойная кнопка)
   =================================== */
.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__cta-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  transition: var(--transition);
}
.hero__cta-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
  padding: 64px 0;
  background: var(--bg-alt);
}
.reviews__head {
  text-align: center;
  margin-bottom: 60px;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
  align-items: stretch;
}
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .reviews__footer { gap: 20px; padding: 24px; }
}
@media (max-width: 600px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__footer { gap: 16px; padding: 20px; }
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.review-card:hover {
  box-shadow: 0 8px 32px rgba(168,103,58,0.10);
  transform: translateY(-3px);
}
.review-card__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}
.review-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
  font-style: italic;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.review-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.reviews__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.reviews__rating {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reviews__rating-num {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}
.reviews__rating-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.reviews__rating-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================================
   PRICE TEASER SECTION
   =================================== */
.price-teaser {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.price-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .price-teaser__inner { grid-template-columns: 1fr; }
}
.price-teaser__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 12px;
}
.price-teaser__title em { font-style: italic; color: var(--gold); }
.price-teaser__sub {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.price-teaser__cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.price-card {
  flex: 1;
  min-width: 160px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.price-card--accent {
  background: var(--gold-pale);
  border-color: var(--gold-light);
}
.price-card__tag {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.price-card__room {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.price-card__area {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.price-card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.price-card__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.price-teaser__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.price-teaser__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================================
   FOOTER SOCIALS
   =================================== */
.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer__social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ===================================
   HOW-TO STEP CHIPS
   =================================== */
.how__step-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.how__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  background: rgba(168,103,58,0.08);
  border: 1px solid rgba(168,103,58,0.2);
  border-radius: 20px;
  padding: 4px 11px;
  white-space: nowrap;
}

/* ===================================
   PRODUCT CARD FACTS
   =================================== */
.prod-fact {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 5px 10px;
  white-space: nowrap;
}
.prod-fact__icon {
  font-size: 0.875rem;
  line-height: 1;
}

/* ===================================
   STATS STRIP (after marquee)
   =================================== */
.stats-strip {
  position: relative;
  background: var(--bg);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 146, 70, 0.07)   0px,
    rgba(0, 146, 70, 0.07)   33.33%,
    rgba(255, 255, 255, 0.04) 33.33%,
    rgba(255, 255, 255, 0.04) 66.66%,
    rgba(206, 43, 55, 0.07)  66.66%,
    rgba(206, 43, 55, 0.07)  100%
  );
  pointer-events: none;
  z-index: 0;
}
.stats-strip .container {
  position: relative;
  z-index: 1;
}
.stats-strip .about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===================================
   FINAL CTA (before footer)
   =================================== */
.final-cta {
  padding: 80px 0;
  background: var(--bg-dark);
}
.final-cta__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.final-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.final-cta__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.6;
}
.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.final-cta__phone {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.final-cta__phone:hover {
  color: var(--gold-light);
}

/* ===================================
   PROD-CARD EXPANDABLE DETAILS
   =================================== */
.prod-card__facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, margin 0.3s;
  margin-bottom: 0;
}
.prod-card__facts.expanded {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 20px;
}
.prod-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 20px;
  transition: color 0.2s;
  font-family: inherit;
}
.prod-card__toggle:hover { color: var(--gold-light); }
.prod-card__toggle .toggle-icon {
  display: inline-block;
  transition: transform 0.3s;
  font-style: normal;
}
.prod-card__toggle.open .toggle-icon { transform: rotate(180deg); }

/* ============================================================
   MOBILE FIXES — iPhone 15 Pro Max (430px) comprehensive patch
   ============================================================ */

/* ── FIX 1: stats-strip — 4 колонки → 2×2 на мобильном ── */
@media (max-width: 540px) {
  .stats-strip .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stats-strip {
    padding: 32px 0;
  }
  .about-stat {
    padding: 20px 16px;
  }
  .about-stat__value {
    font-size: 1.8rem;
  }
}

/* ── FIX 2: about__cover-content — паддинг на малых экранах ── */
@media (max-width: 480px) {
  .about__cover-content {
    padding: 20px 16px;
    gap: 8px;
  }
  .about__cover-title {
    font-size: 24px;
  }
}

/* ── FIX 3: header logo — уменьшить на мобильном ── */
@media (max-width: 480px) {
  .header__logo-img {
    height: 40px;
  }
  #header {
    padding: 16px 0;
  }
}

/* ── FIX 4: hero — улучшить отступы и шрифты на 430px ── */
@media (max-width: 480px) {
  .hero__inner {
    padding: 90px 0 40px;
  }
  .hero__title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    letter-spacing: -0.01em;
  }
  .hero__offer {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .hero__cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero__cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 15px 20px;
  }
}

/* ── FIX 5: pillar__num — размер на мобильном ── */
@media (max-width: 480px) {
  .pillar__num {
    font-size: 1.8rem;
  }
  .pillar__title {
    font-size: 1rem;
  }
  .pillar__text {
    font-size: 0.82rem;
  }
}

/* ── FIX 6: can-card__name — размер шрифта на мобильном ── */
@media (max-width: 480px) {
  .can-card__name {
    font-size: 1.1rem;
  }
}

/* ── FIX 7: tiers table — комфортный горизонтальный скролл ── */
@media (max-width: 480px) {
  .designers__tiers {
    margin: 0 -16px;
    padding: 0 16px;
    width: calc(100% + 32px);
  }
  .tiers {
    min-width: 380px;
    font-size: 0.78rem;
  }
  .tiers th,
  .tiers td {
    padding: 10px 12px;
  }
}

/* ── FIX 8: cans-row — при 4 банках, на 430px → 2×2 ── */
@media (max-width: 480px) {
  .cans-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .can-card2:nth-child(2) { border-right: none; }
  .can-card2:nth-child(3),
  .can-card2:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .can-card2:nth-child(4) { border-right: none; }
  .can-card2__img-wrap {
    min-height: 180px;
  }
  .can-card2__img-wrap img {
    max-width: 140px;
  }
  .can-card2__body {
    padding: 16px;
  }
  .can-card2__name {
    font-size: 1rem;
  }
}

/* ── FIX 9: prod-card tabs — на 430px переносить тексты кнопок ── */
@media (max-width: 430px) {
  .prod-tab {
    font-size: 0.68rem;
    padding: 8px 12px;
    letter-spacing: 0.06em;
  }
}

/* ── FIX 10: VS-section таблица на мобильном ── */
@media (max-width: 480px) {
  .vs-table {
    font-size: 0.78rem;
  }
  .vs-table th,
  .vs-table td {
    padding: 10px 8px;
  }
}

/* ── FIX 11: gallery — не обрезать подписи на 430px ── */
@media (max-width: 480px) {
  .gallery__cell {
    border-radius: 8px;
  }
  .gallery__cell img {
    border-radius: 8px;
  }
}

/* ── FIX 12: FAQ items — touch-friendly ── */
@media (max-width: 480px) {
  .faq-item summary {
    padding: 18px 44px 18px 16px;
    font-size: 0.9rem;
  }
  .faq__answer {
    padding: 0 16px 18px;
    font-size: 0.85rem;
  }
}

/* ── FIX 13: final-cta — кнопки в колонку на мобильном ── */
@media (max-width: 480px) {
  .final-cta {
    padding: 56px 0;
  }
  .final-cta__actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .final-cta__actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .final-cta__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
}

/* ── FIX 14: contact section — правильный стек на 430px ── */
@media (max-width: 480px) {
  .contact__inner {
    gap: 32px;
  }
  .contact-info-item {
    gap: 12px;
  }
  .contact-info-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ── FIX 15: footer — компактнее на 430px ── */
@media (max-width: 480px) {
  .footer__top {
    gap: 24px;
  }
  .footer__tagline {
    font-size: 0.82rem;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer__legal {
    justify-content: center;
  }
}

/* ── FIX 16: urgency-strip на мобильном ── */
@media (max-width: 480px) {
  .urgency-strip__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .urgency-strip__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── FIX 17: section-title размер на 430px ── */
@media (max-width: 430px) {
  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── FIX 18: lead-modal — лучше на 430px ── */
@media (max-width: 430px) {
  .lead-modal__box {
    padding: 28px 16px 24px;
    border-radius: 16px;
  }
  .lead-modal__title {
    font-size: 1.3rem;
  }
  .lead-modal__close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

/* ── FIX 19: prod-card body на малых экранах ── */
@media (max-width: 430px) {
  .prod-card__body {
    padding: 20px 16px;
  }
  .prod-card__name {
    font-size: 1.3rem;
  }
  .prod-card__desc {
    font-size: 0.84rem;
  }
}

/* ── FIX 20: Горизонтальный скролл — глобальная защита ── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ══════════════════════════════════════════════════════════
   MOBILE PERFORMANCE — отключаем тяжёлые эффекты
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Убираем backdrop-filter — главный виновник фризов на iOS */
  #header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(250,250,248,0.97) !important;
  }
  .hero__sidebar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .lead-modal__overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 12, 10, 0.85) !important;
  }
  .cta-designer__card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(30, 28, 26, 0.92) !important;
  }
  /* Убираем тяжёлые box-shadow */
  .hero__cta-btn:hover,
  .btn-primary:hover,
  .contact-form__submit:hover {
    box-shadow: none !important;
  }
  /* Убираем drop-shadow filter */
  .gallery__cell img,
  .can-card__img,
  .texture-card__img {
    filter: none !important;
  }
  /* Отключаем marquee-анимацию */
  .marquee__track {
    animation-play-state: paused !important;
  }
}
