:root {
    --ink: #0d1522;
    --navy: #12304a;
    --blue: #0f6380;
    --teal: #126a61;
    --copper: #b46d32;
    --paper: #f7f7f2;
    --white: #ffffff;
    --muted: #6b7280;
    --line: rgba(17, 24, 38, 0.14);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.38;
}

.slide {
    position: relative;
    min-height: 100vh;
    padding: 46px 58px 42px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    page-break-after: always;
}

.slide::after {
    content: "VOLS-PARTNERS SA";
    position: absolute;
    right: 58px;
    bottom: 26px;
    color: rgba(13, 21, 34, 0.42);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.cover {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 15, 28, 0.94), rgba(7, 15, 28, 0.68) 46%, rgba(18, 106, 97, 0.28)),
        url("../img/puerto%20de%20cartagena.JPG") center / cover;
}

.cover::after { color: rgba(255, 255, 255, 0.58); }

.logo {
    width: 292px;
    padding: 14px 18px;
    background: var(--white);
}

.cover-copy { max-width: 980px; }

.eyebrow {
    margin: 0 0 14px;
    color: var(--copper);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 990px;
    font-size: 64px;
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 24px;
    max-width: 1000px;
    color: var(--navy);
    font-size: 40px;
    line-height: 1.04;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.1;
}

p {
    margin: 0 0 12px;
    font-size: 16px;
}

.cover p {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
}

.meta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.meta-row span {
    padding: 10px 13px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.metric-grid,
.bank-grid,
.risk-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.metric-grid,
.bank-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.risk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.metric,
.bank-card,
.risk {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
}

.metric span,
.bank-card span,
.risk span {
    display: block;
    margin-bottom: 10px;
    color: var(--copper);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.metric strong {
    display: block;
    color: var(--navy);
    font-size: 30px;
    line-height: 1;
}

.bank-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.12;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
}

.side-panel {
    padding: 28px;
    color: var(--white);
    background: linear-gradient(145deg, var(--navy), #0d1522);
}

.side-panel h3 { color: var(--white); }
.side-panel p { color: rgba(255, 255, 255, 0.78); }

.list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.list li {
    padding: 14px 16px;
    background: var(--white);
    border-left: 4px solid var(--teal);
}

.list li strong { color: var(--navy); }

.timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.step {
    min-height: 145px;
    padding: 18px;
    background: var(--white);
    border-top: 4px solid var(--teal);
}

.step span {
    color: var(--copper);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.step strong {
    display: block;
    margin: 10px 0;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.1;
}

.dark {
    color: var(--white);
    background: #0d1522;
}

.dark h2,
.dark h3 { color: var(--white); }
.dark p { color: rgba(255, 255, 255, 0.82); }
.dark::after { color: rgba(255, 255, 255, 0.42); }
.dark .bank-card,
.dark .metric,
.dark .step,
.dark .list li,
.dark .risk { color: var(--ink); }
.dark .bank-card p,
.dark .metric p,
.dark .step p,
.dark .list li p,
.dark .risk p { color: var(--ink); }

.note,
.warning-note {
    margin-top: 24px;
    padding: 16px 20px;
    color: var(--ink);
    background: var(--white);
    border-left: 5px solid var(--copper);
}

.warning-note { background: #fff7ed; }

.small {
    font-size: 13px;
    color: var(--muted);
}

.source-note {
    margin-top: 16px;
    color: rgba(13, 21, 34, 0.68);
    font-size: 12px;
}

.dark .source-note { color: rgba(255, 255, 255, 0.66); }

.data-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--line);
}

.data-table th,
.data-table td {
    padding: 10px 11px;
    font-size: 12.5px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.data-table th {
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(18, 48, 74, 0.08);
}

.data-table strong {
    color: var(--navy);
    white-space: nowrap;
}

.dark .data-table,
.dark .warning-note,
.dark .note { color: var(--ink); }

@page {
    size: A4 landscape;
    margin: 0;
}

@media print {
    body {
        background: var(--white);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .slide {
        width: 297mm;
        min-height: 210mm;
        page-break-after: always;
        border-bottom: 0;
    }
}
