/* ==========================================================================
   CELQOR Core Architectural Stylesheet — Master Luxury System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('celqor-tokens.css');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
  background-color: var(--cq-porcelain, #FAF9F6);
  color: var(--cq-ink, #0B0D0F);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  background-color: var(--cq-porcelain, #FAF9F6);
  color: var(--cq-ink, #0B0D0F);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.cq-rail-layout {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* ==========================================================================
   Architectural Left Navigation Rail (Desktop)
   ========================================================================== */
.cq-rail {
  width: 220px;
  min-width: 220px;
  background: #111315;
  background-image: linear-gradient(180deg, #16191C 0%, #0D0F11 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 28px;
  z-index: 1000;
  color: #FAF9F6;
  flex-shrink: 0;
}

.cq-rail__brand {
  display: block;
  margin-bottom: 40px;
}

.cq-rail__brand img {
  width: 164px;
  height: 116px;
  object-fit: contain;
}

.cq-official-logo {
  display: block;
  width: 142px;
  height: 72px;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: normal;
}

.cq-official-logo--rail {
  width: 164px !important;
  height: 116px !important;
}

.cq-official-logo--mobile {
  width: 112px;
  height: 66px;
}

.cq-official-logo--footer {
  width: 160px;
  height: 112px;
}

.cq-rail__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

.cq-rail__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(250, 249, 246, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.cq-rail__link:hover,
.cq-rail__link.is-active {
  color: #FAF9F6;
  transform: translateX(4px);
}

.cq-rail__link.is-active {
  color: #E2C7A4;
  font-weight: 600;
}

.cq-rail__footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cq-rail__emblem {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #E2C7A4;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Main Content Area */
.cq-app-body {
  flex: 1;
  min-width: 0;
  background-color: var(--cq-porcelain, #FAF9F6);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Top Header (Mobile / Standard bar)
   ========================================================================== */
.cq-top-bar {
  display: none;
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(17, 19, 21, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1024px) {
  .cq-rail {
    display: none;
  }
  .cq-top-bar {
    display: flex;
  }
  body,
  body.cq-rail-layout {
    flex-direction: column;
  }

  .cq-app-body {
    width: 100%;
  }
}

/* ==========================================================================
   Typography & Core Hierarchy
   ========================================================================== */
.cq-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .cq-shell {
    padding: 0 20px;
  }

  .cq-top-bar {
    gap: 12px;
  }

  .cq-top-bar .cq-btn {
    padding-right: 14px;
    padding-left: 14px;
  }

  .cq-site-footer__links {
    gap: 12px 20px;
  }
}

@media (max-width: 420px) {
  .cq-top-bar {
    gap: 8px;
    padding: 12px 14px;
  }

  .cq-top-bar > a:first-child img {
    height: 28px !important;
  }

  .cq-top-bar .cq-btn {
    padding-right: 12px;
    padding-left: 12px;
  }
}

.cq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cq-gold-mid, #C29B72);
  margin-bottom: 14px;
}

.cq-h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--cq-ink, #0B0D0F);
}

.cq-display {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cq-ink, #0B0D0F);
}

.cq-lead {
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--cq-muted, #5A6068);
  max-width: 580px;
}

.cq-editorial-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ==========================================================================
   Buttons & Chips
   ========================================================================== */
.cq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.cq-btn--dark {
  background: #111315;
  color: #FAF9F6;
  border: 1px solid #111315;
}

.cq-btn--dark:hover {
  background: #24272B;
  border-color: #24272B;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cq-btn--gold {
  background: linear-gradient(135deg, #E2C7A4 0%, #C29B72 100%);
  color: #0B0D0F;
  border: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(194, 155, 114, 0.28);
}

.cq-btn--gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(194, 155, 114, 0.4);
}

.cq-btn--outline {
  background: transparent;
  color: #111315;
  border: 1px solid rgba(17, 19, 21, 0.25);
}

.cq-btn--outline:hover {
  border-color: #111315;
  background: rgba(17, 19, 21, 0.04);
}

.cq-btn--outline-light {
  background: transparent;
  color: #FAF9F6;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cq-btn--outline-light:hover {
  border-color: #FAF9F6;
  background: rgba(255, 255, 255, 0.1);
}

.cq-btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}

.cq-btn--lg {
  padding: 15px 34px;
  font-size: 15px;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.cq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cq-badge--gold {
  background: rgba(194, 155, 114, 0.15);
  color: #8C6534;
  border: 1px solid rgba(194, 155, 114, 0.35);
}

.cq-badge--dark {
  background: #171A1D;
  color: #FAF9F6;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cq-badge--stone {
  background: #E8E3DA;
  color: #24272B;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Pillars Segmented Switcher (Exact Mock Geometry)
   ========================================================================== */
.cq-pillars-bar {
  margin: 36px 0;
}

.cq-pillars-bar__header {
  font-size: 13px;
  font-weight: 600;
  color: var(--cq-muted);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.cq-pillars-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .cq-pillars-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cq-pillar-tile {
  background: #EFEBE4;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #171A1D;
}

.cq-pillar-tile:hover {
  background: #E6E0D6;
  transform: translateY(-2px);
}

.cq-pillar-tile.is-active {
  background: #111315;
  color: #FAF9F6;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.cq-pillar-tile__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cq-pillar-tile.is-active .cq-pillar-tile__icon img {
  filter: brightness(0) invert(1);
}

.cq-pillar-tile__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Product & Curated Gallery Row (Mock Style)
   ========================================================================== */
.cq-curated-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

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

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

.cq-curated-card {
  background: #EFEBE4;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cq-curated-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.cq-curated-card__stage {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cq-curated-card__stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.cq-curated-card__category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cq-gold-mid);
  margin-bottom: 4px;
}

.cq-curated-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--cq-ink);
  line-height: 1.35;
  margin-bottom: 12px;
}

.cq-curated-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cq-curated-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--cq-ink);
}

/* ==========================================================================
   AI Concierge Intent Bar (Mock Style)
   ========================================================================== */
.cq-concierge-card {
  background: #FAF9F6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin: 40px 0;
}

.cq-search-pill-bar {
  display: flex;
  align-items: center;
  background: #EFEBE4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 6px 10px 6px 20px;
  margin: 20px 0 16px;
}

.cq-search-pill-bar input {
  flex: 1;
  font-size: 15px;
  color: #171A1D;
}

.cq-search-pill-bar input::placeholder {
  color: rgba(23, 26, 29, 0.5);
}

.cq-pill-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cq-pill-tag {
  background: #EFEBE4;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #24272B;
  transition: all 0.2s ease;
}

.cq-pill-tag:hover {
  background: #111315;
  color: #FAF9F6;
}

/* ==========================================================================
   Section Blocks & Layouts
   ========================================================================== */
.cq-section {
  padding: 64px 0;
}

.cq-section--dark {
  background: #111315;
  color: #FAF9F6;
}

.cq-section--dark .cq-h1,
.cq-section--dark .cq-display {
  color: #FAF9F6;
}

.cq-section--dark .cq-lead {
  color: rgba(250, 249, 246, 0.7);
}

.cq-section--stone {
  background: #F1EEE8;
}

.cq-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 20px;
}

@media (max-width: 960px) {
  .cq-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.cq-hero-product-stage {
  background: radial-gradient(circle at center, #FFFFFF 0%, #EAE5DC 100%);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  aspect-ratio: 16 / 10;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.cq-hero-product-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  border-radius: 16px;
}

/* Global Footer */
.cq-site-footer {
  background: #111315;
  color: rgba(250, 249, 246, 0.7);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.cq-site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cq-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cq-site-footer__links a:hover {
  color: #FAF9F6;
}

/* Global modal and cart drawer states */
.cq-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 13, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cq-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cq-modal {
  position: relative;
  width: min(740px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  color: var(--cq-porcelain);
  background: var(--cq-graphite);
  border: 1px solid var(--cq-border-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--cq-shadow-dark);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cq-modal-backdrop.is-active .cq-modal {
  transform: translateY(0) scale(1);
}

.cq-modal__header,
.cq-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cq-border-dark);
}

.cq-modal__header {
  padding: 28px 32px 20px;
}

.cq-modal__body {
  padding: 32px;
}

.cq-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--cq-porcelain);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.cq-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cq-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(11, 13, 15, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cq-drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cq-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  width: min(480px, 100vw);
  color: var(--cq-porcelain);
  background: var(--cq-graphite);
  border-left: 1px solid var(--cq-border-dark);
  box-shadow: var(--cq-shadow-dark);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.cq-drawer.is-active {
  transform: translateX(0);
  visibility: visible;
}

.cq-drawer__header {
  padding: 24px 28px;
}

.cq-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.cq-drawer__footer {
  padding: 24px 28px;
  background: rgba(11, 13, 15, 0.6);
  border-top: 1px solid var(--cq-border-dark);
}

/* Standard inner-page header */
.cq-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--cq-porcelain);
  background: linear-gradient(180deg, rgba(11, 13, 15, 0.78), rgba(11, 13, 15, 0));
  transition: background 0.3s ease, border-color 0.3s ease;
}

.cq-header.is-scrolled,
.cq-header--solid {
  background: #000;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cq-border-dark);
}

.cq-header__inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cq-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cq-brand__logo {
  width: auto;
  height: 36px;
}

.cq-brand__logo.cq-official-logo {
  width: 198px;
  height: 96px;
}

.cq-nav,
.cq-nav__list,
.cq-utilities {
  display: flex;
  align-items: center;
}

.cq-nav__list {
  gap: clamp(16px, 1.7vw, 27px);
}

.cq-nav__item {
  position: relative;
}

.cq-nav__link {
  position: relative;
  display: block;
  padding: 9px 0;
  color: rgba(250, 249, 246, 0.75);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cq-nav__link:hover,
.cq-nav__link.is-active {
  color: var(--cq-white);
}

.cq-nav__link.is-active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cq-gradient-gold);
}

.cq-utilities {
  gap: 10px;
  flex-shrink: 0;
}

.cq-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--cq-porcelain);
  cursor: pointer;
}

.cq-header .cq-btn {
  font-size: 16px;
  font-weight: 650;
}

.cq-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.cq-badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  color: var(--cq-ink);
  background: var(--cq-gradient-gold);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.cq-menu-toggle {
  display: none;
  color: var(--cq-porcelain);
}

.cq-page-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  padding: 160px 0 82px;
  overflow: hidden;
}

.cq-page-stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: end;
  gap: 42px;
}

.cq-card {
  padding: 28px;
  overflow: hidden;
  background: var(--cq-white);
  border: 1px solid var(--cq-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--cq-shadow-sm);
}

.cq-h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

/* Standard inner-page footer */
.cq-footer {
  position: relative;
  padding: 80px 0 36px;
  color: var(--cq-porcelain);
  background: var(--cq-ink);
  border-top: 1px solid var(--cq-border-dark);
}

.cq-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr) 1.1fr;
  gap: clamp(28px, 3vw, 48px);
  margin-bottom: 56px;
}

.cq-footer[data-master="final"] { padding:46px 0 24px; }
.cq-footer[data-master="final"] .cq-footer__grid { grid-template-columns:minmax(280px,1.35fr) minmax(190px,.8fr) minmax(190px,.8fr); margin-bottom:32px; }
.cq-footer__address,.cq-footer__hours { margin-top:18px; color:rgba(250,249,246,.68); font-size:13px; font-style:normal; line-height:1.75; }
.cq-footer__address strong,.cq-footer__hours strong { color:var(--cq-porcelain); }
.cq-footer__address a { color:inherit; }
.cq-footer__essential ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 22px; }

.cq-footer__brand-col p {
  max-width: 320px;
  margin-top: 18px;
  color: rgba(250, 249, 246, 0.64);
  font-size: 14px;
  line-height: 1.7;
}

.cq-footer__col h4 {
  margin-bottom: 20px;
  color: var(--cq-gold-start);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.cq-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cq-footer__col a {
  color: rgba(250, 249, 246, 0.7);
  font-size: 13.5px;
}

.cq-footer__col a:hover {
  color: var(--cq-white);
}

.cq-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  color: rgba(250, 249, 246, 0.5);
  border-top: 1px solid var(--cq-border-dark);
  font-size: 12.5px;
}

.cq-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.cq-mobile-bar {
  display: none;
}

/* Architectural brand feature */
.cq-architectural-banner {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image: radial-gradient(circle at 80% 30%, rgba(212,175,122,.16), transparent 26%), linear-gradient(120deg,#0b0d0f,#171a1d 68%,#211d18);
  background-size: cover;
  background-position: center;
}

.cq-architectural-banner__copy {
  max-width: 650px;
}

@media (max-width: 1180px) {
  .cq-nav {
    display: none;
  }

  .cq-nav.is-mobile-open {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: block;
    padding: 24px;
    background: rgba(23, 26, 29, 0.98);
    border: 1px solid var(--cq-border-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--cq-shadow-dark);
  }

  .cq-nav.is-mobile-open .cq-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cq-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cq-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cq-footer__brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body:not(.cq-rail-layout) {
    padding-bottom: 64px;
  }

  .cq-header__inner {
    min-height: 70px;
  }

  .cq-brand__logo {
    height: 30px;
  }

  .cq-utilities .cq-btn {
    display: none;
  }

  .cq-page-stage {
    min-height: auto;
    padding: 118px 0 58px;
  }

  .cq-page-stage__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .cq-page-stage__grid > [style*="text-align:right"] {
    text-align: left !important;
  }

  .cq-footer {
    padding-top: 58px;
  }

  .cq-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cq-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cq-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 990;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 64px;
    background: rgba(17, 20, 23, 0.96);
    border-top: 1px solid var(--cq-border-dark);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .cq-mobile-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(250, 249, 246, 0.68);
    font-size: 10px;
  }

  .cq-mobile-bar__item svg {
    width: 20px;
    height: 20px;
  }

  .cq-architectural-banner {
    min-height: 560px;
    align-items: flex-end;
    background-image: radial-gradient(circle at 72% 24%, rgba(212,175,122,.14), transparent 28%), linear-gradient(145deg,#0b0d0f,#171a1d 68%,#211d18);
    background-position:center;
  }
}

@media (max-width: 768px) {
  .cq-brand__logo.cq-official-logo {
    width: 112px;
    height: 62px;
  }

  .cq-official-logo--footer {
    width: 150px;
    height: 104px;
  }
}
