/* Warranty & after-sales — Lotus Energy Atlas */

.warranty-page {
    background: #111111;
    color: #cfcfcf;
}

.warranty-page h1,
.warranty-page h2,
.warranty-page h3,
.warranty-page strong {
    color: #ffffff;
}

.warranty-banner .image-layer {
    opacity: 0.55;
    filter: grayscale(40%);
}

.warranty-banner__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.15) 0%, rgba(17, 17, 17, 0.72) 100%);
}

.warranty-banner .banner-inner {
    position: relative;
    z-index: 2;
}

.warranty-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--thm-base);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.warranty-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.warranty-heading h2 {
    font-size: 34px;
    margin-bottom: 12px;
}

.warranty-heading--light h2,
.warranty-heading--light p {
    color: #fff;
}

.warranty-overview {
    padding: 90px 0 70px;
}

.warranty-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 40px;
    align-items: start;
}

.warranty-overview__content h2 {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 18px;
}

.warranty-overview__content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.warranty-coverage {
    display: grid;
    gap: 16px;
}

.warranty-coverage__card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 22px 20px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.warranty-coverage__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 170, 23, 0.14);
    color: var(--thm-base);
    font-size: 20px;
}

.warranty-coverage__card strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.warranty-coverage__card span {
    color: #9a9a9a;
}

.warranty-coverage__note {
    display: flex;
    gap: 10px;
    margin: 4px 0 0;
    color: #9a9a9a;
    font-size: 13px;
    line-height: 1.6;
}

.warranty-coverage__note i {
    color: var(--thm-base);
    margin-top: 3px;
}

.warranty-services {
    position: relative;
    padding: 80px 0;
    background: #0d0d0d;
    overflow: hidden;
}

.warranty-services__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: -120px;
    background: radial-gradient(circle, rgba(255, 170, 23, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.warranty-services__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.warranty-service-card {
    position: relative;
    padding: 28px 24px 26px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 230px;
}

.warranty-service-card__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--thm-base);
    background: rgba(255, 170, 23, 0.12);
    margin-bottom: 16px;
}

.warranty-service-card__number {
    position: absolute;
    top: 22px;
    right: 20px;
    color: rgba(255, 255, 255, 0.18);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.warranty-service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.warranty-service-card p {
    margin: 0;
    line-height: 1.7;
    color: #b7b7b7;
}

.warranty-parallax {
    min-height: 380px;
    display: flex;
    align-items: center;
}

.warranty-parallax .content-box {
    max-width: 720px;
}

.warranty-parallax .icon-box {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--thm-base);
    color: #111;
    font-size: 24px;
    margin-bottom: 18px;
}

.warranty-parallax h2 {
    color: #fff;
    font-size: 34px;
    line-height: 1.3;
}

.warranty-parallax h2 span {
    display: block;
    margin-top: 12px;
    color: #d7d7d7;
    font-size: 18px;
    font-weight: 400;
}

.warranty-lifecycle {
    padding: 90px 0 50px;
}

.warranty-lifecycle__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.warranty-lifecycle__step {
    padding: 24px 20px 26px;
    background: #181818;
    border-top: 3px solid var(--thm-base);
}

.warranty-lifecycle__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-base);
    margin-bottom: 14px;
    font-size: 20px;
}

.warranty-lifecycle__step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.warranty-lifecycle__step p {
    margin: 0;
    line-height: 1.7;
    color: #b7b7b7;
}

.warranty-cta {
    padding: 20px 0 90px;
}

.translated-rtl .warranty-service-card__number {
    right: auto;
    left: 20px;
}

@media (max-width: 1199px) {
    .warranty-lifecycle__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .warranty-overview__grid,
    .warranty-services__grid {
        grid-template-columns: 1fr;
    }

    .warranty-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .warranty-lifecycle__grid {
        grid-template-columns: 1fr;
    }
}
