/* ═══════════════════════════════════════════════════════════
   CELEBRITY INTERIORS — Shop Storefront Styles
   Import in: shop.html, product-detail.html
   Depends on: style.css (CSS variables + base utilities)
═══════════════════════════════════════════════════════════ */

/* ── SHOP HERO ──────────────────────────────────────────── */
.shop-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--obsidian);
}

.shop-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(139,31,47,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(13,15,20,0.8) 0%, transparent 100%);
  z-index: 1;
}

.shop-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.shop-hero__image img {
  width: 100%;
  height: 125%; /* extra height for parallax travel */
  margin-top: -12.5%; /* center the oversized image */
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.shop-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.shop-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.shop-hero__eyebrow .label { margin: 0; }

.shop-hero__eyebrow-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.shop-hero__brand {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
}

.shop-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.shop-hero__presented {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  align-self: flex-end;
  padding-bottom: 14px;
}

.shop-hero__rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0 28px;
}

.shop-hero__sub {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 480px;
  line-height: 1.75;
}

/* ── CATEGORY FILTER ─────────────────────────────────────── */
.shop-filters {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(13,15,20,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.shop-filters__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shop-filters__inner::-webkit-scrollbar { display: none; }

.shop-filter-btn {
  background: none;
  border: none;
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.shop-filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}

.shop-filter-btn:hover { color: var(--white); }

.shop-filter-btn.active {
  color: var(--gold);
}

.shop-filter-btn.active::after {
  transform: scaleX(1);
}

/* ── PRODUCT GRID ────────────────────────────────────────── */
.shop-section {
  padding: 80px 0 120px;
  background: var(--obsidian);
}

.product-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.product-card {
  background: var(--obsidian-2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  z-index: 0;
  transition:
    transform 0.38s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.38s cubic-bezier(0.4,0,0.2,1),
    background 0.35s ease;
}

.product-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.14);
  z-index: 2;
}

.product-card--featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* filter hide/show with fade */
.product-card.hidden {
  display: none;
}

.product-card.fading-out {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

.product-card.fading-in {
  animation: product-fade-in 0.4s ease forwards;
}

@keyframes product-fade-in {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

.product-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  display: block;
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.product-card__img--active {
  opacity: 1;
}

.product-card:hover .product-card__img--active {
  transform: scale(1.08);
}

/* gallery dot indicators (inside overlay, bottom of card) */
.product-card__dots {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.product-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.product-card__dot:hover { background: rgba(255,255,255,0.6); }

.product-card__dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* 360° view badge */
.product-card__spin-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-hover);
  background: rgba(13,15,20,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 10px 5px 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card__spin-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin-badge-rotate 1.4s linear infinite;
}

@keyframes spin-badge-rotate {
  to { transform: rotate(360deg); }
}

/* financing line */
.product-card__financing {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-top: 4px;
}

.product-card__overlay .product-card__financing { color: var(--slate-light); }

/* category badge */
.product-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  padding: 5px 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-card__badge {
  opacity: 1;
  transform: translateY(0);
}

/* hover overlay */
.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,15,20,0.94) 0%,
    rgba(13,15,20,0.52) 42%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.38s cubic-bezier(0.4,0,0.2,1);
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

/* always-visible bottom info strip */
.product-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 28px;
  background: linear-gradient(to top, rgba(13,15,20,0.85), transparent);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card__info {
  opacity: 0;
}

.product-card__info-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 4px;
}

.product-card__info-price {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

/* overlay content */
.product-card__overlay-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 6px;
}

.product-card__overlay-price {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
}

.product-card__overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 20px;
  text-decoration: none;
  transform: translate3d(0, 14px, 0);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.4,0,0.2,1) 0.1s,
    opacity   0.4s cubic-bezier(0.4,0,0.2,1) 0.1s,
    border-color 0.25s ease,
    color        0.25s ease,
    gap          0.25s ease;
}

.product-card:hover .product-card__overlay-cta {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.product-card__overlay-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  gap: 16px;
}

/* empty state */
.product-grid__empty {
  grid-column: 1 / -1;
  padding: 80px 32px;
  text-align: center;
  background: var(--obsidian-2);
  display: none;
}

.product-grid__empty.visible { display: block; }

.product-grid__empty p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--slate-light);
}

/* ── SHOP INTRO BAND ─────────────────────────────────────── */
.shop-intro {
  padding: 60px 0;
  background: var(--obsidian-2);
  border-bottom: 1px solid var(--border);
}

.shop-intro__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.shop-intro__text {
  max-width: 600px;
}

.shop-intro__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin: 12px 0 16px;
}

.shop-intro__text h2 em {
  font-style: italic;
  color: var(--gold);
}

.shop-intro__text p {
  font-size: 0.98rem;
  color: var(--slate-light);
  line-height: 1.8;
}

.shop-intro__stat {
  text-align: right;
  flex-shrink: 0;
}

.shop-intro__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.shop-intro__stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 6px;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
/* (uses same .reveal classes as style.css) */

/* ── PRODUCT DETAIL PAGE ─────────────────────────────────── */
.detail-back {
  padding: 100px 0 40px;
}

.detail-back a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s ease, gap 0.25s ease;
}

.detail-back a:hover {
  color: var(--gold);
  gap: 14px;
}

.detail-back a svg {
  transform: rotate(180deg);
}

.detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── IMAGE CAROUSEL ─────────────────────────────────────── */
.detail-carousel {
  position: sticky;
  top: 120px;
}

.detail-carousel__main {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--obsidian-2);
  position: relative;
}

.detail-carousel__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.35s ease;
}

.detail-carousel__main img.transitioning {
  opacity: 0;
}

.detail-carousel__nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.detail-carousel__nav button {
  width: 36px;
  height: 36px;
  background: rgba(13,15,20,0.8);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.detail-carousel__nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.detail-carousel__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.detail-carousel__thumb {
  flex: 1;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.25s ease;
  background: var(--obsidian-2);
}

.detail-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.detail-carousel__thumb:hover img { opacity: 0.85; }

.detail-carousel__thumb.active {
  border-color: var(--gold);
}

.detail-carousel__thumb.active img { opacity: 1; }

/* ── PRODUCT INFO ────────────────────────────────────────── */
.detail-info {
  padding-top: 8px;
}

.detail-info__cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  padding: 5px 12px;
  margin-bottom: 20px;
}

.detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 16px;
}

.detail-info__price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 32px;
}

.detail-info__divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.detail-info__desc {
  font-size: 1rem;
  color: var(--slate-light);
  line-height: 1.85;
  margin-bottom: 0;
}

.detail-info__specs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-info__spec {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-info__spec:first-child {
  border-top: 1px solid var(--border);
}

.detail-info__spec-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 2px;
}

.detail-info__spec-value {
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.6;
}

/* ── ADD TO CART ─────────────────────────────────────────── */
.detail-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn--cart {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.82rem;
}

.btn--staging {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.82rem;
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--white);
}

.btn--staging:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── RELATED PRODUCTS ────────────────────────────────────── */
.related-section {
  padding: 80px 0 100px;
  background: var(--obsidian-2);
  border-top: 1px solid var(--border);
}

.related-section .container--wide {
  max-width: 1400px;
}

.related-grid {
  display: flex;
  overflow-x: auto;
  gap: 2px;
  margin-top: 48px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 4px;
}
.related-grid::-webkit-scrollbar { display: none; }
.related-grid:active { cursor: grabbing; }

.related-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--obsidian);
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.related-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.related-card:hover .related-card__img {
  transform: scale(1.05);
}

.related-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(13,15,20,0.9), transparent);
}

.related-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 4px;
}

.related-card__price {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card--featured {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

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

  .detail-carousel {
    position: static;
  }

  .shop-intro__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-intro__stat {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .shop-hero {
    min-height: 100svh;
    padding-bottom: 60px;
    align-items: flex-end;
  }

  .shop-hero h1 {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }

  .shop-hero__brand {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .shop-hero__presented {
    padding-bottom: 0;
  }

  .shop-filters {
    top: 72px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .product-card {
    aspect-ratio: 3/4;
  }

  /* disable lift on touch — no hover state on mobile */
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .product-card--featured {
    grid-column: span 1;
    aspect-ratio: 3/4;
  }

  /* always show overlay on mobile (no hover) */
  .product-card__overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(13,15,20,0.88) 0%,
      rgba(13,15,20,0.3) 50%,
      transparent 100%
    );
  }

  /* always show CTA on mobile */
  .product-card__overlay-cta {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
  }

  .product-card__info {
    display: none;
  }

  .product-card__badge {
    opacity: 1;
    transform: translateY(0);
  }

  .related-card {
    flex: 0 0 72vw;
  }

  .detail-layout {
    padding: 0 1rem 60px;
  }

  .detail-carousel__main {
    aspect-ratio: 1/1;
  }

  .detail-info h1 {
    font-size: 2rem;
  }
}

@media (max-width: 375px) {
  .shop-filter-btn {
    padding: 16px 16px;
    font-size: 0.55rem;
  }

  .product-card__overlay-name {
    font-size: 1.3rem;
  }
}

/* ── PREFERS-REDUCED-MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card__img,
  .product-card__overlay,
  .product-card__overlay-cta,
  .detail-carousel__main img,
  .related-card__img,
  .shop-filter-btn::after {
    transition: none;
  }

  .product-card:hover { transform: none; box-shadow: none; }
  .product-card:hover .product-card__img--active { transform: none; }
  .product-card__spin-badge::before { animation: none; }

  .product-card__overlay-cta {
    transform: none;
    opacity: 1;
  }

  @keyframes product-fade-in {
    from { opacity: 1; transform: none; }
    to   { opacity: 1; transform: none; }
  }
}

/* ── GPU ACCELERATION HINTS ──────────────────────────────── */
.product-card__img,
.related-card__img,
.detail-carousel__main img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL — VISUALIZATION SUITE (lightbox, 360 spin,
   "in your room" visualizer)
   ════════════════════════════════════════════════════════════ */

/* Zoom hint + spin affordances on the main carousel image */
.detail-carousel__main {
  cursor: zoom-in;
}
.detail-carousel__main.spin-active {
  cursor: grab;
}
.detail-carousel__main.spin-active.grabbing {
  cursor: grabbing;
}
.detail-carousel__main.spin-active img {
  pointer-events: none;
}
.carousel-zoom-hint {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  background: rgba(13,15,20,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  padding: 8px 14px;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}
.detail-carousel__main:hover .carousel-zoom-hint {
  opacity: 1;
}
.detail-carousel__main.spin-active .carousel-zoom-hint {
  display: none;
}

/* 360 spin toggle + hint */
.spin-toggle-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 11px 20px;
  cursor: pointer;
  transition: var(--transition);
}
.spin-toggle-btn:hover {
  border-color: var(--border-hover);
  color: var(--gold);
}
.spin-toggle-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}
.spin-hint {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9400;
  background: rgba(5,6,9,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox__stage {
  position: relative;
  width: min(86vw, 1100px);
  height: min(82vh, 860px);
  overflow: hidden;
  cursor: zoom-in;
}
.lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
  transform-origin: center center;
  will-change: transform;
}
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.lightbox__close:hover,
.lightbox__arrow:hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}
.lightbox__close {
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}
.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}
.lightbox__arrow:hover {
  transform: translateY(-50%);
}
.lightbox__arrow--prev { left: 24px; }
.lightbox__arrow--next { right: 24px; }
.lightbox__counter {
  position: absolute;
  top: 40px;
  right: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--slate-light);
  z-index: 2;
}

/* ── IN YOUR ROOM VISUALIZER ──────────────────────────────── */
.room-visualizer-section {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.room-visualizer .label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.room-visualizer__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 10px;
}
.room-visualizer__sub {
  max-width: 520px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 28px;
}
.room-visualizer__stage {
  position: relative;
  width: 400px;
  max-width: 100%;
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.room-visualizer__stage:hover {
  border-color: var(--border-hover);
}
.room-visualizer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 300px;
  padding: 28px;
  text-align: center;
}
.room-visualizer__upload-btn {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--border-hover);
  padding: 14px 30px;
  cursor: pointer;
  transition: var(--transition);
}
.room-visualizer__upload-btn:hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}
.room-visualizer__fallback {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 280px;
}
.room-visualizer__fallback a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.room-visualizer__canvas-wrap {
  position: relative;
  width: 400px;
  max-width: 100%;
  height: 300px;
  overflow: hidden;
  margin: 0 auto;
}
.room-visualizer__room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}
.room-visualizer__overlay {
  position: absolute;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.room-visualizer__overlay:active {
  cursor: grabbing;
}
.room-visualizer__overlay img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.85;
  pointer-events: none;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.4));
}
.room-visualizer__handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 2px solid var(--obsidian);
  cursor: nwse-resize;
}
.room-visualizer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.room-visualizer__save-btn,
.room-visualizer__reset-btn {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 26px;
  cursor: pointer;
  transition: var(--transition);
}
.room-visualizer__save-btn {
  background: var(--gold);
  color: var(--obsidian);
  border: 1px solid var(--gold);
}
.room-visualizer__save-btn:hover {
  background: transparent;
  color: var(--gold);
}
.room-visualizer__reset-btn {
  background: transparent;
  color: var(--slate-light);
  border: 1px solid var(--border);
}
.room-visualizer__reset-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.room-visualizer__label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 767px) {
  .room-visualizer__stage,
  .room-visualizer__canvas-wrap {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__img,
  .room-visualizer__stage,
  .carousel-zoom-hint,
  .spin-toggle-btn {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════
   AI DESIGN ASSISTANT — DEEPSEEK CHAT WIDGET
   ══════════════════════════════════════════════════════════ */

.ai-chat {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9000;
}

.ai-chat__toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
  transition: var(--transition);
  animation: aiChatPulse 2s ease-in-out infinite;
}
.ai-chat__toggle:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 36px rgba(201,168,76,0.5);
  animation-play-state: paused;
}
.ai-chat.open .ai-chat__toggle { animation: none; }

@keyframes aiChatPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.ai-chat__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--obsidian-2);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.ai-chat__toggle:hover .ai-chat__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.ai-chat__panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 360px;
  height: 520px;
  max-height: calc(100vh - 120px);
  background: var(--obsidian-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-chat__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ai-chat__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(201,168,76,0.5);
  animation: aiChatDotPulse 2.4s ease-in-out infinite;
}
@keyframes aiChatDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}
.ai-chat__header-text { flex: 1; min-width: 0; }
.ai-chat__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  line-height: 1.2;
}
.ai-chat__subtitle {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: 4px;
}
.ai-chat__notice {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin-top: 6px;
  line-height: 1.5;
}
.ai-chat__notice code {
  color: var(--gold);
  font-family: var(--font-mono);
}
.ai-chat__close {
  background: none;
  border: none;
  color: var(--slate-light);
  padding: 4px;
  display: flex;
  transition: var(--transition);
  flex-shrink: 0;
}
.ai-chat__close:hover { color: var(--gold); transform: rotate(90deg); }

.ai-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-chat__msg {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  word-wrap: break-word;
}
.ai-chat__msg--user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--obsidian);
  border-bottom-right-radius: 2px;
}
.ai-chat__msg--assistant {
  align-self: flex-start;
  background: var(--obsidian-3);
  color: var(--white);
  border-bottom-left-radius: 2px;
}
.ai-chat__msg--assistant a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
.ai-chat__msg--assistant a:hover { color: var(--gold-light); }

.ai-chat__typing {
  display: flex;
  gap: 4px;
  padding: 0 16px 14px;
  flex-shrink: 0;
}
.ai-chat__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slate-light);
  animation: aiChatBounce 1.2s ease-in-out infinite;
}
.ai-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiChatBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.ai-chat__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.ai-chat__input {
  flex: 1;
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 10px 14px;
  transition: var(--transition);
}
.ai-chat__input::placeholder { color: var(--slate); }
.ai-chat__input:focus { outline: none; border-color: var(--gold); }

.ai-chat__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.ai-chat__send:hover,
.ai-chat__input:focus ~ .ai-chat__send {
  border-color: var(--gold);
  color: var(--gold);
}
.ai-chat__send:disabled { opacity: 0.4; cursor: default; }

.ai-chat__reset {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: right;
  padding: 0 16px 14px;
  align-self: flex-end;
  transition: var(--transition);
  flex-shrink: 0;
}
.ai-chat__reset:hover { color: var(--gold); }

@media (max-width: 767px) {
  .ai-chat { right: 20px; bottom: 20px; }
  .ai-chat__panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    border: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-chat__toggle,
  .ai-chat__dot,
  .ai-chat__typing span {
    animation: none;
  }
}

/* ── ROOM STYLE QUIZ ───────────────────────────────────────── */
.style-quiz {
  background: var(--obsidian);
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}
.style-quiz__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2rem;
}
.style-quiz__header { text-align: center; margin-bottom: 40px; }
.style-quiz__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.style-quiz__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.style-quiz__header h2 em { font-style: italic; color: var(--gold); }
.style-quiz__sub {
  font-size: 0.92rem;
  color: var(--slate-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.style-quiz__progress {
  height: 2px;
  background: var(--border);
  margin: 0 0 48px;
  position: relative;
  overflow: hidden;
}
.style-quiz__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33.333%;
  background: var(--gold);
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

.style-quiz__stage { position: relative; }
.quiz-step__q {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 300;
  color: var(--white);
  text-align: center;
  margin-bottom: 36px;
}
.quiz-cards { display: grid; gap: 14px; }
.quiz-cards--2x2 { grid-template-columns: repeat(2, 1fr); }
.quiz-cards--budget { grid-template-columns: repeat(3, 1fr); }

.quiz-card {
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.quiz-card svg { color: var(--slate-light); transition: var(--transition); }
.quiz-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  transition: var(--transition);
}
.quiz-card__desc {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.quiz-card--plain {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}
.quiz-card:hover {
  border-color: var(--border-hover);
  background: rgba(201,168,76,0.04);
}
.quiz-card:hover svg,
.quiz-card:hover .quiz-card__name { color: var(--gold-light); }
.quiz-card.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.quiz-card.selected svg,
.quiz-card.selected .quiz-card__name { color: var(--gold); }

.quiz-results__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 300;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
}
.quiz-results__heading em { font-style: italic; color: var(--gold); }
.quiz-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.quiz-result-card {
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.quiz-result-card:hover { border-color: var(--border-hover); }
.quiz-result-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.quiz-result-card__body { padding: 18px 20px 22px; }
.quiz-result-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.quiz-result-card__price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.quiz-result-card__financing {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-top: 4px;
}
.quiz-result-card__ctas { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.quiz-result-card__cta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 11px;
  border: 1px solid var(--border);
  color: var(--slate-light);
  transition: var(--transition);
}
.quiz-result-card__cta--primary { color: var(--gold); border-color: var(--border-hover); }
.quiz-result-card__cta:hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}

.quiz-results__reset {
  display: block;
  margin: 0 auto;
  background: none;
  border: 1px solid var(--border);
  color: var(--slate-light);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: var(--transition);
}
.quiz-results__reset:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 767px) {
  .style-quiz { padding: 64px 0; }
  .quiz-cards--2x2 { grid-template-columns: 1fr; }
  .quiz-cards--budget { grid-template-columns: 1fr; }
  .quiz-results__grid { grid-template-columns: 1fr; }
}

/* ── ROOM BUNDLES ──────────────────────────────────────────── */
.room-bundles {
  background: var(--obsidian-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.room-bundles__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.room-bundles__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.room-bundles__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.room-bundles__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.room-bundles__header h2 em {
  font-style: italic;
  color: var(--gold);
}
.room-bundles__sub {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
}

.room-bundles__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bundle-card {
  display: grid;
  grid-template-columns: 40% 1fr;
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.bundle-card:hover {
  transform: scale(1.03);
  border-color: var(--gold);
}
.bundle-card__hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.bundle-card__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bundle-card__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.bundle-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 300;
  color: var(--white);
}
.bundle-card__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bundle-card__items li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-light);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bundle-card__items li span:last-child {
  font-family: var(--font-mono);
  color: var(--slate);
}
.bundle-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.bundle-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.bundle-card__price-row--bundle {
  padding-top: 2px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}
.bundle-card__total-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.bundle-card__total-strike {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--slate);
  text-decoration: line-through;
  opacity: 0.6;
}
.bundle-card__bundle-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
}
.bundle-card__save {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.bundle-card__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.bundle-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  border: 1px solid var(--border);
  padding: 14px 24px;
  transition: var(--transition);
}
.bundle-card__cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.bundle-card__cta--primary {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}
.bundle-card__cta--primary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 767px) {
  .room-bundles { padding: 64px 0; }
  .bundle-card { grid-template-columns: 1fr; }
  .bundle-card__hero { aspect-ratio: 16/9; }
  .bundle-card__body { padding: 32px 28px; }
}

/* ── STICKY CONSULTATION BAR ───────────────────────────────── */
.consult-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8000;
  background: rgba(13,15,20,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.consult-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.consult-bar__copy {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.consult-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.consult-bar__claim {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.consult-bar__sep {
  color: var(--border-hover);
}
.consult-bar__offer {
  font-size: 0.875rem;
  color: var(--slate-light);
}
.consult-bar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.consult-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--obsidian);
  border: 1px solid var(--gold);
  padding: 12px 24px;
  white-space: nowrap;
  transition: var(--transition);
}
.consult-bar__cta:hover {
  background: transparent;
  color: var(--gold);
}
.consult-bar__dismiss {
  background: none;
  border: none;
  color: var(--slate);
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.consult-bar__dismiss:hover { color: var(--gold); }

@media (max-width: 768px) {
  .consult-bar { display: none !important; }
}

/* ── HERO SECONDARY CTA + TRUST PILLS ───────────────────── */
.btn--hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--slate-light);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, color 0.25s ease;
  text-decoration: none;
}
.btn--hero-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.shop-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.shop-hero__trust-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.shop-hero__trust-pills span {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.hero-trust-sep {
  color: var(--border-hover) !important;
  letter-spacing: 0 !important;
}

/* ── HOW IT WORKS — 3-STEP PROCESS BAND ─────────────────── */
.how-it-works {
  background: var(--obsidian-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}
.how-it-works__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.how-it-works__header {
  text-align: center;
  margin-bottom: 72px;
}
.how-it-works__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-top: 12px;
  line-height: 1.1;
}
.how-it-works__header h2 em {
  font-style: italic;
  color: var(--gold);
}
.how-it-works__steps {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: start;
}
.how-it-works__divider {
  min-height: 180px;
  background: var(--border);
  align-self: stretch;
}
.how-it-works__step {
  padding: 0 52px;
  text-align: center;
}
.how-it-works__step-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 300;
  color: rgba(201,168,76,0.14);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.how-it-works__step-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 14px;
}
.how-it-works__step-rule {
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 16px;
  opacity: 0.45;
}
.how-it-works__step-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.8;
  max-width: 240px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .how-it-works__step { padding: 0 32px; }
}
@media (max-width: 768px) {
  .how-it-works { padding: 64px 0; }
  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .how-it-works__divider { display: none; }
  .how-it-works__step { padding: 0; }
}

/* ── SERVICES OVERVIEW GRID — 6 CAPABILITY CARDS ────────── */
.cis-services {
  background: var(--obsidian);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}
.cis-services__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.cis-services__header {
  margin-bottom: 56px;
}
.cis-services__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-top: 12px;
  line-height: 1.1;
}
.cis-services__header h2 em {
  font-style: italic;
  color: var(--gold);
}
.cis-services__header p {
  font-size: 0.95rem;
  color: var(--slate);
  max-width: 500px;
  line-height: 1.8;
  margin-top: 16px;
}
.cis-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.cis-service-card {
  background: var(--obsidian-2);
  padding: 40px 36px 48px;
  position: relative;
  text-decoration: none;
  display: block;
  overflow: hidden;
  transition: background 0.3s ease;
}
.cis-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cis-service-card:hover { background: var(--obsidian-3); }
.cis-service-card:hover::before { transform: scaleX(1); }
.cis-service-card__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.cis-service-card:hover .cis-service-card__icon {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.cis-service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.cis-service-card__desc {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.75;
}
.cis-service-card__arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cis-service-card:hover .cis-service-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .cis-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cis-services { padding: 64px 0; }
  .cis-services__grid { grid-template-columns: 1fr; }
}

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-section {
  background: var(--obsidian-2);
  border-top: 1px solid var(--border);
  padding: 96px 0;
}
.faq-section__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}
.faq-section__header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-top: 12px;
  line-height: 1.1;
}
.faq-section__header h2 em {
  font-style: italic;
  color: var(--gold);
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-item__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}
.faq-item__question {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.35;
  transition: color 0.25s ease;
}
.faq-item__trigger:hover .faq-item__question { color: var(--gold); }
.faq-item__trigger[aria-expanded="true"] .faq-item__question { color: var(--gold); }

.faq-item__icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-item__trigger:hover .faq-item__icon { border-color: var(--gold); }
.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
  transform: rotate(45deg);
}

.faq-item__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item__panel[aria-hidden="false"] { max-height: 400px; }

.faq-item__answer {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.85;
  padding-bottom: 28px;
}
.faq-item__answer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.faq-item__answer a:hover { color: var(--gold-light); }

@media (max-width: 767px) {
  .faq-section { padding: 64px 0; }
  .faq-item__trigger { padding: 20px 0; }
}

/* ── FOOTER — SERVICE AREAS + HOURS ─────────────────────── */
.footer__service-areas {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.footer__service-areas-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer__service-areas-list {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 8px;
}
.footer__hours-item {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.75;
}
.footer__hours-item strong {
  color: var(--slate-light);
  font-weight: 500;
}

/* ── PREFERS-REDUCED-MOTION — NEW SECTIONS ───────────────── */
@media (prefers-reduced-motion: reduce) {
  .how-it-works__step,
  .cis-service-card,
  .cis-service-card::before,
  .cis-service-card__arrow,
  .faq-item__trigger,
  .faq-item__icon,
  .faq-item__panel,
  .btn--hero-ghost { transition: none; }
}

/* ── PORTFOLIO MARQUEE STRIP ─────────────────────────────── */
.portfolio-marquee {
  overflow: hidden;
  background: var(--obsidian-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portfolio-marquee__track {
  display: flex;
  gap: 10px;
  padding: 18px 10px;
  width: max-content;
  animation: pf-marquee 40s linear infinite;
  will-change: transform;
}

.portfolio-marquee:hover .portfolio-marquee__track,
.portfolio-marquee:focus-within .portfolio-marquee__track {
  animation-play-state: paused;
}

@keyframes pf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.portfolio-marquee__tile {
  flex-shrink: 0;
  width: 280px;
  height: 210px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--obsidian-3);
  position: relative;
  border-radius: var(--radius);
}

.portfolio-marquee__tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.portfolio-marquee__tile:hover::after,
.portfolio-marquee__tile:focus-visible::after { transform: scaleX(1); }

.portfolio-marquee__tile:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.portfolio-marquee__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.45s ease;
}

.portfolio-marquee__tile:hover img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .portfolio-marquee__track { animation: none; }
  .portfolio-marquee__tile img,
  .portfolio-marquee__tile::after { transition: none; }
}

/* ── PORTFOLIO GALLERY — OUR WORK ────────────────────────── */
.portfolio-gallery {
  background: var(--obsidian);
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portfolio-gallery__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.portfolio-gallery__header {
  margin-bottom: 52px;
}

.portfolio-gallery__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-top: 12px;
  line-height: 1.1;
}

.portfolio-gallery__header h2 em {
  font-style: italic;
  color: var(--gold);
}

.portfolio-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  grid-auto-flow: dense;
}

.portfolio-thumb {
  background: var(--obsidian-3);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  display: block;
  width: 100%;
}

/* Editorial rhythm — every 7th spans 2 cols as a landscape accent */
.portfolio-thumb:nth-child(7n) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}

.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.07);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.portfolio-thumb:hover img,
.portfolio-thumb:focus-visible img { transform: scale(1.04); }

.portfolio-thumb:hover::after,
.portfolio-thumb:focus-visible::after { opacity: 1; }

.portfolio-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

@media (min-width: 768px) {
  .portfolio-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .portfolio-thumb { aspect-ratio: 3 / 4; }
  .portfolio-thumb:nth-child(7n) { aspect-ratio: 8 / 5; }
}

@media (min-width: 1200px) {
  .portfolio-gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .portfolio-thumb { aspect-ratio: 3 / 4; }
  .portfolio-thumb:nth-child(7n) { aspect-ratio: 16 / 9; }
}

@media (max-width: 767px) {
  .portfolio-gallery { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-thumb img,
  .portfolio-thumb::after { transition: none; }
}

/* ── PORTFOLIO LIGHTBOX ──────────────────────────────────── */
.pf-lb {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-lb[hidden] { display: none !important; }

.pf-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,15,20,0.96);
  cursor: pointer;
}

.pf-lb__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 56px 80px;
  pointer-events: none;
}

.pf-lb__img-wrap {
  pointer-events: auto;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-lb__img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 28px 80px rgba(0,0,0,0.65);
}

.pf-lb__close,
.pf-lb__nav {
  border: 1px solid var(--border);
  background: rgba(13,15,20,0.8);
  border-radius: 50%;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.pf-lb__close:hover,
.pf-lb__close:focus-visible,
.pf-lb__nav:hover,
.pf-lb__nav:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(13,15,20,0.95);
  outline: none;
}

.pf-lb__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  z-index: 2;
}

.pf-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
}

.pf-lb__nav--prev { left: 16px; }
.pf-lb__nav--next { right: 16px; }

.pf-lb__counter {
  position: absolute;
  bottom: 20px; right: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.03em;
  z-index: 2;
}

@media (max-width: 640px) {
  .pf-lb__stage { padding: 52px 10px 44px; }
  .pf-lb__nav--prev { left: 6px; }
  .pf-lb__nav--next { right: 6px; }
  .pf-lb__nav { width: 44px; height: 44px; }
}

.pf-lb__caption {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--slate-light);
  text-align: center;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  max-width: 80vw;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

/* ── 3D SPHERE SHOWCASE ──────────────────────────────────── */
.pf-sphere {
  margin: 20px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pf-sphere__scene {
  perspective: 1100px;
  perspective-origin: 50% 50%;
  width: 520px;
  height: 520px;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  position: relative;
}

.pf-sphere__scene:active { cursor: grabbing; }

.pf-sphere__ring {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.pf-sphere__tile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 90px;
  margin-top: -45px;
  margin-left: -60px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 2px;
}

.pf-sphere__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.pf-sphere__hint {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 640px) {
  .pf-sphere__scene { width: 320px; height: 320px; }
  .pf-sphere__tile  { width: 80px; height: 60px; margin-top: -30px; margin-left: -40px; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-sphere { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-lb__close, .pf-lb__nav { transition: none; }
}
