/* ============================================================
   NB SOLAR SCREENS — Main Stylesheet
   ============================================================ */

:root {
  --navy:        #0B1D35;
  --navy-mid:    #142D4C;
  --navy-light:  #1E3F6F;
  --orange:      #F97316;
  --orange-dark: #EA6D0B;
  --orange-light:#FFF0E4;
  --sky:         #38BDF8;
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --gray-500:    #64748B;
  --gray-700:    #334155;
  --gray-900:    #0F172A;
  --green:       #10B981;
  --red:         #EF4444;

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:   'Poppins', 'Inter', sans-serif;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-md:   0 10px 25px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --shadow-lg:   0 25px 50px rgba(0,0,0,.12), 0 10px 20px rgba(0,0,0,.07);

  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --transition:  0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --container:   1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { overflow-x: hidden; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249,115,22,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 2px var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}
.btn-sm    { padding: 9px 18px;  font-size: .85rem; }
.btn-lg    { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ── Section base ── */
.section { padding: 96px 0; }
.section-light { background: var(--gray-50); }
.section-white { background: var(--white); }
.section-dark  { background: var(--navy); }
.section-estimate { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-header-light h2 { color: var(--white); }
.section-header-light p  { color: rgba(255,255,255,.7); }

.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-tag-light { color: #FDBA74; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 0;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
.navbar.scrolled .nav-logo .logo-text { color: var(--navy); }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { color: var(--orange); }
.navbar.scrolled .nav-phone { color: var(--gray-700); }

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.navbar .nav-logo svg {
  width: 42px;
  height: 42px;
}
.logo-name-wrap { display: flex; flex-direction: column; gap: 2px; }
.logo-formerly {
  font-size: .72rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.55);
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.navbar.scrolled .logo-formerly { color: var(--gray-500); }
.footer-formerly {
  font-size: .8rem;
  font-style: italic;
  color: rgba(255,255,255,.38);
  margin: -8px 0 10px;
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.46rem;
  color: var(--white);
  transition: color var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-phone:hover { color: var(--orange); }


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  margin: -10px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 10;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--gray-700); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 8px;
  color: var(--gray-700);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
  text-align: left;
}
.mobile-link:hover { color: var(--orange); }
.mobile-phone { color: var(--navy) !important; font-weight: 600; }
.mobile-cta { margin-top: 12px; text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(11,29,53,.78) 0%, rgba(20,45,76,.68) 60%, rgba(30,63,111,.58) 100%),
    url('https://res.cloudinary.com/di80u8nbm/image/upload/q_auto,f_auto/v1780432963/NBSolarScreens/NBSolarScreens/jfryshhgfcxnhxax26cd.jpg') center top/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ── Hero Sun Animation ── */
.hero-sun {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 220px;
  height: 220px;
  z-index: 2;
  pointer-events: none;
}
.hero-sun-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(252,211,77,.20) 0%, rgba(245,158,11,.07) 45%, transparent 70%);
  border-radius: 50%;
  animation: heroSunGlow 4s ease-in-out infinite;
}
.hero-sun-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 58px; height: 58px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #FEF9C3 0%, #FDE047 30%, #FBBF24 65%, #F59E0B 100%);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(251,191,36,.9), 0 0 48px rgba(251,191,36,.55), 0 0 90px rgba(251,191,36,.25);
  animation: heroCorePulse 4s ease-in-out infinite;
  z-index: 3;
}
.hero-sun-rays {
  position: absolute;
  inset: 0;
  animation: heroRaysRotate 18s linear infinite;
}
.hero-ray {
  position: absolute;
  top: 50%; left: 50%;
  height: 2.5px;
  border-radius: 2px;
  transform-origin: left center;
  background: linear-gradient(to right, transparent, rgba(252,211,77,.75), transparent);
}
.hero-ray:nth-child(1)  { width: 85px; transform: rotate(0deg)   translateX(29px); }
.hero-ray:nth-child(2)  { width: 62px; transform: rotate(45deg)  translateX(29px); opacity:.8; }
.hero-ray:nth-child(3)  { width: 85px; transform: rotate(90deg)  translateX(29px); }
.hero-ray:nth-child(4)  { width: 62px; transform: rotate(135deg) translateX(29px); opacity:.8; }
.hero-ray:nth-child(5)  { width: 85px; transform: rotate(180deg) translateX(29px); }
.hero-ray:nth-child(6)  { width: 62px; transform: rotate(225deg) translateX(29px); opacity:.8; }
.hero-ray:nth-child(7)  { width: 85px; transform: rotate(270deg) translateX(29px); }
.hero-ray:nth-child(8)  { width: 62px; transform: rotate(315deg) translateX(29px); opacity:.8; }

@keyframes heroSunGlow {
  0%,100% { opacity:.7; transform: scale(1); }
  50%      { opacity:1;  transform: scale(1.12); }
}
@keyframes heroCorePulse {
  0%,100% { box-shadow: 0 0 24px rgba(251,191,36,.9), 0 0 48px rgba(251,191,36,.55), 0 0 90px rgba(251,191,36,.25); }
  50%     { box-shadow: 0 0 36px rgba(251,191,36,1),  0 0 72px rgba(251,191,36,.75), 0 0 130px rgba(251,191,36,.4); }
}
@keyframes heroRaysRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Light beams sweeping across hero ── */
.hero-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-beam {
  position: absolute;
  width: 3px;
  height: 200%;
  top: -50%;
  background: linear-gradient(to bottom, transparent, rgba(251,191,36,.055), transparent);
  transform: rotate(-30deg);
  animation: heroBeamSlide 7s ease-in-out infinite;
}
.hero-beam:nth-child(1) { left: 52%; animation-delay: 0s; }
.hero-beam:nth-child(2) { left: 62%; width: 4px; animation-delay: 2.3s; opacity:.75; }
.hero-beam:nth-child(3) { left: 74%; animation-delay: 4.6s; }
@keyframes heroBeamSlide {
  0%,100% { opacity:0; transform:rotate(-30deg) translateX(-20px); }
  25%,75% { opacity:1; }
  50%     { transform:rotate(-30deg) translateX(20px); }
}

/* ── Subtle screen mesh hint on right side of hero ── */
.hero-screen-hint {
  position: absolute;
  top: 0; right: 0;
  width: 35%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg,  rgba(0,0,0,.07) 0, rgba(0,0,0,.07) 1px, transparent 1px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0, rgba(0,0,0,.07) 1px, transparent 1px, transparent 5px);
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.5) 0%, transparent 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,.5) 0%, transparent 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-overlay { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-block;
  color: #FDBA74;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero-accent {
  background: linear-gradient(90deg, var(--orange), #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
}
.trust-item svg { color: var(--orange); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES / CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 64px; height: 64px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--orange);
  transition: background var(--transition);
}
.card:hover .card-icon { background: var(--orange); color: var(--white); }
.card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.card p { color: var(--gray-500); font-size: .95rem; line-height: 1.7; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}
.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-orange  { background: #FFF0E4; color: var(--orange); }
.benefit-blue    { background: #EFF6FF; color: #3B82F6; }
.benefit-green   { background: #ECFDF5; color: var(--green); }
.benefit-purple  { background: #F5F3FF; color: #8B5CF6; }
.benefit-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.benefit-text p { color: var(--gray-500); font-size: .93rem; line-height: 1.65; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.gallery-pair:hover .gallery-img-wrap img { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  bottom: 10px; left: 10px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 100px;
}
.before-label { background: rgba(0,0,0,.6); color: rgba(255,255,255,.9); }
.after-label  { background: var(--orange); color: var(--white); }

/* ============================================================
   COLORS SECTION
   ============================================================ */
.colors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.color-card {
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
}
.color-card:hover { transform: translateY(-4px); }
.color-swatch {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  aspect-ratio: 4/3;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.color-card:hover .color-swatch {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.2);
}
.color-swatch img { width: 100%; height: 100%; object-fit: cover; }
.color-name {
  display: block;
  margin-top: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.colors-note {
  text-align: center;
  color: var(--gray-500);
  font-size: .95rem;
}
.colors-note a { color: var(--orange); font-weight: 600; }
.colors-note a:hover { text-decoration: underline; }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.area-county {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), transform var(--transition);
}
.area-county:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.area-county:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
.county-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--orange);
}
.county-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}
.area-county ul li {
  padding: 5px 0;
  color: var(--gray-500);
  font-size: .9rem;
  border-bottom: 1px solid var(--gray-200);
}
.area-county ul li:last-child { border-bottom: none; }

.area-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
  text-align: center;
  color: var(--gray-500);
  font-size: .95rem;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.area-note svg { color: var(--orange); flex-shrink: 0; }
.area-note a { color: var(--orange); font-weight: 600; }

/* ============================================================
   ESTIMATE FORM
   ============================================================ */
.estimate-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.estimate-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.estimate-info > p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.estimate-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.estimate-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.estimate-benefits li svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.estimate-benefits em { color: rgba(255,255,255,.6); font-style: normal; }

.estimate-alt {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  line-height: 1.6;
}
.estimate-alt svg { color: var(--orange); flex-shrink: 0; margin-top: 3px; }

/* Form card */
.estimate-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}
.form-section-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-500);
  margin-bottom: 16px;
  margin-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.form-section-title:first-child { margin-top: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 0; }

label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin-bottom: 6px;
}
.label-hint {
  flex-basis: 100%;
  font-size: .8rem;
  font-weight: 400;
  color: var(--gray-500);
}
.required { color: var(--red); }

select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  cursor: pointer;
}
select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
input.invalid { border-color: var(--red); }
input.invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.15); }
textarea { resize: vertical; min-height: 96px; }

.field-error {
  font-size: .8rem;
  color: var(--red);
  font-weight: 500;
  min-height: 18px;
}

/* Window count alert */
.window-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: .875rem;
  color: #92400E;
  margin-top: 8px;
  line-height: 1.55;
}
.window-alert.show { display: flex; }
.window-alert svg { flex-shrink: 0; color: var(--orange); margin-top: 1px; }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
  position: relative;
}
.upload-zone:hover,
.upload-zone.dragging {
  border-color: var(--orange);
  background: var(--orange-light);
}
.upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-content svg { color: var(--gray-300); margin: 0 auto 12px; }
.upload-zone:hover .upload-content svg,
.upload-zone.dragging .upload-content svg { color: var(--orange); }
.upload-content p { color: var(--gray-500); font-size: .9rem; line-height: 1.5; }
.upload-browse { color: var(--orange); font-weight: 600; }
.upload-hint { font-size: .78rem !important; color: var(--gray-300) !important; margin-top: 4px; }
.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-start;
}
.preview-img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
}
.preview-count {
  font-size: .85rem;
  color: var(--gray-500);
  margin-top: 8px;
  font-weight: 500;
}

/* Submit btn and states */
#submitBtn { padding: 16px; font-size: 1rem; margin-top: 8px; }
.spinner {
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 16px;
  color: #065F46;
}
.form-success svg { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.form-success strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.form-success p { font-size: .875rem; color: #047857; }

.form-error {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  color: #991B1B;
  font-size: .875rem;
}
.form-error svg { color: var(--red); flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--orange); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  gap: 16px;
  user-select: none;
  transition: background var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '';
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.faq-item[open] .faq-question { color: var(--orange); }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--gray-500);
  font-size: .95rem;
  line-height: 1.7;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #FB923C 100%);
  padding: 80px 0;
}
.cta-content {
  text-align: center;
}
.cta-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { color: var(--white); }
.footer-tagline {
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}
.footer h4 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--orange); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.footer-contact svg { color: var(--orange); flex-shrink: 0; }
.footer-hours ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-hours li {
  display: flex;
  font-size: .875rem;
  gap: 12px;
  font-weight: 600;
  color: var(--white);
}
.footer-hours li span { white-space: nowrap; }
.footer-hours li span:first-child { color: rgba(255,255,255,.55); min-width: 64px; }
.footer-hours li span:last-child { font-weight: 600; color: rgba(255,255,255,.85); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(249,115,22,.45);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 999;
}
.sticky-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249,115,22,.5);
}

/* ============================================================
   RESPONSIVE — Tablet (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-phone  { display: none; }
  .nav-actions .btn-sm { display: none; } /* "Free Estimate" is in mobile menu */
  .nav-container { justify-content: space-between; }
  .navbar .nav-logo svg { width: 36px; height: 36px; }
  .logo-text { font-size: 1.18rem; }
  .logo-formerly { font-size: .62rem; }

  /* Give navbar a solid bg when the mobile menu is open */
  .navbar:has(.hamburger.open) {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,.1);
  }
  .navbar:has(.hamburger.open) .hamburger span { background: var(--gray-700); }
  .navbar:has(.hamburger.open) .nav-logo .logo-text { color: var(--navy); }

  .section { padding: 72px 0; }

  .cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .colors-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .estimate-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; padding: 16px; }
  .stat-divider { display: none; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

  /* Focus hero image on the big window for portrait mobile */
  .hero { background-position: center center, 65% 45%; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  .hero-trust { flex-direction: column; align-items: center; gap: 14px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .estimate-form-card { padding: 28px 20px; }

  .colors-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: 1fr; }

  .gallery-pair { grid-template-columns: 1fr; }

  .stats-grid { flex-direction: column; }
  .stat-item { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .stat-item:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }

  .sticky-cta { bottom: 20px; right: 20px; padding: 12px 18px; font-size: .85rem; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 140px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.page-banner p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}
.page-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.page-breadcrumb a { color: var(--orange); text-decoration: none; }
.page-breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Active nav link ── */
.nav-links a.nav-active { color: var(--orange) !important; }
.nav-links a.nav-active::after { transform: scaleX(1) !important; }

/* ============================================================
   BEFORE/AFTER SLIDER
   ============================================================ */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: col-resize;
  user-select: none;
  touch-action: pan-y;
  aspect-ratio: 4/3;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ba-before img,
.ba-after img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.ba-circle {
  width: 46px; height: 46px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  position: relative;
  z-index: 1;
  color: var(--navy);
  flex-shrink: 0;
}
/* Labels are direct children of .ba-slider, NOT inside the clipped .ba-after */
.ba-before-label,
.ba-after-label {
  position: absolute;
  bottom: 14px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 100px;
  pointer-events: none;
  z-index: 5;
}
.ba-before-label { left: 12px; right: auto; background: rgba(0,0,0,.55); color: rgba(255,255,255,.9); }
.ba-after-label  { right: 12px; left: auto; background: var(--orange); color: var(--white); }
.ba-drag-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  pointer-events: none;
  opacity: 1;
  transition: opacity .4s;
  z-index: 15;
  background: rgba(0,0,0,.4);
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.ba-slider.interacted .ba-drag-hint { opacity: 0; pointer-events: none; }

/* ── Gallery carousel ── */
.gallery-carousel { position: relative; }
.carousel-track-wrap { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.carousel-slide { min-width: 100%; flex-shrink: 0; }
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-700);
  transition: all var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.carousel-dot.active { background: var(--orange); width: 22px; border-radius: 4px; }
.carousel-counter {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
  min-width: 38px;
  text-align: center;
}

.gallery-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.gallery-pair-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.slider-card { display: flex; flex-direction: column; }

/* ── Home teaser sliders ── */
.teaser-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.teaser-cta { text-align: center; }

/* ============================================================
   ANIMATED STAT COUNTER
   ============================================================ */
.stat-number { transition: transform .2s; }
.stat-number.counted { animation: statPop .35s ease-out; }
@keyframes statPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ============================================================
   SUNLIGHT ANIMATION DEMO
   ============================================================ */
.sun-demo-wrap {
  background: var(--navy);
  padding: 80px 0;
}
.sun-demo {
  display: flex;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.sun-outside {
  flex: 1;
  background: linear-gradient(150deg, #FFFBEB 0%, #FDE68A 35%, #F59E0B 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 28px;
}
.sun-ray {
  position: absolute;
  width: 3px;
  height: 200%;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,150,.5) 50%, transparent 100%);
  top: -50%;
  transform: rotate(-28deg);
  animation: raySlide 2.8s ease-in-out infinite;
}
.sun-ray:nth-child(1) { left: 8%;  width: 3px; animation-delay: 0s; }
.sun-ray:nth-child(2) { left: 19%; width: 5px; animation-delay: .5s; }
.sun-ray:nth-child(3) { left: 31%; width: 2px; animation-delay: 1s; }
.sun-ray:nth-child(4) { left: 44%; width: 4px; animation-delay: .25s; }
.sun-ray:nth-child(5) { left: 57%; width: 3px; animation-delay: .75s; }
.sun-ray:nth-child(6) { left: 70%; width: 5px; animation-delay: 1.4s; }
.sun-ray:nth-child(7) { left: 83%; width: 2px; animation-delay: .9s; }
.sun-ray:nth-child(8) { left: 92%; width: 4px; animation-delay: 1.8s; }
@keyframes raySlide {
  0%   { transform: rotate(-28deg) translateX(-80px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: rotate(-28deg) translateX(80px); opacity: 0; }
}
.sun-screen-barrier {
  width: 72px;
  background: var(--navy-mid);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sun-screen-barrier::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.2) 1.5px, transparent 1.5px);
  background-size: 7px 7px;
}
.sun-screen-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  position: relative;
  z-index: 1;
}
.sun-inside {
  flex: 1;
  background: linear-gradient(150deg, #EFF6FF 0%, #DBEAFE 50%, #BFDBFE 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 28px;
}
.sun-inside::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,240,180,.12), transparent);
  pointer-events: none;
}
/* Subtle muted rays on interior */
.sun-inside-ray {
  position: absolute;
  width: 2px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,200,.12), transparent);
  top: -50%;
  transform: rotate(-28deg);
  animation: raySlide 2.8s ease-in-out infinite;
  opacity: 0.4;
}
.sun-inside-ray:nth-child(1) { left: 20%; animation-delay: 0s; }
.sun-inside-ray:nth-child(2) { left: 55%; animation-delay: 1.4s; }
.sun-inside-ray:nth-child(3) { left: 80%; animation-delay: .7s; }

.sun-zone-info { text-align: center; position: relative; z-index: 1; }
.sun-temp {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.sun-desc {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  opacity: .6;
  margin-top: 4px;
}
.sun-outside .sun-temp { color: #92400E; }
.sun-outside .sun-desc { color: #92400E; opacity: .7; }

.sun-badges {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
}
.sun-badge {
  background: rgba(11,29,53,.85);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid rgba(249,115,22,.3);
  text-align: center;
}

/* ============================================================
   COLOR VISUALIZER
   ============================================================ */
.visualizer-wrap {
  background: var(--navy);
  padding: 80px 0;
}
.visualizer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.viz-canvas-wrap {
  border: 2px dashed rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: border-color .2s;
  background: var(--navy-mid);
}
.viz-canvas-wrap:hover { border-color: var(--orange); }
.viz-canvas-wrap.has-image { border-style: solid; border-color: rgba(255,255,255,.2); }
.viz-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,.35);
  text-align: center;
  padding: 28px;
  pointer-events: none;
}
.viz-placeholder-inner svg { opacity: .4; }
.viz-placeholder-inner p { font-size: .9rem; line-height: 1.55; }
.viz-placeholder-inner strong { display: block; font-size: 1rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.viz-base-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.viz-overlay {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  transition: background .4s;
  pointer-events: none;
  opacity: 0;
}
.viz-overlay.visible { opacity: 1; }
.viz-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}
.viz-controls { color: var(--white); }
.viz-controls h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
.viz-controls > p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.viz-color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.viz-color-btn {
  background: rgba(255,255,255,.05);
  border: 2px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 10px;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
  font-family: inherit;
}
.viz-color-btn:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.viz-color-btn.active { border-color: var(--orange); background: rgba(249,115,22,.12); }
.viz-swatch {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 7px;
}
.viz-swatch img { width: 100%; height: 100%; object-fit: cover; }
.viz-color-name { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; }
.viz-color-btn.active .viz-color-name { color: var(--orange); }
.viz-note { font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.6; }

/* ============================================================
   SOCIAL ICONS (footer)
   ============================================================ */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.05);
}
.social-icon:hover { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.social-icon.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-icon.yelp:hover     { background: #D32323; border-color: #D32323; }
.social-icon.google:hover   { background: #4285F4; border-color: #4285F4; }

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-stars {
  display: flex;
  gap: 3px;
  color: #FBBF24;
}
.review-stars svg { flex-shrink: 0; }
.review-text {
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.7;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.review-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-900);
}
.review-source {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 1px;
}
.review-source svg { color: #4285F4; }
.reviews-cta {
  text-align: center;
  margin-top: 40px;
}
.reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
}
.reviews-cta a:hover { text-decoration: underline; }

/* ============================================================
   3-STEP ESTIMATE FORM
   ============================================================ */
.form-progress { margin-bottom: 32px; }
.progress-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.progress-track-line {
  position: absolute;
  top: 15px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.progress-track-fill {
  position: absolute;
  top: 15px;
  left: 15%;
  height: 2px;
  background: var(--orange);
  z-index: 0;
  width: 0%;
  transition: width .4s ease;
}
.progress-step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 30%;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: all .3s;
}
.step-done-check { display: none; }
.progress-step-item.step-active .step-dot {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}
.progress-step-item.step-done .step-dot {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}
.progress-step-item.step-done .step-dot .step-num { display: none; }
.progress-step-item.step-done .step-dot .step-done-check { display: block; }
.step-label-text {
  font-size: .7rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}
.progress-step-item.step-active .step-label-text,
.progress-step-item.step-done .step-label-text { color: var(--orange); }

.form-step { display: none; }
.form-step.active { display: block; }
.step-subtitle {
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  margin-top: -4px;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.btn-step-back {
  background: none;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--gray-500);
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}
.btn-step-back:hover { border-color: var(--gray-500); color: var(--gray-700); }
.btn-step-next {
  background: var(--orange);
  border: none;
  border-radius: var(--radius);
  color: var(--white);
  padding: 12px 24px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-step-next:hover { background: var(--orange-dark); }

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .step-label-text { display: none; }
  .step-dot { width: 28px; height: 28px; font-size: .72rem; }
  .progress-track-line, .progress-track-fill { top: 13px; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.lb-overlay.open { display: flex; }
.lb-close {
  position: fixed;
  top: 16px; right: 20px;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9002;
  transition: background var(--transition);
  touch-action: manipulation;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9002;
  transition: background var(--transition);
  touch-action: manipulation;
}
.lb-btn:hover:not(:disabled) { background: rgba(255,255,255,.25); }
.lb-btn:disabled { opacity: .25; cursor: default; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 72px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.lb-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  font-weight: 600;
  pointer-events: none;
}
/* SMS/text buttons: only show on tablet & mobile */
.sms-btn { display: none !important; }
@media (max-width: 900px) {
  .sms-btn { display: inline-flex !important; }
}

.gallery-img-wrap { cursor: zoom-in; }
.gallery-img-wrap img { transition: opacity .2s ease; }
.gallery-img-wrap:hover img { opacity: .88; }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 900px) {
  .gallery-sliders { grid-template-columns: 1fr; }
  .teaser-sliders  { grid-template-columns: 1fr; }
  .visualizer-layout { grid-template-columns: 1fr; }
  .sun-demo { height: 260px; }
  .sun-screen-text { font-size: .55rem; }
}
@media (max-width: 600px) {
  .viz-color-grid { grid-template-columns: repeat(2, 1fr); }
  .sun-demo { flex-direction: column; height: auto; }
  .sun-outside, .sun-inside { height: 180px; flex: none; }
  .sun-screen-barrier { width: 100%; height: 48px; }
  .sun-screen-text { writing-mode: horizontal-tb; transform: none; }
  .sun-badges { display: none; }
}

/* ============================================================
   WINDOW DESIGNER
   ============================================================ */
.window-designer-section {
  background: var(--navy);
  padding: 80px 0;
}
.window-designer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Scene / wall environment */
.designer-scene {
  background: linear-gradient(180deg, #8FA8BF 0%, #A8BFCF 60%, #B8C8D5 100%);
  border-radius: var(--radius-xl);
  padding: 56px 32px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
/* Siding lines */
.designer-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0px, transparent 20px,
    rgba(0,0,0,.04) 20px, rgba(0,0,0,.04) 21px
  );
}

/* Window unit */
.window-unit {
  position: relative;
  z-index: 1;
  width: 340px;
  padding: 16px;
  border-radius: 4px;
  transition: background-color .35s;
  /* Frame depth */
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.15),
    inset 0 2px 4px rgba(0,0,0,.18),
    0 12px 40px rgba(0,0,0,.35),
    0 2px 6px rgba(0,0,0,.2);
}

/* Grid of panes: 2 cols × 2 rows */
.window-panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;  /* gap = the dividers */
}

.window-pane {
  position: relative;
  height: auto;
  min-height: 70px;
  flex: 1;
  overflow: hidden;
  border-radius: 2px;
  /* Glass */
  background: linear-gradient(135deg, #B8D8EC 0%, #9EC8E0 50%, #A8D0E8 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), inset 0 1px 6px rgba(0,0,0,.2);
}
/* Glass glare */
.window-pane::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 35%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,.18), transparent);
  pointer-events: none;
  z-index: 3;
}

.pane-screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background-color .4s;
  /* Default: black screen */
  background-color: rgba(12,12,12,.58);
  /* Mesh texture */
  background-image:
    repeating-linear-gradient(0deg,   rgba(0,0,0,.07) 0px, rgba(0,0,0,.07) 1px, transparent 1px, transparent 5px),
    repeating-linear-gradient(90deg,  rgba(0,0,0,.07) 0px, rgba(0,0,0,.07) 1px, transparent 1px, transparent 5px);
}

/* ── Designer controls ── */
.designer-controls { color: var(--white); }
.designer-controls h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.designer-controls > p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.control-group { margin-bottom: 28px; }
.control-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Frame color dots */
.frame-swatch {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.12);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.frame-swatch:hover  { border-color: rgba(255,255,255,.45); transform: scale(1.1); }
.frame-swatch.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.35); }
.frame-swatch .fw-tip {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .62rem;
  white-space: nowrap;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  opacity: 0;
  transition: opacity .15s;
  pointer-events: none;
}
.frame-swatch:hover .fw-tip { opacity: 1; }

/* Screen color tiles */
.screen-swatch-btn {
  background: none;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  transition: all .2s;
  overflow: hidden;
  width: 72px;
  font-family: inherit;
}
.screen-swatch-btn:hover  { border-color: rgba(255,255,255,.4); transform: scale(1.05); }
.screen-swatch-btn.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(249,115,22,.3); }
.screen-swatch-btn img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.screen-swatch-lbl {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 5px 4px;
  background: rgba(0,0,0,.3);
  display: block;
}
.screen-swatch-btn.active .screen-swatch-lbl { color: var(--orange); }

.designer-note {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  margin-top: 8px;
}

/* ============================================================
   FRAME COLORS SECTION
   ============================================================ */
.frame-colors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.frame-color-card { text-align: center; }
.frame-swatch-display {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(0,0,0,.12);
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.frame-color-card:hover .frame-swatch-display {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.frame-color-name {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.frame-color-hint {
  display: block;
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.55;
}
.frame-colors-note {
  text-align: center;
  color: var(--gray-500);
  font-size: .95rem;
  margin-top: 8px;
}

/* Preview button in estimate form */
.preview-btn-wrap { margin-top: 22px; }
.preview-open-btn {
  width: 100%;
  padding: 11px 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--orange);
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  text-align: center;
}
.preview-open-btn:hover {
  border-color: var(--orange);
  background: var(--orange-light);
}
.preview-open-btn-hint { font-size: .75rem; color: var(--gray-400); margin-top: 5px; text-align: center; }

/* ============================================================
   CUSTOMIZER MODAL
   ============================================================ */
.customizer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lbFadeIn .2s ease;
}
.customizer-modal-overlay.hidden { display: none; }

.customizer-modal {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  animation: lbZoomIn .22s ease;
}
.customizer-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  font-family: var(--font);
  flex-shrink: 0;
}
.customizer-modal-close:hover { background: rgba(255,255,255,.22); }

.customizer-modal-header { margin-bottom: 28px; padding-right: 40px; }
.customizer-modal-header h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.customizer-modal-header p {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}

.customizer-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

/* Mini scene inside modal */
.cust-scene {
  background: linear-gradient(180deg, #8FA8BF 0%, #A8BFCF 60%, #B8C8D5 100%);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cust-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg, transparent 0px, transparent 20px, rgba(0,0,0,.04) 20px, rgba(0,0,0,.04) 21px);
}

/* Reuse window-unit styles, just give modal unit its own id */
#custWindowUnit {
  width: 100%;
  max-width: 240px;
}

.cust-controls { color: var(--white); }
.cust-controls .control-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}
.cust-control-group { margin-bottom: 22px; }

.cust-frame-swatch {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.12);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.cust-frame-swatch:hover { border-color: rgba(255,255,255,.45); transform: scale(1.1); }
.cust-frame-swatch.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.35); }

.cust-screen-swatch {
  background: none;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all .2s;
  overflow: hidden;
  width: 60px;
  font-family: inherit;
}
.cust-screen-swatch:hover { border-color: rgba(255,255,255,.4); transform: scale(1.05); }
.cust-screen-swatch.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(249,115,22,.3); }
.cust-screen-swatch img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cust-screen-swatch-lbl {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 4px 2px;
  background: rgba(0,0,0,.3);
  display: block;
}
.cust-screen-swatch.active .cust-screen-swatch-lbl { color: var(--orange); }

.cust-selection-tag {
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-top: 16px;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
  display: none;
}
.cust-selection-tag.show { display: block; }
.cust-selection-tag strong { color: var(--orange); }

.customizer-modal-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cust-cancel-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: rgba(255,255,255,.7);
  padding: 11px 22px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.cust-cancel-btn:hover { background: rgba(255,255,255,.14); }
.cust-confirm-btn {
  background: var(--orange);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  padding: 11px 26px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.cust-confirm-btn:hover { background: var(--orange-dark); }

@media (max-width: 640px) {
  .customizer-modal { padding: 28px 18px 24px; }
  .customizer-modal-body { grid-template-columns: 1fr; gap: 28px; }
  .cust-scene { padding: 24px 16px 20px; }
  #custWindowUnit { max-width: 200px; }
  .customizer-modal-footer { justify-content: stretch; }
  .cust-cancel-btn, .cust-confirm-btn { flex: 1; text-align: center; }
}

@media (max-width: 900px) {
  .window-designer { grid-template-columns: 1fr; }
  .designer-scene  { min-height: 340px; }
  .window-unit     { width: 280px; }
  .window-top-row  { height: 170px; }
  .window-bottom-row { height: 120px; }
  .frame-colors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .window-unit { width: 240px; }
  .window-top-row { height: 140px; }
  .window-bottom-row { height: 100px; }
  .screen-swatch-btn { width: 60px; }
  .frame-colors-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .designer-scene { padding: 40px 20px 32px; }
}

/* ============================================================
   WINDOW DESIGNER — REALISTIC SHAPE
   ============================================================ */
.window-unit {
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background-color .35s;
}
.window-top-row,
.window-bottom-row {
  display: flex;
  gap: 10px;
}
.window-top-row  { height: 210px; }
.window-bottom-row { height: 150px; }
.window-meeting-rail { height: 13px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: lbFadeIn .2s ease;
}
.lightbox-overlay.hidden { display: none; }
@keyframes lbFadeIn { from { opacity:0; } to { opacity:1; } }
.lightbox-img {
  max-width: min(90vw, 800px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  animation: lbZoomIn .22s ease;
}
@keyframes lbZoomIn { from { transform: scale(.94); opacity:.6; } to { transform: scale(1); opacity:1; } }
.lightbox-label {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* make color swatches show pointer */
.color-card { cursor: zoom-in; }

/* Screen swatch button lightbox trigger */
.screen-swatch-btn { cursor: pointer; }

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .hero-sun { width: 150px; height: 150px; top: 8%; right: 5%; }
  .hero-sun-core { width: 42px; height: 42px; }
  .hero-screen-hint { display: none; }
}
@media (max-width: 600px) {
  .hero-sun { display: none; }
}
