åbody {
    margin: 0;
}

/* CABECERA */
.hero {
    max-width: 1200px;   /* ancho máximo real */
    margin: 40px auto;   /* centrado horizontal */
    padding: 0 20px;     /* margen lateral */
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}
body {
    font-family: 'Montserrat', sans-serif;
}

.intro-text {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 300;   /* ligero como en tu imagen */
    color: #222;
}
/* BLOQUE PRESENTACIÓN */

.presentacion {
    max-width: 1100px;
    margin: 30px auto 60px auto;
    padding: 40px;
    background: #f3efe8;        /* fondo cálido suave */
    border-radius: 24px;
}

/* Grid equilibrado */
.presentacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Texto */
.presentacion-texto p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
    margin: 0;
}

/* Imagen */
.presentacion-imagen img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

/* Icono play centrado */
.video-link {
    position: relative;
    display: block;
}

.video-link::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
}

.video-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-left: 22px solid white;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    z-index: 2;
}

/* Responsive */

/* TITULOS DE BLOQUES */

.titulo-bloque {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 60px auto 40px auto;
    padding-bottom: 12px;
    max-width: 1100px;
    border-bottom: 4px solid #d62828; /* rojo intenso */
}
/* CONTENEDOR GENERAL */
.grid-videos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}
.card {
    width: 260px;
}


/* TARJETAS */

.card {
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* IMAGEN */

.card-img {
    position: relative;
}

.card-img img {
    width: 100%;
    display: block;
}

/* ICONO PLAY CENTRADO Y TRANSLÚCIDO */

.card-img::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    color: white;
    background: rgba(0,0,0,0.45);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* TEXTO */

.card p {
    padding: 18px 20px 22px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* SEGUNDA FILA CENTRADA AUTOMÁTICAMENTE */

/* RESPONSIVE */



/* BLOQUE PARA SABER MÁS */

.bloque-saber {
    max-width: 1200px;
    margin: 25px auto 25px auto;
}

.tabla-saber {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.fila-titulo {
    background: #e8e2d6;
}

.fila-titulo h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    padding: 22px 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fila-libros {
    background: #f3f0ea;
    border-top: 1px solid #ddd6c9;
}

/* Escritorio: 4 libros en horizontal */
.contenedor-libros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    padding: 60px 40px;
    justify-items: center;
}

.contenedor-libros img {
    height: 300px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contenedor-libros img:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
/* BLOQUE SOBRE EL AUTOR */

.bloque-autor {
    max-width: 820px;              /* 🔥 más estrecho que los demás */
    margin: 30px auto 80px auto;
}

.tabla-autor {
    width: 100%;
    border-collapse: collapse;
    background: #f5f3ee;           /* fondo elegante */
    border-radius: 22px;
    overflow: hidden;
}

/* Fila título */

.fila-autor-titulo td {
    background: #e6e0d4;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 22px 0;
}

/* Fila texto */

.fila-autor-texto td {
    padding: 40px 55px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}
/* BLOQUE FINAL LEGAL */

.bloque-legal {
    background: #111;
    padding: 35px 0;
    margin-top: 60px;
}

.legal-contenedor {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.legal-contenedor a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.legal-contenedor a:hover {
    opacity: 0.7;
}
/* PÁGINAS LEGALES */


.pagina-legal h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.pagina-legal p {
    margin-bottom: 18px;
}
/* ========================= */
/* RESPONSIVE MÓVIL */
/* ========================= */

@media (max-width: 768px) {

    /* Presentación pasa a una columna */
    .presentacion-grid {
        grid-template-columns: 1fr;
    }

    /* Videos en columna */
    .grid-videos {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    /* Libros en 2 columnas */
    .contenedor-libros {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 20px;
    }

    .contenedor-libros img {
        height: 200px;
    }

}