/* ============================================================
   INICIO — DISEÑO CORPORATIVO GRUPO ENERGY
============================================================ */

/* ============================================================
   HERO CORPORATIVO
============================================================ */
.hero-corp {
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

.hero-corp__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
    transform: scale(1);
    backface-visibility: hidden;
}

.hero-corp__bg.active {
    opacity: 1;
    animation: heroZoomOut 8s ease-out forwards;
}

@keyframes heroZoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-corp__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(2, 23, 28, 0.45) 0%, transparent 20%),
        linear-gradient(to top,
            rgba(2, 23, 28, 0.98) 0%,
            rgba(2, 23, 28, 0.7) 45%,
            rgba(2, 23, 28, 0.1) 100%);
    z-index: 1;
}

.hero-corp__content {
    position: relative;
    z-index: 2;
    padding: 0 0 4rem;
    text-align: left;
}

.hero-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.hero-slider-panel {
    max-width: 760px;
}

.hero-corp__sub {
    margin: 1rem 0 2rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 46ch;
}

.hero-slider-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.25s ease;
}

.hero-corp:hover .hero-slider-nav,
.hero-corp:focus-within .hero-slider-nav {
    opacity: 1;
}

.hero-slider-btn {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
    pointer-events: auto;
}

.hero-slider-btn {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.37);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-slider-btn:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.65);
}

.hero-slider-btn i {
    font-size: 1rem;
}

@media (max-width: 1023px) {

    .hero-corp__content {
        text-align: center;
        padding: 0 1rem 4rem;
    }

    .hero-slider {
        flex-direction: column;
    }

    .hero-slider-nav {
        position: absolute;
        inset: 0;
        justify-content: space-between;
        padding: 0 1rem;
    }

    .hero-slider-btn {
        position: relative;
        width: auto;
        height: auto;
        padding: 0.75rem;
        border-radius: 0;
        border: none;
        background: transparent;
    }

    .hero-slider-btn i {
        font-size: 1.2rem;
    }

    .hero-corp__actions {
        justify-content: center !important;
    }

    .hero-corp__content {
        text-align: center;
        padding: 0 1rem 4rem;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-corp__sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-corp__actions {
        justify-content: center !important;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #4cb79b78;
    border: 1px solid rgb(76 183 155);
    color: #f3f3fbf0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.75rem;
}

.hero-eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-green-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero-corp__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
    max-width: 30ch;
    /* Permite que el texto se extienda más antes de saltar de línea */
    margin: 0 0 1.5rem;
    /* Alineado a la izquierda */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-corp__title em {
    font-style: normal;
    color: var(--gold);
}

.hero-corp__sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 50ch;
    margin-left: 0;
    margin-right: 0;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.hero-corp__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    /* Botones alineados a la izquierda */
}

/* Barra de servicios al pie del hero */
.hero-services-bar {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(2, 23, 28, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem 0;
    display: flex;
    overflow: hidden;
}

.hero-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
}

/* En escritorio ocultamos los duplicados para que no se desborde el centrado */
@media (min-width: 1024px) {
    .hero-svc-item:nth-child(n+7) {
        display: none;
    }
}

@media (max-width: 1023px) {
    .hero-track {
        justify-content: flex-start;
        width: max-content;
        animation: marquee 35s linear infinite;
    }
}

.hero-svc-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-svc-item:hover {
    background: rgba(76, 183, 155, 0.1);
}

.hero-svc-item:last-child {
    border-right: none;
}

.hero-svc-item i {
    color: var(--brand-green-primary);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(76, 183, 155, 0.4));
}

.hero-svc-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ============================================================
   SECCIÓN DUAL CHOICE (RUTAS)
============================================================ */
.section-dual-choice {
    margin: 8rem 0 !important;
    padding: 0;
    background: transparent;
    overflow: visible;
    /* Permite que las tarjetas "invadan" el espacio exterior al crecer */
}

.dual-choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 600px;
    overflow: visible;
}

@media (min-width: 1024px) {
    .dual-choice-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        height: 600px;
        /* Un poco más de altura para evitar que los botones se acerquen a los bordes */
    }
}

.choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centramos el contenido verticalmente para evitar recortes en bordes */
    align-items: flex-start;
    /* Alineación base a la izquierda */
    text-align: left;
    padding: 4rem;
    /* Más padding para zona de seguridad de botones */
    overflow: hidden;
    transition: all 1.8s cubic-bezier(0.19, 1, 0.22, 1) !important;
    /* Transición ultra-lenta y cinemática */
}

.choice-card--light {
    border-radius: 0 1.5rem 1.5rem 0;
    /* Recto a la izquierda */
}

@media (min-width: 1024px) {
    .choice-card--light {
        /* Calcula el espacio desde el borde de la pantalla hasta el inicio del container de 90rem */
        padding-left: calc((100vw - 90rem) / 2 + 3rem);
    }
}

.choice-card--dark {
    border-radius: 1.5rem 0 0 1.5rem;
    /* Recto a la derecha */
    align-items: flex-end;
    text-align: right;
}

@media (min-width: 1024px) {
    .choice-card--dark {
        /* Calcula el espacio desde el borde derecho para alinear con el container */
        padding-right: calc((100vw - 90rem) / 2 + 3rem);
    }
}

.choice-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right;
    z-index: 0;
    transition: transform 2.2s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

.choice-card:hover .choice-card__bg {
    transform: scale(1.08);
}

.choice-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Pintado del gradiente más lento y cinemático */
}

.choice-card--light .choice-card__overlay {
    background: linear-gradient(to right, rgb(255 255 255 / 85%) 15%, rgb(255 255 255 / 81%) 45%, rgba(255, 255, 255, 0.308) 100%);
}

.choice-card--light:hover .choice-card__overlay {
    background: linear-gradient(to right, rgb(255 255 255 / 85%) 15%, rgb(255 255 255 / 79%) 45%, rgb(255 255 255 / 48%) 100%);
}

.choice-card--dark .choice-card__overlay {
    background: linear-gradient(to left, rgb(2 23 28 / 93%) 15%, rgb(2 23 28 / 82%) 45%, rgb(2 23 28 / 17%) 100%);
}

.choice-card--dark:hover .choice-card__overlay {
    background: linear-gradient(to left, rgb(2 23 28 / 91%) 45%, rgb(2 23 28 / 84%) 75%, rgb(2 23 28 / 78%) 100%);
}

.choice-card__content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.choice-card__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.choice-card--light .choice-card__title {
    color: var(--abyss);
}

.choice-card--dark .choice-card__title {
    color: var(--white);
}

.choice-card__text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.choice-card--light .choice-card__text {
    color: var(--abyss);
}

.choice-card--dark .choice-card__text {
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1023px) {
    .choice-card {
        min-height: 500px;
        padding: 3rem 2rem;
        justify-content: center;
        align-items: center !important;
        text-align: center !important;
        border-radius: 0;
        /* En móvil sin bordes para look full-bleed */
    }

    .choice-card--dark {
        align-items: center !important;
        text-align: center !important;
    }

    .choice-card__content {
        max-width: 100%;
    }

    .section-dual-choice {
        margin: 2rem 1rem !important;
    }
}

.section-head {
    width: 100%;
    text-align: center;
    /* Centrado crucial para hijos inline-block */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrado para hijos flex */
    justify-content: center;
    margin-bottom: 3.5rem;
    gap: 0.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    margin-left: auto;
    /* Centra el section-label si es inline-flex */
    margin: 0 auto 1rem;
}

.section-label::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--gold);
    display: block;
}

.section-title-corp {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--abyss);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 auto 1rem;
    position: relative;
    display: inline-block;
}

/* Títulos en secciones oscuras */
.section-title-corp--white {
    color: #fff;
}

.section-desc-corp {
    font-size: 1.05rem;
    color: var(--text2);
    max-width: 55ch;
    line-height: 1.65;
}

/* ============================================================
   PROOFS
============================================================ */
.section-proofs {
    padding: 3rem 0 5rem;
    margin: 2rem 1rem 4rem !important;
    border-radius: 2rem;
}

.proofs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .proofs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.proof-card {
    padding: 4rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: background 0.3s ease;
}

.proof-icon {
    font-size: 4rem;
    color: var(--gold);
    margin: 0 auto 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--abyss);
    border-radius: 50%;
    border: 2px solid var(--gold);
    transition: transform 0.8s cubic-bezier(.34, 1.56, 0.64, 1), filter 0.3s ease;
    perspective: 1000px;
    transform-style: preserve-3d;
    filter: drop-shadow(0 10px 20px rgba(191, 147, 94, 0.5));
}

.proof-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.proof-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================================
   QUICK CALC
============================================================ */
.section-quick-calc {
    position: relative;
    padding: 7rem 0;
    margin: 4rem 0 !important;
    background-image: url('https://grupoenergy.cl/wp-content/uploads/2022/06/portada-baja.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-quick-calc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--page) 0%, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0.3) 80%, var(--page) 100%), rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    z-index: 1;
}

.quick-calc-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .quick-calc-layout {
        grid-template-columns: 4.5fr 7.5fr;
        gap: 6rem;
    }
}

.quick-calc-info {
    text-align: left;
}

.quick-calc-info .section-label,
.quick-calc-info .section-title-corp,
.quick-calc-info .section-desc-corp {
    color: var(--abyss) !important;
}

.quick-calc-tool-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.5rem;
    padding: 5rem 4rem 4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
}

.calc-input-group label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    color: var(--abyss) !important;
    font-size: 1.05rem;
}

.bill-display {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.bill-display input {
    background: transparent;
    border: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-green-primary);
    width: 100%;
    outline: none;
}

.calc-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5.5rem 1.5rem;
    padding: 5rem 0 0;
}

@media (min-width: 1024px) {
    .calc-results {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.result-item {
    padding: 3.5rem 1.25rem 2rem;
    border-radius: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 200px;
}

.result-item:nth-child(1) {
    background: linear-gradient(145deg, var(--gold), var(--gold-light));
    color: #fff;
}

.result-item:nth-child(2) {
    background: rgba(76, 183, 155, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(76, 183, 155, 0.25);
}

.result-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--abyss);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.result-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
}

/* ============================================================
   ERNC / PARTNERS
============================================================ */
.section-ge-ernc {
    position: relative;
    padding: 8rem 0;
    background: var(--abyss);
    margin: 8rem 1rem !important;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-ge-ernc .step-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.section-ge-ernc .step-item:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--brand-green-primary) !important;
    transform: translateY(-5px) translateX(5px);
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.section-testimonials {
    padding: 8rem 0;
    background: var(--green-bg);
    overflow: hidden;
}

.testimonials-swiper {
    padding: 2rem 1rem 4rem !important;
    overflow: visible !important;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    box-shadow: var(--shmd);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text2);
    font-style: italic;
    margin-bottom: 2.5rem;
    position: relative;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
}

/* ============================================================
   STORE
============================================================ */
.section-store {
    padding: 8rem 0;
    background: var(--white);
    margin: 8rem 1rem !important;
    border-radius: 2rem;
    border: 2px solid var(--gold);
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .store-grid {
        grid-template-columns: 6.5fr 5.5fr;
    }
}

.store-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 520px;
}

.store-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold);
    width: 95px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   PORTFOLIO
============================================================ */
.section-portfolio {
    padding: 7rem 0;
    background: var(--abyss);
    margin: 0 1rem;
    border-radius: 2rem;
    overflow: hidden;
}

.portfolio-swiper {
    width: 100%;
    padding: 2rem 0 4rem;
    overflow: visible !important;
}

.portfolio-card {
    width: 520px;
    max-width: 90vw;
    position: relative;
    height: 480px;
    border-radius: 1.5rem;
    overflow: hidden;
}

.portfolio-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* ============================================================
   ABOUT
============================================================ */
.section-about {
    padding: 8rem 0;
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 5fr 5fr;
        gap: 6rem;
    }
}

.about-img-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
}

.about-img-collage img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1.25rem;
}

.about-img-collage img:first-child {
    grid-column: span 2;
    height: 280px;
}

/* ============================================================
   DIFFERENTIATORS
============================================================ */
.section-diff {
    padding: 6rem 0;
    background: var(--abyss);
    margin: 0 1rem;
    border-radius: 2rem;
    text-align: center;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .diff-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.diff-item {
    padding: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ============================================================
   INSIGHTS
============================================================ */
.section-insights {
    padding: 6rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.insight-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
}

/* ============================================================
   SECCIÓN INNOVACIÓN (SECCIÓN 2)
============================================================ */
.section-innovation {
    padding: 8rem 0;
    border-radius: 0;
    margin: 0;
}

.innovation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem 3rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .innovation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .innovation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.innovation-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.innovation-image {
    width: 50px;
    height: 50px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.innovation-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.innovation-item:hover .innovation-image img {
    transform: scale(1.15) translateY(-5px);
}

.innovation-item h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--abyss);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.innovation-item p {
    font-size: 1rem;
    color: var(--text2);
    line-height: 1.6;
    max-width: 35ch;
}

/* ============================================================
   SECCIÓN SOSTENIBILIDAD (SECCIÓN 5)
============================================================ */
.section-sustainability {
    padding: 10rem 0;
    border-radius: 0;
    margin: 0;
}

.sustainability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sustainability-grid {
        grid-template-columns: 1.1fr 0.9fr;
        /* Texto más ancho que la imagen */
        gap: 6rem;
    }
}

.section-sustainability .section-title-corp {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    text-align: left;
}

/* Eliminamos el subrayado específicamente para esta sección */
.section-sustainability .section-title-corp::after {
    display: none;
}

.section-sustainability .section-desc-corp {
    max-width: 100%;
    text-align: left;
}

.sustainability-image {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shlg);
}

.sustainability-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.sustainability-image:hover img {
    transform: scale(1.03);
}

/* ============================================================
   SECCIÓN TERRENOS (SECCIÓN 4)
============================================================ */
.section-land {
    position: relative;
    padding: 12rem 0;
    margin: 4rem 0 !important;
    background-color: var(--abyss);
    /* Color base mientras carga */
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Por defecto scroll para mejor rendimiento */
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-image 0.8s ease-in-out;
}

/* Se activa solo cuando el usuario está cerca de la sección */
.section-land.bg-loaded {
    background-image: url('https://grupoenergy.cl/wp-content/uploads/2026/06/terreno-paisaje-natural-pin-ubicacion-scaled-1.webp');
}

@media (min-width: 1024px) {
    .section-land.bg-loaded {
        background-attachment: fixed;
        /* Parallax solo en computadoras */
    }
}

.section-land__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 23, 28, 0.8) 0%, rgba(2, 23, 28, 0.4) 100%);
    z-index: 1;
}

.section-land .container {
    position: relative;
    z-index: 2;
    max-width: 850px;
    /* Estrecho para mejor lectura del título */
}

.land-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    /* Sin subrayado por diseño */
}

/* ============================================================
   CTA CORP
============================================================ */
.section-cta-corp {
    padding: 8rem 0;
    background: var(--abyss);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.section-cta-corp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(76, 183, 155, 0.17) 0%, #00000073 70%), url('https://grupoenergy.cl/wp-content/uploads/2024/11/green-business-company-and-solar-energy-environmen-2024-11-01-22-11-49-utc-scaled.jpg') center/cover;
    opacity: 0.25;
    z-index: 0;
}

.section-cta-corp .container {
    position: relative;
    z-index: 1;
}

.section-cta-corp .cta-corp__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.section-cta-corp .cta-corp__title em {
    font-style: normal;
    color: var(--gold);
}

.section-cta-corp .cta-corp__sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 60ch;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.section-cta-corp .cta-corp__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-cta-corp .btn-primary-corp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: var(--brand);
    color: var(--abyss);
    border-radius: 100px;
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 15px rgba(76, 183, 155, 0.25);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.section-cta-corp .btn-primary-corp:hover {
    background-color: var(--brand2);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 183, 155, 0.35);
}

.section-cta-corp .btn-dark-corp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--abyss);
    color: var(--white);
    border-radius: 100px;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1rem;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

.section-cta-corp .btn-dark-corp:hover {
    background-color: var(--lagoon);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    border-color: var(--brand);
}

.section-cta-corp .cta-corp__note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2rem;
    letter-spacing: 0.02em;
}

@media (max-width: 767px) {
    .section-cta-corp {
        padding: 5rem 0;
    }
    
    .section-cta-corp .cta-corp__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 0 1.5rem;
    }
    
    .section-cta-corp .btn-primary-corp,
    .section-cta-corp .btn-dark-corp {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================================
   SECCIÓN QUICK CALC (MINI SIMULADOR)
============================================================ */
.section-quick-calc {
    position: relative;
    padding: 7rem 0;
    margin: 4rem 0 !important;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.quick-calc-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1023px) {
    .quick-calc-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .quick-calc-info .section-label {
        justify-content: center;
        width: 100%;
    }

    .quick-calc-info .section-title-corp {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .quick-calc-info .section-desc-corp {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .quick-calc-cta-wrap {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .calc-disclaimer {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .quick-calc-layout {
        grid-template-columns: 4.5fr 7.5fr;
        gap: 6rem;
    }
}

.quick-calc-info {
    text-align: left;
}


.quick-calc-info .section-title-corp,
.quick-calc-info .section-desc-corp {
    color: var(--abyss) !important;
}

.quick-calc-info .section-label::before {
    background: var(--gold);
}

.quick-calc-cta-wrap {
    margin-top: 2rem;
}

.calc-disclaimer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text3);
    font-style: italic;
    line-height: 1.6;
    max-width: 45ch;
}

.calc-input-group--light {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 1.5rem;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.calc-controls-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .calc-controls-row {
        flex-direction: row;
    }
}

.input-label-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.quick-calc-tool-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 3rem 2.5rem;
    box-shadow: var(--shlg);
}

.boleta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border2);
}

.boleta-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--abyss);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boleta-logo {
    height: 1.75rem;
    width: auto;
}

.boleta-header span {
    font-size: 0.9rem;
    color: var(--text3);
    font-weight: 500;
}

.calc-input-group label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    color: var(--white) !important;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    text-align: left;
}

/* Corrección para el texto dentro del contenedor claro */
.calc-input-group--light label,
.calc-input-group--light .input-hint,
.calc-input-group--light .range-labels {
    color: var(--abyss) !important;
}

.slider-container {
    flex: 1;
    width: 100%;
}

.input-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bill-display {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 768px) {
    .bill-display {
        width: 220px;
        flex-shrink: 0;
    }
}

.bill-display:focus-within {
    border-color: var(--gold);
    box-shadow: 0 10px 30px -10px rgba(191, 147, 94, 0.2);
}

.bill-display .currency {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-green-primary);
    margin-right: 0.5rem;
    user-select: none;
}

.bill-display input {
    background: transparent;
    border: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-green-primary);
    width: 100%;
    outline: none;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, #2cb490 0%, #008d6f5c 0%);
    outline: none;
    margin-top: 0;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text3);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 4px solid var(--brand-green-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    border-color: var(--gold);
}

.boleta-results {
    margin-top: 3rem;
}

.boleta-highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .boleta-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.highlight-item {
    background: var(--green-bg);
    padding: 1.5rem;
    border-radius: 1.25rem;
    text-align: center;
}

.highlight-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    display: block;
}

.highlight-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1.2;
    margin-top: 0.25rem;
}

#kit-recommendation {
    font-size: 1.2rem;
    color: var(--abyss);
}

.boleta-main-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px dashed var(--border2);
    border-top: 1px dashed var(--border2);
}

@media (min-width: 768px) {
    .boleta-main-display {
        grid-template-columns: 2fr 1fr;
    }
}

.new-bill-summary {
    text-align: center;
    padding-left: 2rem;
}

@media (min-width: 768px) {
    .new-bill-summary {
        border-left: 1px dashed var(--border2);
    }
}

.new-bill-summary .new-bill-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    display: block;
}

.new-bill-summary .new-bill-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
    margin: 0.5rem 0;
}

.boleta-history-chart {
    margin-top: 0;
}

.history-chart-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}

.history-chart-bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    /* Aumentamos el gap para hacer las barras más delgadas */
    align-items: flex-end;
    height: 120px;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border2);
}

.history-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.history-bar {
    width: 50%;
    /* Hacemos la barra más delgada dentro de su celda */
    background-color: var(--border2);
    border-radius: 3px 3px 0 0;
    transition: height 0.5s ease;
    position: relative;
    cursor: pointer;
}

.history-bar:hover {
    background-color: var(--brand);
}

.history-bar .tooltip {
    display: none;
    /* Se maneja con JS o hover */
}

.history-bar-month {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text3);
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.bar {
    width: 80%;
    background-color: var(--border2);
    border-radius: 6px 6px 0 0;
    transition: height 0.5s ease;
}

.bar--new {
    background-color: var(--brand);
}

.bar-value {
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--abyss);
}

.boleta-summary {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px dashed var(--border2);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .boleta-summary {
        grid-template-columns: 1fr 1fr;
    }
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--green-bg);
    padding: 1.5rem;
    border-radius: 1.25rem;
}

.summary-item i {
    font-size: 1.75rem;
    color: var(--brand);
}

.summary-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
}

.summary-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--abyss);
}

.summary-item:first-child .summary-value {
    color: var(--brand);
}

.boleta-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
}

.boleta-disclaimer {
    font-size: 0.85rem;
    color: var(--text2);
    line-height: 1.5;
    max-width: 40ch;
    margin: 0 auto 1.5rem;
}

.boleta-disclaimer strong {
    color: var(--gold);
}

/* ============================================================
   SECCIÓN: PROYECTOS REALES — NET BILLING (CARRUSEL)
============================================================ */
.section-real-projects {
    /* Changed to light background */
    padding: 100px 0;
    background: var(--page);
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
}

.real-projects-swiper {
    width: 100%;
    padding: 40px 0 80px !important;
    overflow: visible !important;
}

.real-projects-swiper .swiper-slide {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    /* Adjusted opacity for light theme stack */
    transform: scale(0.9) translateY(10px);
    /* Adjusted scale and translateY for light theme stack */
    filter: blur(0.5px);
    /* Subtle blur */
    z-index: 1;
    /* Asegura el orden de apilamiento */
}

.real-projects-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
    /* Slightly less aggressive scale for light theme */
    z-index: 10;
    filter: blur(0);
}

.project-card {
    height: 480px;
    /* Ajustado para coincidir con el carrusel de gran escala */
    border-radius: 0;
    position: relative;
    overflow: hidden;
    background: var(--white);
    /* Changed to white background */
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    /* Added box-shadow transition */
    box-shadow: var(--shmd);
    /* Added subtle shadow */
    border: 1px solid var(--border);
    /* Added subtle border */
}

.project-card:hover {
    transform: translateY(-8px);
    /* Lift effect on hover */
    box-shadow: var(--shlg);
    /* More prominent shadow on hover */
    border-color: var(--brand);
    /* Highlight border on hover */
}

.project-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    opacity: 1;
    /* Full opacity for images on light theme */
    transition: all 0.8s ease;
    z-index: 1;
}

.project-card:hover .project-card__image {
    transform: scale(1.05);
    /* Subtle zoom on hover */
    opacity: 1;
}

.project-card__body {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: auto;
    width: calc(100% - 3rem);
    max-width: 420px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.705);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--border);
    z-index: 2;
    color: var(--abyss);
    text-align: left;
}

.project-card__title {
    font-size: 1.4rem;
    color: var(--abyss);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.project-card__meta {
    font-size: 0.85rem;
    /* Ajustado para coincidir con el carrusel de gran escala */
    color: var(--text2);
    /* Changed text color to dark */
    font-weight: 400;
    line-height: 1.5;
}

/* Swiper Pagination (Dots) */
.real-projects-pagination {
    bottom: 20px !important;
}

.real-projects-pagination .swiper-pagination-bullet {
    background: var(--abyss);
    /* Changed to dark for contrast on light background */
    opacity: 0.2;
    transition: all 0.3s ease;
}

.real-projects-pagination .swiper-pagination-bullet-active {
    background: var(--brand);
    opacity: 1;
    width: 30px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .project-card__body {
        padding: 2.5rem 1.5rem;
    }

    .project-card__title {
        font-size: 1.8rem;
    }

    .project-card {
        height: 500px;
    }
}


/* ============================================================
   SECCIÓN: BLOG / ACTUALIDADES (HOME)
============================================================ */
.section-home-blog {
    padding: 8rem 0;
    overflow: hidden;
}

.home-blog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 767px) {
    .home-blog-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.home-blog-swiper {
    width: 100%;
    padding: 0.5rem 0 4rem !important;
    overflow: visible !important;
}

.home-blog-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    box-shadow: var(--shmd);
}

.home-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shlg);
}

.home-blog-card__img-wrap {
    display: block;
    height: 220px;
    overflow: hidden;
}

.home-blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-blog-card:hover .home-blog-card__img-wrap img {
    transform: scale(1.05);
}

.home-blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.75rem;
    flex: 1;
}

.home-blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.home-blog-cat {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(76, 183, 155, 0.1);
    border: 1px solid rgba(76, 183, 155, 0.28);
    padding: 0.22rem 0.7rem;
    border-radius: 9999px;
}

.home-blog-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--text3);
    font-weight: 500;
}

.home-blog-date i {
    color: var(--brand);
    font-size: 0.7rem;
}

.home-blog-card__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--abyss);
    line-height: 1.25;
    margin: 0;
}

.home-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.home-blog-card__title a:hover {
    color: var(--brand);
}

.home-blog-card__excerpt {
    font-size: 0.88rem;
    color: var(--text2);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.home-blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}

.home-blog-readmore i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.home-blog-readmore:hover {
    color: var(--abyss);
    gap: 0.65rem;
}

.home-blog-pagination {
    bottom: 0 !important;
}

.home-blog-pagination .swiper-pagination-bullet {
    background: var(--abyss);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.home-blog-pagination .swiper-pagination-bullet-active {
    background: var(--brand);
    opacity: 1;
    width: 30px;
    border-radius: 4px;
}

.home-blog-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

/* ============================================================
   SECCIÓN NET BILLING (PROTAGONISTA DEL INICIO)
============================================================ */
.section-netbilling-home {
    padding: 7rem 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(76, 183, 155, 0.10) 0%, transparent 45%),
        var(--green-bg);
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
}

.nbh-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .nbh-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 5rem;
    }
}

.nbh-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--brand2);
    background: rgba(76, 183, 155, 0.14);
    border: 1px solid rgba(76, 183, 155, 0.30);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.nbh-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 700;
    color: var(--abyss);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.nbh-desc {
    font-size: 1.1rem;
    color: var(--text2);
    line-height: 1.7;
    max-width: 52ch;
    margin-bottom: 2rem;
}

.nbh-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 560px) {
    .nbh-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.nbh-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--abyss);
}

.nbh-benefits li i {
    color: var(--brand);
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.nbh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nbh-visual {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    box-shadow: var(--shlg);
    min-height: 340px;
}

.nbh-visual img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.nbh-visual-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--abyss);
    color: #fff;
    padding: 1.1rem 1.6rem;
    border-radius: 1.25rem;
    box-shadow: var(--shmd);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nbh-visual-badge__num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brand-green-primary);
}

.nbh-visual-badge__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

@media (max-width: 1023px) {
    .section-netbilling-home {
        padding: 5rem 0;
    }
}