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

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: sans-serif;
}

/* CONTENEDOR PRINCIPAL */
.main--container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

/* MENÚ */
.main--menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    background-color: #648DB3;
}

.menu--nav__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu--nav__logo__img {
    width: 120px;
    height: auto;
    border-radius: 50%;
    filter: opacity(0.9);
}

/* NAV */
.menu--nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.menu--nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.menu--nav__list__item {
    list-style: none;
    font-size: 1.2rem;
    color: white;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.menu--nav__list__item:hover {
    background-color: #f0f0f0;
    color: #648DB3;
}

/* CONTENIDO PRINCIPAL */
.main--content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    width: 100%;
    min-height: 100vh;
    text-align: center;
}

.main--content__title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.main--content__subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #52357B;
}

.main--content__img__papa {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main--content__grid__prueba {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.grid--imagenes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    height: auto;
    width: 100%;
    padding: 1rem;
    max-width: 1200px;
}

.main--content__paragraph {
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* FORMULARIO */
.main--content__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    width: 100%;
    max-width: 500px;
    background-color: #B2D8CE;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main--content__form label {
    font-weight: bold;
    color: #52357B;
    margin-bottom: 0.2rem;
    font-size: 1rem;
    text-align: left;
}

.main--content__form input,
.main--content__form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.main--content__form input:focus,
.main--content__form textarea:focus {
    outline: none;
    border-color: #5459AC;
    box-shadow: 0 0 0 3px rgba(84, 89, 172, 0.2);
}

.main--content__form button {
    background-color: #52357B;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
}

.main--content__form button:hover {
    background-color: #5459AC;
}

.main--whatsapp {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    color: white;
    position: fixed;

}

.whatsapp-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-arrow {
    width: 30px;
    height: 30px;
    top: 20px;
    right: 20px;
}

.main--footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #648DB3;
    color: white;
    font-size: 0.9rem;
}

/* COLORES DIFERENTES PARA SECCIONES */
.main--content:nth-child(2) {
    background-color: #B2D8CE;
}

.main--content:nth-child(3) {
    background-color: #e8f0fe;
}

.main--content:nth-child(4) {
    background-color: #fff4e6;
}

.main--content:nth-child(5) {
    background-color: #e6ffed;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main--menu {
        flex-direction: column;
        align-items: center;
    }

    .menu--nav {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .menu--nav__list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .menu--nav__list__item {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        font-size: 1.2rem;
    }

    .main--content__title {
        font-size: 2rem;
    }

    .main--content__subtitle {
        font-size: 1.2rem;
    }

    .main--content__paragraph {
        font-size: 0.95rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .menu--nav__logo__img {
        width: 100px;
    }

    .main--content__title {
        font-size: 1.8rem;
    }

    .main--content__subtitle {
        font-size: 1rem;
    }

    .main--content__paragraph {
        font-size: 0.9rem;
    }
}