/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: #ea5f00 !important;
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: #ea5f00 !important;
}

/*** Navbar Start ***/
.header-top .topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: #ea5f00 !important;
}

.header-top .topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 12px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

.header-top {
    height: 125px;
    position: relative;
}

.header-top::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 16%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-white);
    z-index: 1;
}

@media (min-width: 992px) {
    .header-top::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 45px;
        top: 0;
        right: 0;
        background: var(--bs-dark);
        z-index: -1;
    }

    .navbar-brand-2 {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-top {
        max-height: 80px;
    }

    .navbar {
        justify-content: space-between;
    }

    .header-top .container {
        max-height: 80px;
    }

    .navbar-brand {
        display: none;
    }

    .navbar-brand-2 {
        position: relative;
        overflow: hidden;
        width: 200px;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        z-index: 99;
    }

    .navbar-brand-2::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-white);
        transform: rotate(-18deg);
        z-index: -1;
    }

    .navbar-brand-2::after {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 5px;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-white);
        transform: rotate(-18deg);
        z-index: -1;
    }

    .navbar.navbar-light {
        height: 100%;
        padding: 0;
    }

    .navbar .navbar-collapse {
        margin-top: -20px;
    }

}

.nav-bar .navbar {
    z-index: 9;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #ea5f00 !important;
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 12px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        margin-left: 50px;
        background: var(--bs-light);
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        flex-direction: column;
    }

    .navbar .navbar-nav .nav-btn a.btn {
        margin-right: 15px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid #ea5f00 !important;
        color: #ea5f00 !important;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: #ea5f00 !important;
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 19px;
        background: var(--bs-white);
        transition: .5s;
        opacity: 1;
    }

    .header-top .navbar-brand {
        position: relative;
        overflow: hidden;
        padding: 40px 50px 40px 0;
        z-index: 99;
    }

    .navbar-brand::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 300px;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-white);
        transform: rotate(-18deg);
        z-index: -1;
    }

    .navbar-brand::after {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 5px;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-white);
        transform: rotate(-18deg);
        z-index: -1;
    }
}

/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
/* .hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/slide-start-1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;

}

.hero-section2 {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/logo-oroginal.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;

} */



/* Tablet */
@media (max-width: 991px) {
    .hero-section {
        height: 500px;
    }
}

/* MOBILE */
@media (max-width: 576px) {

    .hero-section,
    .hero-section2 {
        height: auto;
        /* 🔥 clave */
        min-height: 400px;


        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;

        background-color: transparent;
        /* 🔥 quita negro */
    }

    .carousel-caption {
        text-align: center;
        padding: 20px;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }

    .carousel-caption h4 {
        font-size: 14px;
    }

    .carousel-caption p {
        font-size: 14px;
    }


}

/*** Carousel Hero Header Start ***/
.header-swiper,
.header-swiper .swiper-slide {
    height: 700px;
}

@media (max-width: 768px) {

    .header-swiper,
    .header-swiper .swiper-slide {
        height: 600px;
    }
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

/*** Single Page Hero Header End ***/


/*** Banner Start ***/
.banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../img/banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9;
}

.banner .container {
    position: relative;
    z-index: 99;
}

.banner::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    top: -200px;
    left: 0;
    background: #ea5f00 !important;
    transform: rotate(45deg);
    z-index: 1;
}

.banner::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    bottom: -200px;
    right: 0;
    background: #ea5f00 !important;
    transform: rotate(45deg);
    z-index: 1;
}

.banner .banner-design-1 {
    position: absolute;
    width: 30px;
    height: 500px;
    top: -165px;
    left: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}

.banner .banner-design-2 {
    position: absolute;
    width: 30px;
    height: 500px;
    bottom: -165px;
    right: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}

/*** Banner End ***/

/*** Service Start ***/
.service .nav .nav-item {
    width: 75%;
    border: 1px solid #ea5f00 !important;
    background: var(--bs-light);
}

.service .nav .nav-item a {
    display: flex;
    justify-content: center;
}


.owl-stage-outer {
    margin-right: -1px;
}

.service .nav-item a.active {
    background: #ea5f00 !important;
}

.service .nav-item a span {
    color: var(--bs-dark);
}

.service .nav-item a.active span {
    color: var(--bs-white);
}

@media (max-width: 991px) {
    .service .nav {
        display: flex;
        justify-content: center;
    }
}

/** Cotizador **/

/* Sección cotizador */
label {
    color: #000 !important;
}
.hero-quote {
    background: linear-gradient(135deg, #f0f4fa 0%, #ffffff 100%);
    padding: 3rem 0 4rem 0;
}

.section-title {
    font-weight: 800;
    color: var(--primary-dark);
    border-left: 5px solid var(--primary-blue);
    padding-left: 1rem;
}

.badge-service {
    background: #ea5f00;
    color: #1e293b;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--gray-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.badge-service.active,
.badge-service:hover {
    background: var(--primary-blue);
    color: #ea5f00;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -8px rgba(10, 102, 194, 0.3);
}

.quote-card {
    background: white;
    border-radius: 1.75rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: all 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}


.range-value {
    font-weight: 700;
    color: black;
    background: #ea5f00;;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    font-size: 0.75rem;
    padding: 0 4px;
    text-align: center;
}

.range-labels span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
    .range-labels {
        font-size: 0.65rem;
        gap: 2px;
    }
}

.result-box {
    background: #ccd1d6;
    border-radius: 1.5rem;
    padding: 1.6rem;
    color: rgb(0, 0, 0);
    text-align: center;
}

.price-display {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ea5f00;
    line-height: 1.2;
}

.footnote {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Campos dinámicos */
.dynamic-fields-box {
    background: #f9fbfd;
    border-radius: 1.2rem;
    padding: 1.2rem;
    border: 1px solid #eef2f6;
    margin-top: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    border: 1px solid #dce3ec;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: #000;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: #ea5f00;
}

.form-check-input:checked {
    background-color:#ea5f00;
    border-color:black;
}

.btn-group .btn-outline-secondary {
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-group .btn-check:checked+.btn-outline-secondary {
    background-color: #ea5f00;
    border-color: black;
    color: #ea5f00;
}

.btn-light-custom {
    background-color: #ea5f00 !important;
    color: var(--primary-dark);
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: 0.2s;
    border: none;
}

.btn-light-custom:hover {
    background: #f0f4f9;
    transform: translateY(-2px);
}

footer {
    background-color: var(--primary-dark);
    color: #adb7c9;
    padding: 2rem 0;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .quote-card {
        padding: 1.3rem;
    }

    .price-display {
        font-size: 1.9rem;
    }

    .badge-service {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
    }
}


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: #ea5f00 !important;
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: #ea5f00 !important;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}

/*** FUERZA TOTAL - SOBRESCRIBIR BOOTSTRAP COMPLETAMENTE ***/
/* Esto debe ir al final de tu archivo CSS */

/* Reset completo de botones de Bootstrap */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-link,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark {
    background-image: none !important;
    border-color: white !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
}
/* Estado normal (blanco) */
.btn-outline-secondary {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #ccc !important;
}

/* Cuando está seleccionado */
input:checked + label {
    background-color: #ea5f00 !important;
    color: #fff !important;
    border-color: #ea5f00 !important;
}
/* Tus estilos personalizados para btn-primary */
.btn-primary,
.btn.btn-primary {
    background-color: #ea5f00 !important;
    border-color: #ea5f00 !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show>.btn-primary.dropdown-toggle {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Tus estilos personalizados para btn-light */
.btn-light,
.btn.btn-light {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #ea5f00 !important;
}

.btn-light:hover,
.btn.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-light.active {
    background-color: #ea5f00 !important;
    border-color: #ea5f00 !important;
    color: #ffffff !important;
}

/* Para cualquier otro botón que pueda tener estilos de Bootstrap */
button.btn,
a.btn,
input.btn {
    transition: all 0.3s ease;
}


/** Trabajos **/
.img-container {
    width: 100%;
    height: 250px; /* 🔥 todas iguales */
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 👈 muestra completa */
}

.cursor-pointer {
    cursor: pointer;
    transition: transform 0.3s;
}

.cursor-pointer:hover {
    transform: scale(1.05);
}

/** facebook **/
.facebook-container{
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.facebook-container iframe{
    max-width: 100%;
}

/* facebook Desktop */
@media (min-width: 768px){

    .facebook-container iframe{
        width: 500px;
    }

}

/** Trabajos realizados **/

.trabajos-section{
    background: #f8f9fa;
}

.trabajo-card{
    border-radius: 20px;
    overflow: hidden;
    background: white;
    transition: 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
}

.trabajo-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.img-container{
    overflow: hidden;
    height: 260px;
}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    cursor: pointer;
}

.trabajo-card:hover img{
    transform: scale(1.1);
}

.card-body{
    padding: 25px;
}

.swiper{
    padding-bottom: 20px;
}

.swiper-slide{
    height: auto;
}

