/* Estilos básicos */
ul.slides {
    display: block;
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

ul.slides input, .cont-project input {
    display: none;
}

.slide-container {
    display: block;
}

.slide-image {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0;
    transition: all .7s ease-in-out;
}

.slide-image img {
    width: auto;
    min-width: 100%;
    height: 100%;
}

.carousel-controls {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    z-index: 2;
    font-size: 100px;
    line-height: 78vh;
    color: #fff;
}

.carousel-controls label {
    display: none;
    position: absolute;
    padding: 0 20px;
    opacity: 0;
    transition: opacity .2s;
    cursor: pointer;
}

.slide-image:hover + .carousel-controls label {
    opacity: 0.5;
}

.carousel-controls label:hover {
    opacity: 1;
}

.carousel-controls .prev-slide,
.carousel-controls .next-slide {
    width: 49%;
    height: 60vh;
}

.prev-slide {
    text-align: left;
    left: 0;
}

.next-slide {
    text-align: right;
    right: 0;
}

.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 9;
    text-align: center;
}

.carousel-dots .carousel-dot {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    margin: .3rem;
}

input:checked + .slide-container .slide-image {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
}

input:checked + .slide-container .carousel-controls label {
    display: block;
}

input#img-1:checked ~ .carousel-dots label#img-dot-1,
input#img-2:checked ~ .carousel-dots label#img-dot-2,
input#img-3:checked ~ .carousel-dots label#img-dot-3,
input#img-4:checked ~ .carousel-dots label#img-dot-4,
input#img-5:checked ~ .carousel-dots label#img-dot-5,
input#img-6:checked ~ .carousel-dots label#img-dot-6,
input#img-7:checked ~ .carousel-dots label#img-dot-7,
input#img-8:checked ~ .carousel-dots label#img-dot-8,
input#img-9:checked ~ .carousel-dots label#img-dot-9,
input#img-10:checked ~ .carousel-dots label#img-dot-10 {
    opacity: 1;
}

input:checked + .slide-container .nav label {
    display: block;
}

.section-banners {
    min-width: 100%;
    background: #fff;
    position: relative;
}

.shadow::before {
    top: 0;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(55, 57, 62, 0.6) 28.85%, rgba(97, 99, 105, 0) 96.82%);
}

.cont-welcome {
    width: var(--margen);
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 2;
}

.welcome {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    height: 85%;
}

.information {
    width: 22rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.information h2 {
    font-weight: bolder;
    color: var(--sentence-in);
    font-size: 2.3rem;
    margin: 0;
    line-height: 1em;
}

.information .date {
    color: var(--sentence-in);
    text-align: justify;
    margin: 0;
}

.information .redirect {
    display: flex;
    gap: 1rem;
}

.redirect .move {
    font-weight: 900;
    font-size: .7rem;
    padding: .7rem 2rem;
    border-radius: 2rem;
}

.redirect .more-info {
    background: var(--btn-off);
    color: #787878;
}

.redirect .contact {
    background: var(--btn-on);
    color: #fff;
}

.section-services {
    background: #fff;
    display: flex;
    width: 100%;
    justify-content: center;
}

.section-projects {
    background: #fff;
}

.cont-services {
    justify-content: center;
}

.cont-services .title {
    padding: 0 1rem;
    margin-top: 4rem;
    text-align: center;
}

.cont-services .title p {
    font-size: .8rem;
    color: var(--sentence);
}

.cont-services h2 {
    font-size: 1.8rem;
    line-height: 3rem;
    font-weight: 900;
    margin: 0;
    color: var(--principal-title);
}

.bloq-services {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.service {
    display: none;
    width: 16rem;
    margin: .8rem 0;
    box-shadow: 0px 1px 3px 0px #00000040;
}

.service .cont-image {
    height: 11rem;
}

.vineta {
    height: .7rem;
    width: auto;
}

.description p {
    width: 90%;
    font-size: .8rem;
    color: #787878;
}

.info .description {
    display: flex;
    gap: .3rem;
    margin-bottom: 1.5rem;
}

.info h3 {
    font-size: 1rem;
    color: var(--title);
    font-weight: 900;
    line-height: 1rem;
    margin: 0 0 1rem 0;
}

.info {
    padding: 1.2rem;
}

.more-service {
    margin: .5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-service a {
    border: 2px solid var(--title);
    text-align: center;
    line-height: .7rem;
    border-radius: 1rem;
    padding: .3rem 1.2rem;
    font-size: .7rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--title);
}

.more-service a:hover {
    background: var(--title);
    color: #fff;
}

.title-project {
    display: flex;
    justify-content: center;
    color: var(--principal-title);
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.cont-project {
    display: flex;
    justify-content: center;
    position: relative;
    margin: 1rem 0;
    overflow: hidden;
    height: 100vh;
}

.item-project {
    position: relative;
    width: 100%;
    height: 95vh;
    display: flex;
}

.item-proj {
    position: relative;
    width: 100%;
}

.part-proj {
    width: 50%;
}

.date-proj {
    display: flex;
    align-items: center;
    color: #164D75;
    background: #F3F4F8;
    justify-content: center;
}

.cont-date {
    margin: 6rem;
    width: 30rem;
}

.proj-title {
    margin: 0;
}

.proj-date {
    position: relative;
}

.line {
    width: 100%;
    height: .07rem;
    background: #B8B8B8;
    margin: .7rem 0;
}

.sub-info {
    color: #787878;
    font-size: .9rem;
    line-height: 1.3rem;
}

.proj-description {
    text-align: justify;
}

.slide-option {
    max-width: 1920px;
    width: 100%;
    height: 100vh;
    top: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.slide-option div {
    font-size: 4rem;
}

.slide-option span {
    display: flex;
    width: 4rem;
    height: 4rem;
    line-height: 3.5rem;
    justify-content: center;
    background: var(--btn-on);
    color: #fff;
    cursor: pointer;
}

.cont-mail {
    background: #fff;
    display: flex;
    padding: 7rem 0;
    justify-content: center;
    width: 100%;
}

.mail {
    display: flex;
    gap: 5rem;
}

.mail-detail {
    width: 35%;
}

.form {
    width: 65%;
}

.form form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 1rem;
}

.form .fr-1 { grid-column: 1 / 3; }
.form .fr-2 { grid-column: 3 / 5; }
.form .fr-4 { grid-column: 1 / 3; }
.form .fr-3 { grid-column: 3 / 5; }
.form .fr-5 { grid-column: 1 / 5; }
.form .fr-6 { grid-column: 4 / 5; }

.form input, .form textarea, .form button {
    width: 100%;
    margin: 0;
    padding: 0;
}

.form label {
    color: #827D7D;
    font-weight: bolder;
    font-size: .8rem;
}

.form input, .form textarea {
    padding: 0 1rem;
    margin-top: .5rem;
    background: #F3F4F8;
    border: none;
    height: 3rem;
}

.form textarea {
    padding: 1rem;
    height: 10rem;
    resize: vertical;
}

.form input:focus, .form textarea:focus {
    border-radius: .2rem;
    outline: 1px solid #FEA31E;
}

.form button {
    cursor: pointer;
    background: var(--btn-on);
    color: #fff;
    height: 2.5rem;
    font-weight: bolder;
    border: none;
}

.mail-detail h2 {
    font-size: 2.3rem;
    color: var(--principal-title);
    line-height: 2.4rem;
    font-weight: 900;
}

.mail-detail p {
    text-align: justify;
    margin-top: 1rem;
    font-size: 1rem;
    color: #787878;
}

.message {
    z-index: 99;
    top: 90px;
    right: 1rem;
    position: fixed;
    align-items: center;
    font-size: .8rem;
    font-weight: 700;
    padding: .5rem 1.4rem;
    border-radius: .4rem;
    color: #fff;
    display: none;
}

.message .prf {
    text-align: justify;
}

.warning {
    display: flex;
    color: #d29f0a;
    border: 1px solid #ffecb5;
    background: #fff3cd;
}

.send {
    display: flex;
    color: #71b66c;
    border: 1px solid #7fbb7a;
    background: #e1f8de;
}

.btn {
    cursor: pointer;
    right: 0;
    padding-left: 1rem;
    font-size: 1.3rem;
}

/* Media Queries */
@media (max-width: 1200px) {
    .carousel-controls {
        font-size: 80px;
    }

    .mail {
        flex-direction: column;
        gap: 2rem;
    }

    .mail-detail, .form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .carousel-controls {
        font-size: 60px;
    }

    .information {
        width: 90%;
    }

    .redirect .move, .redirect .more-info, .redirect .contact {
        font-size: .6rem;
        padding: .6rem 1.5rem;
    }

    .bloq-services {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 80%;
    }

    .cont-date {
        margin: 2rem;
        width: auto;
    }
}

@media (max-width: 480px) {
    .carousel-controls {
        font-size: 40px;
    }

    .information h2 {
        font-size: 1.8rem;
    }

    .carousel-dots .carousel-dot {
        width: 0.8rem;
        height: 0.8rem;
    }

    .title-project {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cont-mail {
        padding: 4rem 0;
    }
}
