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

html {
    scroll-behavior: smooth;
}

body {
    background: #0d0b09;
    color: #e8dfd3;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

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

img {
    display: block;
    max-width: 100%;
}

.contenedor {
    width: min(1100px, 90%);
    margin: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 11, 9, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(180, 140, 95, 0.18);
}

nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 21px;
    letter-spacing: 2px;
    color: #dfc5a5;
    white-space: nowrap;
}

.menu {
    display: flex;
    gap: 28px;
    list-style: none;
    font-family: Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.menu a {
    color: #b7a591;
    transition: 0.3s;
}

.menu a:hover {
    color: #f1dfc8;
}

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 5%, rgba(145, 105, 65, 0.17), transparent 32%),
        radial-gradient(circle at 15% 85%, rgba(120, 85, 50, 0.08), transparent 28%),
        linear-gradient(160deg, #0c0a08, #17110d, #080706);
}

.hero-contenido {
    max-width: 850px;
    padding: 90px 20px;
}

.emblema {
    width: 110px;
    height: 110px;
    margin: 0 auto 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(176, 137, 94, 0.28);
    border-radius: 50%;
    background: rgba(37, 29, 22, 0.45);
    box-shadow: 0 0 45px rgba(164, 122, 80, 0.10);
}

.emblema svg {
    width: 70px;
    height: 70px;
    stroke: #c9a986;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: normal;
    letter-spacing: 4px;
    color: #e7d2b6;
    line-height: 1.1;
}

.separador {
    width: 90px;
    height: 1px;
    background: #9b7752;
    margin: 30px auto;
}

.hero p {
    max-width: 680px;
    margin: auto;
    font-size: clamp(18px, 3vw, 24px);
    color: #bca995;
}

.hero-frase {
    margin-top: 22px !important;
    font-size: 16px !important;
    font-style: italic;
    color: #847568 !important;
}

.botones {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.boton {
    display: inline-block;
    padding: 13px 28px;
    border: 1px solid #96714e;
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

.boton:hover {
    background: #96714e;
    color: #0c0a08;
}

section {
    padding: 110px 0;
    scroll-margin-top: 90px;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 60px;
}

.titulo-seccion span {
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    color: #886b4f;
}

.titulo-seccion h2 {
    margin-top: 10px;
    font-size: clamp(36px, 6vw, 54px);
    font-weight: normal;
    color: #dfc8aa;
}

#libros {
    background: #12100d;
}

.libro-destacado {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.separar-libro {
    margin-top: 120px;
    padding-top: 100px;
    border-top: 1px solid rgba(150,113,78,0.30);
}

.portada-libro {
    width: 100%;
    display: block;
    border-radius: 3px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portada-libro:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7);
}

.info-libro .pequeno {
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    color: #8f6e50;
    margin-bottom: 15px;
}

.info-libro h3 {
    font-size: clamp(42px, 6vw, 65px);
    font-weight: normal;
    line-height: 1.1;
    color: #e2c9aa;
    margin-bottom: 25px;
}

.info-libro p {
    color: #ad9c89;
    font-size: 18px;
    margin-bottom: 22px;
}

.frase-libro {
    border-left: 1px solid #96714e;
    padding-left: 22px;
    margin: 30px 0;
    font-style: italic;
    color: #d1bda5 !important;
}

.dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.texto-grande {
    font-size: clamp(31px, 5vw, 47px);
    line-height: 1.25;
    color: #dfc7a9;
    font-weight: normal;
}

.texto-normal {
    margin-top: 25px;
    color: #aa9a89;
    font-size: 18px;
}

#descubrir-el-suplente,
#descubrir-dependencia,
#descubrir-duelo {
    background: #0d0b09;
}

#descubrir-la-receta,
#descubrir-culpa {
    background: #12100d;
}

#musica {
    background:
        radial-gradient(circle at right, rgba(128, 91, 55, 0.10), transparent 40%),
        #0d0b09;
}

.musica-marca {
    width: 120px;
    height: 1px;
    background: #8b694c;
    margin-bottom: 30px;
}

#poemario {
    background:
        radial-gradient(circle at 18% 35%, rgba(128, 91, 55, 0.10), transparent 34%),
        #12100d;
}

.poemario-bloque {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding: 70px 50px;
    border: 1px solid rgba(150, 113, 78, 0.30);
    background: rgba(13, 11, 9, 0.38);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.24);
}

.poemario-bloque .titulo-seccion {
    margin-bottom: 28px;
}

.poemario-texto {
    max-width: 720px;
    margin: 0 auto;
    color: #ad9c89;
    font-size: 18px;
}

.poemario-frase {
    max-width: 650px;
    margin: 34px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(150, 113, 78, 0.30);
    color: #d1bda5;
    font-size: 21px;
    font-style: italic;
}

#eventos {
    background: #12100d;
}

.evento-con-imagen {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 55px;
    padding-bottom: 55px;
    border-top: 1px solid rgba(150, 113, 78, 0.35);
    border-bottom: 1px solid rgba(150, 113, 78, 0.35);
}

.evento-texto {
    text-align: left;
}

.etiqueta-evento {
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    color: #b48b66;
    margin-bottom: 18px;
}

.fecha-grande {
    font-size: clamp(45px, 6vw, 68px);
    line-height: 1;
    font-weight: normal;
    color: #e2c9aa;
    margin-bottom: 25px;
}

.evento-texto h3 {
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.2;
    font-weight: normal;
    color: #d8bea0;
    margin-bottom: 25px;
}

.evento-texto p {
    color: #ad9c89;
    font-size: 18px;
    margin-bottom: 18px;
}

.evento-lugar {
    border-left: 1px solid #96714e;
    padding-left: 20px;
    margin-top: 28px;
    color: #d1bda5 !important;
}

.evento-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.evento-boton {
    display: inline-block;
    padding: 13px 24px;
    border: 1px solid #96714e;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8d3b8;
    text-decoration: none;
    transition: 0.3s;
}

.evento-boton:hover {
    background: #96714e;
    color: #0c0a08;
}

.evento-imagen {
    display: flex;
    justify-content: center;
}

.evento-imagen img {
    width: 100%;
    max-width: 380px;
    display: block;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.evento-imagen img:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7);
}

#mis-comienzos {
    background:
        radial-gradient(circle at 12% 20%, rgba(128, 91, 55, 0.10), transparent 32%),
        #12100d;
}

.comienzos-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 80px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.comienzos-marca {
    position: sticky;
    top: 120px;
    padding: 38px 34px;
    border: 1px solid rgba(150, 113, 78, 0.30);
    background: rgba(13, 11, 9, 0.42);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.comienzos-anio {
    display: block;
    font-size: clamp(64px, 8vw, 96px);
    line-height: 0.95;
    font-weight: normal;
    color: #dfc8aa;
    letter-spacing: -2px;
}

.comienzos-blog {
    margin-top: 18px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 11px;
    line-height: 1.6;
    color: #9f8062;
}

.comienzos-linea {
    width: 70px;
    height: 1px;
    background: #96714e;
    margin: 28px 0;
}

.comienzos-marca p {
    color: #b7a591;
    font-size: 17px;
}

.comienzos-contenido .titulo-seccion {
    text-align: left;
    margin-bottom: 20px;
}

.comienzos-intro {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    color: #dfc7a9;
    font-weight: normal;
    margin-bottom: 35px;
}

.comienzos-contenido .texto-normal {
    margin-top: 21px;
}

.comienzos-frase {
    margin: 36px 0;
    padding: 24px 0 24px 24px;
    border-left: 1px solid #96714e;
    color: #d1bda5;
    font-size: 21px;
    line-height: 1.6;
    font-style: italic;
}

.comienzos-cierre {
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid rgba(150, 113, 78, 0.30);
    color: #d1bda5;
    font-size: 21px;
    font-style: italic;
}

#sobre-mi {
    background: #0d0b09;
}

#contacto {
    text-align: center;
    background: #15110e;
}

.correo-contacto {
    margin-top: 26px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #d1bda5;
}

.correo-contacto a {
    border-bottom: 1px solid rgba(150, 113, 78, 0.45);
    padding-bottom: 4px;
    transition: 0.3s;
}

.correo-contacto a:hover {
    color: #f1dfc8;
    border-color: #96714e;
}

.redes {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.redes a {
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b99571;
}

.redes a:hover {
    color: #eedbc3;
}

footer {
    text-align: center;
    padding: 35px 20px;
    border-top: 1px solid rgba(160, 120, 80, 0.15);
    color: #66594d;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

@media (max-width: 800px) {
    nav {
        flex-direction: column;
        padding: 18px 0;
    }

    .menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .libro-destacado {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .portada-libro {
        max-width: 330px;
        margin: 0 auto;
    }

    .frase-libro {
        text-align: left;
    }

    .info-libro .botones {
        justify-content: center !important;
    }

    .dos-columnas {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .comienzos-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .comienzos-marca {
        position: static;
        max-width: 520px;
        margin: 0 auto;
    }

    .comienzos-contenido .titulo-seccion {
        text-align: center;
    }

    .comienzos-intro {
        text-align: center;
    }

    .evento-con-imagen {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .evento-imagen {
        order: 1;
    }

    .evento-texto {
        order: 2;
        text-align: center;
    }

    .evento-imagen img {
        max-width: 300px;
    }

    .evento-lugar {
        text-align: left;
    }

    .evento-botones {
        justify-content: center;
    }

    .poemario-bloque {
        padding: 50px 24px;
    }

    section {
        padding: 80px 0;
    }
}

/* ===== SOBRE MÍ ===== */

.sobre-mi-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 75px;
    align-items: start;
    max-width: 1050px;
    margin: 0 auto;
}

.sobre-mi-foto {
    position: sticky;
    top: 120px;
}

.sobre-mi-foto img {
    width: 100%;
    display: block;
    border-radius: 4px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.50);

    filter:
        brightness(0.92)
        contrast(1.03)
        saturate(0.88);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.sobre-mi-foto img:hover {
    transform: translateY(-5px);

    box-shadow:
        0 35px 75px rgba(0, 0, 0, 0.65);
}

.sobre-mi-foto::after {
    content: "";
    display: block;
    width: 75px;
    height: 1px;
    background: #96714e;
    margin-top: 28px;
}

.sobre-mi-contenido .titulo-seccion {
    text-align: left;
    margin-bottom: 18px;
}

.sobre-mi-contenido h2 {
    margin-bottom: 25px;
}

.sobre-mi-intro {
    font-size: 21px;
    line-height: 1.6;
    color: #d1bda5;
    font-style: italic;
    margin-bottom: 35px;
    padding-left: 22px;
    border-left: 1px solid #96714e;
}

.sobre-mi-contenido .texto-normal {
    margin-top: 22px;
}

.sobre-mi-cierre {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(150, 113, 78, 0.30);

    font-size: 22px;
    font-style: italic;
    color: #d1bda5;
}

@media (max-width: 800px) {

    .sobre-mi-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sobre-mi-foto {
        position: static;
    }

    .sobre-mi-foto img {
        width: min(340px, 100%);
        margin: 0 auto;
    }

    .sobre-mi-foto::after {
        margin-left: auto;
        margin-right: auto;
    }

    .sobre-mi-contenido .titulo-seccion {
        text-align: center;
    }

    .sobre-mi-contenido h2 {
        text-align: center;
    }

    .sobre-mi-intro {
        text-align: left;
    }

}


/* =====================================================
   PÁGINAS DE LIBRO
===================================================== */

.ficha-libro {
    padding-top: 90px;
    background:
        radial-gradient(circle at 50% 0%, rgba(145, 105, 65, 0.14), transparent 40%),
        #12100d;
}

.migas {
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #886b4f;
    margin-bottom: 50px;
}

.migas a:hover {
    color: #f1dfc8;
}

.ficha-libro h1 {
    font-size: clamp(42px, 6vw, 65px);
    font-weight: normal;
    line-height: 1.1;
    color: #e2c9aa;
    margin-bottom: 25px;
}

.historia-libro {
    background: #0d0b09;
}

.historia-libro .texto-normal:first-child {
    margin-top: 0;
}

.fragmento {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 50px;
    border: 1px solid rgba(150, 113, 78, 0.30);
    background: rgba(13, 11, 9, 0.38);
}

.fragmento p {
    color: #ad9c89;
    font-size: 18px;
    margin-top: 20px;
}

.otros-libros {
    background: #12100d;
}

.rejilla-libros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
}

.mini-libro {
    text-align: center;
}

.mini-libro img {
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.mini-libro:hover img {
    transform: translateY(-6px) rotate(-1deg);
}

.mini-libro span {
    display: block;
    margin-top: 18px;
    font-size: 17px;
    color: #d1bda5;
    line-height: 1.35;
}

.volver {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 800px) {
    .rejilla-libros {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .ficha-libro {
        padding-top: 50px;
    }

    .migas {
        text-align: center;
        margin-bottom: 35px;
    }

    .fragmento {
        padding: 40px 24px;
    }
}
