/* ================= RESET ================= */

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* ================= FONDO DECORATIVO ================= */

.background-shapes {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.background-shapes .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle1 {
    width: 450px;
    height: 450px;
    background: #7b1e1e;
    top: -150px;
    left: -150px;
}

.circle2 {
    width: 350px;
    height: 350px;
    background: #000;
    bottom: -150px;
    right: -150px;
}

.circle3 {
    width: 250px;
    height: 250px;
    background: #7b1e1e;
    top: 50%;
    left: 60%;
}

/* ================= NAV ================= */

.main_nav {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
    position: relative;
    z-index: 10;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.logo {
    width: 380px;
}

.logo-item {
    display: flex;
    align-items: center;
}

.main_menu_link {
    background: #7b1e1e;
    color: white;
    padding: 18px 38px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 20px;
    margin-left: 18px;
    transition: 0.3s;
}

.main_menu_link:hover {
    background: #5c1515;
    transform: translateY(-2px);
}

.menu_toggle {
    display: none;
    font-size: 38px;
    cursor: pointer;
    color: #7b1e1e;
}

/* ================= SECCIONES ================= */

section {
    padding: 100px 80px;
}

/* ================= QUIENES SOMOS ================= */

.quienes-somos {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.quienes-somos h2 {
    color: #7b1e1e;
    font-size: 46px;
}

.quienes-somos p {
    font-size: 28px;
    line-height: 1.7;
}

/* ================= CARRUSEL ================= */

.carrusel {
    overflow: hidden;
    padding: 80px 0;
}

.fotos {
    display: flex;
    list-style: none;
    animation: scroll 35s linear infinite;
    padding: 0;
    margin: 0;
}

.fotos li {
    margin: 0 25px;
}

.fotos img {
    width: 260px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition: 0.4s;
}

.fotos img:hover {
    transform: scale(1.88);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ================= VALORES ================= */

.cuerpo {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.section {
    background: white;
    width: 320px;
    padding: 50px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition: 0.3s;
}

.section:hover {
    transform: translateY(-10px);
}

.imagenes {
    width: 120px;
}

.title {
    color: #7b1e1e;
    font-size: 28px;
}

.copy {
    font-size: 17px;
}

/* ================= FOOTER ================= */

.pie_pagina {
    background: #111;
    color: rgb(23, 6, 6);
    padding: 80px 60px 30px;
}

.zona1 {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.box {
    flex: 1;
    min-width: 250px;
}

.logo-footer img {
    width: 220px;
}

.pie_pagina h2 {
    color: #7b1e1e;
}

.pie_pagina p {
    color: #ddd;
}

.red-social a {
    font-size: 26px;
    margin-right: 18px;
    color: white;
}

.red-social a:hover {
    color: #7b1e1e;
}

.zona2 {
    margin-top: 50px;
    text-align: center;
    color: #aaa;
}

/* ================= MOVIL ================= */

@media (max-width: 768px) {

    .main_nav {
        padding: 25px 30px;
    }

    .menu_toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 140px;
        left: 0;
        width: 100%;
        background: rgb(67, 63, 63);
        padding: 45px 0;
        gap: 35px;
        align-items: center;
    }

    .menu.active {
        display: flex;
    }

    .main_menu_link {
        width: 92%;
        padding: 22px 0;
        font-size: 21px;
        margin: 0;
        text-align: center;
    }

    .logo {
        width: 190px;
        margin-bottom: 20px;
    }

    section {
        padding: 70px 25px;
    }

    .fotos img {
        width: 180px;
    }

    .section {
        width: 100%;
        max-width: 360px;
    }

    .zona1 {
        flex-direction: column;
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    z-index: 9999;
    animation: pulse 2s infinite;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ANIMACION */

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

/* ================================
   FOOTER CON OLA INTEGRADA
================================ */

.wave-container {
    width: 100%;
    overflow: hidden;
}

.wave {
    width: 100%;
    height: 150px;
    display: block;
}

.wave path {
    fill: #7b1e1e;
}

/* Pie de página */
/* Pie de página */
.pie_pagina {
    background-color: #222;
    color: #c06161;
    font-family: Arial, sans-serif;
    position: relative;
    margin-top: 50px;
}

/* Ola animada */
.wave-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.wave {
    width: 200%;
    /* más ancho para animación */
    height: 100%;
    animation: moveWave 8s linear infinite;
}

.wave path {
    fill: #8B0000;
    /* rojo vino */
}

/* Animación */
@keyframes moveWave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Zona principal */
.zona1 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
}

.box {
    flex: 1;
    min-width: 250px;
    margin: 15px;
}

.logo-footer {
    max-width: 280px;
}

/* Títulos */
.box h2 {
    color: #8B0000;
    /* rojo vino */
    margin-bottom: 10px;
}

/* Texto */
.box p {
    font-size: 17px;
    line-height: 1.5;
}

/* Redes sociales */
.red-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.red-social a {
    font-size: 20px;
    color: #545252;
    transition: color 0.3s ease;
}

.red-social a:hover {
    color: #8B0000;
    /* rojo vino al pasar el mouse */
}

/* Zona inferior */
.zona2 {
    text-align: center;
    background-color: #111;
    padding: 10px;
    font-size: 13px;
    border-top: 1px solid #333;
}