/* ══════════════════════════════════
   VARIABLES — del portfolio
══════════════════════════════════ */
:root {
    --accent: #e8ff47;
    --accent-dark: #b8cc00;
    --bg: #0d0d0d;
    --surface: #161616;
    --surface2: #1e1e1e;
    --text: #f0f0f0;
    --muted: #888;
    --border: #2a2a2a;

    /* colores ERP (adaptados a dark mode) */
    --sap: #5b9bd5;
    --odoo: #b07ee0;
    --dyn: #4ec9b0;
    --ora: #e07050;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ══════════════════════════════════
   NAV — del portfolio
══════════════════════════════════ */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2rem;
    background: rgba(13, 13, 13, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: 'DM Mono', monospace;
    font-size: .85rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: .02em;
}

nav a {
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: 'DM Mono', monospace;
    font-size: .78rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a.active-link {
    color: var(--accent);
}

/* ══════════════════════════════════
   ANIMACIONES — como el portfolio
══════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes barGrow {
    from {
        width: 0 !important;
    }
}

.anim-up {
    animation: fadeUp .7s ease both;
}

.anim-in {
    animation: fadeIn .8s ease both;
}

[data-anim] {
    opacity: 0;
}

[data-anim].visible {
    animation: fadeUp .65s ease both;
}

/* ══════════════════════════════════
   PORTADA — hero del portfolio
══════════════════════════════════ */
.cover {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 6rem;
    overflow: hidden;
}

.cover-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 255, 71, .08) 0%, transparent 70%);
    pointer-events: none;
}

.cover-glow2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 126, 224, .06) 0%, transparent 70%);
    pointer-events: none;
}

.cover-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cover-tag {
    font-family: 'DM Mono', monospace;
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    animation: fadeUp .5s ease both;
}

.cover-tag::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.cover h1 {
    font-size: clamp(3rem, 7vw, 7.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -.02em;
    max-width: 900px;
    animation: fadeUp .65s .1s ease both;
}

.cover h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 700;
}

.cover-sub {
    margin-top: 2rem;
    font-family: 'DM Mono', monospace;
    font-size: .9rem;
    font-weight: 300;
    max-width: 600px;
    color: var(--muted);
    line-height: 1.8;
    animation: fadeUp .65s .2s ease both;
}

.cover-meta {
    margin-top: 3rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeUp .65s .3s ease both;
}

.cover-meta-item {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.cover-meta-item span:first-child {
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: .7;
}

.cover-meta-item span:last-child {
    font-family: 'DM Mono', monospace;
    font-size: .82rem;
    color: var(--muted);
}

.cover-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 4rem;
    font-family: 'DM Mono', monospace;
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .4;
    display: flex;
    align-items: center;
    gap: .5rem;
    animation: fadeIn 1s .8s ease both;
}

.cover-grid-deco {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 38%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    opacity: .04;
    pointer-events: none;
}

.cover-grid-cell {
    border: 1px solid var(--text);
    aspect-ratio: 1;
}

/* ══════════════════════════════════
   LAYOUT COMÚN
══════════════════════════════════ */
.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2.5rem;
}

.page-dark {
    background: var(--surface);
}

.page-dark2 {
    background: var(--surface2);
}

.section-label {
    font-family: 'DM Mono', monospace;
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}

.section-lead {
    font-family: 'DM Mono', monospace;
    font-size: .88rem;
    max-width: 700px;
    margin-bottom: 3rem;
    color: var(--muted);
    line-height: 1.8;
}

hr.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3.5rem 0;
}

/* ══════════════════════════════════
   CONTEXTO
══════════════════════════════════ */
.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.context-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}

.context-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.context-card::before {
    content: attr(data-num);
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    position: absolute;
    top: .25rem;
    right: .75rem;
    opacity: .04;
    line-height: 1;
    color: var(--accent);
}

.context-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: var(--accent);
}

.context-card p {
    font-family: 'DM Mono', monospace;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.7;
}

.stat-note {
    font-family: 'DM Mono', monospace;
    font-size: .82rem;
    color: var(--muted);
    text-align: center;
    padding: 1.25rem 2rem;
    border: 1px solid var(--border);
    background: var(--surface2);
    margin-top: 2rem;
}

.stat-note strong {
    color: var(--accent);
}

/* ══════════════════════════════════
   ERP CARDS
══════════════════════════════════ */
.erp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.erp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color .2s, transform .25s;
}

.erp-card:hover {
    border-color: rgba(232, 255, 71, .25);
    transform: translateY(-4px);
}

.erp-header {
    padding: 1.75rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.erp-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--bg);
    flex-shrink: 0;
}

.logo-sap {
    background: var(--sap);
}

.logo-odoo {
    background: var(--odoo);
}

.logo-dyn {
    background: var(--dyn);
}

.logo-ora {
    background: var(--ora);
}

.erp-header-text h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.erp-vendor {
    font-family: 'DM Mono', monospace;
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .05em;
    margin-top: .15rem;
}

.erp-tier {
    margin-left: auto;
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3em .75em;
    border-radius: 2px;
    white-space: nowrap;
    align-self: flex-start;
}

.tier-enterprise {
    background: rgba(91, 155, 213, .12);
    color: var(--sap);
    border: 1px solid rgba(91, 155, 213, .3);
}

.tier-modular {
    background: rgba(176, 126, 224, .12);
    color: var(--odoo);
    border: 1px solid rgba(176, 126, 224, .3);
}

.tier-cloud {
    background: rgba(78, 201, 176, .12);
    color: var(--dyn);
    border: 1px solid rgba(78, 201, 176, .3);
}

.tier-global {
    background: rgba(224, 112, 80, .12);
    color: var(--ora);
    border: 1px solid rgba(224, 112, 80, .3);
}

.erp-body {
    padding: 1.75rem 2rem 2rem;
}

.erp-desc {
    font-family: 'DM Mono', monospace;
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.modules-title {
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .65rem;
    opacity: .6;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .35rem;
    margin-bottom: 1.5rem;
}

.module-tag {
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    padding: .3em .5em;
    background: var(--surface2);
    border: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
}

.score-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .55rem;
}

.score-label {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    width: 150px;
    flex-shrink: 0;
    color: var(--muted);
}

.score-bar-bg {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 2px;
    animation: barGrow .9s ease both;
}

.fill-sap {
    background: var(--sap);
}

.fill-odoo {
    background: var(--odoo);
}

.fill-dyn {
    background: var(--dyn);
}

.fill-ora {
    background: var(--ora);
}

.score-val {
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    width: 28px;
    text-align: right;
    color: var(--muted);
}

.procon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.procon-col h5 {
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.procon-col.pros h5 {
    color: #4ade80;
}

.procon-col.cons h5 {
    color: #f87171;
}

.procon-col ul {
    list-style: none;
}

.procon-col ul li {
    font-family: 'DM Mono', monospace;
    font-size: .75rem;
    color: var(--muted);
    padding: .2rem 0 .2rem 1rem;
    position: relative;
    line-height: 1.5;
}

.pros ul li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: 700;
}

.cons ul li::before {
    content: '−';
    position: absolute;
    left: 0;
    color: #f87171;
}

.price-box {
    margin-top: 1.5rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-label {
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    color: var(--muted);
    margin-bottom: .2rem;
}

.price-val {
    font-family: 'DM Mono', monospace;
    font-size: .82rem;
    font-weight: 500;
    color: var(--accent);
}

/* ══════════════════════════════════
   PILARES
══════════════════════════════════ */
.pillar-block {
    margin-bottom: 4rem;
}

.pillar-header {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.pillar-num {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    opacity: .07;
    flex-shrink: 0;
    color: var(--accent);
    letter-spacing: -.04em;
}

.pillar-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.pillar-sub {
    font-family: 'DM Mono', monospace;
    font-size: .75rem;
    color: var(--muted);
    margin-top: .3rem;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.pillar-item {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: border-color .2s;
}

.pillar-item:hover {
    border-color: rgba(232, 255, 71, .2);
}

.pillar-item-vendor {
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.v-sap {
    color: var(--sap);
}

.v-odoo {
    color: var(--odoo);
}

.v-dyn {
    color: var(--dyn);
}

.v-ora {
    color: var(--ora);
}

.pillar-item h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}

.pillar-item p {
    font-family: 'DM Mono', monospace;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ══════════════════════════════════
   TABLA COMPARATIVA
══════════════════════════════════ */
.table-wrap {
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}

thead tr {
    background: var(--surface2);
}

thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

thead th:first-child {
    width: 200px;
}

tbody tr {
    border-bottom: 1px solid var(--border);
}

tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, .012);
}

tbody tr:hover {
    background: rgba(232, 255, 71, .02);
}

tbody td {
    padding: .85rem 1.25rem;
    vertical-align: top;
}

tbody td:first-child {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    color: var(--text);
    font-size: .78rem;
}

.tr-header td {
    background: var(--surface2) !important;
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    padding: .55rem 1.25rem;
    border-top: 1px solid var(--border);
}

.check-yes {
    color: #4ade80;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    font-size: .8rem;
}

.check-part {
    color: #fb923c;
    font-family: 'DM Mono', monospace;
    font-size: .8rem;
}

.check-no {
    color: #f87171;
    font-family: 'DM Mono', monospace;
    font-size: .8rem;
}

.badge {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    padding: .2em .65em;
    border-radius: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.badge-green {
    background: rgba(74, 222, 128, .1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, .2);
}

.badge-orange {
    background: rgba(251, 146, 60, .1);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, .2);
}

.badge-red {
    background: rgba(248, 113, 113, .1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, .2);
}

.badge-blue {
    background: rgba(96, 165, 250, .1);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, .2);
}

td .badge-text {
    font-family: 'DM Mono', monospace;
    font-size: .78rem;
    color: var(--muted);
}

/* ══════════════════════════════════
   RADAR / RESUMEN
══════════════════════════════════ */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.radar-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: border-color .2s;
}

.radar-card:hover {
    border-color: rgba(232, 255, 71, .2);
}

.radar-card-title {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    letter-spacing: -.01em;
}

.radar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-sap {
    background: var(--sap);
}

.dot-odoo {
    background: var(--odoo);
}

.dot-dyn {
    background: var(--dyn);
}

.dot-ora {
    background: var(--ora);
}

.radar-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    font-size: .72rem;
}

.radar-row-label {
    font-family: 'DM Mono', monospace;
    width: 90px;
    color: var(--muted);
    flex-shrink: 0;
    font-size: .65rem;
}

.radar-bar-bg {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.radar-bar-fill {
    height: 100%;
    border-radius: 2px;
    animation: barGrow .9s ease both;
}

.fill-sap-l {
    background: var(--sap);
}

.fill-odoo-l {
    background: var(--odoo);
}

.fill-dyn-l {
    background: var(--dyn);
}

.fill-ora-l {
    background: var(--ora);
}

.radar-row-val {
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    opacity: .4;
    width: 22px;
    text-align: right;
}

/* ══════════════════════════════════
   COSTES
══════════════════════════════════ */
.cost-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 2rem;
    border: 1px solid var(--border);
}

.cost-cell {
    background: var(--surface);
    padding: 1.25rem 1.5rem;
}

.cost-cell-head {
    background: var(--surface2);
}

.cost-vendor {
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: .4rem;
    font-weight: 500;
}

.cost-amount {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .2rem;
    line-height: 1.1;
    letter-spacing: -.01em;
}

.cost-note {
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    color: var(--muted);
}

.cost-note-footer {
    font-family: 'DM Mono', monospace;
    font-size: .7rem;
    color: var(--muted);
    margin-top: .85rem;
    opacity: .5;
}

/* ══════════════════════════════════
   DECISIÓN
══════════════════════════════════ */
.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.decision-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}

.decision-card:hover {
    border-color: rgba(232, 255, 71, .2);
    transform: translateY(-3px);
}

.decision-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.dc-sap::after {
    background: var(--sap);
}

.dc-odoo::after {
    background: var(--odoo);
}

.dc-dyn::after {
    background: var(--dyn);
}

.decision-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}

.decision-card .ideal-for {
    font-family: 'DM Mono', monospace;
    font-size: .65rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.decision-card ul {
    list-style: none;
}

.decision-card ul li {
    font-family: 'DM Mono', monospace;
    font-size: .78rem;
    color: var(--muted);
    padding: .3rem 0 .3rem 1.25rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.decision-card ul li:last-child {
    border-bottom: none;
}

.decision-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: .5;
}

.oracle-note {
    margin-top: 1.75rem;
    padding: 1.75rem;
    border: 1px solid var(--border);
    background: var(--surface2);
    position: relative;
}

.oracle-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ora);
}

.oracle-note h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .65rem;
    letter-spacing: -.01em;
}

.oracle-note p {
    font-family: 'DM Mono', monospace;
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ══════════════════════════════════
   CONCLUSIONES
══════════════════════════════════ */
.concl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.concl-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: -.01em;
}

.concl-block p {
    font-family: 'DM Mono', monospace;
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: .85rem;
}

.concl-block strong {
    color: var(--text);
}

.criteria-list {
    list-style: none;
}

.criteria-list li {
    font-family: 'DM Mono', monospace;
    font-size: .8rem;
    color: var(--muted);
    padding: .55rem 0 .55rem 1.75rem;
    position: relative;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

.criteria-list li:last-child {
    border-bottom: none;
}

.criteria-num {
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: .75rem;
}

.criteria-list strong {
    color: var(--text);
}

/* ══════════════════════════════════
   FOOTER — del portfolio
══════════════════════════════════ */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

footer span,
footer p {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media(max-width: 900px) {
    .cover {
        padding: 6rem 2rem 4rem;
    }

    .cover-grid-deco {
        display: none;
    }

    .erp-grid,
    .context-grid,
    .decision-grid,
    .radar-grid {
        grid-template-columns: 1fr;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .cost-grid {
        grid-template-columns: 1fr 1fr;
    }

    .concl-grid {
        grid-template-columns: 1fr;
    }

    .cover-meta {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .page {
        padding: 3rem 1.25rem;
    }
}

@media(max-width: 600px) {
    .cover h1 {
        font-size: 2.8rem;
    }

    .procon-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cost-grid {
        grid-template-columns: 1fr;
    }

    .radar-grid {
        grid-template-columns: 1fr 1fr;
    }
}