:root {
    --pink: #C7C7C7;
    --text-input-field: #F7F7F7;
    --green: #ACD9B2;
    --white: #FFFFFF;
    --black: #000000;
    --color1: #DA6335;
    --color2: #773629;
    --color3: #161D23;
    --color4: #FBA41A;
    --color5: #e7e9e8;
    --sm: 16px;
    --md: 18px;
    --lg: 20px;
}

body {
    margin: 0;
    font-family: 'Crimson Text', serif;
    background-color: var(--color5);
}

p {
    text-align: justify;
}

textarea {
    resize: none;
}

nav {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 24px;
    border-bottom: 1px solid var(--very-light-pink);
    background-color: var(--color3);
    z-index: 1;
    height: 70px;
    /* font-family: 'Quicksand', sans-serif;*/
}

h1, h2 {
    text-align: center;
    color: var(--color1);
    font-size: 36px;
}

h2 {
    /*margin-top: 100px;*/
    margin-bottom: 25px;
}

ul:not(.service-card-text ul) {
    list-style: none;
}

footer {
    display: flex;
    justify-content: space-around;
    background-color: var(--color3);
    width: 100%;
    margin-top: 50px;
}

footer ul {
    display: flex;
    flex-direction: column;
}

.social-media {
    align-items: center;
    display: flex;
    justify-content: space-around;
    margin: -35px 0 0 -35px;
}

.social-media li a {
    align-items: center;
    display: flex;
    text-decoration: none;
}

.social-media li a:focus {
    outline: none;
}

.social-media li:focus-within {
    outline: 3px solid var(--verde);
    /*padding: 8px;*/
}

.social-link-text {
    padding-right: 8px;
    padding-left: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 19px !important;
}

.fa-linkedin, .text-linkedin {
    color: #0e76a8 !important;
}

.fa-google, .text-google {
    color: #007FED !important;
}

.fa-instagram, .text-instagram {
    color: #D1005B !important;
}

.fa-bars {
    color: var(--color1);
}

.inactive {
    display: none;
}

.menu {
    display: none;
}


.navbar-left {
    display: flex;
}

.navbar-left a {
    text-decoration: none;
}

.navbar-left ul,
.navbar-right ul {
    padding: 0;
    margin: 0 50px 0 0;
    display: flex;
    align-items: center;
    height: 60px;
}



.navbar-left ul {
    margin-left: -80px;
}

.navbar-left ul li,
.navbar-right ul li{
    margin-top: 15px;
}

.navbar-left ul li:hover {
    color: var(--color4);
}

.navbar-left ul li:focus {
    color: var(--color4);
}

.navbar-left ul li a,
.navbar-right ul li a,
.desktop-menu ul li a {
    text-decoration: none;
    color: var(--color1);
    /*border: 1px solid var(--white);*/
    padding: 8px;
    border-radius: 8px;
    font-size: var(--lg);
    font-weight: 500;
    transition: background-color 0.5s ease;
}

.navbar-left ul li a:hover,
.navbar-right ul li a:hover,
.desktop-menu ul li a:hover,
.navbar-left ul li a:focus,
.navbar-right ul li a:focus,
.desktop-menu ul li a:focus {
    /*border: 1px solid var(--color4);*/
    color: var(--color4);
}

.navbar-logo {
    display: flex;
}

.navbar-logo h1, .navbar-logo h2 {
    margin-top: 17px;
    margin-left: 20px;
    margin-right: 100px;
    font-family: 'Cinzel', serif;
    font-size: 28px;
}

.navbar-servicios {
    color: var(--color1);
    cursor: pointer;
    font-size: var(--lg);
    margin-right: 12px;
}

.main-container {
    margin-top: 150px;
}

.main-container h2 {
    padding: 0 28px;
}

.textoGoogle {
    font-size: 1em;
    font-weight: 500;
    color: #3c3c3c;
}

.comillas {
    height: 100px;
    width: 68px;
    object-fit: cover;
}

.lineaSeparador {
    position: absolute;
    color: var(--color1);
    background: var(--color1);
    height: 0.2rem;
    width: 50%;
}

.nombreGoogle {
    font-size: 1.2em;
    font-weight: 500;
    color: var(--color3);
    margin: 30px 0 0 0;
}

.estrellas {
    height: 100px;
    width: 120px;
    margin-top: -2rem;
    margin-left: -1.2rem;
}

.form {
    width: 100%;
    display: grid;
    place-items: center;

}

.form-container {
    /*display: grid;*/
    /*grid-template-rows: auto 1fr auto;*/
    width: 900px;
}

.form-title {
    font-size: var(--lg);
    margin-bottom: 12px;
    text-align: center;
}

.form-subtitle {
    color: var(--pink);
    font-size: var(--md);
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 32px;
    text-align: center;
}

.label {
    font-size: var(--sm);
    font-weight: bold;
    margin-bottom: 4px;
}

.input {
    border: none;
    border-radius: 8px;
    height: 30px;
    font-size: var(--md);
    padding: 6px;
    margin-bottom: 12px;
    background-color: var(--white);
}

.input-area {
    border: none;
    border-radius: 8px;
    font-size: var(--md);
    padding: 6px;
    margin-bottom: 12px;
    background-color: var(--white);
    /*font-family: 'Quicksand', sans-serif;*/
}

.form-action {
    /*  display: flex;
    flex-direction: column;*/
    display: grid;
    grid-template-columns: 100px 1fr 100px 1fr;
    gap: 10px;
}

.primary-button {
    background-color: var(--color1);
    border-radius: 8px;
    border: none;
    color: var(--white);
    width: 100%;
    cursor: pointer;
    font-size: var(--lg);
    font-weight: bold;
    height: 50px;
}

.form-button {
    margin-top: -70px;
    margin-bottom: 30px;
    margin-left: 110px;
    transition: background-color 0.5s ease;
}

.cta-button {
    text-decoration: none;
    text-align: center;
    min-width: 140px;
    height: 45px;
    background-color: var(--color3);
    border: 2px solid var(--color4);
    color: var(--color4);
    border-radius: 25px;
    line-height: 1.2;
    padding: 10px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.5s ease;
    font-size: var(--lg);
}

.cta-button:hover {
    background-color: var(--color4);
    border: 2px solid var(--color2);
    color: var(--color2);
}

.form-button:hover {
    background-color: var(--white);
    color: var(--color4);
    border: 2px solid var(--color4);
}

#servicios h2 {
    margin-top: -25px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 480px);
    place-content: center;
    justify-items: center;
    margin-top: -25px;
}

.cards-choice-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 360px);
    place-content: center;
    justify-items: center;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 360px;
    margin: 40px 0;
    padding-bottom: 30px;
    border-bottom: 4px solid var(--color1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    justify-content: space-between;
    background-color: var(--white);
}

.choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    margin: 20px 0;
    padding-bottom: 30px;
    border-bottom: 4px solid var(--color1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    background-color: var(--white);
}

.service-card img {
    width: 320px;
    height: 320px;
    border-radius: 0px;
    object-fit: cover;
    vertical-align: middle;
    border-style: none;
    padding: 1.25rem;
}

.service-card-text {
    margin-top: 12px;
    padding: 1.25rem;
}

.service-card-text h3 {
    font-weight: bold;
    font-size: var(--md);
    margin-bottom: 4px;
    text-align: center;
    line-height: 24px;
}

#servicios .service-card-text h3 {
    margin-top: -30px;
}

.service-card-text p, .service-card-text ul {
    font-size: var(--md);
    color: var(--color3);
}

.footer-card-text p {
    font-size: var(--sm);
    color: var(--color1);
}

.footer-card-text h3 {
    color: var(--color1);
}

.desktop-menu {
    position: absolute;
    top: 80px;
    left: 260px;
    background: var(--white);
    /*color: var(--color1);*/
    width: 200px;
    height: auto;
    /* border: 1px solid var(--color2);*/
    padding: 10px;
    background-color: var(--color3);

}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.desktop-menu ul li {
    /* text-align: end;*/
    font-weight: bold;
}

.desktop-menu ul li a {
    display: inline-block;
}

.mobile-menu {
    position: absolute;
    top: 60px;
    width: 100%;
    color: var(--color1);
    background-color: var(--color3);
    z-index: 1;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
    margin-bottom: 24px;

}

.mobile-menu ul {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin-bottom: 24px;
}

/*.mobile-menu ul:nth-child(1) {
    border-bottom: 1px solid var(--color1);
}*/

/*
.carousel {
    align-items: center;
    display: flex;
    margin: 48px 0 64px;
}

.window {
    overflow: hidden;
    width: 815px;
    padding: 8px;
}

.project-container {
    left: 0;
    position: relative;
    width: 1500px;
}

.project-container li {
    display: inline-block;
}

.arrow {
    height: 75px;
    transition: all 0.2s ease-in-out;
    width: 75px;
}

.arrow:hover {
    transform: scale(1.1);
}

.arrow-left {
    background: center / contain no-repeat url(./play-button-left.png);
    background-color: var(--verde);
    border-radius: 50%;
}

.arrow-right {
    background: center / contain no-repeat url(./play-button-right.png);
    background-color: var(--verde);
    border-radius: 50%;
}

.arrow:focus {
    outline: 3px solid var(--verde);
}
*/

.palabra-resaltada {
    color: var(--color2);
    font-size: 500;
}

.mySwiper {
    height: 400px;
    /*margin-top: -40px;*/
    z-index: 0 !important;
    width: 75%;
}


.swiper-wrapper {
    /*align-items: center;*/
    /*justify-content: space-evenly;*/
}


.swiper-slide {
    display: flex;
    align-items: stretch;
    width: 250px !important;
    height: 300px;
    border-radius: 7px;
    margin: 0;
}

.home-porque {
    background-color: var(--white);
    margin-top: 10px;
    padding: 10px;
    border-bottom: 4px solid var(--color1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;

}

/*
.swiper-slide.swiper-slide-prev {
    margin-right: 0!important;
    margin-left: 200px!important;
    opacity: 0.25 !important;
}

.swiper-slide.swiper-slide-active {
    margin-right: 0!important;
}

.swiper-slide.swiper-slide-next {

    opacity: 0.25 !important;
}*/

.swiper-pagination {
    bottom: 10px !important;
}

.whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 5px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
}

.whatsapp-icon {
    margin-top: 13px;
}

/* Servicios */
.imagenJubilados {
    background-image: url(./jubilados2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 120vh;
    justify-content: center;
    margin-bottom: -100px;
}

.imagenLaborales {
    background-image: url(./laborales.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 120vh;
    justify-content: center;
    margin-bottom: -100px;
}

.imagenTrabajador {
    background-image: url(./trabajador.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 120vh;
    justify-content: center;
    margin-bottom: -100px;
}

.imagenAmparo {
    background-image: url(./amparo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 120vh;
    justify-content: center;
    margin-bottom: -100px;
}

.tituloHero {
    width: 60%;
    color: var(--white);
    margin-top: -70px;
    position: relative;
    top: 350px;
    left: 50px;
}

.tituloHero h1 {
    color: var(--white);
    text-align: left;
    margin-top: 0;
    text-shadow: black 0.1em 0.1em 0.2em
}

.botonesHero {
    position: relative;
    top: 400px;
    margin-left: 50px;
    display: flex;
    gap: 10px;
}

.buttonContacto {
    border: 2px solid var(--color4);
    color: var(--color4);
    background-color: var(--color3);
}

.cards-servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 740px);
    place-content: center;
    justify-items: center;
}

.servicios-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 740px;
    margin: 40px 0;
    padding-bottom: 30px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    background-color: var(--white);

}

.cards-laboral-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    place-content: center;
    justify-items: center;
    gap: 10px;
}

.laboral-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    margin: 40px 0;
    padding-bottom: 30px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    background-color: var(--white);

}

.read-more-state {
    display: none;
}

@media (max-width: 640px) {
    h1, h2 {
        font-size: 28px;
    }

    nav {
        padding: 0 24px;
        align-items: center;
    }

    footer {
        flex-direction: column;
    }

    footer h3, footer p {
        text-align: center;
    }

    footer ul {
        align-items: center;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fill, 280px);
    }

    .service-card, .servicios-card, .laboral-card {
        width: 340px;
        margin: 10px 0;
    }

    .service-card img {
        width: 300px;
        height: 300px;
    }

    .menu {
        display: block;
        margin-right: 50px;
        color: var(--color1);
    }

    .navbar-left ul {
        display: none
    }

    .navbar-servicios {
        display: none
    }

    .desktop-menu {
        display: none
    }

    .navbar-right ul {
        margin: 0;
    }

    .mobile-menu {
        position: fixed;
        transition: 1s;
    }

    .mobile-menu ul li a {
        text-decoration: none;
        color: var(--color1);
        /*border: 1px solid var(--white);*/
        padding: 8px;
        border-radius: 8px;
        font-size: var(--lg);
        font-weight: 500;
    }

    .logo {
        width: 22px;
        height: 35px;
    }

    .main-container {
        margin-top: 100px;
    }

    .navbar-logo h1, .navbar-logo h2 {
        display: none;
    }

    .form-container {
        width: 300px;
    }

    .form-action {
        display: flex;
        flex-direction: column;
    }

    .form-button {
        margin-top: 14px;
        margin-left: 0;
    }


    /* servicios */
    .imagenJubilados {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: 110vh;
    }

    .tituloHero {
        top: 250px;
        left: 10px;
        width: 90%;
    }

    .botonesHero {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        top: 300px;
    }

    .read-more-state {
        display: none;
    }

    .read-more-target {
        opacity: 0;
        max-height: 0;
        font-size: 0;
        transition: .25s ease;
    }

    .read-more-state:checked~.read-more-wrap .read-more-target {
        opacity: 1;
        font-size: inherit;
        max-height: 999em;
    }

    .read-more-state~.read-more-trigger:before {
        content: 'Ver más';
    }

    .read-more-state:checked~.read-more-trigger:before {
        content: 'Ver menos';
    }

    .read-more-state~#read-more-wrap-1 {
        margin-bottom: -10px;
    }

    .read-more-state:checked~#read-more-wrap-1 {
        margin-bottom: 10px;
    }

    .read-more-trigger {
        cursor: pointer;
        display: inline-block;
        padding: 0 .5em;
        color: var(--color1);
        font-size: .9em;
        line-height: 2;
        border: 1px solid var(--color2);
        border-radius: .25em;
    }

}

@media(min-width:641px) {
    .mobile-menu {
        display: none
    }
}

@media(max-width:641px) and (max-height: 400px) {
    .imagenJubilados {
        height: 160vh;
    }

    .imagenLaborales {
        height: 180vh;
    }

    .imagenTrabajador {
        height: 180vh;
    }

    .imagenAmparo {
        height: 190vh;
    }
}