/* ============================================================
   ALFA 4.0 — ALFA.CSS
   Versión: 4.0 - Imágenes optimizadas + Editorial Premium
   Ruta: public_html/alfa/assets/css/alfa.css
   ============================================================ */

/* --- Fuentes Locales --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

/* --- Variables --- */
:root {
    --alfa-primary: #1A7A6B;
    --alfa-dark: #0F4A40;
    --alfa-light: #E8F5F2;
    --alfa-gold: #D4AF37;
    --alfa-gold-light: #E8C84A;
    --alfa-white: #FFFFFF;
    --alfa-black: #0A0A0A;
    --alfa-gray: #94A3B8;
    --alfa-gray-light: #E2E8F0;
    --alfa-gray-dark: #64748B;
    --alfa-font: 'Montserrat', sans-serif;
}

/* --- Reset y Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--alfa-font);
    background: var(--alfa-white);
    color: var(--alfa-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ============================================================
   SECCIONES COMUNES
   ============================================================ */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--alfa-gold);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.section-title {
    font-family: var(--alfa-font);
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--alfa-dark);
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.section-title .gold-text {
    color: var(--alfa-gold);
    background: linear-gradient(135deg, var(--alfa-gold), #F5D97E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title.light {
    color: var(--alfa-white);
}

.section-subtitle {
    font-family: var(--alfa-font);
    text-align: center;
    font-size: 1.1rem;
    color: #5A5A5A;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.section-subtitle.light {
    color: var(--alfa-gray-light);
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
    font-family: var(--alfa-font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--alfa-gold);
    color: var(--alfa-black);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.30);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.45);
    background: var(--alfa-gold-light);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--alfa-white);
    border: 2px solid rgba(255, 255, 255, 0.20);
}

.btn-secondary:hover {
    border-color: var(--alfa-gold);
    background: rgba(212, 175, 55, 0.12);
    color: var(--alfa-gold);
    transform: translateY(-3px);
}

.btn-secondary.dark {
    background: transparent;
    color: var(--alfa-dark);
    border: 2px solid var(--alfa-gray);
}

.btn-secondary.dark:hover {
    border-color: var(--alfa-gold);
    color: var(--alfa-gold);
}

/* ============================================================
   HERO PRINCIPAL — Imagen optimizada
   ============================================================ */
.hero-alfa {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 5% 80px;
    font-family: var(--alfa-font);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* ✅ Imagen más visible: menos filtro */
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    filter: brightness(0.90) saturate(0.75) sepia(0.15);
    transition: filter 0.5s ease;
}

/* ✅ Overlay más ligero */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 74, 64, 0.35);
    z-index: 1;
    mix-blend-mode: multiply;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(15, 74, 64, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(10, 10, 10, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.20) 60%, rgba(10, 10, 10, 0.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-firma {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--alfa-white);
    opacity: 0.90;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--alfa-white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-title .gold-text {
    color: var(--alfa-gold);
    background: linear-gradient(135deg, var(--alfa-gold), #F5D97E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 30px rgba(212, 175, 55, 0.20);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--alfa-white);
    opacity: 0.90;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta-item {
    font-size: 0.9rem;
    color: var(--alfa-white);
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.hero-meta-item i {
    color: var(--alfa-gold);
}

.hero-meta-sep {
    width: 1px;
    background: rgba(255, 255, 255, 0.10);
}

/* ============================================================
   EL PRINCIPIO — ALFA 4.1 REFACTOR PREMIUM
   ============================================================ */
.principio-section {
    --pad: clamp(80px, 10vw, 160px);
    position: relative;
    padding: var(--pad) 0;
    background: var(--alfa-white, #FFFEFB);
    font-family: var(--alfa-font, Inter, system-ui, sans-serif);
    isolation: isolate;
    overflow: clip;
}

.principio-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 20% 10%, rgba(26, 122, 107, 0.04), transparent 60%),
        radial-gradient(700px 500px at 90% 90%, rgba(212, 175, 55, 0.06), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.principio-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    text-align: center;
}

.principio-kicker {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--alfa-gray, #9A9A9A);
}

.principio-section .section-title {
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 800;
    text-wrap: balance;
}

.principio-section .gold-text {
    position: relative;
    color: var(--alfa-dark, #111);
}

.principio-section .gold-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.12em;
    background: var(--alfa-gold, #D4AF37);
    opacity: 0.9;
    transform-origin: left;
}

.principio-lema {
    max-width: 20ch;
    margin: 0 auto 34px;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--alfa-dark, #111);
    text-wrap: balance;
}

.principio-verso-wrapper {
    max-width: 520px;
    margin: 0 auto 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.principio-verso {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.6;
    font-style: italic;
    color: #3A3A3A;
}

.principio-verso-ref {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--alfa-gray, #9A9A9A);
}

.principio-texto {
    max-width: 62ch;
    margin: 0 auto 72px;
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.9;
    color: #444;
    text-wrap: pretty;
}

/* Arquitectura 70/30 */
.principio-balance {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1px;
    max-width: 820px;
    margin: 0 auto 72px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    text-align: left;
    overflow: hidden;
}

.balance-item {
    position: relative;
    background: #fff;
    padding: 34px 36px 32px;
    transition: background 0.3s ease;
}

@media (hover: hover) {
    .balance-item:hover {
        background: #FFFEFB;
    }
}

.balance-tag {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid currentColor;
}

.balance-item-major .balance-tag {
    color: var(--alfa-gold, #D4AF37);
}

.balance-item-minor .balance-tag {
    color: var(--alfa-primary, #1A7A6B);
}

.balance-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.balance-percent {
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-variant-numeric: tabular-nums;
}

.balance-item-major .balance-percent {
    font-size: clamp(3.8rem, 6vw, 5.2rem);
    color: var(--alfa-gold, #D4AF37);
}

.balance-item-minor .balance-percent {
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    color: var(--alfa-dark, #111);
}

.balance-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--alfa-dark, #111);
}

.balance-track {
    height: 2px;
    background: rgba(0, 0, 0, 0.07);
    margin-bottom: 18px;
    overflow: hidden;
}

.balance-fill {
    height: 100%;
    width: var(--w);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.balance-item-major .balance-fill {
    background: var(--alfa-gold, #D4AF37);
}

.balance-item-minor .balance-fill {
    background: var(--alfa-primary, #1A7A6B);
}

.principio-balance.is-visible .balance-fill {
    transform: scaleX(1);
}

.balance-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #5A5A5A;
    max-width: 34ch;
}

.principio-promesa-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 2px solid var(--alfa-gold, #D4AF37);
    border-radius: 4px;
}

.principio-promesa {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.75;
    font-style: italic;
    color: var(--alfa-dark, #111);
    text-wrap: pretty;
}

/* Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   LAS 3C — Imagen optimizada
   ============================================================ */
.tres-c-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    font-family: var(--alfa-font);
}

.tres-c-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* ✅ Imagen más visible */
.tres-c-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.80;
    filter: brightness(0.85) saturate(0.65) sepia(0.20);
    transition: filter 0.5s ease;
}

.tres-c-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 74, 64, 0.40);
    z-index: 1;
    mix-blend-mode: multiply;
}

.tres-c-overlay-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(15, 74, 64, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(10, 10, 10, 0.25) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.10) 0%, rgba(10, 10, 10, 0.30) 100%);
    z-index: 1;
    pointer-events: none;
}

.tres-c-section .container {
    position: relative;
    z-index: 2;
}

.tres-c-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tres-c-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 4px solid var(--alfa-gold);
    transition: all 0.4s ease;
    overflow: hidden;
}

.tres-c-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tres-c-card:hover::before {
    opacity: 1;
}

.tres-c-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    border-bottom-color: var(--alfa-gold-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tres-c-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.tres-c-icon {
    font-size: 1.5rem;
    color: var(--alfa-gold);
}

.tres-c-letra {
    font-size: 3rem;
    font-weight: 900;
    color: var(--alfa-gold);
    margin-bottom: 4px;
    line-height: 1;
}

.tres-c-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--alfa-white);
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.tres-c-desc {
    font-size: 0.9rem;
    color: var(--alfa-gray-light);
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.tres-c-line {
    width: 40px;
    height: 2px;
    background: var(--alfa-gold);
    margin: 0 auto 12px;
    border-radius: 2px;
}

.tres-c-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--alfa-gold);
    font-style: italic;
    letter-spacing: 0.04em;
}

/* ============================================================
   MÉTODO R.A.E. — ALFA 4.1 EDITORIAL
   ============================================================ */
.metodo-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--alfa-light, #F8F7F5);
    font-family: var(--alfa-font, Inter, sans-serif);
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.metodo-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    text-align: center;
}

.metodo-kicker {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--alfa-gray, #9A9A9A);
}

.metodo-section .section-title {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.metodo-section .section-subtitle {
    max-width: 58ch;
    margin: 0 auto 64px;
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.7;
    color: #555;
    text-wrap: pretty;
}

.metodo-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    position: relative;
}

.metodo-step {
    position: relative;
    background: var(--alfa-white, #fff);
    padding: 32px 28px 30px;
    transition: background 0.3s ease;
}

@media (hover: hover) {
    .metodo-step:hover {
        background: #FFFEFB;
    }
}

.metodo-flow::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.35), transparent);
    pointer-events: none;
}

.metodo-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.metodo-badge {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--alfa-dark, #111);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 4px 8px;
    border-radius: 999px;
}

.metodo-letra {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--alfa-gold, #D4AF37);
    font-variant-numeric: tabular-nums;
}

.metodo-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: var(--alfa-white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    font-size: 0.8rem;
    color: var(--alfa-gold, #D4AF37);
    z-index: 2;
}

.metodo-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--alfa-dark, #111);
}

.metodo-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5A5A5A;
    max-width: 28ch;
}

.metodo-step[data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.metodo-step[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.metodo-step:nth-child(2) {
    transition-delay: 0.08s;
}

.metodo-step:nth-child(3) {
    transition-delay: 0.16s;
}

/* ============================================================
   DIMENSIONES — HERO NARRATIVO CON SLIDER
   ============================================================ */
.dimensiones-section {
    position: relative;
    padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 8vh, 100px);
    overflow: hidden;
    font-family: var(--alfa-font);
    min-height: 80vh;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.dimensiones-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.slider-slide.active {
    opacity: 1;
}

/* ✅ Imagen más visible */
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.70;
    filter: brightness(0.80) saturate(0.55) sepia(0.20);
}

.dimensiones-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 74, 64, 0.50);
    z-index: 1;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.dimensiones-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.dimensiones-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.dimensiones-hero-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    min-height: 340px;
    display: grid;
    place-items: center;
}

.dimension-hero {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.dimension-hero.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-dimension-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--alfa-white);
    opacity: 0.85;
    margin-bottom: 12px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.hero-dimension-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--alfa-white);
    line-height: 1.05;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-dimension-title span {
    color: var(--alfa-gold);
    background: linear-gradient(135deg, var(--alfa-gold), #F5D97E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-dimension-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    color: var(--alfa-gray-light);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 26px;
    opacity: 0.92;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-dimension-actions {
    display: flex;
    justify-content: center;
}

.hero-dimension-actions .btn {
    font-size: 0.9rem;
    padding: 13px 28px;
}

.dimensiones-nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.dimension-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--alfa-white);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dimension-nav-btn:hover {
    background: var(--alfa-gold);
    border-color: var(--alfa-gold);
    color: var(--alfa-black);
    transform: scale(1.05);
}

.dimensiones-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.dimensiones-dots button {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--alfa-font);
}

.dimensiones-dots button .dot-name {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
}

.dimensiones-dots button.active {
    background: var(--alfa-gold);
    border-color: var(--alfa-gold);
}

.dimensiones-dots button.active .dot-name {
    color: var(--alfa-black);
}

/* ============================================================
   EL SISTEMA ALFA 4.0 — 9 productos
   ============================================================ */
.ecosistema-section {
    padding: 100px 0;
    background: var(--alfa-light);
    font-family: var(--alfa-font);
    width: 100%;
    overflow: hidden;
}

.ecosistema-section .section-divider,
.ecosistema-section .section-title,
.ecosistema-section .section-subtitle {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

.ecosistema-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.ecosistema-card {
    background: var(--alfa-white);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    border: 1px solid rgba(26, 122, 107, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--alfa-font);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ecosistema-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--alfa-gold);
}

.ecosistema-icon {
    font-size: 2.2rem;
    color: var(--alfa-gold);
    display: block;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ecosistema-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--alfa-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.ecosistema-card p {
    font-size: 0.7rem;
    color: #5A5A5A;
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
    max-width: 95%;
}

.ecosistema-card .btn-secondary.dark {
    font-size: 0.6rem;
    padding: 5px 14px;
    background: transparent;
    color: var(--alfa-dark);
    border: 1.5px solid var(--alfa-gray);
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.ecosistema-card .btn-secondary.dark:hover {
    border-color: var(--alfa-gold);
    color: var(--alfa-gold);
    background: rgba(212, 175, 55, 0.06);
}

/* ============================================================
   CTA FINAL — Imagen optimizada
   ============================================================ */
.final-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    font-family: var(--alfa-font);
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* ✅ Imagen más visible */
.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.80;
    filter: brightness(0.85) saturate(0.65) sepia(0.20);
    transition: filter 0.5s ease;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 74, 64, 0.40);
    z-index: 1;
    mix-blend-mode: multiply;
}

.cta-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.30) 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--alfa-gold);
    margin-bottom: 12px;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--alfa-white);
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.cta-content h2 .gold-text {
    color: var(--alfa-gold);
    background: linear-gradient(135deg, var(--alfa-gold), #F5D97E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--alfa-gray-light);
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.85;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.cta-content p strong {
    color: var(--alfa-white);
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .ecosistema-grid {
        grid-template-columns: repeat(9, minmax(140px, 1fr));
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 12px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .ecosistema-card {
        min-width: 140px;
        min-height: 190px;
        padding: 16px 10px;
        scroll-snap-align: start;
    }
    .ecosistema-icon { font-size: 1.8rem; }
    .ecosistema-card h4 { font-size: 0.75rem; }
    .ecosistema-card p { font-size: 0.6rem; }
}

@media (max-width: 992px) {
    .tres-c-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    
    .ecosistema-grid {
        grid-template-columns: repeat(9, minmax(160px, 1fr));
        overflow-x: auto;
        gap: 12px;
        padding: 0 20px 10px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .ecosistema-card {
        min-width: 160px;
        min-height: 190px;
        padding: 16px 12px;
        scroll-snap-align: start;
    }
    .ecosistema-icon { font-size: 1.8rem; }
    .ecosistema-card h4 { font-size: 0.8rem; }
    .ecosistema-card p { font-size: 0.65rem; }
}

@media (max-width: 768px) {
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-meta { flex-direction: column; gap: 8px; }
    .hero-meta-sep { display: none; }
    .cta-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    
    .principio-balance {
        grid-template-columns: 1fr;
    }
    
    .metodo-flow {
        grid-template-columns: 1fr;
    }
    
    .metodo-flow::before {
        top: 0;
        bottom: 0;
        left: 32px;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3), transparent);
    }
    
    .metodo-step:not(:last-child)::after {
        content: "↓";
        right: auto;
        left: 20px;
        top: auto;
        bottom: -12px;
        transform: none;
    }
    
    .ecosistema-grid {
        grid-template-columns: repeat(9, minmax(170px, 1fr));
        overflow-x: auto;
        gap: 10px;
        padding: 0 16px 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .ecosistema-card {
        min-width: 170px;
        min-height: 180px;
        padding: 14px 10px;
        scroll-snap-align: center;
    }
}

@media (max-width: 640px) {
    .dimensiones-hero-wrapper {
        min-height: 380px;
    }
    
    .dimensiones-nav {
        margin-top: 24px;
        gap: 10px;
    }
    
    .dimensiones-dots button {
        padding: 7px 12px;
    }
    
    .dimension-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .ecosistema-grid {
        grid-template-columns: repeat(9, minmax(150px, 1fr));
        gap: 8px;
        padding: 0 12px 8px;
    }
    .ecosistema-card {
        min-width: 150px;
        min-height: 170px;
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .principio-lema { font-size: 1.2rem; }
    
    .ecosistema-grid {
        grid-template-columns: repeat(9, minmax(140px, 1fr));
        display: grid;
        overflow-x: auto;
        gap: 8px;
        padding: 0 12px 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        margin: 0;
    }
    .ecosistema-card {
        min-width: 140px;
        max-width: 140px;
        min-height: 170px;
        padding: 14px 10px;
        scroll-snap-align: center;
    }
    
    .balance-item {
        padding: 28px 24px;
    }
    
    .balance-item-major .balance-percent {
        font-size: 4rem;
    }
    
    .dimensiones-hero-wrapper {
        min-height: 400px;
    }
    
    .hero-dimension-title {
        font-size: 1.6rem;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    .balance-fill,
    .metodo-step[data-reveal] {
        transition: none;
        transform: none;
        opacity: 1;
    }
    
    .slider-slide {
        transition: none;
    }
}

/* ============================================================
   UTILIDADES
   ============================================================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--alfa-gold);
    outline-offset: 2px;
}

::selection {
    background: var(--alfa-gold);
    color: var(--alfa-black);
}

::-moz-selection {
    background: var(--alfa-gold);
    color: var(--alfa-black);
}

/* ============================================================
   FIN DE ALFA.CSS
   ============================================================ */