:root {
  /* =====================================================================
     DESIGN 1 (DEFAULT — Derived from Logo 1: AURM_STONE® Granite, Gold & White Studio)
     ===================================================================== */
  --bg-dark: #14171c;
  --bg-forest: #1b1f26;
  --bg-forest-light: #252a34;
  --bg-card-dark: #1e222a;
  --emerald: #d4af37;
  --emerald-bright: #f5c945;
  --emerald-glow: #ffe078;
  --emerald-dark: #9e7610;
  --amber-tactile: #f5b700;
  --amber-light: #fff4cc;
  --stone-bg: #f5f3ee;
  --stone-card: #ffffff;
  --stone-border: #dfd9cc;
  --text-dark: #14171c;
  --text-muted: #585e68;
  --text-light: #f9f8f5;
  --text-light-muted: #a6aebc;
  --hero-bg: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.22) 0%, transparent 45%), linear-gradient(135deg, #ffffff 0%, #f3efe6 55%, #e7e1d4 100%);
  --hero-text: #14171c;
  --hero-desc-color: #494f59;
  --hero-stat-bg: #ffffff;
  --hero-stat-border: #dfd8c8;
  --hero-stat-num: #b0820f;
  --danger: #e53935;
  --tg-blue: #24A1DE;
  --shadow-sm: 0 8px 24px rgba(20, 23, 28, 0.06);
  --shadow-md: 0 18px 46px rgba(20, 23, 28, 0.11);
  --shadow-lg: 0 30px 75px rgba(20, 23, 28, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================================
   DESIGN 2 (Derived from Logo 2: ARUM STONE SOLUTIONS Deep Forest Green & 3D Emerald)
   ===================================================================== */
body[data-theme="emerald"] {
  --bg-dark: #031708;
  --bg-forest: #062b10;
  --bg-forest-light: #0b3f19;
  --bg-card-dark: #083514;
  --emerald: #19b853;
  --emerald-bright: #39c41f;
  --emerald-glow: #7ef059;
  --emerald-dark: #0f8a3b;
  --stone-bg: #07230e;
  --stone-card: #0b3315;
  --stone-border: rgba(126, 240, 89, 0.24);
  --text-dark: #f0f9f2;
  --text-muted: #9ec4a8;
  --text-light: #f0f9f2;
  --text-light-muted: #9ec4a8;
  --hero-bg: radial-gradient(circle at 75% 28%, #0f5222 0%, #062b10 55%, #031708 100%);
  --hero-text: #ffffff;
  --hero-desc-color: #a9cbb2;
  --hero-stat-bg: rgba(255, 255, 255, 0.06);
  --hero-stat-border: rgba(126, 240, 89, 0.28);
  --hero-stat-num: #7ef059;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 30px 75px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--stone-bg);
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  background: var(--stone-bg);
  color: var(--text-dark);
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--emerald-dark);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-bright);
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement & Contact Bar */
.topbar {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-badge {
  background: rgba(212, 175, 55, 0.18);
  color: var(--emerald-glow);
  padding: 3px 12px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.73rem;
  letter-spacing: 0.6px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
body[data-theme="emerald"] .topbar-badge {
  background: rgba(25, 184, 83, 0.2);
  border-color: rgba(126, 240, 89, 0.45);
}
.topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}
.topbar a:hover {
  color: var(--emerald-glow);
}
.tg-top-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(36, 161, 222, 0.2);
  border: 1px solid rgba(36, 161, 222, 0.5);
  color: #7adaff !important;
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 800;
}
.tg-top-link:hover {
  background: var(--tg-blue);
  color: #fff !important;
}

/* Main Header / Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 23, 28, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--emerald);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}
body[data-theme="emerald"] .navbar {
  background: rgba(6, 43, 16, 0.96);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 8px 0;
  gap: 12px;
}

/* Interactive Clickable Dual Logo Switcher in Navbar */
.brand-logo-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-card {
  position: relative;
  height: 58px;
  padding: 4px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}
.nav-logo-card.logo-card-gold {
  background: linear-gradient(135deg, #ffffff 0%, #f4efe4 100%);
  border: 2px solid rgba(212, 175, 55, 0.45);
}
.nav-logo-card.logo-card-emerald {
  background: #062b10;
  border: 2px solid rgba(57, 196, 31, 0.4);
}
.nav-logo-card img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
/* Active Ring on whichever Logo's Design is currently active */
body:not([data-theme="emerald"]) .nav-logo-card.logo-card-gold {
  border-color: #f5c945;
  box-shadow: 0 0 0 3px rgba(245, 201, 69, 0.38), 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: scale(1.04);
}
body:not([data-theme="emerald"]) .nav-logo-card.logo-card-emerald {
  opacity: 0.72;
}
body[data-theme="emerald"] .nav-logo-card.logo-card-emerald {
  border-color: #7ef059;
  box-shadow: 0 0 0 3px rgba(126, 240, 89, 0.38), 0 6px 20px rgba(25, 184, 83, 0.5);
  transform: scale(1.04);
}
body[data-theme="emerald"] .nav-logo-card.logo-card-gold {
  opacity: 0.72;
}
.nav-logo-card:hover {
  opacity: 1 !important;
  transform: translateY(-2px) scale(1.04);
}

/* Navigation Pill Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: nowrap;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 13px;
  border-radius: 10px;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--emerald-dark) 100%);
  color: #111;
}
body[data-theme="emerald"] .nav-links a:hover,
body[data-theme="emerald"] .nav-links a.active {
  color: #fff;
}
.nav-links a.nav-tactile {
  background: rgba(245, 183, 0, 0.16);
  color: #ffd54f;
  border: 1px solid rgba(245, 183, 0, 0.4);
}
.nav-links a.nav-tactile:hover {
  background: var(--amber-tactile);
  color: #111;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 3-Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-light-muted);
  font-weight: 800;
  font-size: 0.74rem;
  padding: 5px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:hover {
  color: #ffffff;
}
.lang-btn.active {
  background: var(--emerald);
  color: #111;
}
body[data-theme="emerald"] .lang-btn.active {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.89rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--emerald-dark) 100%);
  color: #111417;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
body[data-theme="emerald"] .btn-primary {
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(25, 184, 83, 0.38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.btn-telegram {
  background: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(36, 161, 222, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 161, 222, 0.5);
}
.btn-amber {
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 100%);
  color: #111417;
  box-shadow: 0 10px 24px rgba(245, 183, 0, 0.32);
}
.btn-outline-light {
  background: rgba(20, 23, 28, 0.08);
  color: var(--hero-text);
  border: 1.5px solid rgba(20, 23, 28, 0.25);
}
body[data-theme="emerald"] .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(126, 240, 89, 0.35);
}
.btn-outline-light:hover {
  border-color: var(--emerald);
}
.btn-admin {
  background: rgba(255, 255, 255, 0.08);
  color: var(--emerald-glow);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: 9px 14px;
  font-size: 0.83rem;
}
.btn-admin:hover {
  background: var(--emerald);
  color: #111;
}

/* =====================================================================
   HERO SECTION — TRANSFORMS COMPLETELY BASED ON CLICKED LOGO!
   - Logo 1 (AURM_STONE®): Bright Studio Alabaster, 3D Black Granite & Gold
   - Logo 2 (ARUM STONE): Deep Forest Emerald Green (#062b10) & Bright Lime 3D
   ===================================================================== */
.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 72px 0 112px;
  overflow: hidden;
  border-bottom: 4px solid var(--emerald);
  transition: var(--transition);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128, 128, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 128, 128, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
}
.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #14171c;
  border: 1.5px solid #d4af37;
  color: #ffe078;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 800;
}
body[data-theme="emerald"] .hero-pill {
  background: rgba(25, 184, 83, 0.22);
  border-color: #7ef059;
  color: #7ef059;
}
.hero-pill-tactile {
  background: #fff3c4;
  border-color: #f5b700;
  color: #78350f;
}
body[data-theme="emerald"] .hero-pill-tactile {
  background: rgba(245, 183, 0, 0.2);
  border-color: #ffd54f;
  color: #ffe066;
}
.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.6px;
  color: var(--hero-text);
}
.hero h1 span {
  background: linear-gradient(90deg, #b8870b 0%, #d4af37 50%, #14171c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[data-theme="emerald"] .hero h1 span {
  background: linear-gradient(90deg, #7ef059 0%, #24cf5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.06rem;
  color: var(--hero-desc-color);
  margin-bottom: 28px;
  max-width: 600px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hero-stat-item {
  background: var(--hero-stat-bg);
  border: 1.5px solid var(--hero-stat-border);
  padding: 15px 14px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.hero-stat-item:hover {
  border-color: var(--emerald);
  transform: translateY(-3px);
}
.hero-stat-num {
  font-size: 1.48rem;
  font-weight: 900;
  color: var(--hero-stat-num);
  line-height: 1.1;
}
.hero-stat-label {
  font-size: 0.76rem;
  color: var(--hero-desc-color);
  margin-top: 5px;
  font-weight: 600;
}

/* Interactive Hero Dual-Logo Click Selector Banner */
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-logo-banner {
  background: #14171c;
  border: 2px solid var(--emerald);
  border-radius: 24px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
body[data-theme="emerald"] .hero-logo-banner {
  background: #041d0b;
  border-color: #39c41f;
}
.logo-click-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-glow);
  padding: 2px 6px;
}
.dual-logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 6px 4px 4px;
}

/* =====================================================================
   PURE FLOATING 3D 360-DEGREE GREEN LOGO (NO RECTANGULAR VIZITKA CARD!)
   ===================================================================== */
.hero-3d-floating-zone {
  position: relative;
  width: 100%;
  height: 255px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 10px 0;
  user-select: none;
}

.floating-3d-glow {
  position: absolute;
  width: 260px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 196, 31, 0.35) 0%, rgba(25, 184, 83, 0.12) 55%, transparent 75%);
  filter: blur(22px);
  pointer-events: none;
  animation: haloPulse 3.2s ease-in-out infinite alternate;
}

.floating-3d-logo-rig {
  position: relative;
  width: 290px;
  height: 220px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  animation: rotatePure3DLogo 9s linear infinite;
  z-index: 2;
}

.hero-3d-floating-zone:hover .floating-3d-logo-rig {
  animation-play-state: paused;
  transform: rotateY(0deg) scale(1.07) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rotatePure3DLogo {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.floating-logo-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

.floating-logo-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  filter:
    drop-shadow(1px 1px 0px #0b5e1e)
    drop-shadow(2px 2px 0px #084716)
    drop-shadow(3px 3px 0px #05300e)
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65));
}

.face-front-cutout {
  transform: rotateY(0deg) translateZ(1px);
}
.face-back-cutout {
  transform: rotateY(180deg) translateZ(1px);
}

/* Glowing 3D Floor Shadow / Energy Ring Underneath the Floating Logo */
.floating-3d-floor-ring {
  width: 210px;
  height: 14px;
  border-radius: 50%;
  margin-top: 4px;
  background: radial-gradient(ellipse at center, rgba(126, 240, 89, 0.7) 0%, rgba(25, 184, 83, 0.15) 60%, transparent 100%);
  box-shadow: 0 0 24px rgba(57, 196, 31, 0.6);
  z-index: 1;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.mosaic-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--emerald);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.mosaic-card:hover img {
  transform: scale(1.08);
}
.mosaic-main {
  height: 270px;
}
.mosaic-side-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mosaic-small {
  height: 128px;
}
.mosaic-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0.5) 70%, transparent 100%);
  padding: 12px 14px;
  color: #fff;
}
.mosaic-caption span {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--emerald-glow);
  font-weight: 800;
  display: block;
}
.mosaic-caption strong {
  font-size: 0.89rem;
  font-weight: 800;
}

/* Overlapping Architectural Feature Bar */
.features-ribbon {
  position: relative;
  z-index: 10;
  margin-top: -48px;
  margin-bottom: 20px;
}
.features-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-pill-card {
  background: var(--stone-card);
  border-radius: 20px;
  padding: 20px 22px;
  border: 1.5px solid var(--stone-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}
.feature-pill-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald);
}
.feature-pill-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-forest);
  color: var(--emerald-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--emerald);
}
.feature-pill-card h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.feature-pill-card p {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Section Headers */
.section {
  padding: 84px 0;
}
.section-dark {
  background: var(--bg-forest);
  color: var(--text-light);
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--emerald-dark);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--emerald);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 14px;
}
body[data-theme="emerald"] .section-eyebrow {
  color: var(--emerald-glow);
  background: rgba(25, 184, 83, 0.18);
}
.section-dark .section-eyebrow {
  color: var(--emerald-glow);
}
.section-title {
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.section-dark .section-title {
  color: #ffffff;
}
.section-subtitle {
  font-size: 1.04rem;
  color: var(--text-muted);
}
.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* Catalog Section */
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  background: var(--stone-card);
  padding: 16px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--stone-border);
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-btn {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--stone-border);
  background: var(--stone-bg);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.cat-btn:hover {
  border-color: var(--emerald);
}
.cat-btn.active {
  background: var(--emerald);
  color: #111;
  border-color: var(--emerald);
  font-weight: 800;
}
body[data-theme="emerald"] .cat-btn.active {
  color: #fff;
}
.cat-btn.cat-tactile-btn {
  border-color: #f5b700;
  background: rgba(245, 183, 0, 0.15);
  color: #d97706;
}
body[data-theme="emerald"] .cat-btn.cat-tactile-btn {
  color: #ffe066;
}
.cat-btn.cat-tactile-btn.active {
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 100%);
  color: #111;
}

.search-input {
  padding: 11px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--stone-border);
  background: var(--stone-bg);
  color: var(--text-dark);
  font-size: 0.9rem;
  min-width: 260px;
  outline: none;
  transition: var(--transition);
}
.search-input:focus {
  border-color: var(--emerald);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--stone-card);
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
body[data-theme="emerald"] .product-card {
  border-top: 4px solid var(--emerald-bright);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald);
}
.product-card.is-tactile {
  border: 2px solid var(--amber-tactile);
}
.product-img-wrap {
  position: relative;
  height: 248px;
  overflow: hidden;
  background: #14171c;
  cursor: pointer;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}
.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.badge-cat {
  background: rgba(15, 18, 23, 0.88);
  color: var(--emerald-glow);
  font-size: 0.73rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  border: 1px solid var(--emerald);
}
.badge-tactile {
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 100%);
  color: #111;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 99px;
}
.badge-grade {
  background: rgba(255, 255, 255, 0.95);
  color: #14171c;
  font-size: 0.73rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 99px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: var(--stone-bg);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.79rem;
  margin-bottom: 16px;
  border: 1px solid var(--stone-border);
}
.spec-item span {
  color: var(--text-muted);
  display: block;
  font-size: 0.71rem;
}
.spec-item strong {
  color: var(--text-dark);
  font-weight: 800;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--stone-border);
}
.product-price-col {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  background: var(--stone-bg);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--stone-border);
}
.product-price-col small {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.product-price {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--text-dark);
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.product-price span {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--emerald-bright);
  margin-left: 2px;
}
body:not([data-theme="emerald"]) .product-price span {
  color: var(--emerald-dark);
}
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
  width: 100%;
}
.product-actions .btn {
  width: 100%;
  justify-content: center;
}
.btn-calc-card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dark);
  border: 1.5px solid var(--stone-border);
}
body:not([data-theme="emerald"]) .btn-calc-card {
  background: #f0ede6;
  color: #14171c;
  border-color: #d5cebe;
}
.btn-calc-card:hover {
  border-color: var(--emerald);
  background: rgba(25, 184, 83, 0.15);
}
.btn-sm {
  padding: 10px 14px;
  font-size: 0.84rem;
  border-radius: 11px;
}

/* Dedicated Tactile Bruschatka Spotlight Section */
.tactile-spotlight {
  background:
    radial-gradient(circle at 80% 30%, rgba(245, 183, 0, 0.16) 0%, transparent 45%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-forest) 100%);
  color: #fff;
  padding: 90px 0;
  position: relative;
  border-top: 3px solid var(--amber-tactile);
  border-bottom: 3px solid var(--amber-tactile);
}
.tactile-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.tactile-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 100%);
  color: #111;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 7px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.tactile-types-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.tactile-type-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(245, 183, 0, 0.35);
  border-radius: 18px;
  padding: 20px;
  transition: var(--transition);
}
.tactile-type-card:hover {
  background: rgba(245, 183, 0, 0.12);
  border-color: var(--amber-tactile);
}
.tactile-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 100%);
  color: #111;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.tactile-type-card h4 {
  color: #ffe066;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.tactile-type-card p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.tactile-visual-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tactile-main-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2.5px solid var(--amber-tactile);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.tactile-main-photo img {
  width: 100%;
  height: 325px;
  object-fit: cover;
  display: block;
}
.tactile-sub-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tactile-sub-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 183, 0, 0.45);
  height: 168px;
  cursor: pointer;
}
.tactile-sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Interactive Calculator Section */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  background: var(--stone-card);
  border-radius: 28px;
  padding: 40px;
  border: 1.5px solid var(--stone-border);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--text-dark);
}
.form-control {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--stone-border);
  background: var(--stone-bg);
  color: var(--text-dark);
  font-size: 0.94rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--emerald);
}
.checkbox-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}
.calc-summary-card {
  background: linear-gradient(155deg, var(--bg-forest) 0%, var(--bg-dark) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--emerald);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.calc-result-rows {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 22px 0;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
  font-size: 0.92rem;
}
.calc-row span {
  color: var(--text-light-muted);
}
.calc-row strong {
  white-space: nowrap;
  text-align: right;
  color: #ffffff;
}
.calc-total-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid var(--emerald-glow);
  padding: 18px 22px;
  border-radius: 16px;
  margin-bottom: 18px;
}
.calc-total-box small {
  color: var(--emerald-glow);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.calc-total-amount {
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  margin-top: 4px;
  white-space: nowrap;
}

/* Portfolio / Real Gallery Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}
.portfolio-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  transition: var(--transition);
}
.portfolio-item:hover {
  border-color: var(--emerald-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.portfolio-tag {
  align-self: flex-start;
  background: var(--emerald);
  color: #111;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 8px;
}
body[data-theme="emerald"] .portfolio-tag {
  color: #fff;
}
.portfolio-overlay h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.portfolio-overlay p {
  font-size: 0.84rem;
  color: var(--text-light-muted);
}

/* =====================================================================
   CUSTOMER REVIEWS / TESTIMONIALS SECTION
   ===================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 42px;
}
.review-card {
  background: var(--stone-card);
  border-radius: 22px;
  padding: 26px;
  border: 1.5px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}
body[data-theme="emerald"] .review-card {
  border-top: 4px solid var(--emerald-bright);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}
.review-quote-icon {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--emerald);
  opacity: 0.25;
  font-family: Georgia, serif;
  pointer-events: none;
}
.review-stars {
  color: #f5b700;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.94rem;
  color: var(--text-dark);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}
.review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--stone-border);
}
.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--emerald-dark) 100%);
  color: #111;
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body[data-theme="emerald"] .review-avatar {
  color: #fff;
}
.review-author-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.review-author-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.review-product-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--emerald-dark);
  background: rgba(212, 175, 55, 0.15);
  padding: 2px 9px;
  border-radius: 99px;
}
body[data-theme="emerald"] .review-product-tag {
  color: var(--emerald-glow);
  background: rgba(25, 184, 83, 0.18);
}

.review-form-box {
  background: var(--stone-card);
  border-radius: 24px;
  padding: 32px;
  border: 1.5px solid var(--emerald);
  box-shadow: var(--shadow-md);
  max-width: 860px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 72px 0 30px;
  border-top: 3px solid var(--emerald);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-logo-card {
  background: #14181f;
  border: 2px solid var(--emerald);
  border-radius: 14px;
  padding: 8px 12px;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition);
}
.footer-logo-card:hover {
  transform: translateY(-3px);
}
.footer-logo-card img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 8px;
}
.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--emerald-glow);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Floating Telegram Button */
.floating-tg-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 890;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(2, 136, 209, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}
.floating-tg-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(2, 136, 209, 0.65);
}

/* Modals & Admin Panel Full-Screen Overlay */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.84);
  backdrop-filter: blur(10px);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open {
  display: flex;
}
.modal-card {
  background: #fff;
  color: #14171c;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f0eee9;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: 800;
}

/* Full Admin Panel View */
.admin-overlay {
  position: fixed;
  inset: 0;
  background: #f4f3ef;
  color: #14171c;
  z-index: 950;
  display: none;
  grid-template-columns: 270px 1fr;
  overflow: hidden;
}
.admin-overlay.open {
  display: grid;
}
.admin-sidebar {
  background: var(--bg-dark);
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px solid var(--emerald);
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-light-muted);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.admin-nav-btn:hover, .admin-nav-btn.active {
  background: var(--emerald);
  color: #111;
}
body[data-theme="emerald"] .admin-nav-btn:hover,
body[data-theme="emerald"] .admin-nav-btn.active {
  color: #fff;
}
.admin-main {
  padding: 28px 36px;
  overflow-y: auto;
  max-height: 100vh;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  background: #fff;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.admin-kpi-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #dfd9cc;
}
.admin-kpi-card small {
  color: #585e68;
  font-weight: 700;
  font-size: 0.8rem;
}
.admin-kpi-card h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #14171c;
  margin-top: 6px;
}
.admin-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #dfd9cc;
  margin-bottom: 24px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th, .admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #dfd9cc;
  color: #14171c;
}
.admin-table th {
  background: #f5f3ee;
  font-weight: 800;
}
.admin-table img.table-thumb {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}
.status-select {
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid #dfd9cc;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-forest);
  color: #fff;
  border-left: 5px solid var(--emerald-glow);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.92rem;
  animation: slideIn 0.25s ease;
}
@keyframes slideIn {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 1120px) {
  .hero-grid, .tactile-grid, .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .features-ribbon-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-overlay.open {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .hero-stats, .features-ribbon-grid {
    grid-template-columns: 1fr;
  }
  .form-grid, .tactile-types-cards, .footer-grid {
    grid-template-columns: 1fr;
  }
}
