/* Reseteo y estructura base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    min-height: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background-color: #111111;
    color: #f7f4ee;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   HOME: Portada inmersiva
   ========================================= */
.hero-background {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('Dolmen solitario bajo un cielo inmenso daniel carmuega.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.72);
    z-index: 1;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 8px;
    color: #ffffff;
}

.hero-subtitulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(20px, 2.5vw, 24px);
    font-style: italic;
    font-weight: 400;
    color: #d8d3cb;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

/* =========================================
   BOTONES (ESCRITORIO: Ícono + Texto)
   ========================================= */
.contenedor-botones {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-minimal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #f7f4ee;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-minimal:hover {
    background-color: #ffffff;
    color: #121212;
    border-color: #ffffff;
}

.icono-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Home: textos y firma */
.hero-credito {
    font-size: 12px;
    line-height: 1.7;
    color: #a8a49d;
    font-weight: 300;
    max-width: 540px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

.hero-credito a {
    color: #d8d3cb;
    text-decoration: none;
    border-bottom: 1px solid rgba(216, 211, 203, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-credito a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.destello-anno {
    display: inline-block;
    color: #f7f4ee;
    font-style: italic;
    letter-spacing: 0.04em;
    animation: brilloSutil 4s ease-in-out infinite alternate;
}

@keyframes brilloSutil {
    0% {
        opacity: 0.5;
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 1;
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
    }
    100% {
        opacity: 0.7;
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
    }
}

/* Firma exclusiva de Home (abajo a la derecha) */
.firma-jc {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 2;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #66635e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.firma-jc:hover {
    color: #d8d3cb;
}

/* =========================================
   PÁGINAS INTERNAS: ARTÍCULO & ARCHIVO (BLOG)
   ========================================= */
.articulo-pagina {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #111111;
    display: flex;
    justify-content: center;
    padding: 70px 24px 40px 24px;
}

.articulo-contenedor {
    max-width: 620px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Barra superior */
.articulo-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.articulo-volver {
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9c978f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.articulo-volver:hover {
    color: #ffffff;
}

.articulo-fecha {
    font-size: 13px;
    color: #6b6760;
    letter-spacing: 0.03em;
}

/* Título de nota o sección */
.articulo-titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(38px, 5.5vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #ffffff;
    margin-bottom: 40px;
}

/* Cuerpo de lectura */
.articulo-cuerpo p {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: #e5e0d8;
    font-weight: 300;
    margin-bottom: 26px;
    letter-spacing: 0.01em;
}

.articulo-cuerpo blockquote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    line-height: 1.4;
    font-style: italic;
    color: #ffffff;
    border-left: 2px solid rgba(255, 255, 255, 0.35);
    padding: 6px 0 6px 22px;
    margin: 36px 0;
}

/* =========================================
   LISTA DE ARTÍCULOS (BLOG / ARCHIVO)
   ========================================= */
.lista-entradas {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.entrada-item {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.entrada-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.entrada-fecha {
    font-size: 12px;
    color: #6b6760;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    display: block;
}

.entrada-enlace {
    text-decoration: none;
    color: inherit;
    display: block;
}

.entrada-titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.entrada-enlace:hover .entrada-titulo {
    color: #d8d3cb;
}

.entrada-resumen {
    font-size: 14.5px;
    line-height: 1.65;
    color: #a8a49d;
    font-weight: 300;
}

/* Cierre y pie de lectura */
.articulo-cierre {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.articulo-cierre .contenedor-botones {
    margin-bottom: 10px;
}

/* Marca inferior sutil idéntica a JC */
.firma-dolmen {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #66635e;
    text-decoration: none;
    margin-top: 24px;
    display: inline-block;
    transition: color 0.2s ease;
}

.firma-dolmen:hover {
    color: #d8d3cb;
}

/* =========================================
   VERSIÓN MÓVIL: SOLO ÍCONOS EN FILA
   ========================================= */
@media (max-width: 600px) {
    .hero-background {
        padding: 50px 20px 60px 20px;
    }
    
    .contenedor-botones {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 16px;
        width: 100%;
        margin-bottom: 30px;
    }

    .btn-minimal {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 12px;
    }

    .btn-minimal span {
        display: none;
    }

    .btn-minimal .icono-svg {
        width: 20px;
        height: 20px;
    }

    .firma-jc {
        bottom: 16px;
        right: 18px;
    }

    .articulo-pagina {
        padding: 40px 20px 30px 20px;
    }

    .articulo-cuerpo p {
        font-size: 15.5px;
        line-height: 1.8;
    }

    .articulo-cuerpo blockquote {
        font-size: 22px;
        padding-left: 18px;
    }

    .articulo-cierre {
        margin-top: 40px;
        padding-top: 30px;
    }

    .entrada-titulo {
        font-size: 22px;
    }
}
