/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES & RESET
═══════════════════════════════════════════ */
:root {
  --black:          #000000;
  --white:          #ffffff;
  --gray-50:        #fafafa;
  --gray-100:       #f4f4f4;
  --gray-200:       #e5e5e5;
  --gray-400:       #a3a3a3;
  --gray-600:       #616161;
  --gray-800:       #2a2a2a;
  --gold:           #c8a951;
  --gold-dark:      #a88a35;
  --gold-light:     #e5c97a;
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:           0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:      0 1px 6px rgba(0,0,0,0.07);
  --shadow-md:      0 6px 28px rgba(0,0,0,0.10);
  --shadow-lg:      0 16px 60px rgba(0,0,0,0.14);
  --r:              12px;
  --r-lg:           20px;
  --max-w:          1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: inherit; }

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 24px; }
.label      { display: inline-block; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.heading    { font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--black); margin-bottom: 16px; }
.subheading { font-size: 1.05rem; color: var(--gray-600); line-height: 1.75; max-width: 560px; }
.center     { text-align: center; }
.center .subheading { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 8px; font-weight: 700;
  font-size: 0.9rem; transition: var(--ease); cursor: pointer; border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold); color: var(--black); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,169,81,0.35); }
.btn-ghost {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark {
  background: var(--black); color: var(--white); border-color: var(--black);
}
.btn-dark:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  background: var(--black);
  color: var(--white);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 45%, rgba(200,169,81,0.13) 0%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,81,0.12);
  border: 1px solid rgba(200,169,81,0.35);
  color: var(--gold-light);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge svg { flex-shrink: 0; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900; line-height: 1.07; letter-spacing: -0.03em;
  margin-bottom: 24px; color: #ffffff !important;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
  font-size: 1.1rem; color: rgba(255,255,255,0.72);
  line-height: 1.75; margin-bottom: 40px; max-width: 460px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px;
  margin-top: 52px; padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num  { font-size: 2.1rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-lbl  { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.5); margin-top: 5px; }
.hero-img-wrap {
  position: relative;
}
.hero-img-wrap img {
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  width: 100%;
  object-fit: cover;
}
.hero-img-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(ellipse, rgba(200,169,81,0.18) 0%, transparent 70%);
  z-index: -1; border-radius: 50%;
}
.hero-logo {
  display: block;
  width: 140px;
  margin-bottom: 28px;
  opacity: 0.92;
}

/* ═══════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════ */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 22px 24px;
}
.trust-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 700; color: var(--gray-800);
}
.trust-icon { color: var(--gold); }

/* ═══════════════════════════════════════════
   FEATURES / WHY SONOS (dark)
═══════════════════════════════════════════ */
.dark-section { background: var(--black); color: var(--white); }
.dark-section .heading { color: var(--white); }
.dark-section .subheading { color: rgba(255,255,255,0.62); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  padding: 36px 28px;
  transition: var(--ease);
}
.feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,169,81,0.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  font-size: 2rem; margin-bottom: 18px;
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(200,169,81,0.12);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.58); line-height: 1.72; }

/* ═══════════════════════════════════════════
   PRODUCT TABS + GRID
═══════════════════════════════════════════ */
.tabs-nav {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0; margin-bottom: 48px;
}
.tab-btn {
  background: none; border: none; cursor: pointer;
  padding: 12px 22px; font-size: 0.875rem; font-weight: 600;
  color: var(--gray-600); border-bottom: 3px solid transparent;
  margin-bottom: -2px; border-radius: 6px 6px 0 0;
  transition: var(--ease);
}
.tab-btn:hover  { color: var(--black); }
.tab-btn.active { color: var(--black); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--ease);
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold); color: var(--black);
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 10px; border-radius: 100px;
}
.product-img-wrap {
  background: var(--gray-100);
  aspect-ratio: 1 / 1;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.45s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }
.product-info {
  padding: 22px 22px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.product-cat  { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 7px; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.35; }
.product-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.68; flex: 1; margin-bottom: 20px; }
.product-cta  {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--black); color: var(--white);
  padding: 12px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 700; transition: var(--ease);
}
.product-cta:hover { background: var(--gold); color: var(--black); }

/* ═══════════════════════════════════════════
   USE CASES / ROOMS
═══════════════════════════════════════════ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.room-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r);
  padding: 28px 18px;
  text-align: center;
  transition: var(--ease);
  cursor: default;
}
.room-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.room-icon  { font-size: 2.2rem; margin-bottom: 12px; }
.room-title { font-size: 0.9rem; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.room-text  { font-size: 0.78rem; color: var(--gray-600); line-height: 1.55; }

/* ═══════════════════════════════════════════
   VIDEO SECTION
═══════════════════════════════════════════ */
.video-bg { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.video-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--black);
  transition: var(--ease);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; display: block; border: none; }
.video-meta { background: var(--white); padding: 18px 20px; }
.video-meta h3 { font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.video-meta p  { font-size: 0.82rem; color: var(--gray-600); }

/* ═══════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.checklist { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.check-item { display: flex; gap: 18px; align-items: flex-start; }
.check-icon {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.check-text h3 { font-size: 0.975rem; font-weight: 700; color: var(--black); margin-bottom: 5px; }
.check-text p  { font-size: 0.865rem; color: var(--gray-600); line-height: 1.68; }
.img-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ═══════════════════════════════════════════
   SMART HOME INTEGRATIONS
═══════════════════════════════════════════ */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.int-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 28px 18px; text-align: center;
  transition: var(--ease);
}
.int-card:hover { background: rgba(200,169,81,0.1); border-color: rgba(200,169,81,0.3); transform: translateY(-3px); }
.int-icon  { font-size: 2.1rem; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; min-height: 42px; }
.int-icon img { width: 42px; height: 42px; object-fit: contain; }
.int-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.int-card p  { font-size: 0.78rem; color: rgba(255,255,255,0.52); line-height: 1.55; }

/* ═══════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════ */
.faq-bg { background: var(--gray-100); }
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--r);
  margin-bottom: 10px;
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: var(--gold); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; text-align: left;
  font-size: 0.95rem; font-weight: 700; color: var(--black);
  transition: var(--ease);
}
.faq-q:hover { color: var(--gold-dark); }
.faq-chevron {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-chevron { background: var(--gold); transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 24px 22px; font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; }

/* ═══════════════════════════════════════════
   LOCATIONS RIBBON
═══════════════════════════════════════════ */
.locations-ribbon {
  background: var(--gold);
  padding: 16px 24px;
  text-align: center;
}
.locations-ribbon p {
  font-size: 0.875rem; font-weight: 700; color: var(--black);
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 110px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(200,169,81,0.11) 0%, transparent 68%);
  pointer-events: none;
}
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; }
.cta-section .heading { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.cta-section .subheading { margin: 0 auto 44px; color: rgba(255,255,255,0.68); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-grid  { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero-lead  { margin-left: auto; margin-right: auto; }
  .hero-ctas  { justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-badge { margin: 0 auto 28px; }
  .two-col    { grid-template-columns: 1fr; gap: 44px; }
  .img-frame  { order: -1; }
}
@media (max-width: 600px) {
  .section   { padding: 70px 20px; }
  .trust-inner { gap: 18px; }
  .tabs-nav  { gap: 4px; }
  .tab-btn   { padding: 10px 14px; font-size: 0.8rem; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}
