.res-services-section {
  background: var(--color-white);
}

.res-service-card {
  background: var(--color-bg-light);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-align: center;
}

.res-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: var(--color-accent);
}

.res-service-icon {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.res-service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.res-service-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin: 0;
}

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

.res-step {
  text-align: center;
  padding: 32px 20px;
}

.res-step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}

.res-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.res-step p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

.res-cta-section {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 72px 0;
}

.res-cta-section h2 {
  font-weight: 800;
  font-size: 2rem;
}

.res-cta-section p {
  font-size: 1.15rem;
  opacity: 0.85;
}

.res-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: background .2s;
  box-shadow: 0 6px 0 rgba(0,0,0,0.08);
}

.res-cta-phone:hover {
  background: var(--color-accent-glow);
  color: var(--color-white);
}

.res-cta-book {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.3);
  transition: background .2s, border-color .2s;
}

.res-cta-book:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

@media (max-width: 575.98px) {
  .res-cta-section h2 { font-size: 1.6rem; }
  .res-cta-phone, .res-cta-book { width: 100%; justify-content: center; }
}



/* ---------- Mobile: Original card layout (unchanged) ---------- */
.res-hero-mobile {
  display: block;
}

@media (min-width: 992px) {
  .res-hero-mobile { display: none !important; }
}

@media (max-width: 991.98px) {
  .residential-hero {
    background: #FFFDF8;
    padding-top: var(--mobile-nav-height);
    padding-bottom: 40px;
  }
  .res-hero-desktop { display: none !important; }
  .res-hero-mobile  { display: block; padding-top: var(--mobile-nav-height); }
}

.residential-hero-img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  border-radius: 24px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%);
  transform: translateX(30px);
}

@media (max-width: 991.98px) {
  .residential-hero-img {
    -webkit-mask-image: none;
    mask-image: none;
    transform: none;
    height: 400px; /* More appropriate height for mobile */
  }
}

/* Phase 3 - Services Grid */
.service-card-new {
  background: var(--color-white);
  border: 1px solid #ECECEC;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.service-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.service-card-img-wrapper {
  position: relative;
  height: 240px;
}
.service-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-icon-badge {
  position: absolute;
  bottom: -24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2;
}
.service-card-body {
  padding: 36px 24px 24px;
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin: 0;
}

/* Phase 5 - Process Timeline */
.timeline-icon-custom {
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--color-accent);
  font-size: 1.5rem;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.timeline-step:hover .timeline-icon-custom {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}
.timeline-connector-custom {
  position: absolute;
  top: 31px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: var(--color-accent);
  z-index: 1;
}
.timeline-connector-vertical-custom {
  position: absolute;
  top: 31px;
  left: 31px;
  height: calc(100% - 64px);
  width: 2px;
  background-color: var(--color-accent);
  z-index: 1;
}
