/* Calibri en Windows y Mac con Office. Carlito (misma medida, licencia libre SIL OFL) en iPhone, iPad y el resto. */
/* Carlito 400 italic latin-ext */
@font-face{font-family:"Carlito";font-style:italic;font-weight:400;font-display:swap;src:url("fuentes/carlito-400-italic-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* Carlito 400 italic latin */
@font-face{font-family:"Carlito";font-style:italic;font-weight:400;font-display:swap;src:url("fuentes/carlito-400-italic-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Carlito 400 normal latin-ext */
@font-face{font-family:"Carlito";font-style:normal;font-weight:400;font-display:swap;src:url("fuentes/carlito-400-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* Carlito 400 normal latin */
@font-face{font-family:"Carlito";font-style:normal;font-weight:400;font-display:swap;src:url("fuentes/carlito-400-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Carlito 700 normal latin-ext */
@font-face{font-family:"Carlito";font-style:normal;font-weight:700;font-display:swap;src:url("fuentes/carlito-700-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* Carlito 700 normal latin */
@font-face{font-family:"Carlito";font-style:normal;font-weight:700;font-display:swap;src:url("fuentes/carlito-700-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* =============================================================================
   Paginas legales de EDEN Journey Travel: aviso de privacidad y terminos.
   Misma paleta y tipografia que index.html, pero en HTML plano: se leen,
   se imprimen y se indexan sin esperar a que se desempaque nada.
   ============================================================================= */

:root {
    --ej-paper: #eef4fb;
    --ej-white: #ffffff;
    --ej-blue: #7db2de;
    --ej-blue-deep: #2f6f9f;
    --ej-blue-ink: #123a57;
    --ej-blue-soft: #dbe9f7;
    --ej-line: #cfe0f0;
    --ej-muted: #3c5f79;
    --ej-warn-bg: #fff6e5;
    --ej-warn-line: #f1d9a8;
    --font: Calibri, Carlito, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--ej-paper);
    color: var(--ej-blue-ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
}

a { color: var(--ej-blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--ej-blue-ink); }
::selection { background: var(--ej-blue-soft); }

:focus-visible {
    outline: 3px solid rgba(47, 111, 159, .45);
    outline-offset: 2px;
    border-radius: 3px;
}

.pagina {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 max(var(--gutter), env(safe-area-inset-right)) 64px max(var(--gutter), env(safe-area-inset-left));
}

/* ── Encabezado ─────────────────────────────────────────────────────────── */
.encabezado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    padding: 22px 0 26px;
}

.marca {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}
.marca:hover { color: inherit; }
.marca img { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; display: block; }
.marca__nombre { display: block; font-weight: 600; font-size: 21px; line-height: 1.1; letter-spacing: .01em; }
.marca__sub { display: block; font-size: 13px; line-height: 1.3; color: var(--ej-blue-deep); letter-spacing: .18em; text-transform: uppercase; }

.encabezado__nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 16px; }
.encabezado__nav a { text-decoration: none; }

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 4px;
    background: var(--ej-blue-deep);
    color: var(--ej-white) !important;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
}
.boton:hover { background: var(--ej-blue-ink); }

/* ── Titulo ─────────────────────────────────────────────────────────────── */
.portada {
    background: var(--ej-blue-ink);
    color: var(--ej-white);
    border-radius: 8px;
    padding: 56px 48px;
    margin-bottom: 48px;
}
.portada__kicker { margin: 0 0 14px; color: #cfe4f5; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.portada h1 { margin: 0 0 16px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.01em; }
.portada__resumen { margin: 0; max-width: 40em; color: #e8f1f9; font-size: 19px; line-height: 1.55; }
.portada__fecha { margin: 22px 0 0; color: #cfe4f5; font-size: 15px; }

/* ── Cuerpo: indice + texto ─────────────────────────────────────────────── */
.documento {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.indice {
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
    font-size: 15px;
    line-height: 1.4;
}
.indice summary {
    list-style: none;
    cursor: default;
    margin-bottom: 12px;
    color: var(--ej-blue-deep);
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.indice summary::-webkit-details-marker { display: none; }
.indice ol { margin: 0; padding: 0; list-style: none; counter-reset: indice; }
.indice li { counter-increment: indice; border-left: 2px solid var(--ej-line); }
.indice li a {
    display: block;
    padding: 7px 0 7px 14px;
    color: var(--ej-muted);
    text-decoration: none;
}
.indice li a::before { content: counter(indice) ". "; color: var(--ej-blue); }
.indice li a:hover { color: var(--ej-blue-ink); }

.texto { max-width: 46rem; min-width: 0; }

.texto section {
    background: var(--ej-white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(18, 58, 87, .10);
    padding: 34px 38px;
    margin-bottom: 22px;
}

.texto h2 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.01em;
}
.texto h2 .num { color: var(--ej-blue); margin-right: 6px; }
.texto h3 { margin: 24px 0 8px; font-size: 19px; line-height: 1.3; font-weight: 600; }
.texto p { margin: 0 0 14px; }
.texto p:last-child, .texto ul:last-child, .texto ol:last-child { margin-bottom: 0; }
.texto ul, .texto ol { margin: 0 0 14px; padding-left: 1.3em; }
.texto li { margin-bottom: 6px; }
.texto li::marker { color: var(--ej-blue-deep); }
.texto strong { font-weight: 600; }

.datos {
    margin: 0 0 14px;
    padding: 18px 22px;
    background: var(--ej-paper);
    border-radius: 6px;
}
.datos dt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ej-blue-deep); }
.datos dd { margin: 0 0 12px; }
.datos dd:last-child { margin-bottom: 0; }

.aviso {
    margin: 0 0 14px;
    padding: 16px 20px;
    border-left: 4px solid #d99a2b;
    background: var(--ej-warn-bg);
    border-radius: 0 6px 6px 0;
}

.tabla { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 14px; }
.tabla table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 16px; }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--ej-line); }
.tabla th { background: var(--ej-paper); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.tabla td:last-child { font-weight: 600; white-space: nowrap; }

/* Dato que falta capturar antes de publicar */
mark.pendiente { background: #ffe58a; color: #5a4300; padding: 0 4px; border-radius: 3px; }

/* ── Pie ────────────────────────────────────────────────────────────────── */
.pie {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--ej-line);
    display: flex;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    font-size: 15px;
    color: var(--ej-muted);
}
.pie nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }

/* ── Tablet ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .documento { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .indice {
        position: static;
        background: var(--ej-white);
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(18, 58, 87, .10);
        padding: 16px 22px;
        margin-bottom: 22px;
    }
    .indice summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
    .indice summary::after { content: "+"; font-size: 22px; letter-spacing: 0; line-height: 1; }
    .indice[open] summary::after { content: "−"; }
    .indice[open] summary { margin-bottom: 10px; }
    .texto { max-width: none; }
}

/* ── Telefono ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    body { font-size: 16px; }
    .encabezado { padding: 14px 0 18px; }
    .marca { gap: 10px; }
    .marca img { width: 46px; height: 46px; flex-basis: 46px; }
    .marca__nombre { font-size: 18px; }
    .marca__sub { font-size: 11px; letter-spacing: .14em; }
    .encabezado__nav { width: 100%; gap: 12px 18px; font-size: 15px; }
    .encabezado__nav .boton { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; }
    .portada { padding: 34px 22px; margin-bottom: 22px; }
    .portada__resumen { font-size: 17px; }
    .texto section { padding: 24px 20px; }
    .texto h2 { font-size: 22px; }
    .datos { padding: 14px 16px; }
    .pie { margin-top: 36px; flex-direction: column; }
}

/* ── Impresion ──────────────────────────────────────────────────────────── */
@media print {
    body { background: #fff; font-size: 11pt; }
    .encabezado__nav, .indice, .pie nav { display: none; }
    .portada { background: none; color: #000; padding: 0; margin-bottom: 16pt; }
    .portada__kicker, .portada__resumen, .portada__fecha { color: #333; }
    .texto { max-width: none; }
    .texto section { box-shadow: none; padding: 0; margin-bottom: 14pt; break-inside: avoid-page; }
    a { color: inherit; }
}
