.residential-hero-media {
  display: grid;
  gap: var(--space-12);
}

.residential-hero-image-wrapper,
.residential-smart-image-wrapper,
.residential-projects-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-sm);
}

.residential-hero-image-wrapper img,
.residential-smart-image-wrapper img,
.residential-projects-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residential-hero-stats {
  align-self: start;
}

.residential-intro-grid {
  align-items: flex-start;
  gap: var(--space-20);
}

.residential-scope-card {
  align-self: stretch;
}

.residential-safety-section {
  background-color: var(--color-surface);
}

.residential-safety-grid {
  gap: var(--space-20);
}

.residential-safety-cards {
  gap: var(--space-12);
}

.residential-safety-list-card {
  align-self: center;
}

.residential-lighting-section {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), #020617);
}

.residential-lighting-grid {
  gap: var(--space-20);
}

.residential-lighting-card,
.residential-modernization-card {
  height: 100%;
}

.residential-smart-section {
  background-color: var(--color-surface);
}

.residential-smart-grid {
  gap: var(--space-20);
  align-items: center;
}

.residential-smart-card {
  margin-top: 0;
}

.residential-support-grid {
  gap: var(--space-20);
}

.residential-process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}

.residential-process-step {
  height: 100%;
}

.residential-projects-section {
  background-color: var(--color-surface);
}

.residential-projects-grid {
  gap: var(--space-20);
  align-items: center;
}

.residential-projects-highlight {
  margin-top: var(--space-6);
}

.residential-testimonials-grid {
  gap: var(--space-16);
}

.residential-howto-section {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.05), #020617);
}

.residential-howto-grid {
  gap: var(--space-20);
  align-items: flex-start;
}

.residential-howto-list {
  list-style: decimal;
  padding-left: 1.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.residential-howto-list li {
  margin-bottom: var(--space-4);
}

.residential-howto-cta {
  align-self: stretch;
}

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

@media (max-width: 768px) {
  .residential-hero-media {
    order: -1;
  }

  .residential-process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .residential-testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
