.footer__services-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-service-rotator {
  position: relative;
  min-height: 40px;
}

.footer-service-rotator li {
  list-style: none;
  position: absolute;
  inset: 0;
}

.footer-service-rotator__link {
  display: inline-block;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* 🔥 IMPORTANTE FIX */
.footer-service-rotator__link.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 🔥 permitir click SIEMPRE */
.footer-service-rotator__link {
  pointer-events: auto;
}

.footer-service-rotator__link:hover {
  color: #4FC3F7;
}

.offcanvas-service-rotator {
  position: relative;
  min-height: 34px;
  margin-top: 14px;
  overflow: hidden;
}

.offcanvas-service-rotator__link {
  position: absolute;
  inset: 0 auto auto 0;
  color: #071f38;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.3s ease;
}

.offcanvas-service-rotator__link.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.offcanvas-service-rotator__link.leaving {
  opacity: 0;
  transform: translateY(-12px);
}

.offcanvas-service-rotator__link:hover {
  color: #4FC3F7;
}
.services__icon img {
  width: 69px;
  height: 69px;
  object-fit: contain;
}



/* 404 */
/* ============================= */
/* Dream Remodel LA 404 (Optimized) */
/* ============================= */

.dream-404 {
    position: relative;
    overflow: hidden;
    padding: 100px 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0E104B 0%, #4c98cf 120%);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* subtle grid overlay */
.dream-404::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* CONTENT */
.dream-404__content {
    max-width: 600px;
    animation: fadeUp 0.8s ease both;
}

.dream-404__badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dream-404__title {
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.dream-404__text {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 30px;
}

/* BUTTONS */
.dream-404__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dream-404__btn {
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dream-404__btn-primary {
    background: #fff;
    color: #0E104B;
}

.dream-404__btn-primary:hover {
    transform: translateY(-3px);
}

.dream-404__btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.dream-404__btn-outline:hover {
    background: #4c98cf;
    border-color: #4c98cf;
}

/* LINKS */
.dream-404__links {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

.dream-404__links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.dream-404__links a:hover {
    color: #fff;
}

/* VISUAL */
.dream-404__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dream-404__number {
    font-size: clamp(100px, 15vw, 200px);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.7);
    animation: floatY 4s ease-in-out infinite;
}

.dream-404__zero {
    width: clamp(90px, 13vw, 160px);
    height: clamp(90px, 13vw, 160px);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SIMPLE HOUSE ICON (cleaner) */
.dream-404__house {
    width: 50px;
    height: 50px;
    position: relative;
}

.dream-404__roof {
    position: absolute;
    top: 0;
    left: 50%;
    width: 35px;
    height: 35px;
    background: #4c98cf;
    transform: translateX(-50%) rotate(45deg);
}

.dream-404__body {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 30px;
    height: 25px;
    background: #fff;
    transform: translateX(-50%);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatY {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .dream-404 {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 80px 20px;
    }

    .dream-404__actions {
        justify-content: center;
    }

    .dream-404__links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .dream-404 {
        padding: 60px 15px;
    }

    .dream-404__actions {
        flex-direction: column;
    }

    .dream-404__btn {
        width: 100%;
        text-align: center;
    }
}


/* responsive */

@media (max-width: 768px) {
  .slider__content .title,
  .cta__content .title,
  .breadcrumb__content .title,
  .footer__cta-wrap .title{
    font-size: 30px !important;
  }

  .section__title .title,
  .sidebar__contact-content .title,
  .project-details-content .title,
  .project-details-content .title-two,
  .faq__wrap .title-two{
    font-size: 25px !important;
  }

  .project__content .title{
    font-size: 21px !important;
  }

  .counter__item .count {
    font-size: 35px !important;
  }

  .offCanvas__title{
    text-align: center;
    margin-top: 25px;
  }

  .offcanvas-service-rotator__link{
    padding-left: 25px !important;
  }
}

@media (max-width: 426px) {
    .slider__content .title, .cta__content .title,
    .breadcrumb__content .title,
    .footer__cta-wrap .title{
        font-size: 28px !important;
    }

    .section__title .title,
    .sidebar__contact-content .title,
    .project-details-content .title,
    .project-details-content .title-two,
    .faq__wrap .title-two{
        font-size: 23px !important;
    }

    .footer__top .container .row{
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 376px) {
    .slider__content .title, .cta__content .title,
    .breadcrumb__content .title,
    .footer__cta-wrap .title{
        font-size: 25px !important;
    }

    .section__title .title,
    .sidebar__contact-content .title,
    .project-details-content .title,
    .project-details-content .title-two,
    .faq__wrap .title-two{
        font-size: 21px !important;
    }

    .services__icon{
        text-align: center;
    }

    .services__content .title a br,
    .services__content-three .title a br {
        display: none !important;
    }

    .success__rate-box .count{
        font-size: 30px !important;
    }

    .marquee__item {
        font-size: 14px;
    }

    .counter__item .count{
        font-size: 28px !important;
    }

    .footer__social li a{
        font-size: 18px !important;
    }

    .choose__item-wrap{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .choose__item{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faq__wrap-two .accordion-button,
    .services__details-content .title-two,
    .about__list-wrap-three li{
        font-size: 16px !important;
    }

}

@media (max-width: 320px) {
    .slider__content .title,
    .cta__content .title,
    .breadcrumb__content .title,
    .footer__cta-wrap .title{
        font-size: 20px !important;
    }

    .section__title .title,
    .services__details-content .title,
    .sidebar__contact-content .title,
    .project-details-content .title,
    .project-details-content .title-two,
    .faq__wrap .title-two{
        font-size: 18px !important;
    }

    .services__content .title,
    .project__content .title{
        font-size: 16px !important;
    }

    .counter__item .count{
        font-size: 24px !important;
    }

    .testimonial__item p,
    .work__content .title{
        font-size: 16px !important;
    }

    .services__content-three .title,
    .project__content-two .title,
    .services__details-content .title-two,
    .about__list-wrap-three li,
    .faq__wrap-three .accordion-button,
    .faq__wrap-four .accordion-button{
        font-size: 14px !important;
    }

    .contact__info-item{
        display: flex;
        flex-direction: column;
    }

    .contact__info-item .content{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.form-grp select{
    width: 100%;
    background: var(--tg-color-gray-3);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
    border: none;
    font-weight: 400;
    font-size: 15px;
    display: block;
    color: var(--tg-heading-color);
    padding: 15px 23px;
    height: 50px;
}