/* ==========================================================================
   LINKSOLAR — Reference Design System & GSAP Pinned Scrolling Styles
   Matches Screenshot (3) through Screenshot (14)
   Clean, Minimalist White Theme with Solar Yellow Accents & Matte Black Footer
   ========================================================================== */

:root {
  --ref-bg-white: #FFFFFF;
  --ref-bg-offwhite: #F9FAFB;
  --ref-bg-yellow: #FFE600;
  --ref-bg-dark: #0A0A0A;
  --ref-text-dark: #0F172A;
  --ref-text-muted: #64748B;
  --ref-text-subtle: #94A3B8;
  --ref-border-subtle: rgba(15, 23, 42, 0.08);
  --ref-border-dark: rgba(255, 255, 255, 0.12);
  --ref-gold-grad: linear-gradient(135deg, #EAB308 0%, #F59E0B 40%, #CA8A04 100%);
  --ref-font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --ref-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset & Typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--ref-bg-white);
  color: var(--ref-text-dark);
  font-family: var(--ref-font-body);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Base Utility Classes */
.ref-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.ref-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ref-pill-btn:hover {
  background: #262626;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ref-pill-btn.white {
  background: #FFFFFF;
  color: #000000;
}

.ref-pill-btn.white:hover {
  background: #F1F5F9;
}

/* ==========================================================================
   1. NAVIGATION HEADER (Screenshot 3)
   ========================================================================== */
.ref-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ref-border-subtle);
  padding: 16px 0;
  transition: all 0.35s ease;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Transparent Header on Video Hero */
.ref-header.ref-header-transparent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ref-header.ref-header-transparent .ref-logo {
  color: #FFFFFF;
}

.ref-header.ref-header-transparent .ref-nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.ref-header.ref-header-transparent .ref-nav-links a:hover {
  color: #FFE600 !important;
}

.ref-header.ref-header-transparent .ref-pill-btn {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ref-header.ref-header-transparent .ref-pill-btn:hover {
  background: #FFE600;
  color: #000000;
  border-color: #FFE600;
}

/* Scrolled state: Solid clean white navbar */
.ref-header.ref-header-transparent.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ref-border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ref-header.ref-header-transparent.scrolled .ref-logo {
  color: #000000;
}

.ref-header.ref-header-transparent.scrolled .ref-nav-links a {
  color: #1E293B;
  text-shadow: none;
}

.ref-header.ref-header-transparent.scrolled .ref-nav-links a:hover {
  color: #D4BE00 !important;
}

.ref-header.ref-header-transparent.scrolled .ref-pill-btn {
  background: #000000;
  color: #FFFFFF;
  border: none;
  box-shadow: none;
}

.ref-header.ref-header-transparent.scrolled .ref-pill-btn:hover {
  background: #262626;
}

.ref-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ref-logo {
  font-family: var(--ref-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #000000;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ref-logo span.dot {
  color: #EAB308;
}

.ref-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ref-nav-links a {
  color: #1E293B;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ref-nav-links a:hover,
.ref-nav-dropdown:hover .ref-nav-dropdown-toggle,
.ref-nav-dropdown.is-open .ref-nav-dropdown-toggle {
  color: #D4BE00 !important;
  font-weight: 600;
}

/* ==========================================================================
   DROPDOWN NAVIGATION (Solar Subsidies)
   ========================================================================== */
.ref-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
}

.ref-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ref-nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.ref-nav-dropdown:hover .ref-nav-dropdown-toggle svg,
.ref-nav-dropdown.is-open .ref-nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.ref-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 195px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1000;
}

/* Invisible bridge so mouse never loses hover between toggle and menu */
.ref-nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -15px;
  right: -15px;
  height: 24px;
  background: transparent;
}

.ref-nav-dropdown:hover .ref-nav-dropdown-menu,
.ref-nav-dropdown:focus-within .ref-nav-dropdown-menu,
.ref-nav-dropdown.is-open .ref-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

.ref-nav-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.ref-nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  color: #1E293B !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  text-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.ref-nav-dropdown-menu a:hover {
  background: #F8FAFC;
  color: #D4BE00 !important;
}

/* Transparent Header States for Dropdown */
.ref-header.ref-header-transparent .ref-nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.ref-header.ref-header-transparent .ref-nav-dropdown:hover .ref-nav-dropdown-toggle {
  color: #FFE600 !important;
}

.ref-header.ref-header-transparent.scrolled .ref-nav-dropdown-toggle {
  color: #1E293B;
  text-shadow: none;
}

/* Mobile Navigation Elements (Strictly hidden on Desktop > 1024px) */
.ref-mobile-nav-toggle,
.ref-mobile-drawer,
.ref-mobile-drawer-backdrop {
  display: none !important;
}

.ref-header.ref-header-transparent.scrolled .ref-nav-dropdown:hover .ref-nav-dropdown-toggle,
.ref-header.ref-header-transparent.scrolled .ref-nav-dropdown.is-open .ref-nav-dropdown-toggle {
  color: #D4BE00 !important;
}

.ref-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   2. HERO SECTION (Screenshot 3)
   ========================================================================== */
.ref-hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Fullscreen Background Video */
.ref-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* High-contrast cinematic overlay */
.ref-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 2;
  pointer-events: none;
}

.ref-hero-section > .ref-container {
  width: 100%;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ref-hero-section .ref-hero-title {
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.ref-hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.ref-hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.ref-hero-joined {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.ref-hero-col-mid {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #334155;
  padding-bottom: 8px;
}

.ref-hero-col-right {
  text-align: right;
}

.ref-hero-title {
  font-family: var(--ref-font-display);
  font-size: clamp(3.2rem, 6.2vw, 5.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
  color: #000000;
}

.ref-hero-title .bright-gradient {
  background: var(--ref-gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

/* ==========================================================================
   3. GSAP PINNED DAY-TO-NIGHT HOUSE SECTION (Screenshots 4 & 5)
   ========================================================================== */
.house-pin-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #000000;
  margin-top: 36px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.house-stage {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Layered Day and Night Images */
.house-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.house-img-day {
  z-index: 1;
  opacity: 1;
}

.house-img-night {
  z-index: 2;
  opacity: 0; /* Scrubbed to 1 by GSAP ScrollTrigger */
  will-change: opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* House Content Overlay (Floating Left Title & Floating Right Cards) */
.house-overlay-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  pointer-events: none;
}

.house-left-info {
  max-width: 440px;
  pointer-events: auto;
}

.house-left-headline {
  font-family: var(--ref-font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.65);
}

/* Floating White Cards Container on the Right */
.house-cards-wrapper {
  position: relative;
  width: 320px;
  height: 480px;
  overflow: hidden;
  pointer-events: auto;
}

.house-cards-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  /* GSAP will animate yPercent upwards as user scrolls */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.house-card-item {
  background: #FFFFFF;
  border-radius: 2px;
  padding: 36px 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.house-card-icon {
  width: 42px;
  height: 42px;
  color: #000000;
  margin-bottom: 24px;
}

.house-card-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   4. RESIDENTIAL VS COMMERCIAL 50/50 SPLIT (Screenshots 6 & 7)
   ========================================================================== */
.ref-split-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 700px;
  margin-top: 48px;
}

.ref-split-panel {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 30px;
  text-align: center;
}

.ref-split-bg-wrap {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  overflow: hidden;
  z-index: 1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  pointer-events: none;
}

.ref-split-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  z-index: 1;
}

.ref-split-panel:hover .ref-split-bg {
  transform: scale(1.05) translate3d(0, 0, 0);
}

.ref-split-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
}

.ref-split-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.ref-split-title {
  font-family: var(--ref-font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  text-align: center;
}

.ref-split-content .ref-pill-btn {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   5. ARCHITECTURAL BLUEPRINT SECTION (Screenshot 8)
   ========================================================================== */
.ref-blueprint-section {
  padding: 45px 0 110px;
  background: #FFFFFF;
  text-align: center;
}

.ref-blueprint-title {
  font-family: var(--ref-font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #000000;
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}

.ref-blueprint-frame {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 20px;
}

.ref-blueprint-svg {
  width: 100%;
  height: auto;
  max-height: 340px;
}

.ref-blueprint-sub {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 24px;
}

/* ==========================================================================
   6. PLAN & PRICING SPLIT (Screenshot 9)
   ========================================================================== */
.ref-pricing-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #FFFFFF;
  min-height: 650px;
}

.ref-pricing-left {
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.ref-pricing-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F172A;
  margin-bottom: 12px;
}

.ref-pricing-title {
  font-family: var(--ref-font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #000000;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.ref-pricing-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}

.ref-pricing-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ref-pricing-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #1E293B;
}

.ref-pricing-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #000000;
}

.ref-pricing-right {
  position: relative;
  min-height: 500px;
}

.ref-pricing-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   7. CUSTOMER TESTIMONIAL (Screenshot 10)
   ========================================================================== */
.ref-testimonial-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: #0A0A0A;
}

.ref-testimonial-img-col {
  position: relative;
  min-height: 480px;
}

.ref-testimonial-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-testimonial-quote-col {
  padding: 90px 80px;
  background: #0A0A0A;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ref-testimonial-giant-quote {
  font-family: var(--ref-font-display);
  font-size: 7rem;
  line-height: 0.5;
  color: #334155;
  margin-bottom: 20px;
}

.ref-stars-row {
  display: flex;
  gap: 6px;
  color: #EAB308;
  font-size: 1.2rem;
  margin-bottom: 28px;
}

.ref-testimonial-text {
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 400;
  color: #F8FAFC;
  margin: 0 0 32px;
}

.ref-testimonial-author {
  font-size: 0.88rem;
  color: #94A3B8;
  font-weight: 500;
}

.ref-watermark-homes {
  position: absolute;
  bottom: 20px;
  right: -20px;
  font-family: var(--ref-font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
}

/* ==========================================================================
   8. VIBRANT YELLOW FAQ ACCORDION (Screenshot 11)
   ========================================================================== */
.ref-faq-section {
  background-color: var(--ref-bg-yellow);
  padding: 100px 0;
  color: #000000;
}

.ref-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: flex-start;
}

.ref-faq-left {
  position: sticky;
  top: 120px;
}

.ref-faq-title {
  font-family: var(--ref-font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #000000;
  margin: 0 0 60px;
  letter-spacing: -0.03em;
}

.ref-faq-left-sub {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 16px;
  font-weight: 500;
}

.ref-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref-faq-item {
  background: #FFFFFF;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.ref-faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: #000000;
  text-align: left;
  cursor: pointer;
}

.ref-faq-btn svg {
  transition: transform 0.3s ease;
}

.ref-faq-item.active .ref-faq-btn svg {
  transform: rotate(180deg);
}

.ref-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
}

.ref-faq-item.active .ref-faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

.ref-faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* ==========================================================================
   9. GET A QUOTE FORM (Screenshot 12)
   ========================================================================== */
.ref-quote-section {
  padding: 100px 0;
  background: radial-gradient(circle at center, #FFFBEB 0%, #FEF08A 30%, #FFFFFF 75%);
  display: flex;
  justify-content: center;
}

.ref-quote-card {
  background: #FFFFFF;
  border-radius: 4px;
  padding: 50px 45px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.ref-quote-title {
  font-family: var(--ref-font-display);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.ref-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ref-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.ref-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.ref-form-group input {
  padding: 12px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.ref-form-group input:focus {
  outline: none;
  border-color: #000000;
}

.ref-radio-row {
  margin: 18px 0;
}

.ref-radio-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.ref-radio-options {
  display: flex;
  gap: 20px;
}

.ref-radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.ref-form-disclaimer {
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 18px 0 28px;
}

.ref-quote-submit {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   10. TRANSFORM YOUR LIVING CAROUSEL (Screenshot 13)
   ========================================================================== */
.ref-carousel-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.ref-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.ref-carousel-title {
  font-family: var(--ref-font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #000000;
  margin: 0;
  max-width: 550px;
  letter-spacing: -0.02em;
}

.ref-carousel-nav {
  display: flex;
  gap: 12px;
}

.ref-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ref-carousel-btn:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.ref-cards-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 14px;
  cursor: grab;
  will-change: scroll-position;
  transform: translate3d(0, 0, 0);
}

.ref-cards-grid:active {
  cursor: grabbing;
}

.ref-cards-grid::-webkit-scrollbar {
  display: none;
}

.ref-story-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Layout overrides when there are fewer than 3 transformation stories */
.ref-cards-grid.has-single-item {
  justify-content: center;
  overflow-x: visible;
  cursor: default;
}
.ref-cards-grid.has-single-item .ref-story-card {
  flex: 0 1 520px;
  min-width: 0;
  max-width: 520px;
  width: 100%;
}

.ref-cards-grid.has-two-items {
  justify-content: center;
  overflow-x: visible;
  cursor: default;
}
.ref-cards-grid.has-two-items .ref-story-card {
  flex: 0 1 calc((100% - 24px) / 2);
  min-width: 280px;
  max-width: 480px;
}

.ref-story-card:hover {
  transform: translateY(-4px);
}

.ref-story-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
  background: #1E293B;
}

.ref-story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ref-story-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.ref-story-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 4;
  pointer-events: auto;
}

.ref-story-slide img,
.ref-story-slide video,
.ref-story-card .ref-story-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ref-story-slide.active img,
.ref-story-slide.active video {
  opacity: 1 !important;
  visibility: visible !important;
}

.ref-story-card:hover .ref-story-slide.active img,
.ref-story-card:hover .ref-story-slide.active video {
  transform: scale(1.04);
}

/* Elegant indicator dots for cards with 2 or 3 images */
.ref-story-dots {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 3px 6px;
  border-radius: 999px;
  pointer-events: auto;
}

.ref-story-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ref-story-dot.active {
  width: 14px;
  border-radius: 999px;
  background: #FFE600;
}

.ref-story-cat {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 6px;
  text-transform: capitalize;
}

.ref-story-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.35;
  margin: 0;
  transition: color 0.2s ease;
}

.ref-story-card:hover .ref-story-title {
  color: #B3860A;
}

/* Video badge and play button overlays for Solar Transformations */
.ref-story-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 230, 0, 0.4);
  color: #FFE600;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  pointer-events: none;
}

.ref-story-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 230, 0, 0.94);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  opacity: 0.9;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
  pointer-events: none;
}

.ref-story-card:hover .ref-story-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  opacity: 1;
  background: #FFE600;
  box-shadow: 0 12px 28px rgba(255, 230, 0, 0.45);
}

/* Inline video player for Solar Transformations */
.ref-story-img-wrap video.ref-story-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ref-story-card:hover .ref-story-slide.active video.ref-story-video {
  transform: scale(1.04);
}

.ref-story-video-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ref-story-sound-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 230, 0, 0.35);
  color: #FFE600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.ref-story-sound-btn:hover {
  background: #FFE600;
  color: #000000;
  transform: scale(1.1);
  border-color: #FFE600;
}

/* ==========================================================================
   11. MATTE BLACK FOOTER (Screenshot 14)
   ========================================================================== */
.ref-footer {
  background-color: var(--ref-bg-dark);
  color: #FFFFFF;
  padding: 90px 0 40px;
}

.ref-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--ref-border-dark);
}

.ref-footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: #FFFFFF;
}

.ref-footer-brand {
  font-family: var(--ref-font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ref-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ref-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.ref-footer-links a:hover {
  color: #FFE600 !important;
}

.ref-social-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.ref-social-link {
  color: #94A3B8;
  transition: color 0.2s ease;
}

.ref-social-link:hover {
  color: #FFFFFF;
}

.ref-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  font-size: 0.8rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.ref-footer-bottom a {
  color: #94A3B8;
  text-decoration: none;
  margin-left: 18px;
}

.ref-footer-bottom a:hover {
  color: #FFE600 !important;
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS
   Strictly applies to Mobile & Tablet (<= 1024px and <= 768px)
   Does NOT alter PC desktop view (> 1024px) in any way
   ========================================================================== */

@media (max-width: 1024px) {
  .ref-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ref-hero-col-right {
    text-align: left;
  }
  .ref-split-showcase {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .ref-pricing-section {
    grid-template-columns: 1fr;
  }
  .ref-testimonial-section {
    grid-template-columns: 1fr;
  }
  .ref-faq-grid {
    grid-template-columns: 1fr;
  }
  .ref-cards-grid {
    gap: 20px;
  }
  .ref-story-card {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
  .ref-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Unified Mobile Navigation Drawer (Active <= 1024px) */
  .ref-nav-links {
    display: none !important;
  }

  .ref-header {
    padding: 10px 0 !important;
    z-index: 1200 !important;
  }

  /* When drawer is open, keep floating actions hidden */
  body.drawer-open .float-actions {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .ref-mobile-nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 102;
    flex-shrink: 0;
  }

  .ref-header.ref-header-transparent .ref-mobile-nav-toggle {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .ref-header.ref-header-transparent.scrolled .ref-mobile-nav-toggle {
    background: #F1F5F9;
    border-color: #E2E8F0;
  }

  .ref-nav-bar {
    width: 19px;
    height: 2px;
    background: #0F172A;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
  }

  .ref-header.ref-header-transparent .ref-nav-bar {
    background: #FFFFFF;
  }

  .ref-header.ref-header-transparent.scrolled .ref-nav-bar {
    background: #0F172A;
  }

  .ref-mobile-nav-toggle.is-active .bar-1 {
    transform: translateY(7px) rotate(45deg);
  }

  .ref-mobile-nav-toggle.is-active .bar-2 {
    opacity: 0;
    transform: scaleX(0);
  }

  .ref-mobile-nav-toggle.is-active .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Backdrop (Covers screen behind header) */
  .ref-mobile-drawer-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .ref-mobile-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Slide-in Drawer Panel (Starts cleanly below header, sized ~82vw) */
  .ref-mobile-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 58px;
    right: 0;
    bottom: 0;
    width: min(315px, 82vw);
    height: calc(100vh - 58px);
    height: calc(100dvh - 58px);
    background: #0F172A;
    color: #FFFFFF;
    z-index: 1150;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ref-mobile-drawer.is-open {
    transform: translateX(0);
  }

  .ref-mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 18px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
  }

  .ref-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .ref-mobile-nav-link {
    display: block;
    padding: 12px 14px;
    color: #F8FAFC;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .ref-mobile-nav-link:hover,
  .ref-mobile-nav-link:active {
    background: rgba(255, 255, 255, 0.08);
    color: #FFE600;
  }

  .ref-mobile-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #F8FAFC;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
  }

  .ref-mobile-accordion-toggle:hover,
  .ref-mobile-accordion-item.is-open .ref-mobile-accordion-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: #FFE600;
  }

  .ref-accordion-icon {
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .ref-mobile-accordion-item.is-open .ref-accordion-icon {
    transform: rotate(180deg);
  }

  .ref-mobile-submenu {
    list-style: none;
    padding: 4px 0 6px 14px;
    margin: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
  }

  .ref-mobile-accordion-item.is-open .ref-mobile-submenu {
    display: flex;
  }

  .ref-mobile-submenu a {
    display: block;
    padding: 9px 12px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .ref-mobile-submenu a:hover {
    color: #FFE600;
    background: rgba(255, 230, 0, 0.08);
  }

  .ref-mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ref-mobile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .ref-mobile-action-btn.phone {
    background: #F8FAFC;
    color: #0F172A;
  }

  .ref-mobile-action-btn.whatsapp {
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  }
}

@media (max-width: 768px) {
  /* Container & Header */
  .ref-container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .ref-header {
    padding: 10px 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: clip;
  }
  .ref-header-inner {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .ref-logo {
    font-size: 1.15rem;
    flex-shrink: 0;
  }
  .ref-nav-links {
    display: none !important;
  }
  .ref-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-left: auto;
  }
  .ref-header-right .btn-replay-intro {
    padding: 7px 10px !important;
    font-size: 0.76rem !important;
  }
  .ref-header-right .ref-pill-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }
  .ref-mobile-nav-toggle {
    flex-shrink: 0 !important;
    margin-right: 0 !important;
  }

  /* Hero Section */
  .ref-hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 50px 0 30px;
  }
  .ref-hero-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 0;
  }
  .ref-hero-title {
    font-size: clamp(2.3rem, 9.5vw, 3.2rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
  }
  .ref-hero-col-mid {
    font-size: 0.95rem;
    line-height: 1.5;
    padding-bottom: 0;
    color: #475569;
  }
  .ref-hero-col-left {
    gap: 16px;
    margin-top: 4px;
  }
  .ref-hero-joined {
    font-size: 0.8rem;
  }

  /* Pinned Day-to-Night House Experience */
  .house-pin-section {
    min-height: 540px !important;
    height: calc(100vh - 58px) !important;
    margin-top: 24px !important;
    box-sizing: border-box !important;
  }
  .house-overlay-container {
    padding: 20px 16px 48px !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
    touch-action: pan-y !important;
  }
  .house-left-info {
    max-width: 100%;
    touch-action: pan-y !important;
  }
  .house-left-headline {
    font-size: 1.4rem;
    line-height: 1.18;
  }
  .house-left-info p {
    font-size: 0.82rem;
    line-height: 1.38;
    margin-top: 5px;
  }
  .house-cards-wrapper {
    width: 100%;
    height: 165px;
    overflow: hidden;
    margin-bottom: 24px !important;
    touch-action: pan-y !important;
  }
  .house-cards-track {
    gap: 16px;
    touch-action: pan-y !important;
  }
  .house-card-item {
    padding: 14px 16px;
    min-height: 165px;
    height: 165px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    touch-action: pan-y !important;
  }
  .house-card-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    flex-shrink: 0;
  }
  .house-card-text {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #0F172A;
  }
  .house-card-item p {
    display: block !important;
    font-size: 0.77rem !important;
    color: #475569 !important;
    margin-top: 5px !important;
    line-height: 1.4 !important;
  }

  /* 50/50 Showcase */
  .ref-split-panel {
    padding: 45px 20px;
    min-height: 380px;
  }
  .ref-split-title {
    font-size: 1.85rem;
    margin: 0 0 14px;
  }
  .ref-split-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 22px;
  }

  /* Blueprint Section */
  .ref-blueprint-section {
    padding: 30px 0 60px;
  }
  .ref-blueprint-title {
    font-size: 1.7rem;
    margin: 0 0 20px;
  }
  .ref-blueprint-sub {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .ref-blueprint-frame {
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto 28px;
  }
  .ref-blueprint-svg {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }

  /* Pricing Section */
  .ref-pricing-section {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }
  .ref-pricing-left {
    padding: 44px 20px 32px;
  }
  .ref-pricing-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
  .ref-pricing-desc {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }
  .ref-pricing-checklist {
    gap: 14px;
    margin-bottom: 28px;
  }
  .ref-pricing-item {
    font-size: 0.88rem;
    gap: 12px;
  }
  .ref-pricing-right {
    min-height: auto !important;
    height: auto !important;
    width: 100% !important;
    padding: 0 16px 32px !important;
    box-sizing: border-box !important;
  }
  .ref-pricing-right img {
    width: 100% !important;
    height: auto !important;
    max-height: 480px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    display: block !important;
    margin: 0 auto !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  }

  /* Testimonial Section (Review Quote first, Image second on mobile to avoid photo clubbing) */
  .ref-testimonial-section {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    background: #0A0A0A;
  }
  .ref-testimonial-quote-col {
    order: 1 !important;
    padding: 44px 20px 24px;
  }
  .ref-testimonial-img-col {
    order: 2 !important;
    min-height: auto !important;
    height: auto !important;
    width: 100% !important;
    padding: 0 16px 36px !important;
    box-sizing: border-box !important;
  }
  .ref-testimonial-img-col img {
    width: 100% !important;
    height: auto !important;
    max-height: 520px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    display: block !important;
    margin: 0 auto !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
  }
  .ref-testimonial-giant-quote {
    font-size: 4rem;
    margin-bottom: 10px;
  }
  .ref-testimonial-text {
    font-size: 1.12rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .ref-testimonial-author {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .ref-watermark-homes {
    display: none;
  }

  /* FAQ Accordion */
  .ref-faq-section {
    padding: 60px 0;
  }
  .ref-faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ref-faq-left {
    position: static;
  }
  .ref-faq-title {
    font-size: 1.8rem;
    margin: 0 0 16px;
  }
  .ref-faq-btn {
    padding: 16px 18px;
    font-size: 0.95rem;
  }
  .ref-faq-answer {
    padding: 0 18px;
  }
  .ref-faq-item.active .ref-faq-answer {
    padding: 0 18px 18px;
  }

  /* Quote Form */
  .ref-quote-section {
    padding: 60px 16px;
  }
  .ref-quote-card {
    padding: 28px 18px;
  }
  .ref-quote-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  .ref-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .ref-radio-options {
    flex-direction: column;
    gap: 10px;
  }

  /* Carousel Section */
  .ref-carousel-section {
    padding: 60px 0;
  }
  .ref-carousel-header {
    margin-bottom: 24px;
  }
  .ref-carousel-title {
    font-size: 1.6rem;
  }
  .ref-cards-grid {
    gap: 16px;
    padding: 4px 2px 14px;
  }
  .ref-story-card {
    flex: 0 0 85%;
    min-width: 85%;
    max-width: 85%;
  }

  /* Footer */
  .ref-footer {
    padding: 50px 0 30px;
  }
  .ref-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
  .ref-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ref-footer-bottom a {
    margin-left: 0;
    margin-right: 14px;
  }
}

@media (max-width: 480px) {
  .ref-container {
    padding: 0 16px;
  }
  .ref-hero-section {
    padding: 40px 0 24px;
  }
  .ref-hero-title {
    font-size: clamp(2rem, 8.8vw, 2.5rem);
    line-height: 1.02;
  }
  .ref-hero-col-left {
    width: 100%;
  }
  .ref-hero-col-left .ref-pill-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .house-left-headline {
    font-size: 1.3rem;
  }
  .ref-split-title {
    font-size: 1.55rem;
  }
  .ref-pricing-title {
    font-size: 1.45rem;
  }
  .ref-faq-title {
    font-size: 1.5rem;
  }
  .ref-quote-card {
    padding: 24px 16px;
  }
  .ref-quote-input,
  .ref-quote-select,
  .ref-quote-textarea {
    font-size: 16px !important;
  }
  .ref-header-right .ref-pill-btn {
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
    gap: 4px !important;
  }
  .ref-header-right .ref-pill-btn svg {
    display: none !important;
  }
  .ref-mobile-nav-toggle {
    width: 36px !important;
    height: 36px !important;
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   SIGNATURE DYNAMIC ENQUIRE BUTTON (Solar Yellow + Clean Label + Sliding Arrow)
   ========================================================================== */
.button,
.btn-enquire-uiverse,
.prod-inquire-btn,
.stitch-prod-inquire-btn {
  flex: none;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  border: 1.5px solid rgb(255, 230, 0);
  background-color: rgb(255, 230, 0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  padding: 0 12px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.button .text,
.btn-enquire-uiverse .text,
.prod-inquire-btn .text,
.stitch-prod-inquire-btn .text {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #000000;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button .arrow,
.btn-enquire-uiverse .arrow,
.prod-inquire-btn .arrow,
.stitch-prod-inquire-btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.25s ease;
}

.button .arrow path,
.btn-enquire-uiverse .arrow path,
.prod-inquire-btn .arrow path,
.stitch-prod-inquire-btn .arrow path {
  stroke: rgb(19, 19, 19);
}

.button:hover,
.btn-enquire-uiverse:hover,
.prod-inquire-btn:hover,
.stitch-prod-inquire-btn:hover {
  background-color: #FFEA2E;
  border-color: #FFEA2E;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255, 230, 0, 0.45);
}

.button:hover .arrow,
.btn-enquire-uiverse:hover .arrow,
.prod-inquire-btn:hover .arrow,
.stitch-prod-inquire-btn:hover .arrow {
  transform: translateX(4px);
  animation: none;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-8px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

.button:active,
.btn-enquire-uiverse:active,
.prod-inquire-btn:active,
.stitch-prod-inquire-btn:active {
  transform: scale(0.97);
}

.btn-enquire-uiverse.standalone {
  flex: none;
  width: 170px;
  height: 44px;
}

.btn-enquire-uiverse.standalone .text {
  width: 74%;
  font-size: 0.92rem;
}

/* ==========================================================================
   AJAX PRODUCT QUICK-VIEW MODAL
   ========================================================================== */
.stitch-prod-card,
.prod-item-card {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.stitch-prod-card:hover,
.prod-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.prod-quickview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.prod-quickview-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.prod-quickview-card {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px;
  box-sizing: border-box;
}

.prod-quickview-backdrop.active .prod-quickview-card {
  transform: scale(1) translateY(0);
}

.prod-quickview-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  font-size: 1.1rem;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.prod-quickview-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.prod-quickview-body {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 768px) {
  .prod-quickview-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .prod-quickview-card {
    padding: 24px 18px;
  }
  .prod-quickview-card .prod-quickview-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    z-index: 30;
    background: #F1F5F9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  .prod-quickview-img-wrap .prod-card-zoom-btn {
    top: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 20 !important;
  }
}

.prod-quickview-img-wrap {
  width: 100%;
  height: 270px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
}

.prod-quickview-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.prod-quickview-img-wrap:hover img {
  transform: scale(1.05);
}

.prod-quickview-thumbs-bar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.prod-quickview-thumb-btn {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1.5px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #1E293B;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.65;
  flex-shrink: 0;
  box-sizing: border-box;
}

.prod-quickview-thumb-btn:hover {
  opacity: 1;
  transform: scale(1.15);
  border-color: rgba(255, 230, 0, 0.6);
}

.prod-quickview-thumb-btn.active {
  opacity: 1;
  border-color: #FFE600;
  box-shadow: 0 0 10px rgba(255, 230, 0, 0.6);
  transform: scale(1.1);
}

.prod-quickview-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-quickview-details {
  display: flex;
  flex-direction: column;
}

.prod-quickview-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.prod-quickview-cat-badge {
  background: #F1F5F9;
  color: #0F172A;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
}

.prod-quickview-tag-badge {
  background: rgba(255, 230, 0, 0.22);
  color: #854D0E;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 230, 0, 0.4);
}

.prod-quickview-title {
  font-family: var(--ref-font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0 0 12px;
}

.prod-quickview-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 18px;
}

.prod-quickview-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.prod-quickview-specs-grid.cols-1 {
  grid-template-columns: 1fr;
}

.prod-quickview-specs-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.prod-quickview-specs-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 540px) {
  .prod-quickview-specs-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

.prod-quickview-spec-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.prod-quickview-spec-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 3px;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.prod-quickview-spec-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  white-space: pre-line;
  word-break: break-word;
}

.prod-quickview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.prod-quickview-enquire-btn {
  background: #FFE600;
  color: #000000;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.prod-quickview-enquire-btn:hover {
  background: #FFEA2E;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 230, 0, 0.4);
}

.prod-quickview-wa-btn {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 11px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.prod-quickview-wa-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.prod-quickview-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  color: #64748B;
}

.prod-quickview-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E2E8F0;
  border-top-color: #FFE600;
  border-radius: 50%;
  animation: spinQuickview 0.8s linear infinite;
  margin-bottom: 14px;
}

@keyframes spinQuickview {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   PRODUCT CARD IMAGE SLIDER CONTROLS & ZOOM BUTTON
   ========================================================================== */
.prod-card-img-wrap,
.stitch-prod-img-wrap,
.prod-quickview-img-wrap {
  position: relative;
  overflow: hidden;
}

/* Zoom / Enlarge Button */
.prod-card-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  padding: 0;
}

.prod-card-zoom-btn:hover {
  background: #FFE600;
  color: #0F172A;
  border-color: #FFE600;
  transform: scale(1.12);
  box-shadow: 0 0 16px rgba(255, 230, 0, 0.6);
}

.prod-card-zoom-btn svg {
  pointer-events: none;
}

/* Card Navigation Prev/Next Arrows */
.prod-card-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9;
  opacity: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.prod-card-img-wrap:hover .prod-card-nav-btn,
.stitch-prod-img-wrap:hover .prod-card-nav-btn,
.prod-item-card:hover .prod-card-nav-btn,
.stitch-prod-card:hover .prod-card-nav-btn,
.prod-quickview-img-wrap:hover .prod-card-nav-btn {
  opacity: 0.92;
}

.prod-card-nav-btn.prev {
  left: 8px;
}

.prod-card-nav-btn.next {
  right: 8px;
}

.prod-card-nav-btn:hover {
  opacity: 1 !important;
  background: #FFE600;
  color: #0F172A;
  border-color: #FFE600;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 14px rgba(255, 230, 0, 0.55);
}

.prod-card-nav-btn svg {
  pointer-events: none;
}

/* Dots Indicator on Card */
.prod-card-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9;
  pointer-events: auto;
}

.prod-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-card-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.25);
}

.prod-card-dot.active {
  width: 16px;
  border-radius: 8px;
  background: #FFE600;
  box-shadow: 0 0 8px rgba(255, 230, 0, 0.7);
}

/* ==========================================================================
   FULLSCREEN PHOTO LIGHTBOX / ENLARGE MODAL
   ========================================================================== */
.prod-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(8, 12, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.prod-lightbox-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.prod-lightbox-wrap {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.prod-lightbox-topbar {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 0 52px;
  color: #FFFFFF;
  text-align: center;
}

.prod-lightbox-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.prod-lightbox-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-align: center;
}

.prod-lightbox-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  background: #FFE600;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.prod-lightbox-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.prod-lightbox-close:hover {
  background: #FFE600;
  color: #0F172A;
  border-color: #FFE600;
  transform: translateY(-50%) rotate(90deg);
}

.prod-lightbox-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.prod-lightbox-img-frame {
  max-width: 820px;
  max-height: 72vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  cursor: zoom-in;
  position: relative;
  user-select: none;
  touch-action: none;
}

.prod-lightbox-img-frame.is-zoomed {
  cursor: grab;
}

.prod-lightbox-img-frame.is-dragging {
  cursor: grabbing;
}

.prod-lightbox-img-frame img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  will-change: transform;
}

.prod-lightbox-img-frame.is-dragging img,
.prod-lightbox-img-frame.is-panning img {
  transition: none !important;
}

/* Zoom Toolbar */
.prod-lightbox-zoom-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

.prod-lightbox-zoom-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prod-lightbox-zoom-btn:hover {
  background: #FFE600;
  color: #0F172A;
  border-color: #FFE600;
  transform: scale(1.08);
}

.prod-lightbox-zoom-btn.reset {
  width: auto;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 4px;
}

.prod-lightbox-zoom-level {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFE600;
  min-width: 44px;
  text-align: center;
  user-select: none;
}

.prod-lightbox-zoom-hint {
  font-size: 0.76rem;
  color: #94A3B8;
  margin-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 10px;
  user-select: none;
}

@media (max-width: 640px) {
  .prod-lightbox-zoom-hint {
    display: none;
  }
}

.prod-lightbox-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.prod-lightbox-nav-btn:hover {
  background: #FFE600;
  color: #0F172A;
  border-color: #FFE600;
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(255, 230, 0, 0.5);
}

.prod-lightbox-nav-btn svg {
  pointer-events: none;
}

.prod-lightbox-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.prod-lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prod-lightbox-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.prod-lightbox-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #FFE600;
  box-shadow: 0 0 10px rgba(255, 230, 0, 0.7);
}

@media (max-width: 768px) {
  .prod-card-nav-btn {
    opacity: 0.9 !important;
  }
  .prod-lightbox-stage {
    gap: 8px;
  }
  .prod-lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }
  .prod-lightbox-img-frame {
    max-height: 60vh;
  }
  .ref-floating-whatsapp {
    bottom: 20px !important;
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
  }
}

/* ==========================================================================
   HIGH-REFRESH RATE (60Hz / 90Hz / 120Hz) RENDERING CONTAINMENT
   ========================================================================== */
.stitch-products-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 750px;
}

.ref-blueprint-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.ref-pricing-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

.ref-testimonial-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.ref-faq-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 550px;
}

.ref-quote-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.ref-carousel-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}
