/* Fondo general */
body {
    background-color: #cfcaca;
    margin: 0;
    padding: 0;
}

/* LOGO */
.taipi-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;   /* espacio normal */
}

.taipi-logo img {
    max-width: 30%;
    height: auto;
    margin: 0;
}


/* CONTENEDOR GENERAL */
.taipi {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -100px;
}

/* CUADRO BLANCO */
.taipi-contenedor {
    background: white;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* TITULOS */
.taipi-contenedor h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.taipi-contenedor h2 {
    margin-top: 25px;
    font-size: 22px;
    color: #222;
}

.taipi-contenedor p,
.taipi-contenedor ul {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.taipi-contenedor {
    background: white;
    max-width: 900px;
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.taipi-contenedor::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("imagenes/taipi.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    opacity: 0.18;
    z-index: 0;
}

/* Texto encima */
.taipi-contenedor * {
    position: relative;
    z-index: 1;
}


/* ===== TABLET ===== */
@media (max-width: 1280px) {

    .taipi-logo img {
        max-width: 50%;
        margin-top: 150px;
    }

    .taipi-contenedor {
        position: relative;
        overflow: hidden;
    }

    .taipi-contenedor::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("imagenes/taipi.png") no-repeat center / 35%;
        opacity: 0.2;
        z-index: 0;
    }

    .taipi-contenedor * {
        position: relative;
        z-index: 1;
    }
}

/* ===== MOVIL ===== */
@media (max-width: 768px) {

    .taipi-logo img {
        max-width: 80%;
        margin-top: 0;
    }

    .taipi-contenedor::before {
        background-size: 110%;
        opacity: 0.2;
    }
}
