@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-hsl: 198, 100%, 45%; /* Logo Sky Blue #00a2e8 */
  --primary-hover-hsl: 198, 100%, 38%;
  --accent-hsl: 47, 100%, 50%; /* Logo Gold Yellow #ffc600 */
  --bg-dark-hsl: 36, 25%, 94.5%; /* Warm sandy cream instead of dark slate #f6eee3 */
  --bg-dark-light-hsl: 198, 25%, 91.5%; /* Slightly deeper muted light blue-gray for footer #e0ecf2 */
  --bg-light-hsl: 0, 0%, 100%; /* Pure White */
  --bg-light-alt-hsl: 200, 25%, 94.5%; /* Soft Sky-Blue alternate #eaf1f5 */
  --text-dark-hsl: 222, 47%, 11%; /* Dark slate text #0f172a */
  --text-muted-hsl: 220, 20%, 28%; /* Dark charcoal slate gray for excellent contrast (#3b4454) */
  --text-light-hsl: 222, 47%, 11%; /* Same as text-dark to make light sections dark text */
  --text-light-muted-hsl: 220, 20%, 32%; /* Same as text-muted (#454f60) */
  --border-light-hsl: 214, 32%, 91%;
  --border-dark-hsl: 200, 20%, 85%;
  
  /* Color Hex Equivalents */
  --primary: hsl(var(--primary-hsl));
  --primary-hover: hsl(var(--primary-hover-hsl));
  --accent: hsl(var(--accent-hsl));
  --bg-dark: hsl(var(--bg-dark-hsl));
  --bg-dark-light: hsl(var(--bg-dark-light-hsl));
  --bg-light: hsl(var(--bg-light-hsl));
  --bg-light-alt: hsl(var(--bg-light-alt-hsl));
  --text-dark: hsl(var(--text-dark-hsl));
  --text-muted: hsl(var(--text-muted-hsl));
  --text-light: hsl(var(--text-light-hsl));
  --text-light-muted: hsl(var(--text-light-muted-hsl));
  --border-light: hsl(var(--border-light-hsl));
  --border-dark: hsl(var(--border-dark-hsl));
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 25px rgba(249, 115, 22, 0.35);

  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & global styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

/* Subtle fading separator line between sections */
.section:not(:last-of-type)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light), transparent);
}

.section-bg-alt {
  background-color: var(--bg-light-alt);
}

.section-bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: hsla(var(--primary-hsl), 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.badge-dark {
  background-color: hsla(var(--primary-hsl), 0.08);
  color: var(--primary);
  border: 1px solid hsla(var(--primary-hsl), 0.15);
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4.5rem;
}

.section-bg-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--text-dark);
}

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

.btn-outline-dark {
  background-color: transparent;
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--text-light);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  background-color: hsla(var(--primary-hsl), 0.05);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  color: var(--text-dark);
}

.header.scrolled {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.header.scrolled-light {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo-container:hover {
  transform: translateY(-1px);
}

.logo-img {
  height: 2.75rem;
  width: auto;
  display: block;
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.4rem 0;
  opacity: 0.9;
  color: var(--text-dark);
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover {
  opacity: 1;
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.phone-link:hover {
  color: var(--primary);
}

.phone-link svg {
  color: var(--primary);
}

/* Mobile Navigation Menu - Hidden on Desktop */
.mobile-menu {
  display: none;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  position: relative;
  z-index: 1001;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--text-dark); /* Deeper fallback */
  color: #ffffff; /* Uniform white text for the dark hero fold */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.55); /* Uniform dark slate-blue shadow so house and text are both visible */
  z-index: 2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero .badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8); /* Highly legible light-muted description */
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hero .btn-outline-dark:hover {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-badges {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hero-badge-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.hero-badge-text strong {
  display: block;
  color: #ffffff;
}

.hero-badge-rating {
  display: flex;
  color: var(--accent);
  margin-bottom: 0.125rem;
}

/* Info Strips */
.trust-strip {
  background-color: var(--bg-dark-light);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

/* Logo Marquee Ticker */
.logo-marquee {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  display: block;
}

.logo-marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.logo-marquee-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8rem;
  padding-right: 8rem;
  flex-shrink: 0;
}

.logo-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-marquee-item img {
  height: 4rem;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-marquee-item img:hover {
  transform: scale(1.05);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.trust-item svg {
  color: var(--primary);
}

.trust-item-title {
  color: var(--text-light);
  font-weight: 600;
  font-family: var(--font-headings);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 3rem 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background-color: rgba(249, 115, 22, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: white;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.service-list-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: auto;
}

.service-link svg {
  transition: var(--transition);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Before / After Slider */
.slider-wrapper {
  background-color: var(--bg-dark-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 3rem;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.slider-info h3 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
}

.slider-info p {
  color: var(--text-light-muted);
  margin-bottom: 2rem;
}

.slider-bullets {
  list-style: none;
  margin-bottom: 2.5rem;
}

.slider-bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.slider-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background-color: rgba(249, 115, 22, 0.15);
  border-radius: 50%;
}

.slider-bullets li::after {
  content: '✓';
  position: absolute;
  left: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-before {
  z-index: 10;
}

.img-after {
  z-index: 5;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  z-index: 20;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(15, 23, 42, 0.4);
  pointer-events: none;
}

.slider-label {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  color: white;
  border-radius: var(--radius-sm);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 15;
}

.label-before {
  left: 1.5rem;
}

.label-after {
  right: 1.5rem;
}

/* CertainTeed Accreditation Section */
.certainteed-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

.certainteed-badge-card {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.certainteed-large-badge {
  max-width: 180px;
  height: auto;
  margin: 0 auto 1.75rem;
  display: block;
}

.badge-card-title {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.75rem;
  color: white;
  margin: 0 0 0.25rem;
  letter-spacing: -0.5px;
}

.badge-card-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 1.5rem;
}

.badge-card-divider {
  width: 4rem;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 auto 1.5rem;
}

.badge-card-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.certainteed-text-column {
  display: flex;
  flex-direction: column;
}

.certainteed-benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.certainteed-benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.certainteed-benefit-item .benefit-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-full);
  background-color: rgba(249, 115, 22, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.certainteed-benefit-item h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.certainteed-benefit-item p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
  margin: 0;
}

/* Insurance & Financing Section */
.financing-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

.financing-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.financing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.financing-card.insurance-card:hover {
  border-color: var(--text-dark);
}

.financing-icon-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.financing-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insurance-card .financing-icon {
  background-color: rgba(30, 41, 59, 0.08);
  color: var(--text-dark);
}

.financing-card-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0;
}

.financing-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 0;
}

.financing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.financing-features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-bullet {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background-color: rgba(249, 115, 22, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.insurance-card .feature-bullet {
  background-color: rgba(30, 41, 59, 0.06);
  color: var(--text-dark);
}

.financing-features strong {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.financing-features p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Portfolio / Project Gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.section-bg-dark .filter-btn {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light-muted);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.section-bg-dark .filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 10%, rgba(15, 23, 42, 0.2) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.25rem;
}

.gallery-category {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Testimonials Carousel */
.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card-item {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card-item::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 3rem;
  font-size: 8rem;
  font-family: var(--font-headings);
  font-weight: 900;
  color: rgba(249, 115, 22, 0.08);
  line-height: 1;
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.testimonial-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.testimonial-author {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.carousel-btn {
  background: white;
  border: 1px solid var(--border-light);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* FAQ Accordion */
.faq-layout {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.faq-header {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-content {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* Contact Section & Form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: rgba(249, 115, 22, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-card-detail {
  color: var(--text-muted);
}

.contact-card-detail a:hover {
  color: var(--primary);
}

.contact-form-container {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
}

.form-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / span 2;
}

.form-input {
  width: 100%;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-light-alt);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.form-group label {
  position: absolute;
  top: 1.125rem;
  left: 1.25rem;
  color: var(--text-muted);
  transition: var(--transition);
  pointer-events: none;
  font-weight: 500;
}

/* Floating Label Animations */
.form-input:focus ~ label,
.form-input:not(:placeholder-shown) ~ label {
  top: -0.625rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background-color: white;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: var(--radius-lg);
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  animation: scaleUp 0.5s ease-out;
}

.success-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.success-text {
  color: var(--text-muted);
}

/* Locations Map Area */
.locations-section {
  padding-bottom: 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.locations-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.location-tag {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light-muted);
  transition: var(--transition);
  text-decoration: none;
}

.location-tag:hover {
  border-color: var(--primary);
  color: white;
  background-color: rgba(249, 115, 22, 0.08);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-dark);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background-color: var(--bg-dark-light);
  color: var(--text-dark);
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--primary);
}

.footer-about p {
  color: var(--text-muted);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsla(var(--primary-hsl), 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer-contact-item strong {
  display: block;
  color: var(--text-dark);
}

.footer-badges {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.footer-badge-img {
  max-height: 50px;
  opacity: 0.75;
  transition: var(--transition);
}

.footer-badge-img:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Animations Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframe Animations */
@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-badges {
    justify-content: flex-start;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .certainteed-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .financing-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  
  /* Mobile Navigation Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: var(--transition-slow);
  }
  
  .mobile-menu.active {
    transform: translateY(0);
  }
  
  .mobile-menu .nav-link {
    font-size: 1.5rem;
    color: white;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .locations-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .testimonial-card-item {
    padding: 2.5rem 1.5rem;
  }
  .testimonial-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .locations-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Google Reviews Summary & Styling overrides */
.google-reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: -1.5rem auto 4.5rem;
  background-color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  max-width: fit-content;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.google-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-dark);
}

.google-brand svg {
  color: #4285F4; /* Google Blue */
}

.google-rating-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-num {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.stars-gold {
  color: var(--accent); /* #F59E0B Gold */
  font-weight: 700;
}

.reviews-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.google-badge-card {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  background-color: #4285F4;
  color: white;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* FAQ Dark Section styling overrides */
.section-bg-dark .faq-question {
  color: var(--text-light);
}

.section-bg-dark .faq-icon::before,
.section-bg-dark .faq-icon::after {
  background-color: var(--text-light);
}

.section-bg-dark .faq-item {
  border-bottom-color: var(--border-dark);
}

.section-bg-dark .faq-content {
  color: var(--text-light-muted);
}

/* Locations Collapsible Styles */
.btn-toggle-locations {
  background: none;
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-toggle-locations:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: hsla(var(--primary-hsl), 0.05);
}

.btn-toggle-locations.active svg {
  transform: rotate(180deg);
}

.locations-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
