/* =====================================================
   ARCHIVO OLFATIVO — Estilos MVP Premium
   Diseño editorial minimalista refinado
   ===================================================== */

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Pro', 'Crimson Text', 'Georgia', 'Times New Roman', serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #0a0a0a;
    background-color: #faf9f6;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga", "kern";
}

/* Contenedor principal */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
}

/* Tipografía */
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: #000000;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 400;
    margin: 4rem 0 1.5rem 0;
    letter-spacing: -0.03em;
    color: #000000;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 500;
    margin: 2.5rem 0 1rem 0;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.75rem;
    text-rendering: optimizeLegibility;
}

p + p {
    text-indent: 1.5em;
}

strong {
    font-weight: 600;
    letter-spacing: -0.01em;
}

em {
    font-style: italic;
}

blockquote {
    margin: 2.5rem 0;
    padding-left: 2rem;
    border-left: 2px solid #d4d2cd;
    font-style: italic;
    color: #2a2a2a;
}

/* Enlaces */
a {
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #0a0a0a;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #4a4a4a;
    border-bottom-color: #4a4a4a;
}

/* Header */
header {
    padding: 2.5rem 0;
    border-bottom: 2px solid #e0ddd7;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(180deg, #fdfbf7 0%, #faf9f6 100%);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #000000;
    flex: 1;
}

.site-title a {
    border-bottom: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-title a:hover {
    opacity: 0.7;
    color: #000000;
}

/* Navegación */
nav {
    margin-top: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    font-size: 1rem;
    border-bottom: none;
    padding: 0.5rem 0;
    letter-spacing: 0.03em;
    color: #1a1a1a;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #000000;
}

nav a:hover::after {
    width: 100%;
}

/* Hero / Sección destacada */
.hero {
    margin: 3rem 0 5rem;
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
    border-top: 1px solid #e0ddd7;
    border-bottom: 1px solid #e0ddd7;
}

.hero h1 {
    max-width: 900px;
}

.hero-statement {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-style: normal;
    color: #2a2a2a;
    font-weight: 400;
    max-width: 850px;
    padding: 2rem 0;
    border-left: 4px solid #000;
    padding-left: 2rem;
}

/* Artículos y ensayos */
.featured-essay {
    margin: 4rem 0;
    padding: 4rem;
    border: 2px solid #d4d2cd;
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.featured-essay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #000 0%, #666 100%);
}

.essay-list {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 3rem;
}

.essay-item {
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e8e6e1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.essay-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #d4d2cd;
}

.essay-item:last-child {
    padding-bottom: 2rem;
}

.essay-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 500;
}

.essay-title a {
    border-bottom: none;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000;
}

.essay-title a:hover {
    color: #555;
}

.essay-meta {
    font-size: 0.8125rem;
    color: #888;
    margin-bottom: 1rem;
    font-style: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f5f3f0;
    border-radius: 2px;
}

.essay-excerpt {
    color: #3a3a3a;
    line-height: 1.7;
    font-size: 1rem;
}

/* Página de ensayo individual */
.essay-header {
    margin-bottom: 4rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #d4d2cd;
}

.essay-content {
    margin-bottom: 5rem;
}

.essay-content p:first-of-type {
    font-size: 1.3125rem;
    line-height: 1.65;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-indent: 0;
}

/* Navegación de ensayos */
.essay-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 3rem;
    border-top: 1px solid #e8e6e1;
    margin-top: 5rem;
}

.essay-nav-link {
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.essay-nav-link a {
    color: #2a2a2a;
}

.essay-nav-link.prev::before {
    content: "← ";
    opacity: 0.6;
}

.essay-nav-link.next::after {
    content: " →";
    opacity: 0.6;
}

/* Imágenes y media */
.essay-image,
.content-image {
    width: 100%;
    height: auto;
    margin: 3rem 0;
    border: 1px solid #e0ddd7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.image-caption {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
    padding: 0 2rem;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Manifiesto */
.manifiesto {
    margin: 5rem 0;
}

/* Intro de sección */
.section-intro {
    font-size: 1.1875rem;
    margin-bottom: 4rem;
    color: #2a2a2a;
    font-style: italic;
    line-height: 1.65;
}

/* Acerca de */
.about-section {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background-color: #ffffff;
    border-left: 4px solid #000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.about-section h2 {
    margin-top: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.contact {
    margin-top: 5rem;
    padding: 3rem;
    border: 2px solid #d4d2cd;
    background-color: #fdfbf7;
    text-align: center;
}

.contact a {
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 1.125rem;
}

/* Footer */
footer {
    margin-top: 8rem;
    padding: 4rem 0;
    border-top: 3px solid #d4d2cd;
    font-size: 1rem;
    color: #4a4a4a;
    text-align: center;
    font-style: italic;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, #faf9f6 0%, #f5f3f0 100%);
}

footer p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Badges y elementos visuales */
.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4d2cd 50%, transparent 100%);
    margin: 4rem 0;
}

.highlight-box {
    padding: 2rem;
    background-color: #fdfbf7;
    border-left: 4px solid #000;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e0ddd7;
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: #000;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .essay-list {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container,
    .container-wide {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    body {
        line-height: 1.7;
    }
    
    /* Header móvil mejorado */
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 0;
        background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
        border-bottom: 2px solid #d4d2cd;
        margin-bottom: 2rem;
    }
    
    .site-title {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        letter-spacing: 0.12em;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e8e6e1;
        width: 100%;
    }
    
    /* Navegación móvil mejorada */
    nav {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    nav ul {
        gap: 0;
        width: 100%;
        border-top: 1px solid #e8e6e1;
        padding-top: 1rem;
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid #f5f3f0;
        padding: 0.625rem 0;
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        padding: 0.5rem 0;
        font-size: 0.9375rem;
        letter-spacing: 0.05em;
        font-weight: 500;
    }
    
    nav a::after {
        display: none;
    }
    
    nav a:hover {
        padding-left: 0.5rem;
        transition: padding-left 0.2s ease;
    }
    
    /* Contenedores móvil */
    .container,
    .container-wide {
        padding: 2rem 1.25rem;
    }
    
    /* Tipografía móvil mejorada */
    h1 {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
        letter-spacing: -0.03em;
    }
    
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin: 2.5rem 0 1rem 0;
    }
    
    h3 {
        font-size: 1.375rem;
        line-height: 1.35;
    }
    
    p {
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    /* Hero móvil mejorado */
    .hero {
        padding: 2.5rem 0;
        margin: 2rem 0 3rem;
        background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
    }
    
    .badge {
        font-size: 0.6875rem;
        padding: 0.375rem 0.875rem;
        letter-spacing: 0.06em;
    }
    
    .hero-statement {
        font-size: 1.1875rem;
        line-height: 1.65;
        padding: 1.5rem 0 1.5rem 1.25rem;
        border-left-width: 3px;
        margin-bottom: 2rem;
    }
    
    /* Stats grid móvil */
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2.5rem 0;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        border: 2px solid #e8e6e1;
        background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    }
    
    .stat-number {
        font-size: 2.25rem;
        margin-bottom: 0.375rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.04em;
    }
    
    /* Divider móvil */
    .divider {
        margin: 3rem 0;
        height: 1px;
    }
    
    /* Featured essay móvil */
    .featured-essay {
        padding: 2rem 1.5rem;
        margin: 3rem 0;
        border: 2px solid #d4d2cd;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
    
    .featured-essay::before {
        width: 3px;
    }
    
    .featured-essay h2 {
        font-size: 1.5rem;
        margin-top: 0;
    }
    
    /* Essay items móvil */
    .essay-item {
        padding: 1.75rem 1.5rem;
        margin-bottom: 1.5rem;
        border: 2px solid #e8e6e1;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
    }
    
    .essay-item:hover {
        transform: none;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    
    .essay-title {
        font-size: 1.375rem;
        line-height: 1.35;
        margin-bottom: 0.75rem;
    }
    
    .essay-meta {
        font-size: 0.6875rem;
        padding: 0.25rem 0.625rem;
        margin-bottom: 1rem;
    }
    
    .essay-excerpt {
        font-size: 0.9375rem;
        line-height: 1.65;
    }
    
    /* Highlight box móvil */
    .highlight-box {
        padding: 1.5rem;
        margin: 2.5rem 0;
        border-left-width: 3px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }
    
    .highlight-box h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* About sections móvil */
    .about-section {
        padding: 1.75rem 1.5rem;
        margin-bottom: 2rem;
        border-left-width: 3px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }
    
    .about-section h2 {
        font-size: 1.5rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    /* Contact móvil */
    .contact {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
        border: 2px solid #d4d2cd;
    }
    
    .contact h2 {
        font-size: 1.375rem;
    }
    
    .contact a {
        font-size: 1rem;
        display: inline-block;
        margin-top: 0.5rem;
    }
    
    /* Essay navigation móvil */
    .essay-navigation {
        flex-direction: column;
        gap: 1rem;
        padding-top: 2rem;
        margin-top: 3rem;
        border-top: 2px solid #d4d2cd;
    }
    
    .essay-nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        background-color: #fdfbf7;
        border: 1px solid #e0ddd7;
    }
    
    .essay-nav-link a {
        font-size: 0.875rem;
        letter-spacing: 0.04em;
    }
    
    /* Section intro móvil */
    .section-intro {
        font-size: 1.0625rem;
        margin-bottom: 3rem;
        padding: 1.5rem;
        background-color: #ffffff;
        border-left-width: 3px;
    }
    
    /* Essay header móvil */
    .essay-header {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 2px solid #d4d2cd;
    }
    
    .essay-header h1 {
        font-size: 2rem;
    }
    
    .essay-content p:first-of-type {
        font-size: 1.125rem;
        padding-left: 1rem;
        border-left-width: 3px;
    }
    
    /* Footer móvil */
    footer {
        margin-top: 5rem;
        padding: 3rem 1.25rem;
        border-top: 2px solid #d4d2cd;
    }
    
    footer p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Imágenes móvil */
    .hero-image {
        height: 250px;
        margin-bottom: 2rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .essay-image,
    .content-image {
        margin: 2rem 0;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .image-caption {
        font-size: 0.8125rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14.5px;
    }
    
    body {
        line-height: 1.65;
    }
    
    /* Header móvil pequeño */
    header {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    
    .site-title {
        font-size: 1.125rem;
        letter-spacing: 0.1em;
        padding-bottom: 0.875rem;
        margin-bottom: 1rem;
    }
    
    /* Contenedores móvil pequeño */
    .container,
    .container-wide {
        padding: 1.5rem 1rem;
    }
    
    /* Tipografía móvil pequeño */
    h1 {
        font-size: 1.875rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }
    
    h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.875rem 0;
    }
    
    h3 {
        font-size: 1.25rem;
        margin: 1.75rem 0 0.75rem 0;
    }
    
    /* Navegación móvil pequeño */
    nav ul {
        padding-top: 0.875rem;
    }
    
    nav li {
        padding: 0.5rem 0;
    }
    
    nav a {
        font-size: 0.875rem;
        padding: 0.375rem 0;
    }
    
    /* Hero móvil pequeño */
    .hero {
        padding: 2rem 0;
        margin: 1.5rem 0 2.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .badge {
        font-size: 0.625rem;
        padding: 0.3125rem 0.75rem;
    }
    
    .hero-statement {
        font-size: 1.0625rem;
        line-height: 1.6;
        padding: 1.25rem 0 1.25rem 1rem;
        border-left-width: 3px;
        margin-bottom: 1.5rem;
    }
    
    /* Stats móvil pequeño en una columna */
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .stat-item {
        padding: 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
        text-align: right;
        flex: 1;
    }
    
    /* Divider móvil pequeño */
    .divider {
        margin: 2.5rem 0;
    }
    
    /* Featured essay móvil pequeño */
    .featured-essay {
        padding: 1.5rem 1.25rem;
        margin: 2.5rem 0;
    }
    
    .featured-essay h2 {
        font-size: 1.375rem;
    }
    
    .featured-essay h3 {
        font-size: 1.25rem;
    }
    
    /* Essay items móvil pequeño */
    .essay-item {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .essay-title {
        font-size: 1.25rem;
        margin-bottom: 0.625rem;
    }
    
    .essay-meta {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }
    
    .essay-excerpt {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Highlight box móvil pequeño */
    .highlight-box {
        padding: 1.25rem;
        margin: 2rem 0;
    }
    
    .highlight-box h3 {
        font-size: 1.125rem;
    }
    
    .highlight-box p {
        font-size: 0.9375rem;
    }
    
    /* About sections móvil pequeño */
    .about-section {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1.75rem;
    }
    
    .about-section h2 {
        font-size: 1.375rem;
    }
    
    .about-section p {
        font-size: 0.9375rem;
    }
    
    /* Contact móvil pequeño */
    .contact {
        padding: 1.75rem 1.25rem;
        margin-top: 2.5rem;
    }
    
    .contact h2 {
        font-size: 1.25rem;
    }
    
    .contact p {
        font-size: 0.9375rem;
    }
    
    /* Essay navigation móvil pequeño */
    .essay-navigation {
        padding-top: 1.75rem;
        margin-top: 2.5rem;
    }
    
    .essay-nav-link {
        padding: 0.625rem 0.75rem;
    }
    
    .essay-nav-link a {
        font-size: 0.8125rem;
    }
    
    /* Section intro móvil pequeño */
    .section-intro {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 1.25rem;
    }
    
    /* Essay header móvil pequeño */
    .essay-header {
        margin-bottom: 2.5rem;
        padding-bottom: 1.75rem;
    }
    
    .essay-header h1 {
        font-size: 1.75rem;
    }
    
    .essay-content p:first-of-type {
        font-size: 1.0625rem;
        padding-left: 0.875rem;
    }
    
    /* Footer móvil pequeño */
    footer {
        margin-top: 4rem;
        padding: 2.5rem 1rem;
    }
    
    footer p {
        font-size: 0.9375rem;
        line-height: 1.55;
    }
    
    /* Imágenes móvil pequeño */
    .hero-image {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .image-caption {
        font-size: 0.75rem;
        padding: 0 0.5rem;
        margin-top: 0.75rem;
    }
    
    /* Manifiesto móvil pequeño */
    .manifiesto {
        margin: 3rem 0;
    }
    
    /* Essay content móvil pequeño */
    .essay-content {
        margin-bottom: 3rem;
    }
    
    .essay-content h2 {
        font-size: 1.375rem;
        margin-top: 2rem;
    }
    
    .essay-content h3 {
        font-size: 1.125rem;
    }
    
    .essay-content p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
}
