:root {
    /* Aldea Emprendedora Official Palette */
    --carbon: #141518;
    --carbon-soft: #1E2025;
    --carbon-line: #2E3138;
    --navy: #1B3F6E;
    --navy-deep: #0F2647;
    --orange: #F07B2E;
    --orange-soft: #F89A5C;
    --sky: #5BAFD6;
    --sky-soft: #BBE0F0;
    --cream: #F7F4ED;
    --paper: #FBFAF7;
    --white: #FFFFFF;
    --ink: #14161A;
    --ink-soft: #4A4D55;
    --ink-mute: #7B7E87;
    --hairline: #E2DFD7;

    --radius: 14px;
    --radius-lg: 22px;

    --container: 1240px;
    --gutter: clamp(20px, 4vw, 56px);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 500;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--ink);
}

h2 {
    font-size: clamp(36px, 4.6vw, 60px);
    margin-bottom: 24px;
}

h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: -0.015em;
}

p {
    color: var(--ink-soft);
}

/* ============== HEADER ============== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--hairline);
    padding: 2px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy);
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    position: relative;
    overflow: hidden;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange) 40%, transparent 40%, transparent 100%);
    opacity: 0.55;
}

.brand-mark span {
    position: relative;
    z-index: 1;
}

.brand-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-text .dot {
    color: var(--orange);
}

.brand-sub {
    font-family: 'DM Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
    text-transform: uppercase;
    margin-top: 1px;
}

.logo-header {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.cta:hover {
    background: var(--navy-deep);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 38, 71, 0.18);
}

.cta.cta-orange {
    background: var(--orange);
}

.cta.cta-orange:hover {
    background: #D8691E;
    box-shadow: 0 10px 24px rgba(216, 105, 30, 0.25);
}

.cta.cta-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.cta.cta-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
}

.cta.cta-light {
    background: var(--white);
    color: var(--ink);
}

.cta.cta-light:hover {
    background: var(--cream);
}

.menu-toggle {
    display: none;
}

@media (max-width: 920px) {

    .nav-links,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: var(--navy);
        color: var(--white);
        border: none;
        padding: 10px 16px;
        border-radius: 999px;
        font-size: 14px;
        font-family: inherit;
        font-weight: 500;
    }
}

/* ============== HERO ============== */

.hero {
    position: relative;
    background-color: var(--navy-deep);
    background-image: linear-gradient(rgba(15, 38, 71, 0.8), rgba(15, 38, 71, 0.8)), url('/assets/img/banner.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 180px 0 130px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 80% 20%, rgba(91, 175, 214, 0.15), transparent 60%),
        radial-gradient(700px 600px at 0% 100%, rgba(240, 123, 46, 0.05), transparent 60%);
    pointer-events: none;
}

.hex-bg {
    position: absolute;
    inset: 0;
    opacity: 0.10;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.hero .eyebrow {
    color: var(--orange-soft);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1;
    margin: 22px 0 32px;
}

.hero h1 .accent {
    color: var(--orange);
}

.hero h1 .em {
    font-style: italic;
    font-weight: 500;
}

.hero-lede {
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin-bottom: 44px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-meta {
    position: absolute;
    bottom: 40px;
    right: var(--gutter);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.hero-meta .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.hero-meta .pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ED77F;
    box-shadow: 0 0 10px #4ED77F;
}

@media (max-width: 720px) {
    .hero-meta {
        display: none;
    }

    .hero {
        padding: 120px 0 90px;
    }
}

/* ============== SECTION BASE ============== */

section {
    position: relative;
}

.section {
    padding: clamp(80px, 10vw, 140px) 0;
}

.section.dark {
    background: var(--carbon);
    color: var(--white);
}

.section.dark h2,
.section.dark h3 {
    color: var(--white);
}

.section.dark p {
    color: rgba(255, 255, 255, 0.72);
}

.section.dark .eyebrow {
    color: var(--orange);
}

.section.cream {
    background: var(--cream);
}

.section.navy {
    background: var(--navy-deep);
    color: var(--white);
}

.section.navy h2,
.section.navy h3 {
    color: var(--white);
}

.section.navy p {
    color: rgba(255, 255, 255, 0.78);
}

.section.navy .eyebrow {
    color: var(--sky);
}

.sec-head {
    max-width: 780px;
    margin-bottom: 64px;
}

.sec-head .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
}

.sec-head .lede {
    font-size: 19px;
    line-height: 1.55;
    margin-top: 18px;
}

/* ============== SECTION 02 · DOS RUTAS ============== */

.routes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 880px) {
    .routes {
        grid-template-columns: 1fr;
    }
}

.route-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 48px 44px 44px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.route-card:hover {
    transform: translateY(-6px);
}

.route-card.empresas {
    background: var(--white);
    border: 1px solid var(--hairline);
    color: var(--ink);
}

.route-card.academia {
    background: var(--navy);
    color: var(--white);
}

.route-num {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    opacity: 0.55;
    text-transform: uppercase;
}

.route-card.academia .route-num {
    color: rgba(255, 255, 255, 0.5);
}

.route-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 3.6vw, 50px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 18px 0 24px;
}

.route-card.empresas .route-title {
    color: var(--ink);
}

.route-card.empresas .route-title .accent {
    color: var(--orange);
}

.route-card.academia .route-title {
    color: var(--white);
}

.route-card.academia .route-title .accent {
    color: var(--sky);
}

.route-desc {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 440px;
}

.route-card.empresas .route-desc {
    color: var(--ink-soft);
}

.route-card.academia .route-desc {
    color: rgba(255, 255, 255, 0.72);
}

.route-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.route-tag {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.route-card.empresas .route-tag {
    background: var(--cream);
    color: var(--ink-soft);
}

.route-card.academia .route-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.route-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

.route-card.empresas .route-arrow {
    color: var(--orange);
}

.route-card.academia .route-arrow {
    color: var(--sky);
}

.route-arrow svg {
    transition: transform 0.3s ease;
}

.route-card:hover .route-arrow svg {
    transform: translateX(8px);
}

.route-glyph {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    height: 280px;
    opacity: 0.08;
    pointer-events: none;
}

.route-card.empresas .route-glyph {
    opacity: 0.06;
}

/* ============== SECTION 03 · RETO PRIMERO ============== */

.reto-section {
    background: linear-gradient(180deg, var(--paper) 0%, #f0f7fa 100%);
    padding: clamp(100px, 12vw, 160px) 0;
}

.reto-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 920px) {
    .reto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.reto-quote {
    position: sticky;
    top: 120px;
}

.reto-quote .num {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.reto-quote h2 {
    font-size: clamp(40px, 4.8vw, 68px);
    line-height: 1;
    letter-spacing: -0.025em;
}

.reto-quote h2 .em {
    font-style: italic;
    font-weight: 500;
    color: var(--orange);
}

.reto-image {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--hairline);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.reto-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.reto-image img {
    width: 100%;
    height: auto;
    display: block;
}

.reto-body p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 22px;
    color: var(--ink-soft);
}

.reto-body p strong {
    color: var(--ink);
    font-weight: 600;
}

.reto-body p:first-child {
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink);
    font-weight: 500;
}

.reto-pull {
    border-left: 3px solid var(--orange);
    padding: 8px 0 8px 24px;
    margin: 36px 0;
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    line-height: 1.35;
    color: var(--ink);
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ============== SECTION 04 · MEV 5 CAPAS ============== */

.mev-section {
    background: var(--carbon);
    color: var(--white);
}

.capas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 40px;
    border-top: 1px solid var(--carbon-line);
    border-left: 1px solid var(--carbon-line);
}

@media (max-width: 980px) {
    .capas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .capas {
        grid-template-columns: 1fr;
    }
}

.capa {
    padding: 36px 28px 40px;
    border-right: 1px solid var(--carbon-line);
    border-bottom: 1px solid var(--carbon-line);
    position: relative;
    transition: background 0.25s ease;
}

.capa:hover {
    background: var(--carbon-soft);
}

.capa-num {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--orange);
    margin-bottom: 24px;
    display: block;
}

.capa-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    color: var(--sky);
}

.capa-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 4px;
}

.capa-q {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 18px;
    font-style: italic;
}

.capa-desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.mev-foot {
    margin-top: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.mev-stamp {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.mev-stamp .v {
    color: var(--orange);
}

/* ============== SECTION 05 · EMPRESAS ============== */

.ia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

@media (max-width: 920px) {
    .ia-grid {
        grid-template-columns: 1fr;
    }
}

.ia-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ia-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ia-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(20, 22, 26, 0.08);
}

.ia-card:hover::before {
    transform: scaleX(1);
}

.ia-tag {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
}

.ia-card h3 {
    font-size: 26px;
    margin-bottom: 14px;
}

.ia-card .who {
    font-family: 'DM Mono', monospace;
    font-size: 12.5px;
    color: var(--ink-mute);
    margin-bottom: 22px;
    letter-spacing: 0.05em;
}

.ia-card p {
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 28px;
    flex: 1;
}

.ia-features {
    list-style: none;
    margin-bottom: 28px;
}

.ia-features li {
    font-size: 14px;
    color: var(--ink-soft);
    padding: 8px 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ia-features li:last-child {
    border-bottom: 1px solid var(--hairline);
}

.ia-features li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
}

.ia-link {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.ia-link:hover {
    gap: 14px;
    color: var(--orange);
}

/* ============== SECTION 06 · ACADEMIA ============== */

.academia-section {
    background: var(--carbon);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.academia-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 90% 10%, rgba(91, 175, 214, 0.06), transparent 70%),
        radial-gradient(500px 400px at 0% 90%, rgba(240, 123, 46, 0.04), transparent 70%);
    pointer-events: none;
}

.academia-section>* {
    position: relative;
    z-index: 1;
}

.aca-twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 72px;
}

@media (max-width: 880px) {
    .aca-twocol {
        grid-template-columns: 1fr;
    }
}

.aca-block {
    background: var(--carbon-soft);
    border: 1px solid var(--carbon-line);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
}

.aca-block .label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 18px;
}

.aca-block h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--white);
}

.aca-block .tagline {
    font-family: 'Syne', sans-serif;
    font-style: italic;
    font-weight: 500;
    color: var(--orange-soft);
    margin-bottom: 22px;
    font-size: 18px;
}

.aca-block p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 24px;
    font-size: 15.5px;
    flex: 1;
}

.aca-bullets {
    list-style: none;
    margin-bottom: 32px;
}

.aca-bullets li {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--carbon-line);
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.78);
}

.aca-bullets li:last-child {
    border-bottom: none;
}

.aca-bullets li .num {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--sky);
    min-width: 24px;
    letter-spacing: 0.1em;
    padding-top: 2px;
}

.aca-link {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--carbon-line);
    transition: gap 0.3s ease, color 0.3s ease;
}

.aca-link:hover {
    color: var(--orange);
    gap: 14px;
}

/* Clusters */

.clusters-head {
    text-align: center;
    margin: 80px 0 40px;
}

.clusters-head h3 {
    font-size: clamp(28px, 3.2vw, 40px);
    color: var(--white);
}

.clusters-head .pre {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 18px;
}

.clusters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 980px) {
    .clusters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .clusters-grid {
        grid-template-columns: 1fr;
    }
}

.cluster {
    background: var(--carbon-soft);
    border: 1px solid var(--carbon-line);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cluster:hover {
    border-color: var(--orange);
    background: rgba(240, 123, 46, 0.04);
    transform: translateY(-3px);
}

.cluster-num {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--orange);
    margin-bottom: 12px;
}

.cluster h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.cluster .tag {
    font-family: 'Syne', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
}

/* ============== SECTION 07 · MICROCREDENCIALES ============== */

.micro-section {
    background: var(--paper);
}

.micro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 920px) {
    .micro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.cred-mock {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--hairline);
    box-shadow: 0 30px 80px rgba(15, 38, 71, 0.08);
    position: relative;
    overflow: hidden;
}

.cred-mock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--orange) 50%, var(--sky) 100%);
}

.cred-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--hairline);
}

.cred-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cred-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--navy);
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 16px;
}

.cred-brand-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.cred-folio {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
}

.cred-title-pre {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}

.cred-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.cred-name {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    color: var(--ink-soft);
    font-weight: 500;
    margin-bottom: 28px;
}

.cred-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.cred-meta div {
    font-family: 'DM Mono', monospace;
    font-size: 10.5px;
}

.cred-meta .lab {
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 4px;
}

.cred-meta .val {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.cred-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px dashed var(--hairline);
    gap: 16px;
}

.cred-stps {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--ink-mute);
    text-transform: uppercase;
}

.cred-stps strong {
    color: var(--navy);
}

.cred-qr {
    width: 56px;
    height: 56px;
    background:
        repeating-conic-gradient(var(--ink) 0% 25%, var(--white) 0% 50%) 50% / 8px 8px;
    border-radius: 4px;
    border: 4px solid var(--white);
    outline: 1px solid var(--hairline);
}

.micro-text .stamp {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
    flex-wrap: wrap;
}

.micro-text .stamp-item {
    flex: 1;
    min-width: 140px;
}

.micro-text .stamp-item .num {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--orange);
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 4px;
}

.micro-text .stamp-item .lab {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    line-height: 1.4;
}

/* ============== SECTION 08 · DIFERENCIADORES ============== */

.dif-section {
    background: var(--cream);
}

.difs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--hairline);
}

@media (max-width: 760px) {
    .difs {
        grid-template-columns: 1fr;
    }
}

.dif {
    padding: 40px 0;
    border-bottom: 1px solid var(--hairline);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    align-items: start;
}

.dif:nth-child(odd) {
    padding-right: 36px;
    border-right: 1px solid var(--hairline);
}

.dif:nth-child(even) {
    padding-left: 36px;
}

@media (max-width: 760px) {
    .dif:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }

    .dif:nth-child(even) {
        padding-left: 0;
    }
}

.dif-num {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--orange);
    padding-top: 6px;
}

.dif h3 {
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.dif p {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

/* ============== SECTION 09 · BLOG ============== */

.blog-section {
    background: var(--paper);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 880px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.post {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(20, 22, 26, 0.08);
    border-color: var(--ink-mute);
}

.post-cover {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
}

.post-cover.c1 {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.post-cover.c2 {
    background: linear-gradient(135deg, var(--orange) 0%, #C45813 100%);
}

.post-cover.c3 {
    background: linear-gradient(135deg, var(--sky) 0%, #2F7FA8 100%);
}

.post-cover .pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
}

.post-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.post h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.post p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
    flex: 1;
}

.post .read {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 500;
}

.blog-foot {
    text-align: center;
    margin-top: 60px;
}

/* ============== CIERRE ============== */

.cierre {
    background: var(--navy-deep);
    color: var(--white);
    padding: clamp(100px, 12vw, 160px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cierre::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 500px at 50% 0%, rgba(240, 123, 46, 0.10), transparent 60%);
}

.cierre-content {
    position: relative;
    z-index: 2;
}

.cierre h2 {
    color: var(--white);
    font-size: clamp(40px, 6vw, 84px);
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 20px;
}

.cierre h2 .em {
    font-style: italic;
    font-weight: 500;
    color: var(--orange);
}

.cierre-pillars {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 56px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
}

.cierre-pillars span:not(:last-child)::after {
    content: "·";
    margin-left: 16px;
    color: var(--orange);
}

.cierre-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============== FOOTER ============== */

footer {
    background: var(--carbon);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 32px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 56px;
}

@media (max-width: 880px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 540px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

.foot-brand .brand-text {
    color: var(--white);
}

.foot-brand p {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
}

.foot-col h4 {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 20px;
}

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

.foot-col li {
    margin-bottom: 10px;
}

.foot-col a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.foot-col a:hover {
    color: var(--orange);
}

.foot-bot {
    border-top: 1px solid var(--carbon-line);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* ============== REVEAL ============== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] {
    transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
    transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
    transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
    transition-delay: 0.32s;
}
/* ============== MODAL (LIGHTBOX) ============== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 38, 71, 0.95); /* Azul marino profundo con opacidad */
    backdrop-filter: blur(8px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    animation: zoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2100;
}

.modal-close:hover {
    color: var(--orange);
    transform: scale(1.1);
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
