@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

:root {
    --btn-active: #EA4E1B;
    --strong-color: #152634;
    --bg-section: #111628;
    --light-color: #FFFFFF;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

body {
    font-family: "Poppins", sans-serif !important;
    color: var(--strong-color) !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* Evita el pequeño salto del menú */
}

.video-wraper {
    position: sticky;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.container-content {
    height: 90vh;
}

.video-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    background: #11162882;
    color: white;
    padding: 20px;
    border-radius: 0 80px 80px 0;
    height: 90vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.video-content p {
    font-size: 56px;
    padding: 0 140px;
    font-weight: 900;
    line-height: normal;
}

.quote {
    color: #EA4E1B;
}

span.subtitle-home {
    font-size: 28px;
}

.bg-container {
    background-color: var(--bg-section) !important;
}

.bg-outline {
    background-color: #ced4da00 !important;
    border: 1px solid white !important;
    color: white !important;
    border-radius: 30px !important;
}

.bg-ligth {
    background-color: #FAFAFA;
}

.btn {
    background-color: var(--btn-active) !important;
    border: none !important;
    color: var(--light-color) !important;
}

.btn-custom {
    border-radius: 15px !important;
    width: 181px;
    height: 47px;
}

.btn-outline {
    background-color: #ffffff !important;
    color: var(--strong-color) !important;
}
.btn-outline:hover{
    background-color: #20294b !important;
    color: white !important;
    transition: all 0.5ms;
}

.btn-outline-secondary {
    background: none !important;
    color: white !important;
    border: 1px white solid;
}

.btn-primary,
h5 {
    text-transform: inherit !important;
}

.btn:focus-visible {
    box-shadow: 0 0 0 0.25rem #ea4e1b30 !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 2px #ea4e1b30 !important;
}

.social-icons a {
    color: white;
    margin-right: 1rem;
    font-size: 1.25rem;
}



.equipment-icon {
    width: 40px;
    height: 40px;

}


.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid #111628;
    padding: 6px;

}

.benefit-card {
    width: 200px;
    height: 166px;
    padding: 24px;
    border-radius: 20px;
    background-color: var(--light-color) !important;
    box-shadow: 0px 1px 4px 0px rgba(25, 33, 61, 0.08);
}


.site-footer .site-info {
    background: #000000 !important;
    color: #ffffff !important;
}

.check-icon {
    color: #f06445;
    font-size: 1.2rem;
}

.list-item {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.section-title {
    margin-bottom: 1.5rem;
}

.card-servicio {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 300px;
    color: white;
}



.card-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}


.categoria-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #0f1221;
    padding: 0.3rem 0.7rem;
    border-radius: 1rem;
    font-size: 0.85rem;
}

.carousel-indicators {
    top: 310px !important;
}

.carousel-indicators [data-bs-target] {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background-color: #030303 !important;
}

/*css para la pagina de contacto*/
.contacto {
    background-color: #111628;
    padding: 50px;
}

.heading {
    font-size: 56px;
    color: white;
    font-weight: 900;
}

.subtitle-contact {
    font-size: 36px;
    color: #FFFFFF;
    font-weight: 800;
}

.card-contact {
    background-color: #EA4E1B;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    padding: 30px;
}

.links {
    color: white;
    text-decoration: none;
}

.links:hover {
    color: #2b076d;
    text-decoration: none;
}

.map {
    width: 100%;
    height: 420px;
}

.form {
    border-radius: 30px;
    padding: 50px;
    background-color: #F0F0F0;
}

/*css maquinaria*/
.header-page {
    position: relative;
}
.header-page::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%; /* Solo la mitad inferior */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.title-cat {
    position: absolute;
    z-index: 1;
    bottom: 4rem;
    left: 4rem;
}

.card-maquinaria {
    border-radius: 30px;
    background-color: #111628;
    padding: 30px !important;
    width: 31%;
    margin: 10px;
}

.img-card {
    width: 100%;
    margin-bottom: 15px;
    width: 340px;
    height: 350px;
    object-fit: cover;
}

.img-card:hover {
    transform: scale(0.95);
    transition: all 0.5s
}

.cta {
    border-radius: 30px !important;
    background-color: #EA4E1B;
    color: white;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.cta:hover {
    background-color: #20294b;
    color: #EA4E1B;
    text-decoration: none;
}



/*post*/
.blog {
    background-color: #111628;
    padding: 40px 0px;
}

.submenu .dropdown-menu{
    width: 250px;
}
.submenu .dropdown-menu li a{
    padding: 5px 15px;
    color: #000000;
}
.link {
    text-decoration: none;
}

.link:hover {
    color: #EA4E1B !important;
    text-decoration: none !important;
}


.card-servicio:hover,
.carousel-item a:hover{
    color:white;
}

.card-overlay:hover{
    color: #ffffff;
    background-color:#111628
}

.form input,
.form select,
.form textarea{
    border-radius: 20px;
    border-bottom-color:#EA4E1B
}

.error{
    color: red;
}

textarea:focus-visible, input:focus-visible{
outline-color: #111628 !important;
}

textarea {
  resize: none !important;
}

@media (max-width: 600px) {

    /* estilos para móviles */
span.subtitle-home {
    font-size: 18px;
}
    .card-contact {
        padding: 10px;
    }

    .video-content {
        max-width: 280px;
    }

    .video-content p {
        font-size: 20px;
        padding: 20px;
        font-weight: 700;
    }

    .service-image img {
        width: 60%;
    }

    .form,
    .contacto {
        padding: 20px;
    }

    .heading {
        font-size: 26px;
        text-align: center;
    }

    .subtitle-contact {
        font-size: 18px;
    }

    .map {
        height: 180px;
    }

    .cta {
        padding: 5px 30px;
        font-size: 12px;
    }

    .header-page img{
        height: 250px;
    }

    .header-page .logo-typ{
        height: 50px;
    }
    .title-cat {
        left: 0px;
        bottom: 0px;
        padding: 20px 10px;
        background-color: #0000003a;
        top: 10px;
    }

    .blog,
    .card-maquinaria {
        padding: 20px !important;
    }

    .card-maquinaria {
        width: 100%;
    }

    .benefit-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ultimos-posts {
        flex-direction: column;
    }

    .ultimos-posts .post {
        width: 100%;
    }
    .nav-item{
        margin: 0px;
    }
    .nav-item a{
        padding: 0px;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {

    /* estilos para tablets */
    .nav-item{
        margin: 0px;
    }
    .nav-item a{
        padding: 0px;
    }
    .heading {
        font-size: 36px;
    }

    .video-content {
        max-width: 500px;
    }

    .video-content p {
        font-size: 30px;
        padding: 20px;
        font-weight: 700;
    }

    .subtitle-contact {
        font-size: 26px;
    }

    .card-contact {
        padding: 10px;
    }

    .map {
        height: 250px;
    }

    .cta {
        padding: 10px 20px;
    }

    .card-maquinaria {
        padding: 15px !important;
        margin: 5px;
    }

    .title-cat {
        left: 2rem;
    }

}

.whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 15px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    padding-top: 2px;
}

.whatsapp i {
    margin-top: 13px;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9; /* mantiene proporción como YouTube */
    display: block;
    border: none;
}

@media screen and (min-width: 1025px) {
    .video-content p{
        font-size: 40px;
        padding: 0px 60px;
    }
}

.telefono_home {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 95px;
    right: 15px;
   background: #191e29;
background: linear-gradient(90deg, rgba(25, 30, 41, 1) 11%, rgba(48, 64, 113, 1) 75%, rgba(49, 65, 115, 1) 70%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    padding-top: 2px;
}

.telefono_home i {
    margin-top: 13px;
}