/* ==========================================================================
   POPYKIN ATELIER & FIT-OUT PRODUCTION — DESIGN SYSTEM
   Architectural Luxury & Contemporary Art Authority
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Forum&family=Montserrat+Alternates:wght@600;700;800&family=Philosopher:wght@400;700&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&family=Tenor+Sans&family=Unbounded:wght@400;600;700;800;900&subset=cyrillic&display=swap');

:root {
  /* Color Palette: DaWalls Light Architectural Luxury */
  --bg-primary: #faf8f5;
  --bg-secondary: #f4f0e8;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(250, 248, 245, 0.92);
  
  --text-main: #14161a;
  --text-muted: #5e6472;
  --text-subtle: #858b99;
  
  --accent-bronze: #9c6f3d;
  --accent-gold: #b88a58;
  --accent-terracotta: #a8583c;
  --accent-glow: rgba(156, 111, 62, 0.14);
  --grad-bronze: linear-gradient(135deg, #9c6f3d 0%, #b88a58 50%, #855c2f 100%);
  
  /* Customer Palette from Atelier Mockup */
  --color-hero-navy: #192234;             /* Глубокий индиго-сланец из шрифта макета */
  --color-hero-terracotta: #8c4b27;       /* Тёплая античная бронза/терракота из шрифта макета */
  --bg-hero-plaster-card: rgba(238, 234, 228, 0.85); /* Тёплая минеральная плашка с полупрозрачностью под штукатурку */
  
  --border-subtle: rgba(20, 22, 26, 0.08);
  --border-active: rgba(156, 111, 62, 0.45);
  
  /* Typography — Concept 3: Montserrat Alternates (Основательная авторская геометрия) */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Montserrat Alternates', sans-serif;
  --font-brand: 'Montserrat Alternates', sans-serif;
  --font-heading: 'Montserrat Alternates', sans-serif;
  
  /* Curated Typography Archetypes for Brand Identity */
  --font-c1-forum: 'Forum', serif;
  --font-c2-philosopher: 'Philosopher', sans-serif;
  --font-c3-montserrat-alt: 'Montserrat Alternates', sans-serif;
  --font-c4-playfair: 'Playfair Display', Georgia, serif;
  --font-c5-tenor: 'Tenor Sans', sans-serif;
  --font-c6-unbounded: 'Unbounded', sans-serif;
  
  /* Transitions */
  --tr-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-fast: all 0.2s ease;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  /* Layout */
  --container-max: 1360px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
  touch-action: none;
}

/* Typography styles */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-main);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.font-display {
  font-family: var(--font-display);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--tr-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--tr-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bronze), var(--accent-gold));
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(156, 111, 62, 0.32);
  filter: brightness(1.06);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid rgba(20, 22, 26, 0.16);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-bronze);
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-outline-gold {
  border: 1px solid var(--accent-bronze);
  color: var(--accent-bronze);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--accent-bronze);
  color: #ffffff;
}

/* Badge / Pills - Completely banned per project guidelines */
.badge-tag {
  display: none !important;
}

/* Architectural Subtitles / Eyebrows - Pure typography without borders or pill backgrounds */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  margin-bottom: 0.65rem;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.hero-headline-block .eyebrow {
  color: var(--accent-bronze);
  margin-bottom: 0.4rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 320px;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: var(--tr-smooth);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.65rem 0;
}

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.75rem, 3.5vw, 2rem);
  padding-right: clamp(0.75rem, 3.5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}

.brand-logo .brand-title {
  font-family: var(--font-brand);
  font-size: clamp(1rem, 4.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.1;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-family var(--tr-fast);
}

.brand-logo .brand-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.46rem, 1.8vw, 0.65rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  margin-top: 0.2rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: var(--tr-fast);
}

.nav-link:hover,
.nav-item.has-dropdown:hover > .nav-link {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--accent-bronze);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--accent-bronze);
  transition: var(--tr-fast);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item.has-dropdown:hover > .nav-link::after {
  width: 100%;
}

.nav-chevron {
  font-size: 0.65rem;
  color: var(--accent-bronze);
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.nav-item.has-dropdown:hover .nav-chevron,
.nav-item.has-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu (Architectural Ivory Glass) */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(8px);
  min-width: 290px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(20, 22, 26, 0.09);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 1050;
}

/* Hover bridge to prevent menu from closing when moving mouse */
.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-item.has-dropdown:hover .nav-dropdown-menu,
.nav-item.has-dropdown:focus-within .nav-dropdown-menu,
.nav-item.has-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--tr-fast);
}

.dropdown-item:hover {
  background: rgba(156, 111, 62, 0.06);
}

.dropdown-item-title {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
  transition: color var(--tr-fast);
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--accent-bronze);
}

.dropdown-item-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

.dropdown-item-calc {
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.25rem;
  padding-top: 0.65rem;
}

.dropdown-item-calc .dropdown-item-title {
  color: var(--accent-bronze);
}

/* Mega Menu (Multi-Column Dropdown for Услуги & Проекты) */
.nav-dropdown-menu.mega-menu {
  min-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 1.75rem 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
}

.nav-item.has-dropdown:hover .nav-dropdown-menu.mega-menu,
.nav-item.has-dropdown.open .nav-dropdown-menu.mega-menu {
  transform: translateX(-50%) translateY(0);
}

.dropdown-col-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dropdown-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.dropdown-col-link {
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--tr-fast);
}

.dropdown-col-link:hover {
  background: rgba(156, 111, 62, 0.08);
}

.dropdown-col-link span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--tr-fast);
}

.dropdown-col-link:hover span {
  color: var(--accent-bronze);
}

.dropdown-col-link small {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.mega-menu-footer {
  grid-column: 1 / -1;
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-menu-footer a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-bronze);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: var(--tr-fast);
}

.mega-menu-footer a:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1.25rem);
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: var(--tr-fast);
}

.header-phone i {
  color: var(--accent-bronze);
  font-size: 0.85rem;
}

.header-phone:hover {
  color: var(--accent-bronze);
}

.btn-header-cta {
  padding: 0.65rem 1.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.btn-gold-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #ffffff !important;
  background: linear-gradient(135deg, #9c6f3d 0%, #b88a58 50%, #855c2f 100%) !important;
  border: 1px solid rgba(156, 111, 62, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(156, 111, 62, 0.32);
  transition: var(--tr-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-gold-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(156, 111, 62, 0.48);
  background: linear-gradient(135deg, #ab7c47 0%, #c49662 50%, #916534 100%) !important;
  color: #ffffff !important;
}

.btn-outline-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--tr-fast);
  white-space: nowrap;
}

.btn-outline-nav:hover {
  border-color: var(--accent-bronze);
  color: var(--accent-bronze);
  background: rgba(156, 111, 62, 0.06);
}

.burger-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0;
  cursor: pointer;
  transition: var(--tr-fast);
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.burger-btn:hover {
  border-color: var(--accent-bronze);
  color: var(--accent-bronze);
  background: rgba(156, 111, 62, 0.08);
}

.burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
  pointer-events: none;
}

.burger-lines .line {
  display: block;
  width: 100%;
  height: 1.8px;
  background-color: currentColor;
  border-radius: 1px;
  transition: var(--tr-fast);
  pointer-events: none;
}

.burger-btn:hover .burger-lines .line {
  background-color: var(--accent-bronze);
}

.burger-label {
  display: none !important;
}

.nav-container {
  display: none !important;
}

@media (max-width: 580px) {
  .btn-gold-header {
    padding: 0.5rem 0.95rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.65rem 0;
  }
  .header.scrolled {
    padding: 0.5rem 0;
  }
  .header-inner {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    gap: 0.5rem;
  }
  .burger-btn {
    width: 40px;
    height: 40px;
  }
  .burger-lines {
    width: 20px;
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    gap: 0.4rem;
  }
  .brand-logo .brand-title {
    font-size: 0.98rem;
  }
  .brand-logo .brand-subtitle {
    font-size: 0.42rem;
    letter-spacing: 0.06em;
  }
  .burger-btn {
    width: 38px;
    height: 38px;
  }
}

/* Mobile Drawer Navigation ("Три полосочки") */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-drawer.active {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.mobile-drawer.active .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(90vw, 420px);
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.mobile-drawer.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.drawer-header .brand-logo {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
}

.drawer-header .brand-title {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.drawer-header .brand-subtitle {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  margin-top: 0.25rem;
  display: block;
}

.drawer-close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(20, 22, 26, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr-fast);
  margin-left: auto;
}

.drawer-close:hover {
  background: rgba(156, 111, 62, 0.12);
  color: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

.drawer-nav {
  flex-grow: 1;
  margin-bottom: 1.75rem;
}

.drawer-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  padding: 0 0 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 22, 26, 0.04);
  transition: var(--tr-fast);
  cursor: pointer;
  position: relative;
  z-index: 2;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.drawer-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-bronze);
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.drawer-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  transition: var(--tr-fast);
}

.drawer-text small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.2rem;
  letter-spacing: 0;
  text-transform: none;
}

.drawer-link:hover .drawer-text {
  color: var(--accent-bronze);
  transform: translateX(4px);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.drawer-cta {
  width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.drawer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color var(--tr-fast);
}

.drawer-phone:hover {
  color: var(--accent-bronze);
}

.drawer-messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.drawer-soc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--tr-fast);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.drawer-soc-btn:hover {
  background: var(--text-main);
  color: #ffffff !important;
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 22, 26, 0.16);
}

.drawer-footer .btn-primary {
  transition: transform var(--tr-smooth), box-shadow var(--tr-smooth), filter var(--tr-smooth);
}

.drawer-footer .btn-primary:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(156, 111, 62, 0.35);
}

/* Hero Section with Architectural Showcase Slider */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(6rem, 10vh, 8.5rem);
  padding-bottom: 3.5rem;
  background-color: #0a0b0e;
  overflow: hidden;
}

/* Background Slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

/* Contrast Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 14, 0.97) 0%,
    rgba(10, 11, 14, 0.90) 45%,
    rgba(10, 11, 14, 0.52) 75%,
    rgba(10, 11, 14, 0.65) 100%
  ),
  linear-gradient(
    0deg,
    rgba(10, 11, 14, 0.85) 0%,
    transparent 35%
  );
  z-index: 2;
  pointer-events: none;
}

/* Unified Container aligned with .header-inner (up to 2560px) */
.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 2560px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 4.5rem);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

/* Main Row: Split Layout */
.hero-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 440px);
  gap: clamp(2rem, 4vw, 5.5rem);
  align-items: flex-end;
  margin: auto 0;
  width: 100%;
}

.hero-content-col {
  max-width: 980px;
}

.hero-content-col .eyebrow {
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.14em;
  font-size: clamp(0.72rem, 2.5vw, 0.85rem);
  line-height: 1.4;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: #fff;
  text-wrap: balance;
  word-break: break-word;
}

.hero-title span.accent {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 300;
}

.hero-desc {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 720px;
}

/* Hero Actions: 2 Clean B2B Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Showcase Project Card & Art Link (Right Column) */
.hero-showcase-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.hero-art-link-box {
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: flex-end;
}

.hero-art-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--tr-fast);
  padding: 0.4rem 0;
  position: relative;
}

.hero-art-link .hero-art-arrow {
  transition: transform var(--tr-fast);
  font-size: 1.1rem;
  line-height: 1;
}

.hero-art-link:hover {
  color: #fff;
}

.hero-art-link:hover .hero-art-arrow {
  transform: translateX(5px);
}

.hero-project-card {
  width: 100%;
  max-width: 440px;
  background: rgba(13, 15, 20, 0.82);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 155, 109, 0.25);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: var(--tr-smooth);
}

.hero-project-card:hover {
  border-color: rgba(197, 155, 109, 0.45);
  background: rgba(13, 15, 20, 0.92);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.card-counter {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.card-counter-total {
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 0.25rem;
}

.card-nav {
  display: flex;
  gap: 0.5rem;
}

.card-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr-fast);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
}

.card-nav-btn:hover {
  background: var(--accent-gold);
  color: #0d0e12;
  border-color: var(--accent-gold);
}

.card-body {
  margin-bottom: 1.1rem;
}

.card-category {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  transition: color var(--tr-fast);
}

.card-meta {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-progress {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}

.card-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-bronze), var(--accent-gold));
  transition: width 0.05s linear;
}

/* Architectural Specification Strip (Technical Ledger) */
.hero-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(197, 155, 109, 0.2);
  width: 100%;
}

.spec-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.spec-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5vw;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.spec-idx {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-bronze);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.spec-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.spec-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Laptop Screens Optimization (e.g. 1366x768, 1440x900) */
@media (min-width: 1025px) and (max-height: 850px) {
  .hero {
    min-height: auto;
    padding-top: calc(72px + 1.5rem);
    padding-bottom: 2rem;
  }
  .hero-container {
    gap: 1.75rem;
  }
  .hero-title {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }
  .hero-spec-strip {
    padding-top: 1.5rem;
  }
}

/* Responsive Breakpoints for Hero */
@media (max-width: 1200px) {
  .hero {
    min-height: auto;
    padding-top: calc(72px + 1.75rem);
    padding-bottom: 2.5rem;
    overflow: visible;
  }
  .hero-main-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 0;
  }
  .hero-content-col {
    max-width: 100%;
  }
  .hero-showcase-col {
    align-items: stretch;
    width: 100%;
  }
  .hero-art-link-box {
    justify-content: flex-start;
    max-width: 100%;
  }
  .hero-project-card {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-spec-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .spec-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(65px + 1.25rem);
    padding-bottom: 2rem;
  }
  .hero-container {
    gap: 2rem;
    padding: 0 1rem;
  }
  .hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.5rem);
    line-height: 1.18;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: clamp(0.92rem, 3.4vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    white-space: normal;
  }
  .hero-project-card {
    padding: 1.25rem 1rem;
  }
  .hero-spec-strip {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 360px) {
  .hero-container {
    padding: 0 0.75rem;
  }
  .hero-title {
    font-size: 1.55rem;
  }
  .hero-project-card {
    padding: 1rem 0.85rem;
  }
  .card-title {
    font-size: 1.05rem;
  }
}

/* Section Header */
.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text-main);
  margin-top: 0.75rem;
  line-height: 1.15;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* B2B Solutions Grid */
.b2b-sectors-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: var(--tr-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-5px);
}

.sector-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(197, 155, 109, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.sector-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #fff;
}

.sector-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.sector-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.sector-features li {
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sector-features li::before {
  content: '✓';
  color: var(--accent-bronze);
  font-weight: bold;
}

/* Portfolio Cases Section */
.portfolio-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--tr-smooth);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.case-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover .case-img-wrap img {
  transform: scale(1.04);
}

.case-category-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 11, 14, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: 0;
  border-left: 2px solid var(--accent-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.case-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.case-meta span {
  color: var(--accent-bronze);
  font-weight: 600;
}

.case-title {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.25;
}

.case-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.case-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.scope-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* QUIZ / LEAD FUNNEL (Natalia's Core Machine) */
.quiz-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #0d0f14 100%);
  position: relative;
}

.quiz-container {
  background: rgba(18, 20, 26, 0.9);
  border: 1px solid var(--border-active);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .quiz-container {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 360px) {
  .quiz-container {
    padding: 1.15rem 0.75rem;
  }
}

.quiz-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent-bronze), var(--accent-gold));
  transition: width 0.4s ease;
}

.quiz-step-title {
  font-size: clamp(1.35rem, 3.5vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.quiz-step-subtitle {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
}

.quiz-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: var(--tr-smooth);
  display: flex;
  flex-direction: column;
}

.quiz-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(197, 155, 109, 0.5);
  transform: translateY(-2px);
}

.quiz-option.selected {
  background: rgba(197, 155, 109, 0.12);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-glow);
}

.quiz-option .opt-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.quiz-option .opt-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Sample Box Section */
.sample-box-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.sample-box-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.sample-box-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.sample-box-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sample-box-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.sample-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sample-feature-item i {
  color: var(--accent-bronze);
  font-size: 0.95rem;
}

.sample-feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

@media (max-width: 992px) {
  .sample-box-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
}

.sample-box-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Sasha's Master Persona & Atelier */
.atelier-section {
  padding: 6.5rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .atelier-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.atelier-artist-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  color: var(--text-main);
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

.artist-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.45;
  color: var(--accent-bronze);
  border-left: 2px solid var(--accent-bronze);
  padding-left: 1.5rem;
  margin: 1.75rem 0;
}

.atelier-artist-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.timeline-roots {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.root-item .year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.root-item .text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Gallery Teaser */
.gallery-teaser-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

/* Gallery Fluid Container for Ultra-wide & High-end displays */
.gallery-fluid-container {
  width: 100%;
  max-width: 2200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 3.5vw, 4.5rem);
  padding-right: clamp(1.5rem, 3.5vw, 4.5rem);
}

.artworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 2.5vw, 3rem);
}

@media (max-width: 1200px) {
  .artworks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .artworks-grid {
    grid-template-columns: 1fr;
  }
}

.artwork-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
  box-shadow: 0 4px 24px rgba(20, 22, 26, 0.05);
}

.artwork-card:hover {
  border-color: var(--accent-bronze);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(20, 22, 26, 0.09);
}

.artwork-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  overflow: hidden;
  cursor: pointer;
}

.artwork-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.artwork-card:hover .artwork-img-wrap img {
  transform: scale(1.05);
}

.artwork-overlay-reveal {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 26, 0.72) 0%, rgba(20, 22, 26, 0.15) 50%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(10px);
  pointer-events: none;
}

.artwork-card:hover .artwork-overlay-reveal {
  opacity: 1;
  transform: translateY(0);
}

.artwork-reveal-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(20, 22, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
}

.artwork-reveal-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.artwork-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(1.5rem, 2vw, 2.25rem);
  background: var(--bg-card);
}

.artwork-info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.artwork-title {
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  line-height: 1.25;
  color: var(--text-main);
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-serif);
  font-weight: 600;
}

.artwork-medium {
  font-size: 0.875rem;
  color: var(--accent-bronze);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.artwork-dimensions {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.artwork-curator-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artwork-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.artwork-price {
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  font-family: var(--font-display);
}

.gallery-item.is-hidden {
  display: none !important;
}

/* Footer */
.footer {
  background-color: #060709;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  color: #9fa6b2;
}

.footer .brand-logo .brand-title {
  color: #faf8f5;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer .brand-logo .brand-subtitle {
  color: var(--accent-gold);
  letter-spacing: 0.16em;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a0a6b2;
  transition: color var(--tr-fast);
}

.footer-links a i {
  font-size: 0.8rem;
  margin-right: 0.25rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #7e8696;
}

.footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--tr-fast);
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 26, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

@media (max-width: 600px) {
  .modal-backdrop {
    padding: 0.75rem;
  }
  .modal-box {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--tr-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--tr-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-bronze);
  background: #ffffff;
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  border: 1px solid var(--accent-bronze);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3000;
  display: none;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
}

.toast-msg.show {
  display: flex;
  animation: slideUp 0.3s ease;
}

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

/* ==========================================================================
   NEW ARCHITECTURAL ATELIER SECTIONS (DAWALLS & GOLDSHELL INTEGRATION)
   ========================================================================== */

/* Hero: Atelier & Three Grand Portals (Poster / Screen-fit Layout) */
.hero-atelier {
  position: relative;
  min-height: calc(100vh - 75px);
  padding: clamp(4.5rem, 7.5vh, 6rem) 0 clamp(1.5rem, 3vh, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  box-sizing: border-box;
}

.hero-atelier-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.82;
  filter: contrast(1.06) brightness(1.02);
  transform: scale(1.01);
  transition: transform 10s ease;
}

.hero-atelier-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.25) 0%, rgba(250, 248, 245, 0.45) 50%, rgba(250, 248, 245, 0.85) 100%);
  pointer-events: none;
}

.hero-atelier-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero Header Composition (Architectural Editorial Layout) */
.hero-composition {
  width: 100%;
  margin-bottom: clamp(1rem, 2.2vh, 2rem);
}

.hero-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(1.5rem, 2.5vw, 3rem);
  margin-bottom: 0;
}

.hero-title-area {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-title-area .eyebrow {
  color: var(--color-hero-terracotta, #8c4b27);
  margin-bottom: 0.5rem;
}

.hero-atelier-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-hero-navy, #192234);
  margin: 0;
  letter-spacing: -0.015em;
}

/* Horizontal Button Bar Across the Bottom of the Header Block */
.hero-cta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta-bar .btn {
  padding: 0.75rem 1.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Portals Grid (The 3 Windows / Directions) */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.8vw, 1.6rem);
  align-items: stretch;
}

/* Плашка с фото под три направления: в точности как на макете заказчика */
.portal-card {
  position: relative;
  background: var(--bg-hero-plaster-card, rgba(238, 234, 228, 0.85));
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: clamp(20px, 2.2vw, 26px);
  padding: 10px 10px 1.25rem 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 14px 34px rgba(25, 34, 52, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--tr-smooth);
  text-decoration: none;
}

.portal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140, 75, 39, 0.45);
  box-shadow: 0 22px 46px rgba(25, 34, 52, 0.09), 0 4px 14px rgba(140, 75, 39, 0.08);
}

.portal-img-wrap {
  position: relative;
  height: clamp(170px, 22vh, 230px);
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  flex-shrink: 0;
}

.portal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-card:hover .portal-img-wrap img {
  transform: scale(1.05);
}

.portal-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0) 50%, rgba(20, 22, 26, 0.28) 100%);
}

.portal-content {
  flex: 1 1 auto;
  min-height: 72px;
  padding: 0.95rem 0.75rem 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  border-top: none;
}

.portal-title,
.portal-card .portal-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.25rem, 1.85vw, 1.7rem) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: var(--color-hero-navy, #192234);
  margin: 0;
  letter-spacing: 0.025em;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  text-align: center;
  transition: color var(--tr-fast);
}

.portal-card:hover .portal-title {
  color: var(--color-hero-terracotta, #8c4b27) !important;
}

/* Restoration Preview Block */
.restoration-preview-section {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.restoration-preview-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

@media (max-width: 960px) {
  .portals-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .restoration-preview-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .hero-atelier {
    padding: 5rem 0 2rem;
  }
  .hero-atelier-bg {
    background-image: url('../images/hero_plaster_texture_mob.jpg') !important;
    background-position: center top;
  }
  .portals-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .portal-img-wrap {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .portal-card {
    border-radius: 20px;
    padding: 8px 8px 1.15rem 8px;
  }
  .portal-img-wrap {
    border-radius: 14px;
    height: 190px;
  }
  .portal-content {
    min-height: 60px;
    padding: 0.85rem 0.5rem 0.1rem;
  }
}

/* Atelier Process Video Section */
.atelier-process-section {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-card-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.process-media-col {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.process-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.25);
}

.btn-play-video {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bronze), var(--accent-gold));
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 30px var(--accent-glow);
  transition: var(--tr-smooth);
}

.btn-play-video:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(156, 111, 62, 0.45);
}

.video-caption-chip {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.process-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-bronze);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 991px) {
  .process-card-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process-media-col {
    height: 320px;
  }
}

/* Calculator & Materials Catalog (Goldshell style) */
.calculator-catalog-section {
  padding: 5.5rem 0;
  background-color: var(--bg-primary);
}

.calc-catalog-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
}

.calc-materials-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, minmax(215px, 1fr));
  gap: 1.25rem;
  height: 100%;
}

.material-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background: #14171c;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  min-height: 215px;
  display: flex;
  flex-direction: column;
}

.material-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-bronze);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.32);
}

.material-card.active {
  border-color: var(--accent-bronze);
  box-shadow: 0 0 0 2px var(--accent-bronze), 0 12px 32px rgba(197, 160, 89, 0.35);
}

.mat-texture-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  z-index: 1;
}

.material-card:hover .mat-texture-bg {
  transform: scale(1.08);
}

.mat-active-indicator {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  background: var(--accent-bronze);
  color: #121418;
  padding: 0.22rem 0.65rem;
  border-radius: 2px;
  display: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.material-card.active .mat-active-indicator {
  display: block;
}

.mat-card-base {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.4rem;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0.05) 0%,
    rgba(10, 12, 16, 0.35) 45%,
    rgba(10, 12, 16, 0.88) 85%,
    rgba(10, 12, 16, 0.96) 100%
  );
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.material-card:hover .mat-card-base {
  opacity: 0;
}

.mat-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #e5c388;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.mat-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: #ffffff;
  margin-bottom: 0.45rem;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.mat-price-tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f5dfa8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.mat-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}

.mat-hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(12, 14, 18, 0.91);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.material-card:hover .mat-hover-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mat-hover-kicker {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--accent-bronze);
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.mat-hover-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: #ffffff;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.mat-hover-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mat-hover-specs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.mat-spec-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.72rem;
}

.mat-spec-label {
  color: var(--accent-bronze);
  font-weight: 600;
  flex-shrink: 0;
}

.mat-spec-val {
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mat-hover-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.25);
}

.mat-hover-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f5dfa8;
}

.mat-hover-link {
  font-size: 0.75rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid rgba(197, 160, 89, 0.5);
  padding-bottom: 1px;
}

.mat-hover-link:hover {
  color: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

/* Calculator Panel (Right Col) */
.calc-panel-col {
  height: 100%;
}

.calc-panel-card {
  background: #ffffff;
  border: 1px solid rgba(156, 111, 62, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.85rem 2rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-panel-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.calc-panel-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

.calc-selected-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.calc-selected-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.calc-control-group {
  margin-bottom: 1.25rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.calc-label {
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 600;
}

.calc-area-display {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.calc-number-input {
  width: 76px;
  padding: 0.35rem 0.5rem;
  background: var(--bg-primary);
  border: 1px solid rgba(156, 111, 62, 0.4);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: right;
}

.calc-unit {
  font-size: 1.05rem;
  color: var(--accent-bronze);
  font-weight: 600;
}

.calc-range-slider {
  width: 100%;
  accent-color: var(--accent-bronze);
  cursor: pointer;
  height: 6px;
  background: rgba(20, 22, 26, 0.12);
  border-radius: 4px;
}

.calc-range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-subtle);
  margin-top: 0.4rem;
}

/* Calculator Breakdown Ledger */
.calc-ledger-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.ledger-val {
  color: var(--text-main);
  font-weight: 600;
}

.ledger-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  margin-top: 0.65rem;
}

.ledger-total-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.ledger-total-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-bronze);
  line-height: 1;
}

.ledger-note {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.calc-action-block {
  text-align: center;
}

.btn-block {
  width: 100%;
  padding: 0.95rem;
  font-size: 0.92rem;
}

.calc-sub-guarantee {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .calc-catalog-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
  }
  .calc-materials-col {
    height: auto;
  }
  .materials-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .calc-panel-col {
    height: auto;
  }
  .calc-panel-card {
    height: auto;
    position: static;
  }
}

/* Projects Showcase (Cases) */
.cases-showcase-section {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
}

.cases-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.case-item-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: var(--tr-smooth);
}

.case-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-bronze);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.case-thumb-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.case-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-item-card:hover .case-thumb-wrap img {
  transform: scale(1.05);
}

.case-tag-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-bronze);
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.case-item-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-item-meta {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
}

.case-item-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.case-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.case-item-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.scope-pill {
  font-size: 0.72rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 991px) {
  .cases-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Restoration Section */
.restoration-section {
  padding: 5.5rem 0;
  background-color: var(--bg-primary);
}

.restoration-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.restoration-img-col {
  position: relative;
}

.restoration-img-col img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-subtle);
}

.restoration-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: #ffffff;
  border: 1px solid var(--accent-bronze);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  max-width: 220px;
}

.badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-bronze);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.restoration-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.rest-service-item {
  border-left: 2px solid var(--accent-bronze);
  padding-left: 1rem;
}

.rest-service-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.rest-service-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .restoration-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .restoration-badge-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .restoration-services-list {
    grid-template-columns: 1fr;
  }
}

/* Art Gallery Showcase & Cards with Dimensions and Prices */
.gallery-showcase-section {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
}

.gallery-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.gallery-header-info {
  max-width: 820px;
}

.gallery-header-cta {
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .gallery-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

.artworks-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

.art-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: var(--tr-smooth);
}

.art-card-modern:hover {
  transform: translateY(-6px);
  border-color: var(--accent-bronze);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.art-card-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #f2ede4;
}

.art-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.art-card-modern:hover .art-card-img-wrap img {
  transform: scale(1.06);
}

.art-status-chip {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.art-status-chip.avail {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--accent-bronze);
  color: var(--accent-bronze);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.art-status-chip.res {
  background: rgba(20, 22, 26, 0.85);
  border: 1px solid rgba(20, 22, 26, 0.2);
  color: #ffffff;
}

.art-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-cat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bronze);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.art-title-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.art-meta-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.art-dimensions-text {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}

.art-dimensions-text strong {
  color: var(--text-main);
}

.art-footer-row {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.art-price-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-bronze);
}

.art-card-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-art-fit {
  flex: 1;
  padding: 0.55rem 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr-fast);
  text-align: center;
}

.btn-art-fit:hover {
  background: #ffffff;
  border-color: var(--accent-bronze);
  color: var(--accent-bronze);
}

.btn-art-buy {
  padding: 0.55rem 0.85rem;
  background: linear-gradient(135deg, var(--accent-bronze), var(--accent-gold));
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tr-fast);
}

.btn-art-buy:hover {
  filter: brightness(1.08);
}

@media (max-width: 1200px) {
  .artworks-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .artworks-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Flagship Conversion: Free Art Fitting Banner */
.art-fitting-banner-section {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.art-fitting-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: contrast(1.05) brightness(1.02);
}

.art-fitting-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 248, 245, 0.85) 0%, rgba(244, 240, 232, 0.95) 100%);
}

.art-fitting-container {
  position: relative;
  z-index: 2;
}

.art-fitting-card {
  background: #ffffff;
  border: 1px solid var(--accent-bronze);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

.fitting-card-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--text-main);
  line-height: 1.18;
  margin: 0.5rem 0 1.5rem;
}

.fitting-card-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.fitting-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.fitting-step-item {
  border-top: 1px solid var(--border-active);
  padding-top: 1.25rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-bronze);
  display: block;
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.fitting-action-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .fitting-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .fitting-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Art Furniture & Objects */
.art-furniture-section {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
}

.furniture-split-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.furniture-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.furn-feat-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border-left: 3px solid var(--accent-bronze);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.furn-feat-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.furn-feat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.furniture-img-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 991px) {
  .furniture-split-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Partners Section */
.partners-section {
  padding: 5.5rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.partners-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: var(--tr-smooth);
}

.partner-card:hover {
  border-color: var(--accent-bronze);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.partner-type {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-bronze);
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.partner-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.partner-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .partners-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .partners-grid-cards {
    grid-template-columns: 1fr;
  }
}

/* Floating Quick Communication Widget */
.floating-quick-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-toggle-btn {
  background: linear-gradient(135deg, #9c6f3d 0%, #b88a58 50%, #855c2f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(156, 111, 62, 0.35);
  transition: var(--tr-smooth);
}

.floating-toggle-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(156, 111, 62, 0.48);
}

.floating-contact-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 230px;
}

.floating-contact-menu.open {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-bubble-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--bg-primary);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--tr-fast);
  white-space: nowrap;
}

.contact-bubble-item:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-bronze);
  color: var(--accent-bronze);
}

.contact-bubble-item.tg i {
  color: #229ED9;
}

.contact-bubble-item.wa i {
  color: #25D366;
}

.contact-bubble-item.tel i {
  color: var(--accent-bronze);
}

.contact-bubble-item.fitting i {
  color: #e07a5f;
}

@media (max-width: 600px) {
  .floating-quick-contact {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .floating-badge-text {
    display: none;
  }
  .floating-toggle-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

/* ==========================================================================
   BRAND IDENTITY & TYPOGRAPHY SHOWCASE — STYLES
   Architectural Luxury & European Contemporary Authority
   ========================================================================== */

.showcase-page {
  padding-top: 110px;
  padding-bottom: 5rem;
}

.showcase-header {
  margin-bottom: 2.5rem;
}

.showcase-header .eyebrow {
  margin-bottom: 0.5rem;
}

.showcase-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-family: var(--font-brand, var(--font-serif));
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.showcase-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
}

/* Concept Cards Bar (6 archetypes) */
.concept-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1100px) {
  .concept-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.concept-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--tr-smooth);
  position: relative;
  text-align: left;
}

.concept-card:hover {
  border-color: var(--accent-bronze);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 22, 26, 0.05);
}

.concept-card.active {
  border-color: var(--accent-bronze);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(156, 111, 62, 0.12);
  outline: 2px solid var(--accent-bronze);
}

.concept-card-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  margin-bottom: 0.5rem;
}

.concept-card-title {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.concept-card-font {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.concept-card-desc {
  font-size: 0.88rem;
  color: var(--text-subtle);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.concept-card-sample {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text-main);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* Background preview theme selector */
.theme-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-picker-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--tr-fast);
}

.theme-picker-btn.active {
  border-color: var(--accent-bronze);
  transform: scale(1.15);
}

/* Showcase Section Card */
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 6px 20px rgba(20, 22, 26, 0.03);
}

.showcase-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.showcase-card-header h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Stage Canvas */
.stage-canvas {
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  transition: background-color var(--tr-smooth), color var(--tr-smooth);
}

.stage-canvas.theme-light {
  background: #faf8f5;
  color: #14161a;
  border: 1px solid rgba(20, 22, 26, 0.08);
}

.stage-canvas.theme-dark {
  background: #14161a;
  color: #faf8f5;
}

.stage-canvas.theme-bronze {
  background: #231b14;
  color: #f7eee4;
}

/* Logotypes Display */
.brand-display-main {
  text-align: center;
  padding: 1.5rem 0;
}

.brand-specimen-large {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  transition: font-family var(--tr-fast);
}

.brand-specimen-sub {
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  font-weight: 600;
  margin-bottom: 2rem;
}

.brand-specimen-cyrillic {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  opacity: 0.88;
  margin-bottom: 2rem;
  transition: font-family var(--tr-fast);
}

/* Monogram badges */
.monograms-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.monogram-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.monogram-box {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  border: 2px solid currentColor;
  transition: font-family var(--tr-fast);
}

.monogram-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* Interactive Sandbox Tester */
.tester-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: end;
}

@media (max-width: 860px) {
  .tester-controls {
    grid-template-columns: 1fr;
  }
}

.tester-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--tr-fast);
}

.tester-input:focus {
  border-color: var(--accent-bronze);
  background: #ffffff;
}

.tester-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tester-chip {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--tr-fast);
}

.tester-chip:hover {
  border-color: var(--accent-bronze);
  color: var(--text-main);
}

.tester-output-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-x: auto;
}

.tester-output-text {
  color: var(--text-main);
  line-height: 1.15;
  word-break: break-word;
  transition: font-family var(--tr-fast);
}

/* Site Mockup Live Simulator */
.mockup-container {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
}

.mockup-header-bar {
  background: #f4f0e8;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mockup-nav span:hover {
  color: var(--text-main);
}

.mockup-hero-area {
  padding: 3.5rem 2rem;
  background: #faf8f5;
  text-align: center;
}

.mockup-hero-eyebrow {
  font-size: 0.88rem;
  color: var(--accent-bronze);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mockup-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.mockup-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.mockup-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.mockup-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.mockup-metric-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-bronze);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.mockup-metric-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Comparison Matrix */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.matrix-table th, .matrix-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: middle;
}

.matrix-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  background: var(--bg-primary);
}

.matrix-concept-cell {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-bronze);
}

.matrix-specimen {
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--text-main);
}

/* Decision Action Card */
.decision-card {
  background: #14161a;
  color: #faf8f5;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.decision-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-family: var(--font-brand, var(--font-serif));
  margin-bottom: 0.75rem;
}

.decision-card p {
  color: #a0a6b2;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.4rem;
  background: var(--grad-bronze);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--tr-smooth);
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 138, 88, 0.4);
}

.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #14161a;
  color: #faf8f5;
  border: 1px solid var(--accent-bronze);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 99999;
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   CLIENT PORTAL & STAGES TRACKER — ARCHITECTURAL LUXURY DESIGN SYSTEM
   ========================================================================== */

/* Login Section */
.portal-login-section {
  padding: clamp(7rem, 12vh, 10rem) 0 6rem;
  background-color: var(--bg-primary);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.portal-login-container {
  max-width: 640px;
  margin: 0 auto;
}

.portal-login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 15px 45px rgba(20, 22, 26, 0.05);
}

.portal-login-header {
  margin-bottom: 2rem;
  text-align: center;
}

.portal-login-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.portal-login-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.portal-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.portal-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.portal-input, .portal-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--tr-fast), background-color var(--tr-fast);
}

.portal-input:focus, .portal-textarea:focus {
  border-color: var(--accent-bronze);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.portal-hint {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.portal-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn-portal-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.92rem;
}

.btn-portal-demo {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.86rem;
}

.portal-security-badge {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.45;
  text-align: center;
}

/* Dashboard Section */
.portal-dashboard-section {
  padding: clamp(6.5rem, 10vh, 8.5rem) 0 6rem;
  background-color: var(--bg-primary);
  min-height: 100vh;
}

.portal-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.portal-user-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.portal-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.portal-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.portal-badge-demo {
  background: rgba(156, 111, 62, 0.12);
  color: var(--accent-bronze);
  border-color: rgba(156, 111, 62, 0.3);
}

.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Project Card */
.portal-project-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(20, 22, 26, 0.04);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.project-status-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.project-object-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.project-details-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.project-details-row span strong {
  color: var(--text-main);
}

.project-progress-circle-wrap {
  text-align: right;
  flex-shrink: 0;
}

.progress-percent-val {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--accent-bronze);
  line-height: 1;
}

.progress-percent-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portal-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 2rem;
}

.portal-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-bronze) 0%, var(--accent-gold) 100%);
  border-radius: var(--radius-pill);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Financial Ledger Grid */
.project-financial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .project-financial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .project-financial-grid {
    grid-template-columns: 1fr;
  }
}

.fin-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fin-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fin-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.fin-paid {
  color: #2e7d32;
}

.fin-remain {
  color: var(--accent-bronze);
}

/* 2 Columns: Stages & Sidebar */
.portal-grid-two-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .portal-grid-two-cols {
    grid-template-columns: 1fr;
  }
}

.portal-section-header {
  margin-bottom: 1.75rem;
}

.portal-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.portal-section-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Stages Timeline */
.stages-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.stages-timeline::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  bottom: 2rem;
  left: 20px;
  width: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.stage-timeline-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.stage-node-indicator {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-subtle);
  transition: var(--tr-smooth);
}

.stage-completed .stage-node-indicator {
  border-color: #2e7d32;
  background: #2e7d32;
  color: #ffffff;
}

.stage-in_progress .stage-node-indicator {
  border-color: var(--accent-bronze);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-bronze);
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.stage-content-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  box-shadow: 0 4px 15px rgba(20, 22, 26, 0.03);
  transition: var(--tr-smooth);
}

.stage-in_progress .stage-content-card {
  border-color: var(--accent-bronze);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.stage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.stage-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.stage-pill-completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.stage-pill-in_progress {
  background: rgba(156, 111, 62, 0.12);
  color: var(--accent-bronze);
}

.stage-pill-pending {
  background: var(--bg-secondary);
  color: var(--text-subtle);
}

.stage-date {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.stage-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.stage-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Curator & Documents Sidebar */
.curator-card {
  background: #14161a;
  color: #faf8f5;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.curator-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.curator-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.curator-desc {
  font-size: 0.88rem;
  color: #a0a6b2;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.curator-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.curator-phone-btn {
  width: 100%;
  font-size: 0.9rem;
}

.curator-tg-btn {
  width: 100%;
  font-size: 0.9rem;
}

/* Documents Hub */
.documents-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(20, 22, 26, 0.03);
}

.documents-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--tr-fast);
}

.doc-item:hover {
  background: #ffffff;
  border-color: var(--accent-bronze);
  transform: translateX(4px);
}

.doc-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(156, 111, 62, 0.1);
  color: var(--accent-bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.doc-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

.doc-meta {
  font-size: 0.74rem;
  color: var(--text-subtle);
}

.doc-action {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-bronze);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Live Photos Feed */
.portal-photos-section {
  padding-top: 1rem;
}

.portal-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .portal-photos-grid {
    grid-template-columns: 1fr;
  }
}

.photo-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(20, 22, 26, 0.04);
}

.photo-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-card:hover .photo-img-wrap img {
  transform: scale(1.05);
}

.photo-date-chip {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(20, 22, 26, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.photo-card-caption {
  padding: 1.15rem 1.25rem;
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.45;
}

/* SBP QR-Code Payment Modal */
.sbp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 26, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sbp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sbp-modal-card {
  background: #ffffff;
  border: 1px solid var(--accent-bronze);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.sbp-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--tr-fast);
}

.sbp-modal-close:hover {
  color: var(--text-main);
  border-color: var(--accent-bronze);
}

.sbp-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.sbp-logo-badge {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-bronze);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sbp-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.sbp-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.sbp-qr-display-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.sbp-qr-frame {
  text-align: center;
  margin: 0 auto;
}

.sbp-qr-svg {
  display: block;
  margin: 0 auto 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.qr-scan-badge {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.sbp-amount-selector {
  text-align: center;
  margin: 0 auto;
}

.sbp-amount-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.sbp-amount-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-bronze);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.sbp-banks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.bank-tag {
  font-size: 0.7rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
}

.sbp-instructions-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sbp-steps-list {
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.55;
  margin: 0;
}

.sbp-steps-list li {
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   PARTNERS PROGRAM & PAINT DISCOUNT ECOSYSTEM
   ========================================================================== */

.partners-hero-section {
  padding: clamp(7.5rem, 12vh, 10rem) 0 4.5rem;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.partners-hero-composition {
  max-width: 940px;
}

.partners-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  margin: 0.5rem 0 1.25rem;
}

.partners-hero-desc {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 820px;
}

.partners-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Partner Pillars Grid */
.partner-pillars-section {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
}

.partner-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .partner-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(20, 22, 26, 0.04);
  transition: var(--tr-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-bronze);
  box-shadow: 0 15px 40px rgba(20, 22, 26, 0.08);
}

.pillar-card.pillar-featured {
  border-color: var(--accent-bronze);
  box-shadow: 0 10px 35px var(--accent-glow);
}

.pillar-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-bronze), var(--accent-gold));
  color: #ffffff;
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(156, 111, 62, 0.3);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.pillar-type {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.pillar-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pillar-perks-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  padding-left: 1.25rem;
}

.pillar-perks-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-bronze);
  font-weight: 700;
}

.pillar-perks-list li strong {
  color: var(--text-main);
}

.pillar-footer {
  margin-top: auto;
}

/* Paint Program Box */
.paint-program-section {
  padding: 5.5rem 0;
  background-color: var(--bg-primary);
}

.paint-card-box {
  background: #ffffff;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.75rem);
  box-shadow: 0 15px 45px rgba(20, 22, 26, 0.05);
}

.paint-header-area {
  max-width: 820px;
  margin-bottom: 3rem;
}

.paint-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.paint-main-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.paint-calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 991px) {
  .paint-calculator-grid {
    grid-template-columns: 1fr;
  }
}

.calc-inner-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.calc-val-display {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--accent-bronze);
}

.portal-range-slider {
  width: 100%;
  accent-color: var(--accent-bronze);
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 4px;
  cursor: pointer;
}

.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-subtle);
  margin-top: 0.4rem;
}

.paint-ledger-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.paint-ledger-box .ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.paint-ledger-box .ledger-row.highlight {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

.paint-ledger-box .ledger-row.save-row {
  background: #e8f5e9;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

/* Paint Order Form Card */
.paint-form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.paint-form-header {
  margin-bottom: 1.5rem;
}

.paint-form-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bronze);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.paint-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.paint-form-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.paint-privacy-note {
  font-size: 0.74rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* General Partner Form Section */
.partner-form-section {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
}

.partner-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .partner-form-wrapper {
    grid-template-columns: 1fr;
  }
}

.partner-form-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.partner-form-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.partner-contacts-mini {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.mini-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bronze);
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.mini-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.mini-link {
  font-size: 1.05rem;
  color: var(--accent-bronze);
  font-weight: 600;
}

.partner-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: 0 10px 30px rgba(20, 22, 26, 0.04);
}

/* ==========================================================================
   INTERACTIVE SHOWCASE FOLDERS & 2/3 SCREEN LIGHTBOX MODAL (PROJECTS & GALLERY)
   ========================================================================== */

.flagship-folders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
}

@media (max-width: 960px) {
  .flagship-folders-grid {
    grid-template-columns: 1fr !important;
  }
}

.folder-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.folder-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(18, 18, 18, 0.08);
}

.slide-nav-btn {
  user-select: none;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.slide-nav-btn:hover {
  background: rgba(18, 18, 18, 0.95) !important;
  color: var(--accent-gold) !important;
  transform: translateY(-50%) scale(1.08);
}

.slide-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.card-slide-frame:hover .expand-hint-badge {
  background: rgba(197, 160, 89, 0.95) !important;
  color: #121212 !important;
  font-weight: 600;
}

/* 2/3 Screen Lightbox Modal */
.project-modal-backdrop {
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.project-modal-window {
  animation: modalScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 820px) {
  .project-modal-window {
    grid-template-columns: 1fr !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }
  .modal-media-col {
    min-height: 260px !important;
    max-height: 320px !important;
  }
}

/* Contacts layout */
@media (max-width: 860px) {
  .contacts-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


