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

body {
    font-family: "Georgia", "Times New Roman", serif;
    background-color: rgb(248, 248, 248);
    color: #222;
    line-height: 1.4;
}

.container {
    display: flex;

}

/* Lado derecho */
.navbar {
    display: flex;
    align-items: center;
    background: #f5dcba;
    height: 45px;
}

.menu-link {
    display: flex;
    text-decoration: none;
    font-size: 1.3rem;
    color: rgb(119, 64, 57);
    text-align: center;
    justify-items: center;
    margin-right: 20px;
}

.menu-link:hover {
    color: #252525;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* --- Menú hamburguesa --- */
.menu-toggle {
    display: none;
    cursor: pointer;
}


/* --- Responsivo --- */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 20px;
        background-color: rgb(231, 149, 122);
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 15px;
        width: 200px;
        z-index: 100;
    }

    .menu a {
        padding: 10px 0;
        text-align: right;
        border-bottom: 1px solid #080808;
    }

    .menu-toggle {
        display: block;
        color: black;
        margin-right: 20px;
        font-size: 30px;
        margin-left: 22em;
        z-index: 5;

    }

    .menu.show {
        display: flex;
        margin-right: 22px;
        margin-top: 30px;
    }
}

.services-Link a {
    display: flex;
    text-decoration: none;
    font-size: 1.3rem;
    color: rgb(119, 64, 57);
    margin-right: 20px;
}

li.services-Link {
    list-style-type: none;
}

.services-Link:hover .submenu {
    display: block;
    width: 210px;
}

.submenu li {
    padding: 5px 0px 0px 10px;
    color: white;
    line-height: 22px;
}

.portadaImg {
    width: 430px;
    margin-top: 5px;
}

#inicio {
    margin-left: 27px;
}

.redes {
    font-size: 22px;
    display: flex;
    margin-left: 6em;
    color: black;
}

.redes i {
    color: black;
}

.banner-text {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
    }

    li {
        font-size: 14px;
    }

    .submenu {
        font-size: 14px;
        display: none;
        position: absolute;
        list-style: none;
        padding: 10px;
        border-radius: 5px;
        width: 170px;
    }

    ul {
        display: flex;
        gap: 20px;
        margin-right: 10px;
    }

    .portadaImg {
        width: 91px;
        margin-top: 15px;
    }

    .navbar {
        margin-top: -3.9em;
        height: 57px;
    }

    #inicio {
        margin: 0px;
    }

    .redes {
        margin-left: 0.3em;
        color: black;
    }

    .redes i {
        color: black;
    }

    .banner-text {
        padding-right: 30px;
    }
    .campo.boton button{
        margin-top: 22.5px;
    }

}

@media (max-width: 480px) {
    .menu-toggle {
        margin-left: 10em;
    }

    .portadaImg {
        width: 51px;
        margin-top: 5px;
    }

    .navbar {
        margin-left: -25px;
        margin-top: -4.6em;
        height: 69px;
    }

    .banner-text {
        padding-right: 0px;
    }

    .banner-text p {
        text-align: justify;
    }

}


.lado-izquierdo {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: slideInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-120px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.formulario {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin: auto;
    background-color: #f5dcba;
    padding: 20px;
}

.campo {
    display: flex;
    flex-direction: column;
}

.campo label {
    margin-bottom: 5px;
    font-weight: 600;
}

.campo input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.campo.boton {
    grid-column: 2 / 3;
    display: flex;
    justify-content: center;
}

.campo.boton button {
    background: #e2c7a2;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    width: 200px;
    align-content: center;
}

.campo.boton button:hover {
    background: rgb(238, 196, 108);
}


@media (max-width: 768px) {
    .formulario {
        grid-template-columns: 1fr;
    }
}

.curva {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: -6px;
}

/* SVG de la curva */
.curva svg {
    display: block;
    width: 100%;
    height: 150px;
    margin-top: -50px;
    background-color: #f5dcba;

}

@media (max-width: 480px) {
    .formulario {
        display: flex;
        flex-direction: column;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        width: 320px;
        background-color: #f5dcba;
        padding: 20px;
        margin-right: 40px;
    }
}

/* Footer dentro de la curva */
.footer {
    text-align: center;
    position: relative;
    margin-top: -55px;
    background-color: #f5dcba;
}

.footer p {
    margin: 0;
    font-size: 16px;
    color: #444;
}

.footer .sociales {
    margin-top: 10px;
}

.footer .sociales a {
    color: #444;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer .sociales a:hover {
    color: #b28b62;
}
/* Estilo Whatsapp */

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

/* Botón de WhatsApp */
.whatsapp-button {
    display: flex;
    align-items: center;
    background-color: #25d366;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s;
}

/* Icono de WhatsApp */
.whatsapp-icon {
    width: 30px;
    height: 30px;   
}

/* Texto emergente */
.whatsapp-text {
    margin-left: 10px;
    margin-right: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;    
   }

/* Mostrar texto emergente al hacer hover */
.whatsapp-button:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* Mostrar el botón cuando es visible */
.whatsapp-container.visible {
    opacity: 1;
    visibility: visible;    
    transform: translateX(-10px);
    transition: opacity 0.3s, transform 0.5s;
}
.contact-line{
text-decoration: none;
color: #444;
margin-top: 15px;
padding-bottom: 20px;
}
.contact-line a{
    margin-right: 10px; 
    text-decoration: none;
 color: #444;
}