/* ESTÉTICA ASYMMETRIC EDITORIAL - ELENA APARICIO BARINAGA (AMALTHEA) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;600&display=swap');

:root {
    --paper-bg: #FAF6EE;         /* Blanco Papel Amantecado / Fondo General */
    --ink-dark: #1C1A17;         /* Tinta Carbón / Textos principales */
    --walnut: #7D6752;           /* Nuez Atabacado / Acentos de sección */
    --sage-ink: #5E6B60;         /* Verde Musgo / Datos técnicos */
    --line-fine: 1px solid rgba(28, 26, 23, 0.12);
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--paper-bg); 
    color: var(--ink-dark); 
    line-height: 1.7; 
    font-weight: 300;
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; color: var(--ink-dark); }

/* MAQUETACIÓN EDITORIAL: ENCABEZADO DESCENTRADO */
.editorial-header {
    width: 100%;
    border-bottom: var(--line-fine);
    padding: 40px 8%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.brand h1 { font-size: 2.8rem; letter-spacing: -1px; line-height: 0.9; }
.brand h1 span { font-style: italic; color: var(--walnut); }
.brand p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--sage-green); margin-top: 10px; font-weight: 600; }

/* MENÚ COMO ÍNDICE DE PUBLICACIÓN (STAGGERED NAV) */
nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--ink-dark); font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--walnut); font-style: italic; }
.lang-capsule { border-left: var(--line-fine); padding-left: 20px; }
.lang-selector { background: transparent; border: none; color: var(--ink-dark); font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600; cursor: pointer; outline: none; text-transform: uppercase; }

/* BARRA DE METADATOS SUPERIOR (ESTILO ENSAYO) */
.meta-data-strip {
    padding: 15px 8%;
    border-bottom: var(--line-fine);
    font-size: 0.8rem;
    color: var(--sage-ink);
    display: flex;
    justify-content: space-between;
    letter-spacing: 1px;
}

/* HERO SECTION (ASIMÉTRICO CON TEXTO DE DESPLAZAMIENTO) */
.hero-editorial {
    display: flex;
    border-bottom: var(--line-fine);
    min-height: 85vh;
}
.hero-column-text {
    width: 55%;
    padding: 100px 8% 80px;
    border-right: var(--line-fine);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-column-text h2 { font-size: 4.5rem; line-height: 1; margin-bottom: 40px; letter-spacing: -2px; }
.hero-column-text p { font-size: 1.15rem; color: #4a4540; max-width: 550px; text-align: justify; }
.hero-column-img {
    width: 45%;
    position: relative;
    background-color: #F0EAE1;
}
.hero-column-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

/* BLOQUES DE LECTURA FLUIDA */
.journal-section { padding: 120px 8%; border-bottom: var(--line-fine); }
.section-title { font-size: 3.5rem; margin-bottom: 60px; font-weight: 400; position: relative; }
.section-title span { font-style: italic; color: var(--walnut); }

.editorial-layout-two-col {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 80px;
}
.editorial-quote { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; line-height: 1.2; color: var(--walnut); border-left: 3px solid var(--walnut); padding-left: 30px; }

/* SERVICIOS (REGLA: SOLO TÍTULOS - GRIDS EDITORIALES LIMPIOS) */
.services-editorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; }
.service-journal-card { text-decoration: none; display: block; }
.service-journal-card .img-frame { width: 100%; height: 400px; overflow: hidden; border: var(--line-fine); margin-bottom: 25px; background: #EFECE6; }
.service-journal-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); filter: grayscale(30%); }
.service-journal-card:hover img { transform: scale(1.03); filter: grayscale(0%); }
.service-journal-card h3 { font-size: 1.6rem; color: var(--ink-dark); text-align: left; transition: var(--transition); }
.service-journal-card:hover h3 { color: var(--walnut); padding-left: 10px; }

/* TESTIMONIOS (REGLA: 100% ANÓNIMOS - BLOQUES LITERARIOS) */
.testimonial-editorial-stack { display: flex; flex-direction: column; gap: 60px; max-width: 900px; margin: 0 auto; }
.testimonial-journal-item { border-bottom: 1px dashed rgba(28,26,23,0.2); padding-bottom: 40px; }
.testimonial-journal-item:last-child { border: none; }
.testimonial-journal-item p { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-style: italic; color: #3a3530; line-height: 1.6; }

/* DUDAS (REGLA: EXACTAMENTE 2, H3 + P) */
.faq-editorial-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; }
.faq-journal-box h3 { font-size: 1.7rem; margin-bottom: 20px; color: var(--walnut); line-height: 1.2; }
.faq-journal-box p { font-size: 1.05rem; color: #4a4540; text-align: justify; }

/* FOOTER ASIMÉTRICO */
footer { padding: 100px 8% 50px; background-color: var(--ink-dark); color: var(--paper-bg); }
footer h1, footer h4, footer a { color: var(--paper-bg); }
.footer-editorial-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-editorial-grid h4 { font-family: 'Inter', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; color: rgba(250,246,238,0.5); }
.footer-editorial-grid p { font-size: 0.95rem; margin-bottom: 12px; color: rgba(250,246,238,0.8); }
.footer-menu-list { list-style: none; }
.footer-menu-list li { margin-bottom: 12px; }
.footer-menu-list a { text-decoration: none; font-size: 0.95rem; transition: var(--transition); opacity: 0.7; }
.footer-menu-list a:hover { opacity: 1; color: var(--walnut); }

/* REGLA ESTRICTA LOGO KIT DIGITAL: BLANCO, PADDING, COMPLETAMENTE OPERATIVO */
.logo-kit-local { display: block; margin: 0 0 40px 0; max-width: 240px; width: 100%; height: auto; background-color: #FFFFFF !important; padding: 12px; border-radius: 0; }
.footer-closing-meta { border-top: 1px solid rgba(250,246,238,0.1); padding-top: 30px; font-size: 0.8rem; color: rgba(250,246,238,0.4); letter-spacing: 1px; display: flex; justify-content: space-between; }

/* ADAPTABILIDAD RESPONSIVE */
@media (max-width: 1024px) {
    .editorial-header { flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px 5%; }
    nav { flex-direction: column; align-items: flex-start; width: 100%; gap: 15px; }
    .nav-links { flex-wrap: wrap; gap: 15px; }
    .lang-capsule { padding-left: 0; border: none; }
    .hero-editorial { flex-direction: column; }
    .hero-column-text { width: 100%; padding: 60px 5%; border-right: none; border-bottom: var(--line-fine); }
    .hero-column-img { width: 100%; height: 40vh; }
    .editorial-layout-two-col, .faq-editorial-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-editorial-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .footer-editorial-grid { grid-template-columns: 1fr; }
    .hero-column-text h2 { font-size: 3rem; }
}