/* Hero mockup — dashboard SaaS claro con contraste (solo bloque derecho) */

@media (min-width: 992px) {
    .ng-hero .col-lg-5 {
        align-self: flex-start;
    }

    .ng-hero-panel {
        margin-top: -48px;
        transform: scale(1.1);
        transform-origin: top center;
    }

    .ng-hero-panel.ng-reveal {
        opacity: 1;
        transform: scale(1.1);
        transition: none;
    }

    .ng-hero-panel.ng-reveal.is-visible {
        transform: scale(1.1);
    }
}

.ng-hero-panel {
    background: #FFFFFF;
    border: 1px solid #DDE8EF;
    box-shadow: 0 20px 52px rgba(6, 35, 58, 0.14);
}

.ng-hero-panel .ng-screen {
    border: 1px solid #C8D9E6;
    background: #FFFFFF;
    box-shadow: 0 10px 32px rgba(6, 35, 58, 0.1);
    overflow: hidden;
}

.ng-hero-panel .ng-screen--a6 {
    color: #06233A;
}

.ng-hero-panel .ng-a6-chrome {
    background: linear-gradient(180deg, #004D73 0%, #06233A 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ng-hero-panel .ng-a6-chrome__title {
    color: #FFFFFF;
}

.ng-hero-panel .ng-a6-period {
    color: #FFFFFF;
    background: #0C8287;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.ng-hero-panel .ng-a6-body {
    background: #F7FBFD;
}

.ng-hero-panel .ng-a6-carousel__stage {
    min-height: 268px;
}

.ng-hero-panel .ng-a6-slide__title {
    color: #06233A;
    font-weight: 800;
}

.ng-hero-panel .ng-a6-slide__lead {
    color: #607184;
    font-weight: 500;
}

.ng-hero-panel .ng-a6-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.ng-hero-panel .ng-a6-metric-grid--compact {
    gap: 0.42rem;
}

.ng-hero-panel .ng-a6-metric {
    margin: 0;
    padding: 0.58rem 0.62rem;
    border-radius: 12px;
    border: 1px solid #DDE8EF;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(6, 35, 58, 0.08);
    min-height: 3.35rem;
}

.ng-hero-panel .ng-a6-metric--alert {
    border-left: 3px solid #0C8287;
}

.ng-hero-panel .ng-a6-metric--accent {
    border-left: 3px solid #004D73;
}

.ng-hero-panel .ng-a6-metric__label {
    margin: 0;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #607184;
    line-height: 1.2;
}

.ng-hero-panel .ng-a6-metric__value {
    margin: 0.24rem 0 0;
    font-size: clamp(0.84rem, 1.15vw, 0.98rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #004D73;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.ng-hero-panel .ng-a6-module {
    border: 1px solid #DDE8EF;
    background: #FFFFFF;
    color: #06233A;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(6, 35, 58, 0.07);
}

.ng-hero-panel .ng-a6-module::after {
    background: #0C8287;
    box-shadow: 0 0 0 3px rgba(12, 130, 135, 0.22);
}

.ng-hero-panel .ng-a6-slide--2 .ng-a6-modules {
    gap: 0.35rem;
    margin-top: 0.1rem;
}

.ng-hero-panel .ng-a6-slide--2 .ng-a6-module {
    min-height: 1.85rem;
    padding: 0.32rem 0.35rem;
    font-size: 0.6rem;
}

.ng-hero-panel .ng-a6-table-wrap {
    margin-top: 0.35rem;
    border: 1px solid #DDE8EF;
    border-radius: 12px;
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(6, 35, 58, 0.08);
}

.ng-hero-panel .ng-a6-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
}

.ng-hero-panel .ng-a6-table th,
.ng-hero-panel .ng-a6-table td {
    padding: 0.44rem 0.52rem;
    border-bottom: 1px solid #DDE8EF;
    text-align: left;
    color: #06233A;
}

.ng-hero-panel .ng-a6-table th {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #607184;
    background: #EDF3F7;
}

.ng-hero-panel .ng-a6-table tbody tr:last-child td {
    border-bottom: 0;
}

.ng-hero-panel .ng-a6-table__num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: #004D73;
}

.ng-hero-panel .ng-a6-badge {
    display: inline-block;
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 800;
    color: #004D73;
    background: #E8F2F8;
    border: 1px solid #B8CFDF;
}

.ng-hero-panel .ng-a6-badge--warn {
    color: #9A3412;
    background: #FFF4E8;
    border-color: #F0B27A;
}

.ng-hero-panel .ng-a6-badge--ok {
    color: #0A6B6F;
    background: #E6F7F6;
    border-color: #7FCEC9;
}

.ng-hero-panel .ng-a6-chart {
    margin-top: 0.45rem;
    padding: 0.58rem 0.62rem 0.52rem;
    border: 1px solid #DDE8EF;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(6, 35, 58, 0.08);
}

.ng-hero-panel .ng-a6-chart__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.ng-hero-panel .ng-a6-chart__title {
    font-size: 0.68rem;
    font-weight: 800;
    color: #06233A;
}

.ng-hero-panel .ng-a6-chart__meta {
    font-size: 0.58rem;
    font-weight: 600;
    color: #607184;
}

.ng-hero-panel .ng-bars {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.ng-hero-panel .ng-bar {
    height: 8px;
    border-radius: 999px;
    background: #D5E3EC;
    overflow: hidden;
}

.ng-hero-panel .ng-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #004D73 0%, #0C8287 100%);
}

@media (prefers-reduced-motion: reduce) {
    .ng-hero-panel .ng-a6-carousel__dot:nth-child(3) {
        background: #0C8287 !important;
    }
}

.ng-hero-panel .ng-a6-body.is-carousel-active .ng-a6-carousel__dot:nth-child(1) {
    animation-name: ng-a6-dot-1-light;
}

.ng-hero-panel .ng-a6-body.is-carousel-active .ng-a6-carousel__dot:nth-child(2) {
    animation-name: ng-a6-dot-2-light;
}

.ng-hero-panel .ng-a6-body.is-carousel-active .ng-a6-carousel__dot:nth-child(3) {
    animation-name: ng-a6-dot-3-light;
}

@keyframes ng-a6-dot-1-light {
    0%, 26% {
        background: #0C8287;
        transform: scale(1.15);
    }

    27%, 100% {
        background: #A8BECC;
        transform: scale(1);
    }
}

@keyframes ng-a6-dot-2-light {
    0%, 25% {
        background: #A8BECC;
        transform: scale(1);
    }

    26%, 48% {
        background: #0C8287;
        transform: scale(1.15);
    }

    49%, 100% {
        background: #A8BECC;
        transform: scale(1);
    }
}

@keyframes ng-a6-dot-3-light {
    0%, 51% {
        background: #A8BECC;
        transform: scale(1);
    }

    52%, 96% {
        background: #0C8287;
        transform: scale(1.15);
    }

    97%, 100% {
        background: #A8BECC;
        transform: scale(1);
    }
}

@media (max-width: 991px) {
    .ng-hero-panel {
        margin-top: 0;
        transform: none;
    }

    .ng-hero-panel.ng-reveal,
    .ng-hero-panel.ng-reveal.is-visible {
        transform: none;
    }
}

@media (max-width: 575px) {
    .ng-hero-panel .ng-a6-carousel__stage {
        min-height: 280px;
    }

    .ng-hero-panel .ng-a6-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
