/* ---------------------------------
   Climate page variables
---------------------------------- */

.climate-page {
    --climate-blue: #335ed4; /*#0f7c8f; #3771c8*/
    --climate-blue-dark: #0b6271;
    --climate-text: #171717;
    --climate-gray: #6b7280;
    --climate-light: #f8fafc;
    --climate-border: #e5e7eb;
}


/* ---------------------------------
   Logo
--------------------------------- */
.climate-logo {
    margin-bottom: 30px;
    padding-top: 10px;
    padding-bottom: 50px;
    text-align: center;
}

.climate-logo img {
    display: inline-block;
    width: 420px;
    max-width: 80%;
    height: auto;
}

.climate-product-name {
    color: #ed1b24;
    font-weight: 700;
}


/* ---------------------------------
   Hero
---------------------------------- */

.climate-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    background: #ffffff;
}

.climate-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.65),
            rgba(255, 255, 255, 0.65)
        ),
        url("../img/content/climate_hero1.jpg");

    background-size: cover;
    background-position: center;
}

.climate-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding-top: 140px;
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.climate-page .climate-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem) !important;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: var(--climate-text);
}

.climate-hero h1 span {
  color: var(--climate-blue);
}

.climate-hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 36px;
}

.climate-hero-button {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 20px 0 50px;
}

.climate-hero-button .default-btn {
    padding: 18px 35px 18px 55px;
    font-size: 1.1rem;
}

.climate-hero-button .default-btn i {
    left: 25px;
}

.climate-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------------------------------
   Climate at a glance
---------------------------------- */

.climate-glance {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 0 0 30px;
}

.climate-glance > .container {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 30px;
}

.climate-glance-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.climate-glance-item {
    padding: 8px 10px;
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.climate-glance-item:last-child {
    border-right: none;
}

.climate-glance-prefix {
    color: var(--climate-gray);
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    height: 11px;
}

.climate-glance-value {
    color: var(--climate-blue); /*#ed1b24;*/
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 7px;
    white-space: nowrap;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.climate-glance-label {
    color: var(--climate-gray);
    font-size: 0.85rem;
    line-height: 1.25;
}


/* ---------------------------------
   Responsive
---------------------------------- */

@media (max-width: 991px) {
    .climate-glance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .climate-glance-item:last-child {
        grid-column: 1 / -1;
    }

    .climate-glance-item {
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .climate-glance-item:nth-child(2n) {
        border-right: none;
    }

    .climate-glance-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #e5e7eb;
    }
    
    .climate-glance-item:last-child {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: none;
    }
}

@media (max-width: 575px) {
    .climate-glance-grid {
        grid-template-columns: 1fr;
    }

    .climate-glance-item {
        border-right: none;
        border-bottom: none;
    }

    .climate-glance-item {
        padding: 12px 10px;
    }
}

/* ---------------------------------
   General Climate sections
---------------------------------- */

.climate-section {
    padding: 100px 0;
}

.climate-challenge-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.climate-section h2 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--climate-text);
}

.climate-section p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* ---------------------------------
   Challenge / Solution card
---------------------------------- */
.climate-challenge,
.climate-solution {
    padding: 20px 50px;
}

.climate-page .sub-title {
    position: relative;
    display: block;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #ed1b24;
    font-weight: 700;
    font-size: 15px;
}

.climate-page .sub-title img {
    margin-right: 5px;
    -webkit-animation-name: rotateme;
    animation-name: rotateme;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

.climate-challenge p,
.climate-solution p {
    margin-bottom: 20px;
}

.climate-section .climate-challenge-lead,
.climate-section .climate-solution-lead {
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--climate-text);
    font-weight: 600;
    margin-bottom: 24px !important;
}

.climate-solution-capabilities {
    margin-top: 30px;
    padding-top: 50px;
}

.climate-solution-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.climate-solution-feature {
    display: block;
    padding: 25px 25px;
    background: #f8fafc;
    border-radius: 10px;
    text-align: center;
}

.climate-solution-feature h4 {
    margin: 0 0 5px;
    color: #ed1b24;
    font-size: 1.15rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.climate-solution-feature p {
    margin: 0;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
}

.climate-section .climate-solution-final {
    max-width: 900px;
    margin: 55px auto 0;
    text-align: center;
    font-size: 2.0rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--climate-text);
}

/* ---------------------------------
   Responsive
---------------------------------- */

@media (max-width: 1199px) {

}

@media (max-width: 991px) {

    .climate-hero {
        min-height: auto;
    }

    .climate-hero-content {
        padding-top: 100px;
        padding-bottom: 40px;
    }
   
    .climate-challenge-solution {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767px) {

    .climate-hero h1 {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .climate-hero p {
        font-size: 1.1rem;
    }

    .climate-section {
        padding: 70px 0;
    }

    .climate-section h2 {
        font-size: 2.3rem;
    }

}

@media (max-width: 575px) {

    .climate-hero-content {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .climate-hero h1 {
        font-size: 2.6rem;
    }

    .climate-hero-buttons {
        flex-direction: column;
    }
    
    .climate-hero-button .default-btn {
        width: 100%;
        text-align: center;
    }

}


/* ---------------------------------
   How Climate works
---------------------------------- */

.climate-product-section {
    padding: 100px 0;
    background: #f8fafc;
}

.climate-product-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.climate-product-intro h2 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--climate-text);
}

.climate-product-intro p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.7;
}

.climate-data-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 25px;
    align-items: stretch;
}

.climate-data-step {
    padding: 35px 30px;
    background: white;
    border-radius: 10px;
    text-align: center;
}

.climate-data-step-number {
    color: #ed1b24;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.climate-data-step h3 {
    color: var(--climate-text);
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.climate-data-step p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.climate-data-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ed1b24;
    font-size: 2rem;
    font-weight: 400;
}

.climate-data-final {
    max-width: 850px;
    margin: 45px auto 0;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--climate-text);
}


/* ---------------------------------
   Responsive
---------------------------------- */

@media (max-width: 991px) {

    .climate-data-flow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .climate-data-arrow {
        padding: 12px 0;
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    .climate-product-section {
        padding: 70px 0;
    }
    .climate-product-intro h2 {
        font-size: 2.3rem;
    }
}



/* ---------------------------------
   Climate forecast preview
---------------------------------- */

.climate-forecast-preview {
    padding: 100px 0;
    background: #ffffff;
}

.climate-forecast-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.climate-forecast-intro h2 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--climate-text);
}

.climate-forecast-intro p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.7;
}

.climate-forecast-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.climate-forecast-image {
    text-align: center;
}

.climate-forecast-image img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: contain;
    background: #f8fafc;
}

.climate-forecast-image h3 {
    margin: 18px 0 0;
    color: var(--climate-text);
    font-size: 1.2rem;
    line-height: 1.3;
}


/* ---------------------------------
   Responsive
---------------------------------- */

@media (max-width: 991px) {

}

@media (max-width: 767px) {

    .climate-forecast-preview {
        padding: 70px 0;
    }

    .climate-forecast-intro h2 {
        font-size: 2.3rem;
    }
}


/* ---------------------------------
   Final CTA
---------------------------------- */

.climate-final-cta {
    padding: 90px 0;
    background: #f1f6fc;
}

.climate-final-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.climate-final-cta-text {
    max-width: 800px;
}

.climate-final-cta h2 {
    margin: 0;
    color: var(--climate-text);
    font-size: 2.6rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.climate-final-cta-button {
    flex-shrink: 0;
}


/* ---------------------------------
   Responsive
---------------------------------- */

@media (max-width: 767px) {
    .climate-final-cta {
        padding: 70px 0;
    }

    .climate-final-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .climate-final-cta h2 {
        font-size: 2.2rem;
    }
}
