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

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: var(--z-header);

    padding-top: 8px;
    padding-bottom: 8px;

    background:
        rgba(255, 255, 255, 0.82);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.35);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}

.brand-logo {
    width: 205px;
    height: auto;
}


/* ---------------------------------------------------------
   DESKTOP NAV
---------------------------------------------------------- */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
}

.desktop-nav a {
    position: relative;

    padding: 10px 0;

    color: var(--text-primary);

    font-size: 0.84rem;
    font-weight: var(--font-weight-medium);

    transition:
        color var(--transition-fast);
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: var(--solar-green-active);

    transition: width var(--transition-fast);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--crev-blue);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* ---------------------------------------------------------
   HEADER CTA
---------------------------------------------------------- */

.header-cta {
    min-height: 44px;

    padding-inline: 22px;

    font-size: 0.82rem;
}


/* ---------------------------------------------------------
   MOBILE MENU BUTTON
---------------------------------------------------------- */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(10px);

    box-shadow: var(--shadow-sm);
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;

    background: var(--crev-blue);

    border-radius: 2px;

    transition:
        transform var(--transition-fast),
        opacity var(--transition-fast);
}


/* ---------------------------------------------------------
   MOBILE NAV
---------------------------------------------------------- */

.mobile-nav {
    display: none;
}



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

.hero {
    min-height: 680px;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background: var(--white);
}


/* ---------------------------------------------------------
   HERO BACKGROUND
---------------------------------------------------------- */

.hero-background {
    position: absolute;

    inset: 0;

    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center right;
}


/* ---------------------------------------------------------
   HERO OVERLAY
---------------------------------------------------------- */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.96) 30%,
            rgba(255, 255, 255, 0.82) 45%,
            rgba(255, 255, 255, 0.15) 68%,
            rgba(255, 255, 255, 0) 82%
        );
}


/* ---------------------------------------------------------
   HERO CONTAINER
---------------------------------------------------------- */

.hero-container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    padding-top: 105px;
    padding-bottom: 35px;
}


/* ---------------------------------------------------------
   HERO CONTENT
---------------------------------------------------------- */

.hero-content {
    width: min(540px, 46%);
}

.hero-content .eyebrow {
    color: var(--crev-blue);

    margin-bottom: 16px;
}

.hero-content h1 {
    margin-bottom: 22px;

    color: var(--text-primary);

    font-size: clamp(3.1rem, 4.9vw, 5.2rem);

    line-height: 0.98;
}

.hero-content h1 span {
    color: var(--solar-green-active);
}

.hero-description {
    max-width: 500px;

    margin-bottom: 28px;

    color: var(--text-primary);

    font-size: 1.05rem;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   HERO ACTIONS
---------------------------------------------------------- */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 46px;
}


/* ---------------------------------------------------------
   HERO BENEFITS
---------------------------------------------------------- */

.hero-benefits {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(120px, 0.3fr));

    gap: 1px;

    max-width: 520px;
}

.hero-benefit {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-benefit img {
    width: 100%;
    height: 90px;
    object-fit: contain;
}

.hero-benefit p {
    margin: 0;

    color: var(--text-primary);

    font-size: 0.85rem;
    line-height: 1.3;
}



/* =========================================================
   IMPACT SECTION
========================================================== */

.impact {
    background: var(--white);
}

.impact-grid {
    display: grid;

    grid-template-columns:
        41% 59%;
}


/* ---------------------------------------------------------
   RESULTADOS
---------------------------------------------------------- */

.impact-results {
    background:
        linear-gradient(
            135deg,
            var(--solar-deep),
            var(--solar-night)
        );

    color: var(--white);
}

.impact-inner {
    padding:
        44px
        clamp(30px, 5vw, 78px);
}

.impact-results .eyebrow {
    color: rgba(255,255,255,0.7);
}


/* ---------------------------------------------------------
   STATS
---------------------------------------------------------- */

.stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 26px;
}

.stat {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.stat-icon {
    color: var(--solar-green);

    font-size: 1.6rem;
}

.stat strong {
    color: var(--solar-green);

    font-size: 1.8rem;
    line-height: 1;
}

.stat span:last-child {
    color: var(--white);

    font-size: 0.78rem;
    line-height: 1.35;
}


/* ---------------------------------------------------------
   ECOSYSTEM SUMMARY
---------------------------------------------------------- */

.ecosystem-summary {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr 280px;

    gap: 20px;

    min-height: 240px;

    padding:
        34px
        clamp(30px, 5vw, 70px);

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #FFFFFF,
            #F8FAF9
        );
}

.ecosystem-summary-content {
    position: relative;

    z-index: 2;

    align-self: center;

    max-width: 520px;
}

.ecosystem-summary .eyebrow {
    margin-bottom: 10px;

    color: var(--crev-blue);
}

.ecosystem-summary h2 {
    margin-bottom: 12px;

    font-size: clamp(1.7rem, 2.4vw, 2.6rem);
}

.ecosystem-summary p {
    margin-bottom: 14px;

    color: var(--text-secondary);

    font-size: 0.92rem;
}

.ecosystem-products {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ecosystem-products img {
    max-height: 215px;

    object-fit: contain;
}



/* =========================================================
   CLIENT LOGOS
========================================================== */

.clients {
    border-top:
        1px solid var(--border-light);

    border-bottom:
        1px solid var(--border-light);

    background: var(--white);
}

.clients-container {
    display: grid;

    grid-template-columns:
        210px 1fr;

    gap: 30px;

    align-items: center;

    padding-top: 22px;
    padding-bottom: 22px;
}

.clients-title {
    margin: 0;

    color: var(--crev-blue);

    font-size: 0.68rem;
    line-height: 1.4;

    letter-spacing: 0.08em;
}

.client-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.client-logos img {
    /* max-width: 80px; */
    /* max-height: 34px; */

    filter:
        grayscale(1)
        opacity(0.65);

    transition:
        filter var(--transition-fast),
        transform var(--transition-fast);
}

.client-logos img:hover {
    filter:
        grayscale(0)
        opacity(1);

    transform:
        translateY(-2px);
}

.client-logos span {
    flex-shrink: 0;

    color: var(--text-secondary);

    font-size: 0.72rem;
}


/* =========================================================
   SOLUTIONS
========================================================== */

.solutions {
    padding:
        54px
        0
        38px;

    background: var(--white);
}

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* ---------------------------------------------------------
   SOLUTION CARD
---------------------------------------------------------- */

.solution-card {
    position: relative;

    min-height: 360px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--light-gray);

    box-shadow: var(--shadow-sm);
}

.solution-card > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    position: absolute;
    inset: 0;
}


/* Dark information panel */

.solution-card-content {
    position: absolute;

    top: 0;
    right: 0;

    width: 44%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        34px
        30px;

    color: var(--white);

    background:
        linear-gradient(
            180deg,
            rgba(7, 30, 25, 0.98),
            rgba(7, 30, 25, 0.94)
        );
}

.solution-icon {
    width: 42px;
    height: 42px;

    margin-bottom: 22px;

    object-fit: contain;
}

.solution-card-content h2 {
    margin-bottom: 14px;

    font-size: clamp(1.6rem, 2.2vw, 2.35rem);
    line-height: 1.03;
}

.solution-card-content p {
    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.96rem;
    line-height: 1.5;
}

.solution-card-content a {
    display: inline-flex;

    align-items: center;

    margin-top: auto;

    color: var(--solar-green);

    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);

    transition:
        gap var(--transition-fast),
        color var(--transition-fast);
}

.solution-card-content a:hover {
    color: var(--white);
}


/* subtle zoom */

.solution-card > img {
    transition:
        transform 0.55s ease;
}

.solution-card:hover > img {
    transform: scale(1.025);
}



/* =========================================================
   BENEFITS
========================================================== */

.benefits {
    padding:
        30px
        0
        66px;

    background: var(--white);
}

.benefits .container {
    display: grid;

    grid-template-columns:
        320px
        1fr;

    gap: 50px;

    align-items: center;
}


/* ---------------------------------------------------------
   HEADING
---------------------------------------------------------- */

.section-heading {
    max-width: 330px;
}

.section-heading .eyebrow {
    margin-bottom: 8px;

    font-size: 0.72rem;
}

.section-heading h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: clamp(2rem, 3vw, 3.1rem);

    line-height: 0.98;
}


/* ---------------------------------------------------------
   BENEFIT ITEMS
---------------------------------------------------------- */

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 24px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    gap: 14px;
}

.benefit-item img {
    width: 46px;
    height: 46px;

    object-fit: contain;
}

.benefit-item p {
    margin: 0;

    color: var(--text-primary);

    font-size: 0.82rem;
    line-height: 1.35;
}


/* small divider effect */

.benefit-item:not(:last-child) {
    position: relative;
}

.benefit-item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 8px;
    right: -12px;

    width: 1px;
    height: 62px;

    background:
        linear-gradient(
            180deg,
            transparent,
            var(--border-light),
            transparent
        );
}


/* =========================================================
   SOLAR SYSTEM
========================================================== */

.solar-system {
    padding:
        40px
        0
        76px;

    background: var(--white);
}

.solar-system-card {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(300px, 1.05fr)
        minmax(240px, 0.7fr);

    gap: 30px;

    align-items: center;

    min-height: 430px;

    padding:
        46px
        48px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background:
        radial-gradient(
            circle at 62% 50%,
            rgba(50, 242, 121, 0.22),
            rgba(50, 242, 121, 0.05) 28%,
            transparent 52%
        ),
        linear-gradient(
            135deg,
            var(--solar-deep),
            var(--solar-night)
        );

    box-shadow: var(--shadow-md);
}


/* subtle decorative glow */

.solar-system-card::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: 47%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(50, 242, 121, 0.18),
            rgba(50, 242, 121, 0.06) 40%,
            transparent 70%
        );

    filter: blur(12px);

    pointer-events: none;
}


/* ---------------------------------------------------------
   COPY
---------------------------------------------------------- */

.solar-system-copy {
    position: relative;
    z-index: 2;

    color: var(--white);
}

.solar-system-copy .eyebrow {
    margin-bottom: 14px;
}

.solar-system-copy h2 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(2.4rem, 3.4vw, 4rem);

    line-height: 0.98;
}

.solar-system-copy > p:not(.eyebrow) {
    max-width: 440px;

    margin-bottom: 26px;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 0.96rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   PRODUCT IMAGE
---------------------------------------------------------- */

.solar-system-product {
    position: relative;
    z-index: 2;

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

    align-self: stretch;
}

.solar-system-product img {
    width: 100%;
    max-width: 430px;

    max-height: 390px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 22px 30px
            rgba(0, 0, 0, 0.24)
        );
}


/* ---------------------------------------------------------
   FEATURES
---------------------------------------------------------- */

.solar-system-features {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 26px;
}

.solar-system-features article {
    display: grid;

    grid-template-columns:
        42px 1fr;

    gap: 14px;

    align-items: start;
}

.solar-system-features article img {
    width: 38px;
    height: 38px;

    object-fit: contain;
}

.solar-system-features article div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.solar-system-features strong {
    color: var(--white);

    font-size: 0.92rem;
    font-weight: var(--font-weight-bold);
}

.solar-system-features span {
    color:
        rgba(255, 255, 255, 0.66);

    font-size: 0.74rem;
    line-height: 1.35;
}



/* =========================================================
   PROJECTS
========================================================== */

.projects {
    padding:
        36px
        0
        74px;

    background: var(--white);
}

.projects-grid {
    display: grid;

    grid-template-columns:
        280px
        1fr;

    gap: 40px;

    align-items: stretch;
}


/* ---------------------------------------------------------
   PROJECT INTRO
---------------------------------------------------------- */

.projects-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-right: 12px;
}

.projects-intro .eyebrow {
    margin-bottom: 12px;
}

.projects-intro h2 {
    margin-bottom: 18px;

    color: var(--text-primary);

    font-size: clamp(2rem, 3vw, 3.2rem);

    line-height: 1;
}

.projects-intro > p:not(.eyebrow) {
    margin-bottom: 24px;

    color: var(--text-secondary);

    font-size: 0.92rem;
}


/* ---------------------------------------------------------
   PROJECT CARDS
---------------------------------------------------------- */

.project-cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.project-card {
    overflow: hidden;

    border:
        1px solid var(--border-light);

    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.project-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}

.project-card > img {
    width: 100%;
    height: 185px;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.project-card:hover > img {
    transform: scale(1.035);
}

.project-card > div {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 3px;

    min-height: 104px;

    padding:
        15px
        48px
        15px
        16px;
}

.project-card strong {
    color: var(--text-primary);

    font-size: 0.88rem;
}

.project-card span {
    color: var(--text-secondary);

    font-size: 0.72rem;
}

.project-card b {
    margin-top: 3px;

    color: var(--solar-green-active);

    font-size: 0.82rem;
}

.project-card a {
    position: absolute;

    top: 50%;
    right: 16px;

    transform:
        translateY(-50%);

    color: var(--solar-green-active);

    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);

    transition:
        transform var(--transition-fast);
}

.project-card:hover a {
    transform:
        translate(4px, -50%);
}

/* =========================================================
   CREV ECOSYSTEM
========================================================== */

.crev-ecosystem {
    padding:
        72px
        0;

    background:
        linear-gradient(
            135deg,
            #0A2235,
            #102B43
        );

    color: var(--white);
}

.crev-ecosystem-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 46px;

    align-items: center;
}


/* ---------------------------------------------------------
   COPY
---------------------------------------------------------- */

.crev-ecosystem-copy {
    max-width: 470px;
}

.crev-ecosystem-copy .eyebrow {
    color: var(--solar-green);
}

.crev-ecosystem-copy h2 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: clamp(2.2rem, 3.6vw, 4rem);

    line-height: 0.98;
}

.crev-ecosystem-copy > p:not(.eyebrow) {
    margin-bottom: 26px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 0.96rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   BRAND FAMILY
---------------------------------------------------------- */

.brand-family {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.brand-card {
    position: relative;

    min-height: 255px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding:
        28px
        24px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: var(--radius-md);

    background:
        rgba(255, 255, 255, 0.05);

    backdrop-filter:
        blur(8px);

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.brand-card:hover {
    transform:
        translateY(-5px);

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.18);
}


/* decorative glow */

.brand-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -80px;
    right: -70px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(50, 242, 121, 0.16),
            transparent 70%
        );

    pointer-events: none;
}


/* Solar */

.brand-card-solar {
    background:
        linear-gradient(
            150deg,
            rgba(50, 242, 121, 0.10),
            rgba(255, 255, 255, 0.04)
        );
}

.brand-card-solar img {
    width: 145px;
    max-height: 80px;

    margin-bottom: auto;

    object-fit: contain;
    object-position: left center;
}


/* Generic future brands */

.mini-crev {
    display: block;

    margin-bottom: auto;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);

    letter-spacing: 0.14em;
}

.brand-card h3 {
    margin:
        0
        0
        12px;

    color: var(--white);

    font-size: 1.75rem;

    letter-spacing: -0.03em;
}

.brand-card p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 0.82rem;
    line-height: 1.45;
}



/* =========================================================
   FINAL CTA
========================================================== */

.final-cta {
    position: relative;

    min-height: 410px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.final-cta-background {
    position: absolute;

    inset: 0;
}

.final-cta-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}

.final-cta-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6, 59, 46, 0.92) 0%,
            rgba(6, 59, 46, 0.78) 40%,
            rgba(6, 59, 46, 0.38) 68%,
            rgba(6, 59, 46, 0.15) 100%
        );
}

.final-cta-content {
    position: relative;

    z-index: 2;

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

    gap: 40px;

    width: 100%;
}

.final-cta-content h2 {
    margin-bottom: 12px;

    color: var(--white);

    font-size: clamp(2.5rem, 4vw, 4.2rem);

    line-height: 0.98;
}

.final-cta-content p {
    max-width: 520px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 1rem;
}


/* CTA button */

.final-cta .btn-light {
    flex-shrink: 0;

    min-height: 54px;

    padding-inline: 28px;

    background: var(--white);

    color: var(--crev-blue);
}

.final-cta .btn-light:hover {
    background: var(--solar-green);

    color: var(--solar-night);
}



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

.site-footer {
    padding:
        30px
        0;

    background: var(--solar-night);

    color: var(--white);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-logo {
    width: 155px;

    filter:
        brightness(0)
        invert(1);
}

.footer-container p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 0.76rem;
}

