:root {
    --color1: #0d0d0d;
    --color2: #0e2159;
    --color3: #46588c;
    --color4: #b8bcbf;
    --color5: #FFCB05;
    --color6: #EF7F1A;
    --color7: #ebebeb;
    --white: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    margin: 0;
    padding: 0;
}

.pady {
    padding-top: 8em;
    padding-bottom: 8em;
}

@media (max-width: 450px) {
    .pady {
        padding-top: 4em;
        padding-bottom: 4em;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-family: 'Montserrat', sans-serif;
    color: #23282d;
}

p,
li,
a {
    font-family: 'Open Sans', sans-serif;
    color: #555555;
}

.top-bar {
    background-color: var(--color7);
}

.top-bar path:hover {
    fill: var(--color6);
}

.centrado-responsivo{
    display: flex;
 
}
.centrado-responsivo span{
    margin-left: 5px;
 
}

.centrado-responsivo2 {
    display: flex;
    justify-content: end;
}

@media (max-width: 450px) {

    .centrado-responsivo,
    .centrado-responsivo2 {
        display: flex;
        justify-content: center;
        padding-bottom: 5px;
    }
}

.active {
    color: var(--color6) !important;

    font-weight: 700 !important;
}


header .row {
    padding: 20px 0;
}

header .centrado-responsivo {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

header .inf {
    padding-right: 25px;
    margin-right: 25px;
    border-right: 1px solid #dedede;
}

header .inf:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

@media (max-width: 767px) {
    header .contact {
        flex-direction: column;
        text-align: center;
    }

    header .inf {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        margin-bottom: 10px;
    }

    header .inf:last-child {
        margin-bottom: 0;
    }

    header .inf p{
        padding-bottom: 0;
    }
    
}

@media (max-width: 450px) {
    header .centrado-responsivo {
        justify-content: center;
        padding-bottom: 5px;
    }
}

header img {
    border-radius: 10px;
}

@media (max-width: 450px) {
    header img {
        padding-bottom: 10px;
    }
}

header p {
    margin: 0;
    padding-bottom: .5em;
    font-size: 14px;
    line-height: normal;
    color: #111;
}

header a {
    font-size: 15px;
    text-decoration: none;
    line-height: normal;
    font-weight: 700;
    color: #111;

}

.boton1 {
    padding: 0.8em 1.8em;
    border: 2px solid var(--color6);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease; 
    z-index: 1;
    font-family: inherit;
    color: var(--color6);
    text-decoration: none; 
    display: inline-block;
}

.boton1::before {
    content: '';
    width: 0;
    height: 450%; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg); 
    background: var(--color6);
    transition: width 0.5s ease; 
    display: block;
    z-index: -1;

}

.boton1:hover::before {
    width: 105%;
}

.boton1:hover {
    color: var(--white);
}

@media (min-width: 768px) and (max-width: 991px) {
    header .pt {
        margin-top: 10px;
    }
}


.boton2 {
    text-decoration: none;
    padding: 0.9em 1.8em;
    border: none;
    border-radius: 2px;
    background-color: var(--color6);
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    font-family: inherit;
    color: var(--white);
}

.boton2:hover {
    color: var(--white);
    background-color: #23282d;
    transform: scale(1.05);
}



.navbar {
    background-color: #252525;
    color: #FFFFFF;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.navbar-toggler {
    background-color: #FFFFFF !important;
}

.navbar a {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -.2px;

}

.navbar a:hover,
a:focus {
    color: var(--color6);
}

.navbar-nav .nav-link.show {
    color: var(--color6) !important;
}

.navbar-nav .dropdown-item {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    padding: 10px;
}

hr {
    margin: 0 !important;
}

.navbar-nav .dropdown-item:hover {
    color: var(--color6) !important;
}

.dropdown-item {
    color: var(--color1) !important;
}


@media (min-width: 450px) {
    .navbar a {
        padding: 10px 10px;
    }
}

@media (min-width: 768px) {
    .navbar a {
        padding: 10px 10px;
    }
}


#inicio .img1 {
    background-image: linear-gradient(rgba(39, 39, 39, 0.5), rgba(39, 39, 39, 0.5)), url("img/Fondo1-carrusel.webp");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


#inicio .img2 {
    background-image: linear-gradient(rgba(39, 39, 39, 0.5), rgba(39, 39, 39, 0.5)), url("img/Fondo2-carrusel.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 75vh;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: start;
    padding-left: 9%;


}

#inicio .img3 {
    background-image: linear-gradient(rgba(39, 39, 39, 0.5), rgba(39, 39, 39, 0.5)), url("img/Fondo3-carrusel.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 75vh;
    display: flex;
    justify-content: end;
    align-items: center;
    text-align: end;
    padding-right: 9%;


}

#inicio .contenido {
    width: 90%;
    /* max-width: 900px;*/
    box-sizing: border-box;
    color: #FFFFFF;
}

#inicio .contenido h3 {
    font-size: 55px;
    margin: 20px 0;
    font-weight: 900;
    line-height: 58px;
}

@media (max-width: 450px) {
    #inicio .contenido h3 {
        font-size: 30px;
        line-height: 35px;
    }
}

#inicio .contenido p {
    font-size: 1.5rem;
    color: var(--white);
    line-height: 20px;
    font-weight: 300;
    margin: 1rem 0 10px;
}

@media (max-width: 450px) {
    #inicio .contenido p {
        font-size: 1rem;
    }
}

#inicio .alinear-botones { 
    display: flex;
    justify-content: center;
}



#sobre-nosotros h4 {
    font-size: 1.1rem;
}

@media (max-width: 450px) {
    #sobre-nosotros h4 {
        font-size: .9rem;
    }
}

#sobre-nosotros h2 {
    font-size: 2rem;
    font-weight: 900;
    line-height: normal;
}

@media (max-width: 450px) {
    #sobre-nosotros h2 {
        font-size: 1.5rem;
        margin-top: 20px;
    }
}

#sobre-nosotros .text {
    font-size: .95rem;
    line-height: 25px;
    text-align: justify;
}

@media (max-width: 450px) {
    #sobre-nosotros .text {
        font-size: .9rem;
        line-height: 20px;

    }
}

#sobre-nosotros button {
    font-size: .95rem;
    text-transform: uppercase;
    font-weight: 700;
}

#sobre-nosotros .item {
    text-align: center;
    margin-top: 20px;
}


#sobre-nosotros svg {
    display: block;
    margin: 0 auto;
}


.accordion-button {
    background-color: transparent !important;

    &:not(.collapsed) {
        background-color: var(--color6) !important;
        color: var(--white) !important;
    }
}

#servicios {
    background-color: #f5f3f3fd;
}

#servicios h5 {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 450px) {
    #servicios h5 {
        font-size: 1rem;
        font-weight: 500;
    }
}

#servicios h2 {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 450px) {
    #servicios h2 {
        font-size: 1.7rem;

    }
}

#servicios .inf-servicio {
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;

}

#servicios a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color1);
}

#servicios a:hover {
    color: var(--color6);
}

#servicios p {
    font-size: .95rem;
    line-height: 25px;
}


#servicios .img {
    display: flex;
    align-items: center;
    justify-content: center;
}

#servicios img {

    mask-image: linear-gradient(black 95%,
            transparent 100%);

}

#servicios img:hover {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));

}

#servicios svg:hover {
    transform: scale(1.1);
}



#ayuda-form .ayuda {
    height: 120px;
    background-color: #EF7F1A;
    text-align: end;
    padding: 20px 0;

}

#ayuda-form .ayuda h3,
.ayuda p {
    padding-right: 6rem;
}

#ayuda-form .ayuda h3 {
    font-size: 1.4em;
    font-weight: 600;
}

#ayuda-form .ayuda p {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--white);
}

#ayuda-form .form {
    height: auto;
    background-color: #252525;
    padding: 20px 0;
    display: flex;
    color: var(--white);
}

@media (max-width: 768px) {
    #ayuda-form .form {
        display: block;
    }
}

#ayuda-form .form h3,
.form p {
    padding-left: 2rem;

}

#ayuda-form .form h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--white);
}

#ayuda-form .form p {
    font-size: 1.2em;
    font-weight: 500;
    color: var(--white);
}

#ayuda-form .input {
    display: flex;
    align-items: center;
}

#ayuda-form input {
    margin-left: 30px;
    padding: 10px;
    width: 400px;
    font-size: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.2), 0 1px 3px rgba(255, 255, 255, 0.2);
    transition: background-color 300ms, box-shadow 300ms;
    outline: none;
}

@media (max-width: 768px) {
    #ayuda-form input {
        width: 90%;
    }
}

#ayuda-form input:hover {
    background-color: #e5e7eb;
}

#ayuda-form input:focus {
    box-shadow: 0 0 0 2px var(--color6);
    outline: 2px solid transparent;
}

/*testimonios*/
#testimonios h2 {
    font-size: 40px;
    font-weight: bold;
    font-family: "Outfit", sans-serif;
    color: #1D1E20;
    text-align: center;
    padding-bottom: 5px;

}

@media (max-width: 450px) {
    #testimonios h2 {
        font-size: 2rem;
        padding: .5em;
    }
}

#testimonios .complemento-text {
    font-size: 1rem;
    text-align: center;
    padding-bottom: 1.4em;
}

#testimonios .card {
    width: 98%;
    margin: 20px 0;
    padding: 0 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);

}

#testimonios h3 {
    font-size: 30px;
    padding-top: 20px;
    margin-bottom: 0;
}

@media (max-width: 450px) {
    #testimonios h3 {
        font-size: 1.5rem;
    }
}


#testimonios .text {
    font-style: italic;
    color: #666;
    margin-top: 25px;
}

@media (max-width: 768px) {
    #testimonios .text {
        text-align: justify;
    }
}

#testimonios .servicio-area {
    color: #555;
    font-size: 0.8em;
    padding: 10px 0;
    text-align: right;
    text-underline-offset: 0.4rem;
}

#testimonios .servicio-area:hover {
    color: var(--color6);

}


/* Footer */
footer,
footer p {
    background-color: #252525;
    color: white;
}

footer .contacto {
    margin: 2rem 0;

}

footer h4 {
    font-size: 2rem;
}

footer .icon-text {
    font-size: 1.1rem;
    display: flex;
    margin-bottom: 10px;

}

footer .icon-text a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
}

footer h5 {
    font-size: 1.5rem;
    margin-top: 10px;
}

@media (max-width: 450px) {
    footer h5 {
        margin-top: 20px;

    }
}

footer .social-icons {
    display: flex;
    align-items: center;
    padding-top: 10px;
}

footer .social-icons a {
    text-decoration: none;
    color: var(--white);
}

footer .social-icons .pr {
    padding-right: 5px;
}

footer .social-icons .pr2 {
    padding-right: 20px;
}

footer a:hover {

    color: var(--color6);
}

footer .card {
    margin: 2rem 0;
    padding: 1rem;
    width: 100%;
}

.boton3 {
    margin-top: 10px;
    padding: 1em 3em;
    border: none;
    border-radius: 20px;
    background: var(--color6);
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    position: relative;
    /* Necesario para el pseudo-elemento */
    overflow: hidden;
    /* Oculta la animación fuera del botón */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.boton3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(201, 106, 23, 0.5), transparent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
    z-index: 0;
}

.boton3:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.boton3:hover {
    transform: scale(1.05);
    z-index: 1;
    /* Asegura que el contenido del botón esté sobre la animación */
}


/*  se utiliza en index footr y en el contacto.html*/
.card input {
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    font-size: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 300ms, box-shadow 300ms;
    outline: none;
}

.card input:hover {
    background-color: #e5e7eb;
}

.card input:focus {
    box-shadow: 0 0 0 2px var(--color6);
    outline: 2px solid transparent;
}

.card textarea {
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    height: 110px;
    font-size: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 300ms, box-shadow 300ms;
    outline: none;
}

.card textarea:hover {
    background-color: #e5e7eb;
}

.card textarea:focus {
    box-shadow: 0 0 0 2px var(--color6);
    outline: 2px solid transparent;
}






/*  contacto.html*/

.contenedor-imagen {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .contenedor-imagen {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contenedor-imagen {
        height: 200px;
    }
}

.imagen-ajustada {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto-centrado {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 10px;
}

#contacto h4 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.navegacion {
    display: flex;
}

.navegacion a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.navegacion a:hover {
    color: var(--color6);
    font-weight: 700;
}

.navegacion p {
    font-size: 1rem;
    color: var(--white);
    font-weight: 700;
}




#contacto strong {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color6);
}


#contacto .contacto-inf {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 990px) {
    #contacto .contacto-inf {
        padding-top: 50px;
    }
}


.item-inf div {
    margin-bottom: 20px;

}

.item-inf svg {
    margin-right: 10px;

}

.item-inf a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 450px) {
    #contacto .contacto-inf {
        margin-top: 50px;

    }
}

#contacto .card {

    padding: 40px 60px;
    margin: 50px auto;
    box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.3);
}

#contacto h3 {
    font-size: 30px;
    color: #222222;
    font-weight: 600;
}



/* servicios */
.pady-servicios {
    padding-top: 4em;
    padding-bottom: 4em;
}

@media (max-width: 450px) {
    .pady-servicios {
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

.service-title {
    font-size: 3em;
    font-weight: 600;
    color: #172223;
}

.service-description {
    font-size: 1.1em;
    line-height: 30px;
    text-align: justify;
    padding-right: 40px;
}

@media (max-width: 450px) {
    .service-description {
        padding-right: 0px;
    }
}


.service-subtitle {
    font-size: 2em;
    font-weight: 600;
    padding-top: 80px;
    padding-bottom: 20px;
}

.service-benefits h4 {
    padding-top: 24px;
}

.img-center {
    display: block;
    margin: 0 auto;
    width: 700px;
    border-radius: 5px;
}


.widget {
    box-shadow: 0px 15px 39px 0px rgba(8, 18, 109, 0.1);
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.widget-title {
    font-size: 1.5em;
    padding-bottom: 1rem;
    color: #172231;
    text-align: center;
}

.services-list li {
    list-style: none;
    padding-bottom: 1rem;
    margin-top: 1rem;
}

.services-list a {
    text-decoration: none;
    font-size: 1em;
    color: #818385;
    padding-left: 5px;
}

.services-list hr {
    border: .5px solid #ccc;
}

.input-center {
    display: flex;
    justify-content: center;
}

.widget-contact input {
    width: 90% !important;
    padding: 10px;
    margin: 8px 0;
    width: 100%;
    font-size: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    box-shadow: 1px 15px 39px 0px rgba(0, 0, 0, 0.15);
    transition: background-color 300ms, box-shadow 300ms;
    outline: none;
}

.widget-contact input:hover {
    background-color: #f1f2f3;
}

.widget-contact input:focus {
    box-shadow: 0 0 0 2px var(--color6);
    outline: 2px solid transparent;
}

.widget-contact textarea {
    width: 90% !important;
    padding: 10px;
    margin: 10px 0;
    height: 110px;
    font-size: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 300ms, box-shadow 300ms;
    outline: none;
}

.widget-contact textarea:hover {
    background-color: #e5e7eb;
}

.widget-contact textarea:focus {
    box-shadow: 0 0 0 2px var(--color6);
    outline: 2px solid transparent;
}


/*sobre nosostros*/

#empresa h4 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#empresa .pad-section{
padding-top: 50px;
padding-bottom: 60px;
}


#empresa .contenedor-imagen h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#empresa .text-centrado {
    display: grid;
    place-content: center;
    padding-left: 50px;
}

#empresa .section-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

#empresa .main-heading {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.4;
}

#empresa hr {
    width: 10%;
    border-width: 2px;
    border-style: solid;
    border-radius: 4px;
    color: var(--color6);
    opacity: 100;
}

#empresa .description {
    font-size: 1rem;
    font-weight: 500;
    color: #313131;
    line-height: 1.6;
    padding-top: 20px;
}

@media (max-width: 768px) {
    #empresa .main-heading {
        font-size: 1.5rem;
    }

    #empresa .description {
        font-size: 0.9rem;
    }
}

#empresa .fondo-imagen {
    background-image: url("img/Fondo-Nosotros.webp");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
}

@media (max-width: 768px) {
    #empresa .fondo-imagen {
        background-attachment: fixed;
        background-image: url("img/Fondo-Nosotros-Movil.webp");
    }
}

@media (max-width: 480px) {
    #empresa .fondo-imagen {
        background-attachment: fixed;
        background-image: url("img/Fondo-Nosotros-Movil.webp");

    }
}


#empresa .tarjeta{
    background-color: #fcfafa7a;
    box-shadow: 0px 15px 39px 0px rgba(8, 18, 109, 0.1);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

#empresa .quienes-somos-imagen {
    width: 450px;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 990px) {
    #empresa .quienes-somos-imagen {
        width: 450px;
        height: 450px;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #empresa .quienes-somos-imagen {
        width: 350px;
        height: 400px;
    }
}


@media (max-width: 990px) {
    #empresa .centrado-responsive {
        display: flex;
        justify-content: center;
    }
}


#empresa  h2 {
    font-size: 2rem;
    font-weight: 600;
}

#empresa button {
    font-size: .95rem;
    text-transform: uppercase;
    font-weight: 700;
}
