/* ==========================================================================
   GEO BUILDING+ — GORGASALI SIGNATURE DESIGN SYSTEM
   Editorial Architectural Luxury • Dark / Light appearance modes
   Unified Framed Panels Architecture & Global Public Site Master Theme
   ========================================================================== */

/* ── Local Webfont Declarations ── */
@font-face {
  font-family: 'ArchyEDT';
  src:
    url('./fonts/archyedt-bold-webfont.woff2') format('woff2'),
    url('./fonts/archyedt-bold-webfont.woff') format('woff'),
    url('./fonts/archyedt-bold-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BPG Nino Mtavruli';
  src:
    url('./fonts/bpg-nino-mtavruli-webfont.woff2') format('woff2'),
    url('./fonts/bpg-nino-mtavruli-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Dark is the canonical default — no OS auto-switch */
:root,
html[data-gs-mode="dark"],
html.gb-gs-theme {
  --gs-bg: #090d12;
  --gs-bg-alt: #0d1219;
  --gs-surface: #111720;
  --gs-surface-2: #151c25;
  --gs-surface-soft: #0d131a;
  --gs-surface-inner: #0b0f15;
  --gs-input: #0b1016;
  --gs-text: #f2efe8;
  --gs-text-strong: #ffffff;
  --gs-text-secondary: #cbd5e1;
  --gs-muted: #98a0aa;
  --gs-text-muted: #98a0aa;
  --gs-text-dim: #64748b;
  --gs-border: rgba(197, 165, 106, 0.20);
  --gs-border-soft: rgba(255, 255, 255, 0.08);
  --gs-border-subtle: rgba(255, 255, 255, 0.07);
  --gs-border-gold: rgba(197, 165, 106, 0.35);
  --gs-border-gold-strong: rgba(197, 165, 106, 0.70);
  --gs-accent: #c5a56a;
  --gs-accent-hi: #d9bb7a;
  --gs-champagne: #c5a56a;
  --gs-champagne-hi: #d9bb7a;
  --gs-bronze: #8e7046;
  --gs-on-accent: #090d12;
  --gs-shadow: rgba(0, 0, 0, 0.32);
  --gs-shadow-panel: rgba(0, 0, 0, 0.40);
  --gs-header-bg: rgba(9, 13, 18, 0.95);
  --gs-overlay: rgba(9, 13, 18, 0.60);
  --gs-champagne-gradient: linear-gradient(135deg, #d9bb7a 0%, #c5a56a 50%, #8e7046 100%);
  --gs-emerald: #10b981;
  --gs-amber: #f59e0b;
  --gs-rose: #ef4444;
  --gs-sale-bg: rgba(16, 185, 129, 0.15);
  --gs-sale-fg: #34d399;
  --gs-sale-bd: rgba(16, 185, 129, 0.35);
  --gs-res-bg: rgba(245, 158, 11, 0.15);
  --gs-res-fg: #fbbf24;
  --gs-res-bd: rgba(245, 158, 11, 0.35);
  --gs-sold-bg: rgba(239, 68, 68, 0.15);
  --gs-sold-fg: #f87171;
  --gs-sold-bd: rgba(239, 68, 68, 0.35);
  --gs-focus-ring: rgba(197, 165, 106, 0.22);
  color-scheme: dark;
}

html.gb-gs-theme[data-gs-mode="light"] {
  --gs-bg: #f4f0e8;
  --gs-bg-alt: #efe9dd;
  --gs-surface: #fffdf8;
  --gs-surface-2: #f8f4ec;
  --gs-surface-soft: #eee8dd;
  --gs-surface-inner: #f3eee4;
  --gs-input: #fffdfa;
  --gs-text: #2b2925;
  --gs-text-strong: #171612;
  --gs-text-secondary: #3f3b35;
  --gs-muted: #756e64;
  --gs-text-muted: #756e64;
  --gs-text-dim: #8a8378;
  --gs-border: rgba(150, 112, 61, 0.23);
  --gs-border-soft: rgba(50, 40, 30, 0.10);
  --gs-border-subtle: rgba(50, 40, 30, 0.10);
  --gs-border-gold: rgba(150, 112, 61, 0.32);
  --gs-border-gold-strong: rgba(135, 98, 56, 0.55);
  --gs-accent: #b68a48;
  --gs-accent-hi: #c9a267;
  --gs-champagne: #b68a48;
  --gs-champagne-hi: #c9a267;
  --gs-bronze: #876238;
  --gs-on-accent: #171612;
  --gs-shadow: rgba(58, 45, 29, 0.12);
  --gs-shadow-panel: rgba(58, 45, 29, 0.10);
  --gs-header-bg: rgba(255, 253, 248, 0.94);
  --gs-overlay: rgba(244, 240, 232, 0.42);
  --gs-champagne-gradient: linear-gradient(135deg, #c9a267 0%, #b68a48 50%, #876238 100%);
  --gs-sale-bg: rgba(5, 122, 85, 0.12);
  --gs-sale-fg: #047857;
  --gs-sale-bd: rgba(5, 122, 85, 0.32);
  --gs-res-bg: rgba(180, 83, 9, 0.12);
  --gs-res-fg: #b45309;
  --gs-res-bd: rgba(180, 83, 9, 0.32);
  --gs-sold-bg: rgba(185, 28, 28, 0.10);
  --gs-sold-fg: #b91c1c;
  --gs-sold-bd: rgba(185, 28, 28, 0.28);
  --gs-focus-ring: rgba(182, 138, 72, 0.22);
  color-scheme: light;
}

/* Base Body & Scoped Typography */
html.gb-gs-theme,
html.gb-gs-theme body,
body.gb-theme-architectural_light,
.gb-theme-architectural_light {
  background-color: var(--gs-bg) !important;
  background-image: none !important;
  color: var(--gs-text) !important;
  font-family: 'BPG Nino Mtavruli', sans-serif !important;
  letter-spacing: 0.02em;
}

html.gb-gs-theme body,
.gb-theme-architectural_light .gs-header,
.gb-theme-architectural_light .gs-panel,
.gb-theme-architectural_light .gs-btn-primary,
.gb-theme-architectural_light .gs-btn-outline,
.gb-theme-architectural_light .gs-footer,
.gb-theme-architectural_light .gs-mode-toggle,
.gb-theme-architectural_light .apt-card,
.gb-theme-architectural_light .filter-shell {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gb-theme-architectural_light h1,
.gb-theme-architectural_light h2,
.gb-theme-architectural_light h3,
.gb-theme-architectural_light .gs-heading,
.gb-theme-architectural_light .gs-title,
.gb-theme-architectural_light .gs-section-title,
.gb-theme-architectural_light .gs-hero-title,
.gb-theme-architectural_light .font-serif-geo,
html.gb-gs-theme h1,
html.gb-gs-theme h2,
html.gb-gs-theme h3 {
  font-family: 'ArchyEDT', serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.025em;
}

.gb-theme-architectural_light p,
.gb-theme-architectural_light span,
.gb-theme-architectural_light a,
.gb-theme-architectural_light button,
.gb-theme-architectural_light input,
.gb-theme-architectural_light select,
.gb-theme-architectural_light textarea,
.gb-theme-architectural_light label,
.gb-theme-architectural_light nav,
.gb-theme-architectural_light .font-sans-geo {
  font-family: 'BPG Nino Mtavruli', sans-serif !important;
}

html.gb-gs-theme ::selection {
  background: var(--gs-accent);
  color: var(--gs-on-accent);
}

html.gb-gs-theme {
  accent-color: var(--gs-accent);
}

/* Hide duplicate floating header language toggle in Gorgasali theme */
.gb-theme-architectural_light .gb-lang-switcher,
.gb-theme-architectural_light [class*="fixed"][class*="top-4"][class*="right-4"],
.gb-theme-architectural_light .fixed.top-4.right-4,
.gb-theme-architectural_light div[class*="fixed"][class*="top-4"][class*="right-4"],
html.gb-gs-theme .gb-lang-switcher {
  display: none !important;
}

/* ── GS Shell & Containers ── */
.gs-shell {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ── Header ── */
.gs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--gs-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gs-border-soft);
}

.gs-brand {
  color: var(--gs-text-strong);
  text-decoration: none;
}
.gs-brand span { color: var(--gs-accent); }
.gs-brand:hover { color: var(--gs-accent); }

.gs-header .gs-shell {
  min-height: 3.75rem;
}
.gs-nav {
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}
.gs-nav a {
  color: var(--gs-muted);
  text-decoration: none;
}
.gs-lang {
  font-size: 0.8125rem;
}
.gs-nav a:hover,
.gs-nav a.is-active {
  color: var(--gs-accent);
}
.gs-nav a.is-active {
  border-bottom: 2px solid var(--gs-accent);
  font-weight: 700;
}

.gs-lang a { color: var(--gs-muted); }
.gs-lang a.is-active { color: var(--gs-text-strong); font-weight: 800; }
.gs-lang span { color: var(--gs-text-dim); }

.gs-mode-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--gs-border-gold);
  background: var(--gs-surface);
  color: var(--gs-accent);
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.gs-mode-toggle:hover,
.gs-mode-toggle:focus-visible {
  border-color: var(--gs-accent-hi);
  box-shadow: 0 0 0 3px var(--gs-focus-ring);
  outline: none;
}
html[data-gs-mode="dark"] .gs-mode-icon-sun { display: inline-block; }
html[data-gs-mode="dark"] .gs-mode-icon-moon { display: none; }
html[data-gs-mode="light"] .gs-mode-icon-sun { display: none; }
html[data-gs-mode="light"] .gs-mode-icon-moon { display: inline-block; }
html:not([data-gs-mode]) .gs-mode-icon-moon { display: none; }

/* ── Unified Framed Panels Architecture ── */
.gs-panel {
  background-color: var(--gs-surface);
  border: 1px solid var(--gs-border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 16px 40px var(--gs-shadow-panel);
  color: var(--gs-text);
}

.gs-panel:hover {
  border-color: var(--gs-border-gold);
}

.gs-panel-inner {
  background-color: var(--gs-surface-2);
  border: 1px solid var(--gs-border-subtle);
  border-radius: 0.625rem;
}

html.gb-gs-theme[data-gs-mode="light"] .gs-panel {
  box-shadow: 0 8px 30px var(--gs-shadow);
}

/* ── Advantages Rail with Overlapping Decorative Key ── */
.gs-advantages {
  position: relative;
  overflow: visible !important;
}

.gs-key-decor {
  position: absolute;
  right: -25px;
  bottom: -35px;
  width: 135px;
  height: 135px;
  z-index: 10;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 24px var(--gs-shadow-panel));
  transition: transform 0.3s ease, filter 0.2s ease;
}

html.gb-gs-theme[data-gs-mode="light"] .gs-key-decor {
  filter: drop-shadow(0 8px 16px rgba(58, 45, 29, 0.18));
}

@media (max-width: 1024px) {
  .gs-key-decor {
    right: -15px;
    bottom: -25px;
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .gs-key-decor {
    display: none;
  }
}

/* ── Buttons & CTAs ── */
.gs-btn-primary,
.gb-theme-architectural_light .gb-theme-cta,
html.gb-gs-theme .gb-theme-cta {
  background: var(--gs-champagne-gradient) !important;
  color: var(--gs-on-accent) !important;
  font-weight: 800 !important;
  font-size: 0.8125rem !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 0.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 4px 14px rgba(197, 165, 106, 0.25) !important;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.gs-btn-primary:hover,
.gb-theme-architectural_light .gb-theme-cta:hover,
html.gb-gs-theme .gb-theme-cta:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

.gs-btn-outline {
  background: color-mix(in srgb, var(--gs-surface) 85%, transparent);
  border: 1px solid var(--gs-border-gold);
  color: var(--gs-text);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.55rem 1.25rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.gs-btn-outline:hover {
  background: var(--gs-surface-2);
  border-color: var(--gs-champagne);
  color: var(--gs-text-strong);
}

.gs-gold-text {
  color: var(--gs-champagne);
}

.gs-gold-gradient-text {
  background: var(--gs-champagne-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Status Badges ── */
.gs-badge-sale,
.gb-theme-architectural_light .bg-emerald-500,
html.gb-gs-theme .bg-emerald-500 {
  background: var(--gs-sale-bg) !important;
  color: var(--gs-sale-fg) !important;
  border: 1px solid var(--gs-sale-bd) !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  padding: 0.15rem 0.5rem !important;
  border-radius: 0.25rem !important;
}

.gs-badge-res {
  background: var(--gs-res-bg);
  color: var(--gs-res-fg);
  border: 1px solid var(--gs-res-bd);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}

.gs-badge-sold {
  background: var(--gs-sold-bg);
  color: var(--gs-sold-fg);
  border: 1px solid var(--gs-sold-bd);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}

/* ── Custom Selects & Inputs ── */
.gs-select,
.gb-theme-architectural_light select,
.gb-theme-architectural_light input[type="text"],
.gb-theme-architectural_light input[type="number"],
.gb-theme-architectural_light input[type="tel"],
.gb-theme-architectural_light input[type="date"],
.gb-theme-architectural_light input[type="time"],
.gb-theme-architectural_light input[type="email"],
.gb-theme-architectural_light input[type="password"],
.gb-theme-architectural_light textarea,
html.gb-gs-theme select,
html.gb-gs-theme input[type="text"],
html.gb-gs-theme input[type="number"],
html.gb-gs-theme input[type="tel"],
html.gb-gs-theme input[type="date"],
html.gb-gs-theme input[type="time"],
html.gb-gs-theme input[type="email"],
html.gb-gs-theme input[type="password"],
html.gb-gs-theme textarea {
  background-color: var(--gs-input) !important;
  border: 1px solid var(--gs-border-subtle) !important;
  border-radius: 0.5rem !important;
  padding: 0.5rem 0.75rem !important;
  color: var(--gs-text-strong) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
}

.gs-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A56A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 0.85em;
  padding-right: 2rem !important;
}

.gs-select:focus,
.gb-theme-architectural_light select:focus,
.gb-theme-architectural_light input:focus,
.gb-theme-architectural_light textarea:focus,
html.gb-gs-theme select:focus,
html.gb-gs-theme input:focus,
html.gb-gs-theme textarea:focus {
  outline: none !important;
  border-color: var(--gs-champagne) !important;
  box-shadow: 0 0 0 2px var(--gs-focus-ring) !important;
}

/* ── Global Public Pages Styling under Gorgasali Signature ── */
html.gb-gs-theme .glass-nav,
.gb-theme-architectural_light .glass-nav {
  background: var(--gs-header-bg) !important;
  border-bottom: 1px solid var(--gs-border-subtle) !important;
}

html.gb-gs-theme .apt-card,
html.gb-gs-theme .filter-shell,
html.gb-gs-theme .card-dossier,
html.gb-gs-theme .detail-panel,
.gb-theme-architectural_light .apt-card,
.gb-theme-architectural_light .filter-shell,
.gb-theme-architectural_light .card-dossier,
.gb-theme-architectural_light .detail-panel {
  background-color: var(--gs-surface) !important;
  border: 1px solid var(--gs-border) !important;
  color: var(--gs-text) !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 8px 30px var(--gs-shadow);
}

.gb-theme-architectural_light .gb-light-unit-summary {
  display: none !important;
}

html.gb-gs-theme footer,
.gb-theme-architectural_light footer,
.gs-footer {
  background-color: var(--gs-bg) !important;
  color: var(--gs-muted) !important;
  border-top: 1px solid var(--gs-border-soft) !important;
}

html.gb-gs-theme footer a,
.gs-footer a {
  color: var(--gs-muted);
  text-decoration: none;
}
html.gb-gs-theme footer a:hover,
.gs-footer a:hover {
  color: var(--gs-accent);
}

.gs-footer--site {
  margin-top: 1.25rem;
  padding: 0;
}
.gs-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 1.75rem 2rem;
  padding: 2rem 1rem 1.6rem;
}
.gs-footer__brand .gs-brand {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gs-text-strong);
  margin-bottom: 0.45rem;
}
.gs-footer__brand p {
  margin: 0 0 0.9rem;
  font-size: 0.875rem;
  color: var(--gs-text);
}
.gs-footer__social {
  display: flex;
  gap: 0.5rem;
}
.gs-footer__social a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--gs-border-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gs-accent) !important;
  background: var(--gs-surface);
}
.gs-footer__social a:hover {
  background: var(--gs-surface-2);
  border-color: var(--gs-accent);
}
.gs-footer--site h3 {
  font-family: 'ArchyEDT', serif !important;
  font-size: 0.95rem;
  color: var(--gs-text-strong);
  margin: 0 0 0.75rem;
}
.gs-footer--site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.gs-footer--site li,
.gs-footer--site li a,
.gs-footer--site li span {
  font-size: 0.875rem;
  color: var(--gs-muted);
}
.gs-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.gs-footer__contact i {
  color: var(--gs-accent);
  margin-top: 0.15rem;
  width: 0.85rem;
  text-align: center;
  flex-shrink: 0;
}
.gs-footer__bar {
  border-top: 1px solid var(--gs-border-soft);
}
.gs-footer__bar-inner {
  padding: 0.85rem 1rem;
}
.gs-footer__bar p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--gs-text-dim);
}

@media (max-width: 900px) {
  .gs-footer__grid {
    grid-template-columns: 1fr 1fr;
    padding-top: 1.5rem;
  }
}
@media (max-width: 620px) {
  .gs-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.gb-theme-architectural_light .apt-card:hover,
html.gb-gs-theme .apt-card:hover {
  border-color: var(--gs-border-gold) !important;
}

html.gb-gs-theme .text-blue-300,
html.gb-gs-theme .text-blue-400,
html.gb-gs-theme .text-amber-400,
.gb-theme-architectural_light .text-blue-300,
.gb-theme-architectural_light .text-blue-400,
.gb-theme-architectural_light .text-amber-400 {
  color: var(--gs-champagne) !important;
}

html.gb-gs-theme .bg-blue-600,
.gb-theme-architectural_light .bg-blue-600 {
  background: var(--gs-champagne-gradient) !important;
  color: var(--gs-on-accent) !important;
}

html.gb-gs-theme .glass,
html.gb-gs-theme .glass-light {
  background: var(--gs-surface) !important;
  border: 1px solid var(--gs-border) !important;
  color: var(--gs-text);
  box-shadow: 0 8px 30px var(--gs-shadow);
  backdrop-filter: none;
}

html.gb-gs-theme .text-glow {
  text-shadow: none;
  color: var(--gs-text-strong) !important;
}

html.gb-gs-theme .glow-blue {
  box-shadow: 0 8px 30px var(--gs-shadow);
}

/* Light remaps for Tailwind utilities used in Signature markup */
html.gb-gs-theme[data-gs-mode="light"] .text-white { color: var(--gs-text-strong) !important; }
html.gb-gs-theme[data-gs-mode="light"] .text-white\/80,
html.gb-gs-theme[data-gs-mode="light"] .text-white\/75,
html.gb-gs-theme[data-gs-mode="light"] .text-white\/60,
html.gb-gs-theme[data-gs-mode="light"] .text-white\/55 { color: var(--gs-muted) !important; }
html.gb-gs-theme[data-gs-mode="light"] .text-slate-100,
html.gb-gs-theme[data-gs-mode="light"] .text-slate-200 { color: var(--gs-text) !important; }
html.gb-gs-theme[data-gs-mode="light"] .text-slate-300,
html.gb-gs-theme[data-gs-mode="light"] .text-slate-400,
html.gb-gs-theme[data-gs-mode="light"] .text-slate-500 { color: var(--gs-muted) !important; }
html.gb-gs-theme[data-gs-mode="light"] .bg-\[\#090D12\],
html.gb-gs-theme[data-gs-mode="light"] .bg-\[\#090d12\],
html.gb-gs-theme[data-gs-mode="light"] .bg-\[\#090D12\]\/95 { background-color: var(--gs-bg) !important; }
html.gb-gs-theme[data-gs-mode="light"] .bg-\[\#111720\] { background-color: var(--gs-surface) !important; }
html.gb-gs-theme[data-gs-mode="light"] .bg-\[\#0b0f15\],
html.gb-gs-theme[data-gs-mode="light"] .bg-\[\#090D12\] { background-color: var(--gs-input) !important; }
html.gb-gs-theme[data-gs-mode="light"] .border-white\/\[0\.08\],
html.gb-gs-theme[data-gs-mode="light"] .border-white\/10,
html.gb-gs-theme[data-gs-mode="light"] .border-white\/\[0\.08\] { border-color: var(--gs-border-soft) !important; }
html.gb-gs-theme[data-gs-mode="light"] .from-\[\#090D12\]\/60 {
  --tw-gradient-from: var(--gs-overlay) var(--tw-gradient-from-position);
}

/* Floor plans / compare / sales workspace surfaces */
html.gb-gs-theme .plan-shell,
html.gb-gs-theme .apartment-sheet,
html.gb-gs-theme .compare-card {
  background: var(--gs-surface) !important;
  border-color: var(--gs-border) !important;
  color: var(--gs-text) !important;
}
html.gb-gs-theme .floor-tooltip {
  background: var(--gs-surface) !important;
  border-color: var(--gs-border-gold) !important;
  color: var(--gs-text) !important;
}
html.gb-gs-theme .gb-compare-bar {
  background: var(--gs-surface) !important;
  color: var(--gs-text) !important;
  border: 1px solid var(--gs-border);
}
html.gb-gs-theme .gb-compare-bar a {
  background: var(--gs-champagne-gradient) !important;
  color: var(--gs-on-accent) !important;
}

html.gb-gs-theme .gs-modal-panel {
  background: var(--gs-surface);
  border: 1px solid var(--gs-border);
  color: var(--gs-text);
}

/* Login */
html.gb-gs-theme .gb-login-shell {
  background: var(--gs-surface) !important;
  color: var(--gs-text) !important;
  border: 1px solid var(--gs-border) !important;
  box-shadow: 0 18px 50px var(--gs-shadow);
}
html.gb-gs-theme .gb-login-shell h1 { color: var(--gs-text-strong) !important; font-family: 'ArchyEDT', serif !important; }
html.gb-gs-theme .gb-login-shell label { color: var(--gs-muted) !important; }
html.gb-gs-theme .gb-login-shell a { color: var(--gs-accent) !important; }
html.gb-gs-theme .gb-login-shell button[type="submit"] {
  background: var(--gs-champagne-gradient) !important;
  color: var(--gs-on-accent) !important;
  font-weight: 800 !important;
}

/* Mobile bottom nav */
html.gb-gs-theme .mobile-bottom-nav {
  background: var(--gs-header-bg) !important;
  border-color: var(--gs-border-soft) !important;
  color: var(--gs-muted);
}
html.gb-gs-theme .mobile-bottom-nav a { color: var(--gs-muted) !important; }
html.gb-gs-theme .mobile-bottom-nav a:hover,
html.gb-gs-theme .mobile-bottom-nav a.text-blue-400 { color: var(--gs-accent) !important; }

/* ── AI Assistant Chatbot Scoped Theme ── */
html.gb-gs-theme #gb-ai-chat-fab,
.gb-theme-architectural_light #gb-ai-chat-fab {
  background: var(--gs-surface) !important;
  border: 1px solid var(--gs-border-gold) !important;
  color: var(--gs-text-strong) !important;
  box-shadow: 0 8px 30px var(--gs-shadow), 0 0 15px rgba(197, 165, 106, 0.22) !important;
}
html.gb-gs-theme #gb-ai-chat-fab:hover {
  background: var(--gs-surface-2) !important;
  border-color: var(--gs-accent) !important;
}
html.gb-gs-theme #gb-ai-chat-fab i,
html.gb-gs-theme #gb-ai-chat-fab .gb-ai-fab-label {
  color: var(--gs-accent) !important;
}
html.gb-gs-theme #gb-ai-chat-fab {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  padding: 0 !important;
  border-radius: 50% !important;
}
html.gb-gs-theme #gb-ai-chat-panel {
  background-color: var(--gs-bg) !important;
  color: var(--gs-text) !important;
  border: 1px solid var(--gs-border-gold) !important;
  box-shadow: 0 20px 50px var(--gs-shadow-panel) !important;
}
html.gb-gs-theme .gb-ai-chat-header {
  background: linear-gradient(135deg, var(--gs-surface-2), var(--gs-surface)) !important;
  color: var(--gs-text-strong) !important;
  border-bottom: 1px solid var(--gs-border-soft);
}
html.gb-gs-theme .gb-ai-chat-header strong { color: var(--gs-accent) !important; font-family: 'ArchyEDT', serif !important; }
html.gb-gs-theme .gb-ai-chat-messages { background: var(--gs-surface-soft) !important; }
html.gb-gs-theme .gb-ai-msg.assistant {
  background: var(--gs-surface-2) !important;
  color: var(--gs-text) !important;
}
html.gb-gs-theme .gb-ai-msg.user {
  background: var(--gs-champagne-gradient) !important;
  color: var(--gs-on-accent) !important;
}
html.gb-gs-theme .gb-ai-chat-form {
  background: var(--gs-surface) !important;
  border-top-color: var(--gs-border-soft) !important;
}
html.gb-gs-theme .gb-ai-chat-form input {
  background: var(--gs-input) !important;
  color: var(--gs-text-strong) !important;
  border-color: var(--gs-border-subtle) !important;
}
html.gb-gs-theme .gb-ai-chat-form button,
html.gb-gs-theme #gb-ai-lead-form button {
  background: var(--gs-champagne-gradient) !important;
  color: var(--gs-on-accent) !important;
}
html.gb-gs-theme .gb-ai-lead { background: var(--gs-surface-soft) !important; }
html.gb-gs-theme .gb-ai-lead-title { color: var(--gs-text-strong) !important; }
html.gb-gs-theme .gb-ai-lead-hint { color: var(--gs-muted) !important; }
html.gb-gs-theme #gb-ai-lead-form input:focus,
html.gb-gs-theme .gb-ai-chat-form input:focus {
  border-color: var(--gs-accent) !important;
  box-shadow: 0 0 0 3px var(--gs-focus-ring) !important;
}
html.gb-gs-theme .gb-ai-contact-btn {
  background: color-mix(in srgb, var(--gs-accent) 16%, transparent) !important;
  color: var(--gs-text-strong) !important;
  border-color: var(--gs-border-gold) !important;
}

html.gb-gs-theme .gs-login-mode-wrap {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

html.gb-gs-theme .gb-ai-intro-pill {
  background: var(--gs-surface);
  color: var(--gs-text-strong);
  border: 1px solid var(--gs-border-gold);
  box-shadow: 0 8px 24px var(--gs-shadow);
  font-family: 'BPG Nino Mtavruli', sans-serif;
}
html.gb-gs-theme .gb-ai-intro-pill span { color: var(--gs-text-strong); }
html.gb-gs-theme .gb-ai-intro-close {
  color: var(--gs-muted);
  border-color: var(--gs-border-gold);
}
html.gb-gs-theme .gb-ai-intro-close:hover {
  color: var(--gs-text-strong);
  background: color-mix(in srgb, var(--gs-accent) 12%, transparent);
}

/* ── Gorgasali Signature About page ── */
.gs-about-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gs-accent);
  margin-bottom: 0.6rem;
}
.gs-about-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--gs-text-strong);
  line-height: 1.15;
  margin: 0 0 0.55rem;
}
.gs-about-lede {
  color: var(--gs-text-secondary);
  font-size: 0.95rem;
}
.gs-about-heading {
  font-size: 1.15rem;
  color: var(--gs-accent);
  margin: 0 0 0.85rem;
  text-align: center;
}
.gs-about-body {
  color: var(--gs-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.gs-about-video {
  position: relative;
  min-height: 220px;
}
.gs-about-video img,
.gs-about-video iframe {
  display: block;
  width: 100%;
  height: min(48vw, 460px);
  object-fit: cover;
  border: 0;
}
.gs-about-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(180deg, rgba(9,13,18,0.18), rgba(9,13,18,0.45));
  color: #fff;
  border: 0;
  cursor: pointer;
}
.gs-about-play span {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.gs-about-play span i {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  color: inherit;
  font-size: 0.72rem;
}
.gs-about-play > i {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gs-champagne-gradient);
  color: var(--gs-on-accent);
  font-size: 1.1rem;
  box-shadow: 0 10px 28px var(--gs-shadow);
}
.gs-about-pdf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  flex-wrap: wrap;
}
.gs-about-pdf__copy {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.gs-about-pdf__copy i { color: #c45c4a; font-size: 1.45rem; }
.gs-about-pdf__copy h2 {
  font-size: 0.95rem;
  color: var(--gs-text-strong);
  margin: 0;
}
.gs-about-pdf__copy p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--gs-muted);
}
.gs-about-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #7a2e2e;
  color: #f7efe8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
}
.gs-about-pdf-btn:hover { filter: brightness(1.08); color: #fff; }
.gs-about-project { padding: 1.15rem 1.2rem 1.25rem; }
.gs-about-metrics {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--gs-border);
  border-radius: 0.55rem;
  overflow: hidden;
  background: var(--gs-surface-2);
}
.gs-about-metric {
  border: 0;
  border-right: 1px solid var(--gs-border-soft);
  border-radius: 0;
  padding: 0.85rem 0.45rem;
  text-align: center;
  background: transparent;
}
.gs-about-metric:last-child { border-right: 0; }
.gs-about-metric i { color: var(--gs-accent); display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }
.gs-about-metric strong { display: block; font-size: 0.84rem; color: var(--gs-text-strong); line-height: 1.2; }
.gs-about-metric span { display: block; font-size: 0.7rem; color: var(--gs-muted); margin-top: 0.2rem; }
.gs-about-features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}
.gs-about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid var(--gs-border);
  border-radius: 0.55rem;
  padding: 0.75rem 0.7rem;
  background: var(--gs-surface);
  min-height: 4.5rem;
}
.gs-about-feature i {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 1px solid var(--gs-border-gold);
  background: color-mix(in srgb, var(--gs-accent) 12%, transparent);
  color: var(--gs-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.gs-about-feature p { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--gs-text); }
.gs-about-amenities {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--gs-border);
  border-radius: 0.55rem;
  overflow: hidden;
  background: var(--gs-surface);
}
.gs-about-amenity {
  border: 0;
  border-right: 1px solid var(--gs-border-soft);
  border-radius: 0;
  background: transparent;
  text-align: center;
  padding: 0.95rem 0.4rem;
}
.gs-about-amenity:last-child { border-right: 0; }
.gs-about-amenity i { display: block; color: var(--gs-accent); font-size: 1.15rem; margin-bottom: 0.45rem; }
.gs-about-amenity span { font-size: 0.72rem; color: var(--gs-text); }
.gs-about-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.gs-about-compare__col { padding: 1.1rem 1.15rem; }
.gs-about-compare__col + .gs-about-compare__col {
  border-left: 1px solid var(--gs-border);
}
.gs-about-compare__col h3 {
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  text-align: center;
}
.gs-about-compare__col--green h3,
.gs-about-compare__col--green i { color: var(--gs-sale-fg); }
.gs-about-compare__col--gold h3,
.gs-about-compare__col--gold i { color: var(--gs-accent); }
.gs-about-compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.gs-about-compare li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gs-text);
}
.gs-about-compare li i { margin-top: 0.15rem; flex-shrink: 0; }
.gs-about-company { padding: 1.15rem 1.2rem 1.3rem; }
.gs-about-company .gs-about-body { margin-bottom: 0; }
.gs-about-company__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
  align-items: start;
}
.gs-about-company__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.gs-about-company__fact {
  border: 1px solid var(--gs-border);
  border-radius: 0.55rem;
  background: var(--gs-surface-2);
  padding: 0.7rem 0.65rem;
  text-align: center;
}
.gs-about-company__fact i { color: var(--gs-accent); display: block; margin-bottom: 0.35rem; }
.gs-about-company__fact strong { display: block; font-size: 0.75rem; color: var(--gs-text-strong); line-height: 1.3; }
.gs-about-company__fact span { display: block; font-size: 0.7rem; color: var(--gs-muted); margin-top: 0.15rem; }
.gs-about-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}
.gs-about-gallery__cell {
  display: block;
  border: 1px solid var(--gs-border-soft);
  border-radius: 0.6rem;
  overflow: hidden;
  padding: 0;
  background: var(--gs-surface);
  cursor: pointer;
}
.gs-about-gallery__cell img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.gs-about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  flex-wrap: wrap;
}
.gs-about-cta__copy { display: flex; align-items: center; gap: 0.85rem; }
.gs-about-cta__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gs-accent);
  border: 1px solid var(--gs-border-gold);
  background: color-mix(in srgb, var(--gs-accent) 12%, transparent);
}
.gs-about-cta h3 { margin: 0; font-size: 0.95rem; color: var(--gs-text-strong); }
.gs-about-cta p { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--gs-muted); }

@media (max-width: 1100px) {
  .gs-about-metrics,
  .gs-about-amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gs-about-metric:nth-child(4),
  .gs-about-amenity:nth-child(4) { border-right: 0; }
  .gs-about-metric:nth-child(n+5),
  .gs-about-amenity:nth-child(n+5) { border-top: 1px solid var(--gs-border-soft); }
  .gs-about-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-about-company__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .gs-about-metrics,
  .gs-about-amenities,
  .gs-about-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-about-metric:nth-child(4),
  .gs-about-amenity:nth-child(4) { border-right: 1px solid var(--gs-border-soft); }
  .gs-about-metric:nth-child(even),
  .gs-about-amenity:nth-child(even) { border-right: 0; }
  .gs-about-metric:nth-child(n+3),
  .gs-about-amenity:nth-child(n+3) { border-top: 1px solid var(--gs-border-soft); }
  .gs-about-features,
  .gs-about-compare { grid-template-columns: 1fr; }
  .gs-about-compare__col + .gs-about-compare__col { border-left: 0; border-top: 1px solid var(--gs-border); }
}
