/* =========================================================
   ECOSISTEMA CANOPUS V2.1
========================================================= */

.eco-v2 {
    --eco-blue: #0b67db;
    --eco-blue-dark: #0b2e68;
    --eco-text: #122544;
    --eco-muted: #68768c;
    --eco-border: rgba(44, 107, 181, .14);
    --eco-card: rgba(255, 255, 255, .95);

    position: relative;
    overflow: hidden;
    padding: 96px 24px 110px;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at 10% 18%, rgba(79, 171, 255, .10), transparent 28%),
        radial-gradient(circle at 90% 78%, rgba(112, 80, 255, .08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 52%, #ffffff 100%);
}

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

.eco-v2__background {
    position: absolute;
    inset: 0;
    opacity: .2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(20, 96, 182, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 96, 182, .07) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.eco-v2__container {
    position: relative;
    z-index: 2;
    width: min(1360px, 100%);
    margin: 0 auto;
}

.eco-v2__heading {
    width: min(820px, 100%);
    margin: 0 auto 54px;
    text-align: center;
}

.eco-v2__eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--eco-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.eco-v2__heading h2 {
    margin: 0;
    color: var(--eco-text);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.05em;
}

.eco-v2__heading h2 strong {
    display: block;
    color: var(--eco-blue);
}

.eco-v2__heading p {
    width: min(690px, 100%);
    margin: 22px auto 0;
    color: var(--eco-muted);
    font-size: 17px;
    line-height: 1.75;
}

.eco-v2__grid {
    display: grid;
    grid-template-columns: minmax(570px, 1.06fr) minmax(420px, .94fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.eco-v2__map {
    position: relative;
    min-height: 650px;
}

.eco-v2__svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.eco-v2__line {
    fill: none;
    stroke: rgba(72, 132, 201, .22);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 8 10;
    transition: stroke .3s ease, stroke-width .3s ease, opacity .3s ease;
}

.eco-v2__line.is-active {
    stroke: #0b67db;
    stroke-width: 4;
    opacity: 1;
}

.eco-v2__core {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
}

.eco-v2__core-ring {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(63, 155, 241, .22);
    border-radius: 50%;
    box-shadow:
        0 0 0 22px rgba(63, 155, 241, .045),
        0 0 0 46px rgba(63, 155, 241, .025);
}

.eco-v2__star {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 112px;
    height: 112px;
    transform: translateX(-50%);
    filter: drop-shadow(0 18px 22px rgba(24, 105, 210, .26));
    animation: ecoV2Float 4.5s ease-in-out infinite;
}

.eco-v2__star svg {
    width: 100%;
    height: 100%;
}

.eco-v2__brand {
    position: absolute;
    top: 130px;
    left: 50%;
    width: 250px;
    text-align: center;
    transform: translateX(-50%);
}

.eco-v2__brand strong {
    display: block;
    color: var(--eco-blue-dark);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .08em;
}

.eco-v2__brand span {
    display: block;
    margin-top: 5px;
    color: var(--eco-muted);
    font-size: 12px;
}

@keyframes ecoV2Float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

.eco-v2__module {
    position: absolute;
    z-index: 5;
    display: flex;
    min-width: 220px;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    color: var(--eco-text);
    background: var(--eco-card);
    box-shadow: 0 15px 36px rgba(32, 75, 125, .10);
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(14px);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.eco-v2__module:hover,
.eco-v2__module:focus-visible,
.eco-v2__module.is-active {
    z-index: 7;
    outline: none;
    border-color: rgba(22, 113, 224, .38);
    transform: translateY(-4px) scale(1.025);
    box-shadow:
        0 22px 52px rgba(23, 91, 174, .18),
        0 0 0 5px rgba(63, 156, 239, .06);
}

.eco-v2__module-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 14px;
    color: var(--eco-blue);
    background: #edf5ff;
    font-size: 21px;
    font-weight: 800;
}

.eco-v2__module.is-active .eco-v2__module-icon,
.eco-v2__module:hover .eco-v2__module-icon {
    color: #fff;
    background: linear-gradient(145deg, #4cafef, #075ac8);
}

.eco-v2__module small,
.eco-v2__module strong {
    display: block;
}

.eco-v2__module small {
    margin-bottom: 3px;
    color: #75839a;
    font-size: 11px;
}

.eco-v2__module strong {
    color: var(--eco-text);
    font-size: 15px;
    font-weight: 800;
}

.eco-v2__module--contabilidad { top: 82px; left: 0; }
.eco-v2__module--inventarios { top: 82px; right: 0; }
.eco-v2__module--facturacion { top: 285px; left: -10px; }
.eco-v2__module--compras { top: 285px; right: -10px; }

.eco-v2__module--cartera {
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
}

.eco-v2__module--cartera:hover,
.eco-v2__module--cartera:focus-visible,
.eco-v2__module--cartera.is-active {
    transform: translateX(-50%) translateY(-4px) scale(1.025);
}

/* PANEL DERECHO */
.eco-v2__panel {
    position: relative;
    overflow: hidden;
    min-height: 780px;
    border: 1px solid rgba(91, 74, 210, .18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 8%, rgba(130, 92, 255, .14), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(246, 244, 255, .95));
    box-shadow: 0 32px 80px rgba(38, 70, 128, .15);
}

.eco-v2__orion,
.eco-v2__module-preview {
    position: absolute;
    inset: 0;
    padding: clamp(28px, 3vw, 40px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.99);
    transition: opacity .3s ease, visibility .3s ease, transform .35s ease;
}

.eco-v2__orion.is-visible,
.eco-v2__module-preview.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.eco-v2__orion-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #875cf4, #2865dd);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.eco-v2__orion h3,
.eco-v2__preview-header h3 {
    margin: 0;
    color: var(--eco-text);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.eco-v2__orion > p,
.eco-v2__module-preview > p {
    margin: 18px 0 24px;
    color: var(--eco-muted);
    font-size: 15px;
    line-height: 1.7;
}

.eco-v2__orion-benefits {
    display: grid;
    gap: 12px;
}

.eco-v2__orion-benefits article {
    display: flex;
    gap: 13px;
    padding: 14px;
    border: 1px solid rgba(70, 104, 175, .10);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}

.eco-v2__orion-benefits article > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 11px;
    color: #6547d3;
    background: #eee9ff;
    font-size: 11px;
    font-weight: 800;
}

.eco-v2__orion-benefits strong,
.eco-v2__orion-benefits small {
    display: block;
}

.eco-v2__orion-benefits strong { color: var(--eco-text); font-size: 14px; }
.eco-v2__orion-benefits small {
    margin-top: 3px;
    color: var(--eco-muted);
    font-size: 12px;
    line-height: 1.45;
}

.eco-v2__questions {
    margin-top: 24px;
    padding: 18px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, #123f86, #0a2459);
}

.eco-v2__questions > small,
.eco-v2__preview-header > div > span {
    display: block;
    margin-bottom: 10px;
    color: #3976c7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
}

.eco-v2__questions > small { color: #a9c9ff; }

.eco-v2__questions ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eco-v2__questions li {
    position: relative;
    padding-left: 17px;
    font-size: 12px;
    line-height: 1.45;
}

.eco-v2__questions li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7dc5ff;
}

.eco-v2__orion-footer {
    margin-top: 18px;
    color: #4d3aa9;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

/* COLLAGE DE CINCO IMÁGENES */
.eco-v2__preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.eco-v2__preview-header > strong {
    color: rgba(18, 91, 177, .13);
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.eco-v2__collage {
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    grid-template-rows: 110px 105px 135px;
    gap: 12px;
}

.eco-v2__collage-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(45, 111, 185, .13);
    border-radius: 15px;
    background: linear-gradient(145deg, #edf6ff, #dbeaf7);
    box-shadow: 0 10px 26px rgba(25, 71, 122, .09);
}

.eco-v2__collage-item--main {
    grid-row: 1 / 3;
}

.eco-v2__collage-item--wide {
    grid-column: 1 / -1;
}

.eco-v2__collage-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center top;

    padding: 10px;

    background: #ffffff;

    transition: transform 5s ease;
}

.eco-v2__collage-item:hover img {
    transform: scale(1.06);
}

.eco-v2__collage-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 33, 67, .75), transparent 58%);
    pointer-events: none;
}

.eco-v2__collage-item figcaption {
    position: absolute;
    z-index: 2;
    right: 11px;
    bottom: 9px;
    left: 11px;
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eco-v2__preview-note {
    margin-top: 18px;
    color: #53647b;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 1120px) {
    .eco-v2__grid { grid-template-columns: 1fr; }
    .eco-v2__map { width: min(820px, 100%); margin: 0 auto; }
    .eco-v2__panel { width: min(760px, 100%); margin: 0 auto; }
}

@media (max-width: 720px) {
    .eco-v2 { padding: 76px 18px 86px; }
    .eco-v2__heading { margin-bottom: 38px; }

    .eco-v2__map {
        display: grid;
        min-height: auto;
        gap: 12px;
        padding-top: 205px;
    }

    .eco-v2__svg { display: none; }
    .eco-v2__core { top: 98px; width: 200px; height: 190px; }
    .eco-v2__star { width: 98px; height: 98px; }
    .eco-v2__brand { top: 116px; }

    .eco-v2__module,
    .eco-v2__module--contabilidad,
    .eco-v2__module--inventarios,
    .eco-v2__module--facturacion,
    .eco-v2__module--compras,
    .eco-v2__module--cartera,
    .eco-v2__module--cartera:hover,
    .eco-v2__module--cartera:focus-visible,
    .eco-v2__module--cartera.is-active {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        transform: none;
    }

    .eco-v2__module:hover,
    .eco-v2__module:focus-visible,
    .eco-v2__module.is-active {
        transform: translateY(-2px);
    }

    .eco-v2__panel {
        min-height: 720px;
        margin-top: 18px;
        border-radius: 24px;
    }

    .eco-v2__orion,
    .eco-v2__module-preview {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-v2__star { animation: none; }
    .eco-v2__module,
    .eco-v2__line,
    .eco-v2__orion,
    .eco-v2__module-preview { transition: none; }
}

.eco-v2__demo {
    margin-top: 22px;
    padding: 18px 20px;

    display: flex;
    align-items: center;
    gap: 14px;

    background: rgba(255,255,255,.75);
    border: 1px solid #cbdcff;
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(30, 80, 160, .08);
}

.eco-v2__demo-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #146cff;
    color: white;
    font-size: 16px;
}

.eco-v2__demo-text {
    flex: 1;
}

.eco-v2__demo-text strong {
    display: block;
    color: #071a40;
    font-size: 15px;
}

.eco-v2__demo-text span {
    display: block;
    margin-top: 3px;
    color: #68758e;
    font-size: 12px;
}

.eco-v2__demo-btn {
    padding: 10px 16px;

    background: #146cff;
    color: white;
    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

