@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: auto;
}

body {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    width: 100%;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #ecececa0;
    top: 0;
    width: 100%;
    z-index: 1;
    transition: top 0.3s;
}

.icono {
    max-width: 8rem;
    flex: 0 0 auto;
}

.font-title {
    margin-bottom: 10px;
}

.calibri-font {
    font-family: 'Calibri', sans-serif;
    font-size: 28px;
    font-weight: 300;
}

.bars__menu {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    z-index: 40;
}

.bars__menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ec8805d4;
    margin: 4px 0;
    transition: all 200ms;
}

.activeline1__bars-menu {
    transform: rotate(45deg) translate(-2px, 1px);
}

.activeline2__bars-menu {
    opacity: 0;
    margin-left: -30px;
}

.activeline3__bars-menu {
    transform: rotate(-45deg) translate(-4px, 2px);
}

.nav {
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12rem;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #1c1c1c;
    padding: 72px;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
    z-index: 30;
    transition: opacity 0.3s, visibility 0.3s;
}

.nav.visible {
    opacity: 1;
    visibility: visible;
}

.nav-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: 3rem;
}

.nav-list a {
    text-decoration: none;
    color: #ecececec;
}

.services {
    padding: 20px;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.slider {
    position: relative;
    width: 50%;
}

.slides {
    display: flex;
    overflow: hidden;
}

.slides img {
    width: 100%;
    height: auto;
    display: none;
    transition: transform 0.2s ease;
}

.slides img.active {
    display: block;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.prev,
.next {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 1rem;
    cursor: pointer;
}

.service-description {
    padding: 1rem;
    width: 50%;
}

.service-description h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.service-description p {
    font-size: 1rem;
    color: #666;
}

.service-description h4 {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.service-description ul {
    list-style-type: disc;
    padding-left: 20px;
}

.service-description ul ul {
    list-style-type: circle;
}

@media screen and (max-width: 896px) {
    .service-item {
        flex-direction: column;
        align-items: center;
    }

    .slider {
        width: 100%;
    }

    .slides img {
        max-height: 200px;
    }

    .service-description {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-left,
    .footer-right {
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-right h4 {
        margin-right: 0;
    }

}

footer {
    position: relative;
    width: 100%;
    background-color: #2c2c2c;
    color: white;
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-left h4,
.footer-right h4 {
    margin-bottom: .5rem;
}

.bi-instagram,
.bi-envelope {
    margin: 0 0.5rem;
    font-size: 2rem;
    color: #878787;
}

.whatsapp-icon {
    position: fixed;
    bottom: 50px;
    right: 10px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 0.5rem;
    font-size: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#svg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    z-index: -1;
    background: url('background.svg') no-repeat center center;
    background-size: cover;
}