
/* =========================================================
   BESS AS A SERVICE
========================================================= */

.bess-baas-section {
    background: #f7fbf9;
}


/* Section heading */

.bess-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #079447;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}


.bess-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #12352a;
    margin-bottom: 12px;
}


.bess-section-description {
    max-width: 700px;
    margin: 0 auto;
    color: #66756f;
    font-size: 16px;
    line-height: 1.7;
}


/* Service Card */

.bess-baas-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5eee9;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}


.bess-baas-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}


/* Icon */

.bess-baas-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
}


.bess-baas-icon svg {
    width: 100%;
    height: 100%;
}


/* Card Heading */

.bess-baas-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #183d30;
    margin-bottom: 12px;
}


/* Card Description */

.bess-baas-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #687872;
    margin-bottom: 0;
}


/* Bottom CTA */

.bess-baas-cta {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 25px;
    border: 1px solid #e3eee8;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}


.bess-baas-cta h3 {
    color: #12352a;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
}


.bess-baas-cta p {
    color: #687872;
    margin-bottom: 22px;
}


.bess-baas-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 30px;
    background: #079447;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}


.bess-baas-cta-btn:hover {
    background: #057a3a;
    color: #ffffff;
    transform: translateY(-2px);
}


/* Responsive */

@media (max-width: 767px) {

    .bess-section-title {
        font-size: 28px;
    }

    .bess-baas-card {
        padding: 25px 20px;
    }

    .bess-baas-cta h3 {
        font-size: 22px;
    }

}

/* =========================================================
       BESS PAGE
    ========================================================= */

.bess-page {
    background: #ffffff;
    color: #123452;
}

/* =========================================================
       HERO
    ========================================================= */

.bess-hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background:
        linear-gradient(90deg,
            rgba(239, 251, 247, 0.98) 0%,
            rgba(239, 251, 247, 0.92) 35%,
            rgba(225, 245, 251, 0.72) 65%,
            rgba(255, 255, 255, 0.35) 100%);
}

.bess-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 30%,
            rgba(255, 255, 255, .8),
            transparent 30%);
    pointer-events: none;
}

.bess-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.bess-eyebrow {
    color: #079447;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bess-hero h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 800;
    color: #123452;
    margin-bottom: 20px;
}

.bess-hero h1 span {
    color: #079447;
}

.bess-hero-text {
    font-size: 18px;
    line-height: 1.7;
    color: #4c667b;
    max-width: 570px;
}

.bess-hero-points {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.bess-hero-point {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #244b61;
}

.bess-hero-point svg {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
}

/* =========================================================
       BESS SVG ILLUSTRATION
    ========================================================= */

.bess-hero-visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bess-main-svg {
    width: 100%;
    max-width: 650px;
    height: auto;
    filter: drop-shadow(0 25px 35px rgba(22, 77, 91, .12));
}

/* =========================================================
       SECTION COMMON
    ========================================================= */

.bess-section {
    padding: 80px 0;
}

.bess-section-label {
    color: #079447;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bess-section-title {
    font-family: "Manrope", sans-serif;
    color: #123452;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 15px;
}

.bess-section-description {
    color: #60778a;
    line-height: 1.7;
    max-width: 720px;
}

/* =========================================================
       HOW BESS WORKS
    ========================================================= */

.bess-how-section {
    background: #ffffff;
}

.bess-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 45px;
    position: relative;
}

.bess-flow-item {
    text-align: center;
    position: relative;
}

.bess-flow-icon {
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
    background: #effaf5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9eee4;
}

.bess-flow-icon svg {
    width: 55px;
    height: 55px;
}

.bess-flow-item h5 {
    margin-top: 18px;
    font-weight: 800;
    color: #123452;
}

.bess-flow-item p {
    color: #6a7f90;
    font-size: 13px;
    line-height: 1.6;
}

.bess-flow-arrow {
    position: absolute;
    top: 48px;
    right: -18px;
    font-size: 28px;
    color: #079447;
    z-index: 3;
}

/* =========================================================
       COMPONENTS
    ========================================================= */

.bess-components {
    background: #f7fbf9;
}

.component-list {
    margin-top: 28px;
}

.component-item {
    display: flex;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid #e3ece8;
}

.component-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #e8f8ef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-icon svg {
    width: 25px;
    height: 25px;
}

.component-item h6 {
    margin: 0 0 5px;
    font-weight: 800;
    color: #123452;
}

.component-item p {
    margin: 0;
    color: #708292;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================================
       SERVICES
    ========================================================= */

.bess-services {
    background: linear-gradient(180deg,
            #effaf5 0%,
            #f8fcfa 100%);
}

.bess-service-grid {
    margin-top: 40px;
}

.bess-service-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e3eee9;
    border-radius: 22px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(24, 74, 69, .07);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.bess-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(24, 74, 69, .13);
}

.bess-service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2faf6;
}

.bess-service-icon svg {
    width: 68px;
    height: 68px;
}

.bess-service-card h4 {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #123452;
    margin-bottom: 5px;
}

.bess-service-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #079447;
    margin-bottom: 15px;
}

.bess-service-card p {
    color: #6a7f90;
    font-size: 14px;
    line-height: 1.65;
    flex-grow: 1;
}

.bess-service-btn {
    border: 0;
    color: white;
    border-radius: 50px;
    padding: 11px 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    transition: .2s;
}

.bess-service-btn:hover {
    color: white;
    transform: translateY(-2px);
}

.maintenance-btn {
    background: #079447;
}

.video-btn {
    background: #1674d1;
}

.health-btn {
    background: #7042c7;
}

.build-btn {
    background: #f28c00;
}

/* =========================================================
       HEALTH SCORE
    ========================================================= */

.health-score {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: conic-gradient(#7c45d4 0deg 331deg,
            #e7e4ef 331deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.health-score-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.health-score-number {
    font-size: 28px;
    font-weight: 900;
    color: #123452;
    line-height: 1;
}

.health-score-label {
    font-size: 11px;
    color: #778999;
    margin-top: 4px;
}

/* =========================================================
       BUILD WITH US
    ========================================================= */

.build-section {
    background:
        linear-gradient(90deg,
            #edf9f4,
            #f8fcff);
}

.build-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.build-benefit {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #385a6b;
    font-size: 13px;
    font-weight: 700;
}

.build-benefit svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.bess-form-card {
    background: white;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(19, 52, 82, .09);
    border: 1px solid #e3ecef;
}

.bess-form-card h4 {
    font-weight: 800;
    color: #123452;
    margin-bottom: 25px;
}

.bess-form-card label {
    font-size: 13px;
    font-weight: 700;
    color: #35556a;
    margin-bottom: 6px;
}

.bess-form-card .form-control,
.bess-form-card .form-select {
    border: 1px solid #dbe6ea;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 14px;
}

.bess-form-card .form-control:focus,
.bess-form-card .form-select:focus {
    border-color: #079447;
    box-shadow: 0 0 0 3px rgba(7, 148, 71, .1);
}

.bess-submit {
    background: #079447;
    color: white;
    border: 0;
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    font-weight: 800;
    margin-top: 5px;
}

/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 991px) {

    .bess-hero-content {
        padding: 60px 0 30px;
    }

    .bess-hero-visual {
        min-height: 300px;
    }

    .bess-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .bess-flow-arrow {
        display: none;
    }

    .build-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .bess-hero {
        min-height: auto;
    }

    .bess-hero h1 {
        font-size: 40px;
    }

    .bess-hero-text {
        font-size: 16px;
    }

    .bess-hero-points {
        gap: 15px;
    }

    .bess-section {
        padding: 55px 0;
    }

    .bess-flow {
        grid-template-columns: 1fr;
    }

    .bess-flow-item {
        max-width: 300px;
        margin: auto;
    }

    .bess-form-card {
        margin-top: 30px;
    }
}

/* =========================================================
   BESS HERO — DAY TO NIGHT
========================================================= */

.bess-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background:
        radial-gradient(circle at 85% 25%,
            rgba(255, 255, 255, 0.95),
            transparent 30%),
        linear-gradient(120deg,
            #effbf4 0%,
            #edf8fc 58%,
            #f8fcff 100%);
}

.bess-hero::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    top: -180px;
    right: -100px;
    border-radius: 50%;
    background: rgba(7, 148, 71, 0.06);
    pointer-events: none;
}

.bess-hero-content {
    position: relative;
    z-index: 2;
    padding: 75px 0;
}

.bess-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #078543;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 20px;
}

.bess-eyebrow-dot {
    width: 9px;
    height: 9px;
    background: #079447;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(7, 148, 71, 0.12);
}

.bess-hero h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.8px;
    color: #123452;
    margin-bottom: 22px;
}

.bess-hero h1 span {
    display: block;
    color: #079447;
    margin-top: 5px;
}

.bess-hero-text {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.85;
    color: #526b7c;
    margin-bottom: 22px;
}

/* Day-to-night message */

.bess-day-night-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 530px;
    padding: 16px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #dcefe3;
    border-radius: 15px;
    box-shadow: 0 7px 22px rgba(22, 77, 57, 0.04);
}

.bess-day-night-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff5d5;
    border-radius: 12px;
    color: #e6a400;
    font-size: 21px;
}

.bess-day-night-message strong {
    display: block;
    color: #173d2e;
    font-size: 15px;
    margin: 1px 0 5px;
}

.bess-day-night-message p {
    margin: 0;
    color: #687b73;
    font-size: 13px;
    line-height: 1.65;
}

/* Benefits */

.bess-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
    margin-top: 26px;
}

.bess-hero-point {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #315466;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.bess-hero-point svg {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
}

/* Buttons */

.bess-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.bess-hero-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 21px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.bess-hero-btn-primary {
    color: #ffffff;
    background: #079447;
    border: 1px solid #079447;
    box-shadow: 0 8px 20px rgba(7, 148, 71, 0.17);
}

.bess-hero-btn-primary:hover {
    color: #ffffff;
    background: #05783a;
    border-color: #05783a;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(7, 148, 71, 0.23);
}

.bess-hero-btn-outline {
    color: #176143;
    background: #ffffff;
    border: 1px solid #cfe5d7;
}

.bess-hero-btn-outline:hover {
    color: #079447;
    background: #f1fbf5;
    border-color: #079447;
    transform: translateY(-3px);
}

/* Bottom note */

.bess-hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 23px;
    color: #658074;
    font-size: 12px;
    font-weight: 600;
}

.bess-hero-note i {
    color: #079447;
    font-size: 14px;
}

/* Illustration */

.bess-hero-visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bess-main-svg {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 22px 32px rgba(22, 77, 91, 0.10));
}

/* Subtle sun animation */

.bess-sun-animation {
    transform-origin: 105px 85px;
    animation: bessSunPulse 4s ease-in-out infinite;
}

@keyframes bessSunPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* Responsive */

@media (max-width: 991px) {

    .bess-hero-content {
        padding: 55px 0 35px;
    }

    .bess-hero-visual {
        min-height: auto;
        margin-top: 15px;
    }

    .bess-main-svg {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {

    .bess-hero {
        min-height: auto;
    }

    .bess-hero-content {
        padding: 45px 0 30px;
    }

    .bess-hero h1 {
        font-size: clamp(34px, 9vw, 44px);
        letter-spacing: -1px;
    }

    .bess-hero-text {
        font-size: 15px;
        line-height: 1.75;
    }

    .bess-hero-points {
        gap: 15px 10px;
    }

    .bess-hero-point {
        font-size: 12px;
    }

    .bess-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bess-hero-btn {
        width: 100%;
    }

    .bess-hero-visual {
        padding: 0;
    }

    .bess-main-svg {
        width: 100%;
    }

    .bess-day-night-message {
        padding: 13px;
    }

    .bess-hero-note {
        align-items: flex-start;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {

    .bess-sun-animation {
        animation: none;
    }

    .bess-hero-btn {
        transition: none;
    }
}


