/* Journamee — Portal de editores
 * Sobrio, denso, institucional. Hereda paleta y tipos de la consumer. */

:root {
    --ed-navy: #003d69;
    --ed-red: #cd1719;
    --ed-ink: #1a1a1a;
    --ed-text: #2c2c2c;
    --ed-muted: #6b6b6b;
    --ed-line: #e3e3e3;
    --ed-bg: #ffffff;
    --ed-bg-alt: #f7f7f5;
}

body.editores {
    background: var(--ed-bg);
    color: var(--ed-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* ---- Navegación ---- */
.nav.nav--editores {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ed-bg);
    border-bottom: 1px solid var(--ed-line);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    pointer-events: auto;
}
.nav.nav--editores .nav__logo,
.nav.nav--editores .nav__link,
.nav.nav--editores .lang-switch__btn {
    pointer-events: auto;
}
.nav.nav--editores .nav__logo {
    opacity: 1;
}
.nav--editores .nav__logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--ed-navy);
    text-decoration: none;
    letter-spacing: 0.01em;
}
.nav--editores .nav__links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 28px;
}
.nav--editores .nav__link {
    color: var(--ed-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 120ms ease, color 120ms ease;
}
.nav--editores .nav__link:hover {
    color: var(--ed-navy);
    border-bottom-color: var(--ed-line);
}
.nav--editores .nav__link.active {
    color: var(--ed-navy);
    border-bottom-color: var(--ed-navy);
}
.nav--editores .lang-switch {
    display: flex;
    gap: 4px;
}
.nav--editores .lang-switch__btn {
    background: transparent;
    border: 1px solid var(--ed-line);
    color: var(--ed-muted);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 120ms ease;
}
.nav--editores .lang-switch__btn:hover {
    color: var(--ed-navy);
    border-color: var(--ed-navy);
}
.nav--editores .lang-switch__btn.active {
    background: var(--ed-navy);
    color: white;
    border-color: var(--ed-navy);
}

/* ---- Layout principal ---- */
.editores__main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 32px 80px;
}
.editores__page {
    max-width: 880px;
}

/* ---- Layout con FAQ lateral ---- */
.editores__page--with-faq {
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    column-gap: 64px;
    align-items: start;
}
.ed-content {
    min-width: 0;
}
.ed-faq {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding-right: 4px;
}
.ed-faq__title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ed-muted);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ed-line);
    margin-bottom: 4px;
}
.ed-faq__item {
    border-bottom: 1px solid var(--ed-line);
    padding: 12px 0;
}
.ed-faq__item summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--ed-ink);
    font-size: 13.5px;
    line-height: 1.45;
    list-style: none;
    position: relative;
    padding-right: 22px;
    outline: none;
}
.ed-faq__item summary::-webkit-details-marker {
    display: none;
}
.ed-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -1px;
    color: var(--ed-muted);
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
}
.ed-faq__item[open] summary {
    color: var(--ed-navy);
}
.ed-faq__item[open] summary::after {
    content: "−";
}
.ed-faq__item p {
    margin-top: 8px;
    color: var(--ed-text);
    font-size: 13px;
    line-height: 1.55;
}
@media (max-width: 1100px) {
    .editores__page--with-faq {
        grid-template-columns: 1fr;
    }
    .ed-faq {
        position: static;
        max-height: none;
        margin-top: 56px;
        padding-top: 24px;
        border-top: 1px solid var(--ed-line);
    }
}

/* ---- Banda de identidad (home) ---- */
.ed-band {
    border-left: 3px solid var(--ed-navy);
    padding: 8px 0 8px 20px;
    margin-bottom: 48px;
}
.ed-band__company {
    font-weight: 600;
    color: var(--ed-navy);
    font-size: 15px;
    letter-spacing: 0.01em;
}
.ed-band__location {
    color: var(--ed-muted);
    font-size: 14px;
    margin-top: 2px;
}

/* ---- Declaración (home) ---- */
.ed-declaration {
    margin-bottom: 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--ed-line);
}
.ed-declaration p {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.45;
    color: var(--ed-ink);
    font-weight: 600;
    max-width: 760px;
}

/* ---- Títulos de sección ---- */
.ed-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ed-muted);
    margin-bottom: 24px;
}

/* ---- Tarjetas del mapa del portal (home) ---- */
.ed-portal-map {
    margin-bottom: 64px;
}
.ed-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.ed-cards--small {
    grid-template-columns: repeat(2, 1fr);
}
.ed-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--ed-bg);
    border: 1px solid var(--ed-line);
    padding: 28px;
    transition: border-color 150ms ease, transform 150ms ease;
}
.ed-card:hover {
    border-color: var(--ed-navy);
}
.ed-card__order {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--ed-muted);
    letter-spacing: 0.1em;
}
.ed-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--ed-navy);
    margin: 8px 0 12px;
    font-weight: 700;
}
.ed-card p {
    color: var(--ed-text);
    font-size: 15px;
    line-height: 1.55;
}

/* ---- Descargas (home) ---- */
.ed-downloads {
    margin-bottom: 24px;
}
.ed-download {
    display: block;
    text-decoration: none;
    color: var(--ed-navy);
    border: 1px solid var(--ed-line);
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: border-color 150ms ease;
}
.ed-download::before {
    content: "↓ ";
    color: var(--ed-muted);
    margin-right: 4px;
}
.ed-download:hover {
    border-color: var(--ed-navy);
}

/* ---- Cabecera de página interior ---- */
.ed-page-head {
    border-bottom: 1px solid var(--ed-line);
    padding-bottom: 32px;
    margin-bottom: 48px;
}
.ed-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ed-muted);
    margin-bottom: 12px;
}
.ed-h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--ed-navy);
    line-height: 1.05;
    margin-bottom: 16px;
}
.ed-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ed-text);
    max-width: 640px;
}

/* ---- Bloques internos ---- */
.ed-block {
    margin-bottom: 48px;
}
.ed-block--alt {
    background: var(--ed-bg-alt);
    padding: 36px 32px;
}
@media (max-width: 700px) {
    .ed-block--alt {
        padding: 28px 20px;
    }
}
.ed-h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--ed-navy);
    margin-bottom: 14px;
    font-weight: 700;
    position: relative;
    padding-left: 14px;
}
.ed-h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 3px;
    height: 22px;
    background: var(--ed-red);
}
.ed-h2--noaccent {
    padding-left: 0;
}
.ed-h2--noaccent::before {
    display: none;
}
.ed-cta {
    margin-top: 28px;
}
.ed-cta--center {
    text-align: center;
}
.ed-h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ed-ink);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ed-block p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ed-text);
    max-width: 680px;
}

/* ---- Sub-bloques dentro de un ed-block (rasgos) ---- */
.ed-feature {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--ed-line);
    position: relative;
}
.ed-feature:first-of-type {
    margin-top: 24px;
    padding-top: 8px;
    border-top: 0;
}
.ed-feature__num {
    position: absolute;
    left: -110px;
    top: 6px;
    width: 80px;
    text-align: right;
    font-family: 'Italiana', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 60px;
    line-height: 1;
    color: #808080;
    letter-spacing: 0;
}
.ed-feature:first-of-type .ed-feature__num {
    top: -6px;
}
@media (max-width: 1100px) {
    .ed-feature {
        padding-left: 70px;
    }
    .ed-feature__num {
        position: absolute;
        left: 0;
        width: 50px;
        text-align: left;
        font-size: 52px;
    }
}
@media (max-width: 700px) {
    .ed-feature {
        padding-left: 0;
    }
    .ed-feature__num {
        position: static;
        display: block;
        width: auto;
        font-size: 44px;
        margin-bottom: 4px;
    }
}
.ed-feature__title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--ed-navy);
    font-weight: 700;
    margin-bottom: 10px;
}
.ed-feature p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ed-text);
    max-width: 680px;
}

/* ---- Figura ilustrativa dentro de un rasgo ---- */
.ed-figure {
    margin: 24px 0 0;
    padding: 0;
}
.ed-figure img {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    border: 1px solid var(--ed-line);
    background: #fff;
    filter: url(#duotone-navy) contrast(1.05);
}
.ed-figure figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ed-muted);
    letter-spacing: 0.04em;
    font-style: italic;
}

/* ---- Tabla "Las herramientas" (modelo) ---- */
.ed-tools-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 15px;
}
.ed-tools-table thead th {
    text-align: left;
    font-weight: 600;
    color: var(--ed-muted);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 10px 16px;
    border-bottom: 1px solid var(--ed-line);
}
.ed-tools-table tbody th {
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--ed-navy);
    font-size: 17px;
    padding: 18px 16px;
    border-bottom: 1px solid var(--ed-line);
    width: 16%;
    vertical-align: top;
}
.ed-tools-table tbody td {
    color: var(--ed-text);
    padding: 18px 16px;
    border-bottom: 1px solid var(--ed-line);
    line-height: 1.5;
    vertical-align: top;
}
.ed-tools-table tbody td:nth-of-type(3) {
    color: var(--ed-navy);
    font-weight: 600;
}
.ed-tools-table tbody tr:last-child th,
.ed-tools-table tbody tr:last-child td {
    border-bottom: 0;
}
@media (max-width: 700px) {
    .ed-tools-table {
        font-size: 13.5px;
    }
    .ed-tools-table thead th,
    .ed-tools-table tbody th,
    .ed-tools-table tbody td {
        padding: 12px 8px;
    }
    .ed-tools-table tbody th {
        font-size: 15px;
    }
}

/* ---- Pasos (embarque) ---- */
.ed-steps {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    counter-reset: none;
}
.ed-step {
    border-top: 1px solid var(--ed-line);
    padding: 24px 0 24px 64px;
    position: relative;
}
.ed-step:last-child {
    border-bottom: 1px solid var(--ed-line);
}
.ed-step__num {
    position: absolute;
    left: 0;
    top: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--ed-navy);
    font-weight: 700;
}
.ed-step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ed-ink);
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0;
}
.ed-step p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ed-text);
}

.ed-step__docs {
    list-style: none;
    margin: 14px 0 0;
    padding: 14px 18px;
    background: var(--ed-bg-alt);
    border-left: 3px solid var(--ed-navy);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ed-text);
}
.ed-step__docs li {
    padding: 4px 0;
}
.ed-step__docs li + li {
    border-top: 1px solid var(--ed-line);
    margin-top: 6px;
    padding-top: 10px;
}
.ed-step__docs strong {
    color: var(--ed-ink);
    font-weight: 600;
}

.ed-step__note {
    margin-top: 14px;
    padding: 14px 18px;
    background: var(--ed-bg-alt);
    border-left: 3px solid var(--ed-navy);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ed-text);
}

.ed-step__detail-wrap {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 24px;
    align-items: start;
}
.ed-step__detail {
    padding: 18px 20px;
    background: var(--ed-bg-alt);
    border-left: 3px solid var(--ed-navy);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ed-text);
}
.ed-step__detail p {
    margin: 0 0 10px;
}
.ed-step__detail p:last-child {
    margin-bottom: 0;
}
.ed-step__detail strong {
    color: var(--ed-ink);
    font-weight: 600;
}
.ed-step__detail-figure {
    margin: 0;
}
.ed-step__detail-figure img {
    width: 100%;
    height: auto;
    border: 1px solid var(--ed-line);
    border-radius: 6px;
    background: var(--ed-bg);
    display: block;
}
.ed-step__detail-figure figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ed-muted);
    text-align: center;
}
@media (max-width: 768px) {
    .ed-step__detail-wrap {
        grid-template-columns: 1fr;
    }
}

.ed-steps__figure {
    list-style: none;
    margin: 28px 0;
    padding: 0;
}
.ed-steps__figure figure {
    margin: 0 auto;
    max-width: 50%;
}
@media (max-width: 768px) {
    .ed-steps__figure figure {
        max-width: 100%;
    }
}
.ed-steps__figure img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--ed-line);
    border-radius: 6px;
}
.ed-steps__figure figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--ed-muted);
    text-align: center;
}

.ed-step-final {
    margin-top: 18px;
    padding-top: 18px;
}

.ed-tools {
    list-style: none;
    margin: 14px 0;
    padding: 14px 18px;
    background: var(--ed-bg-alt);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ed-text);
}
.ed-tools li {
    padding: 4px 0;
}
.ed-tools li + li {
    border-top: 1px solid var(--ed-line);
    margin-top: 6px;
    padding-top: 10px;
}
.ed-tools strong {
    color: var(--ed-ink);
    font-weight: 600;
}
.ed-step-final h3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ed-ink);
    margin-bottom: 6px;
}
.ed-step-final p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ed-text);
}


/* ---- Definiciones (empresa.sociedad) ---- */
.ed-defs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 16px;
}
.ed-defs > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-top: 1px solid var(--ed-line);
    padding: 14px 0;
}
.ed-defs > div:last-child {
    border-bottom: 1px solid var(--ed-line);
}
.ed-defs dt {
    color: var(--ed-muted);
    font-size: 14px;
    font-weight: 500;
}
.ed-defs dd {
    color: var(--ed-ink);
    font-size: 15px;
}

/* ---- Equipo (empresa) ---- */
.ed-note {
    font-size: 13px;
    color: var(--ed-muted);
    font-style: italic;
    margin-bottom: 18px;
}
.ed-team {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--ed-line);
    border: 1px solid var(--ed-line);
}
.ed-team__person {
    background: var(--ed-bg);
    padding: 18px 22px;
}
.ed-team__name {
    font-weight: 600;
    color: var(--ed-ink);
    font-size: 15px;
}
.ed-team__role {
    color: var(--ed-muted);
    font-size: 14px;
    margin-top: 2px;
}

/* ---- Contacto (empresa) ---- */
.ed-contact {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}
.ed-contact li {
    padding: 8px 0;
    border-top: 1px solid var(--ed-line);
    font-size: 15px;
}
.ed-contact li:last-child {
    border-bottom: 1px solid var(--ed-line);
}
.ed-contact a {
    color: var(--ed-navy);
    font-weight: 500;
    text-decoration: none;
}
.ed-contact a:hover {
    text-decoration: underline;
}

/* ---- Documentación de sección ---- */
.ed-section-docs {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--ed-line);
}
.ed-docs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ed-docs-list li {
    padding: 10px 0;
}
.ed-docs-list a {
    color: var(--ed-navy);
    text-decoration: none;
    font-size: 14px;
}
.ed-docs-list a::before {
    content: "↓ ";
    color: var(--ed-muted);
}
.ed-docs-list a:hover {
    text-decoration: underline;
}

/* ---- Footer institucional ---- */
.ed-footer {
    background: var(--ed-bg-alt);
    border-top: 1px solid var(--ed-line);
    padding: 56px 32px 24px;
    color: var(--ed-text);
    font-size: 14px;
    line-height: 1.6;
}
.ed-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    gap: 48px;
}
.ed-footer__brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--ed-navy);
    font-size: 18px;
    margin-bottom: 14px;
}
.ed-footer__col p {
    margin: 4px 0;
    color: var(--ed-text);
}
.ed-footer__heading {
    font-weight: 600;
    color: var(--ed-ink);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.ed-footer__col a {
    color: var(--ed-text);
    text-decoration: none;
}
.ed-footer__col a:hover {
    color: var(--ed-navy);
    text-decoration: underline;
}
.ed-footer__col .lang-switch {
    display: flex;
    gap: 4px;
}
.ed-footer__col .lang-switch__btn {
    background: transparent;
    border: 1px solid var(--ed-line);
    color: var(--ed-muted);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    border-radius: 2px;
}
.ed-footer__col .lang-switch__btn.active {
    background: var(--ed-navy);
    color: white;
    border-color: var(--ed-navy);
}
.ed-footer__bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--ed-line);
    color: var(--ed-muted);
    font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 800px) {
    .nav--editores {
        flex-wrap: wrap;
        padding: 14px 20px;
    }
    .nav--editores .nav__links {
        order: 3;
        width: 100%;
        margin: 12px 0 0;
        gap: 18px;
        flex-wrap: wrap;
    }
    .editores__main {
        padding: 40px 20px 60px;
    }
    .ed-cards,
    .ed-cards--small {
        grid-template-columns: 1fr;
    }
    .ed-team {
        grid-template-columns: 1fr;
    }
    .ed-defs > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .ed-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .ed-h1 {
        font-size: 36px;
    }
    .ed-declaration p {
        font-size: 22px;
    }
}
@media (max-width: 500px) {
    .ed-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
   FAQ ocultas temporalmente (jun 2026)
   Las FAQ de modelo / embarque / presencia dan detalles que aún hay
   que verificar o implementar. Se ocultan las tres a la vez y el
   contenido vuelve a una sola columna centrada.
   PARA RESTAURARLAS: eliminar este bloque completo.
   ==================================================================== */
.ed-faq {
    display: none;
}
.editores__page--with-faq {
    max-width: 880px;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
}
