.home-hero {
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #061e5c;
}

.home-hero-slides,
.home-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-slides {
    z-index: -2;
}

.home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.035);
    transition: opacity 1s ease, transform 6s ease;
}

.home-hero-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.home-hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgb(2 20 60 / 92%) 0%, rgb(3 25 70 / 78%) 42%, rgb(3 24 64 / 20%) 75%),
        linear-gradient(0deg, rgb(2 19 55 / 28%), transparent 55%);
    border-bottom: 10px solid #ffd000;
}

.hero-container {
    width: min(100% - 32px, 1240px);
    margin-inline: auto;
}

.hero-slide-controls {
    position: absolute;
    right: max(16px, calc((100% - 1240px) / 2));
    bottom: 34px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-slide-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 2px 8px rgb(0 0 0 / 28%);
    cursor: pointer;
    transition: width .2s ease, border-radius .2s ease, background-color .2s ease;
}

.hero-slide-dot.is-active {
    width: 31px;
    border-radius: 10px;
    border-color: #ffd000;
    background: #ffd000;
}

.hero-content {
    width: min(680px, 62%);
    padding-block: 72px;
    color: #fff;
}

.hero-eyebrow {
    margin: 0 0 16px;
    color: #ffd000;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.hero-subtitle {
    max-width: 610px;
    margin: 22px 0 0;
    color: #eef3ff;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.65;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-button {
    min-height: 52px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-button-primary {
    color: #fff;
    background: #e9232a;
    box-shadow: 0 10px 24px rgb(233 35 42 / 28%);
}

.hero-button-primary:hover {
    color: #fff;
    background: #cf171e;
}

.hero-button-secondary {
    color: #061e5c;
    background: #ffd000;
}

.hero-button-secondary:hover {
    color: #061e5c;
    background: #ffe05a;
}

.hero-benefits {
    padding: 25px 0 0;
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    border-top: 1px solid rgb(255 255 255 / 22%);
    list-style: none;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.benefit-icon {
    width: 27px;
    height: 34px;
    display: block;
    flex: 0 0 27px;
    object-fit: contain;
}

.hero-ratings {
    width: fit-content;
    margin-top: 28px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgb(255 255 255 / 13%);
    border-radius: 9px;
    background: rgb(4 37 99 / 76%);
    backdrop-filter: blur(5px);
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 11px;
}

.rating-item img {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
}

.rating-stars {
    color: #ffbd17;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 1px;
}

.rating-item span {
    margin-top: 5px;
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.rating-divider {
    width: 1px;
    height: 42px;
    background: rgb(255 255 255 / 16%);
}

@media (max-width: 767px) {
    .home-hero {
        min-height: 590px;
        align-items: flex-end;
    }

    .home-hero-image {
        object-position: 62% center;
    }

    .home-hero-image-secondary {
        object-position: center;
    }

    .home-hero-overlay {
        background: linear-gradient(0deg, rgb(2 18 53 / 96%) 0%, rgb(2 21 62 / 78%) 60%, rgb(2 20 60 / 34%) 100%);
    }

    .hero-container {
        width: min(100% - 24px, 1240px);
    }

    .hero-slide-controls {
        right: 12px;
        bottom: 18px;
    }

    .hero-content {
        width: 100%;
        padding-block: 90px 48px;
    }

    .hero-subtitle {
        margin-top: 16px;
        font-size: 16px;
    }

    .hero-benefits {
        margin-top: 23px;
        padding-top: 20px;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 6px;
    }

    .hero-benefits li {
        gap: 5px;
        font-size: 10px;
        white-space: nowrap;
    }

    .benefit-icon {
        width: 18px;
        height: 23px;
        flex-basis: 18px;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .hero-button {
        min-height: 49px;
        padding-inline: 17px;
        font-size: 13px;
    }

    .hero-ratings {
        width: 100%;
        margin-top: 22px;
        padding-inline: 13px;
        justify-content: space-between;
        gap: 10px;
    }

    .rating-item {
        gap: 8px;
    }

    .rating-item img {
        width: 34px;
        height: 34px;
    }

    .rating-stars {
        font-size: 12px;
    }

    .rating-item span {
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .hero-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero * {
        scroll-behavior: auto !important;
    }

    .home-hero-image {
        transform: none;
        transition: none;
    }
}

.popular-services {
    padding: 90px 0 98px;
    position: relative;
    overflow: hidden;
    background: #fff url("../img/bg/1.webp") center / cover no-repeat;
}

.section-label {
    margin: 0 0 12px;
    color: #ed242b;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto;
    color: #111;
    font-size: 15px;
    line-height: 1.7;
}

.popular-services-row {
    margin-top: 48px;
}

.popular-service-card {
    min-width: 0;
    min-height: 350px;
    padding: 34px 30px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    color: #2d3950;
    background: rgb(255 255 255 / 93%);
    box-shadow: 0 20px 60px rgb(5 31 91 / 10%);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.popular-service-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f5f7fb;
    content: "";
    transform: translate(34px, -50px);
}

.popular-service-card:hover {
    border-color: #d7deea;
    box-shadow: 0 28px 70px rgb(5 31 91 / 15%);
    transform: translateY(-7px);
}

.service-card-top {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.service-card-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffd000;
    background: #071e5c;
    box-shadow: none;
}

.service-card-icon svg {
    width: 39px;
    height: 39px;
    fill: currentColor;
}

.service-tag {
    padding: 7px 11px;
    margin-top: 17px;
    border-radius: 30px;
    color: #071b55;
    background: #f0f3f8;
    font-size: 10px;
    letter-spacing: .5px;
    line-height: 1;
    text-transform: uppercase;
}

.service-tag-emergency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b5161c;
    background: #fff0f0;
}

.service-tag-emergency i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ed242b;
    box-shadow: 0 0 0 3px rgb(237 36 43 / 12%);
}

.popular-service-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.popular-service-content h3 {
    margin: 28px 0 13px;
    color: #071b55;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.popular-service-content p {
    margin: 0 0 28px;
    color: #111;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.service-highlights {
    padding: 15px 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    border-top: 1px solid #e7ebf1;
    border-bottom: 1px solid #e7ebf1;
    list-style: none;
}

.service-highlights li {
    position: relative;
    padding-left: 14px;
    color: #111;
    font-size: 11px;
    line-height: 1.4;
}

.service-highlights li::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd000;
    box-shadow: 0 0 0 2px #071e5c;
    content: "";
}

.popular-service-content a {
    min-height: auto;
    width: fit-content;
    padding: 0 0 7px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    gap: 8px;
    border-bottom: 0;
    border-radius: 0;
    color: #071b55;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.popular-service-content a span {
    color: #ed242b;
    font-size: 19px;
}

.popular-service-emergency .service-card-icon {
    color: #071e5c;
    background: #ffd000;
}

.popular-service-content a:hover {
    color: #ed242b;
    background: transparent;
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .popular-services {
        padding: 65px 0 72px;
    }

}

@media (max-width: 650px) {
    .popular-services {
        padding: 52px 0 58px;
    }

    .popular-services-row {
        margin-top: 30px;
    }

    .popular-service-card {
        padding: 28px 24px 25px;
    }

    .popular-service-content h3 {
        margin: 23px 0 13px;
        font-size: 25px;
    }

    .popular-service-content p {
        margin-bottom: 25px;
        font-size: 14px;
    }

    .service-card-icon {
        width: 62px;
        height: 62px;
    }

    .service-card-icon svg {
        width: 33px;
        height: 33px;
    }

}

.company-intro {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgb(250 250 250 / 96%), rgb(250 250 250 / 88%)),
        url("../img/bg/1.webp") center / cover no-repeat;
}

.company-intro::before {
    width: 300px;
    height: 300px;
    position: absolute;
    top: -210px;
    left: -120px;
    border: 55px solid rgb(255 208 0 / 16%);
    border-radius: 50%;
    content: "";
}

.company-intro p {
    color: #111;
    font-size: 15px;
    line-height: 1.65;
}

.company-visual-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .company-intro {
        padding: 70px 0;
    }
}

@media (max-width: 430px) {
    .company-intro {
        padding: 55px 0;
    }
}

.why-choose-section {
    padding: 95px 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.why-choose-section::before {
    width: 190px;
    height: 190px;
    position: absolute;
    top: -55px;
    right: -55px;
    opacity: .22;
    background-image: radial-gradient(#071e5c 2px, transparent 2px);
    background-size: 18px 18px;
    content: "";
}

.why-choose-image-wrap {
    max-width: 590px;
    padding: 0 25px 25px 0;
    position: relative;
}

.why-choose-image {
    width: 100%;
    min-height: 440px;
    position: relative;
    z-index: 2;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 24px 65px rgb(7 30 92 / 17%);
}

.why-image-accent {
    position: absolute;
    inset: 25px 0 0 25px;
    z-index: 1;
    border-radius: 18px;
    background: linear-gradient(145deg, #ed242b 0 32%, #ffd000 32% 100%);
}

.why-choose-content {
    padding-left: 20px;
}

.why-text-block {
    padding-left: 22px;
    position: relative;
}

.why-text-block + .why-text-block {
    margin-top: 27px;
}

.why-text-line {
    width: 4px;
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    background: #ffd000;
}

.why-text-block + .why-text-block .why-text-line {
    background: #ed242b;
}

.why-text-block p {
    margin: 0;
    color: #111;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .why-choose-section {
        padding: 72px 0;
    }

    .why-choose-image-wrap {
        margin-inline: auto;
    }

    .why-choose-content {
        padding-left: 0;
    }

}

@media (max-width: 575px) {
    .why-choose-section {
        padding: 58px 0;
    }

    .why-choose-image-wrap {
        padding: 0 14px 14px 0;
    }

    .why-choose-image {
        min-height: 280px;
        border-radius: 13px;
    }

    .why-image-accent {
        inset: 14px 0 0 14px;
        border-radius: 13px;
    }

    .why-text-block {
        padding-left: 17px;
    }

    .why-text-block p {
        font-size: 14px;
        line-height: 1.75;
    }
}

.trustindex-reviews-section {
    padding: 90px 0 96px;
    overflow: hidden;
    background: #fff;
}

.trustindex-reviews-heading {
    margin-bottom: 40px;
}

.trustindex-reviews-heading .title {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .trustindex-reviews-section {
        padding: 70px 0 76px;
    }
}

@media (max-width: 575px) {
    .trustindex-reviews-section {
        padding: 55px 0 60px;
    }

    .trustindex-reviews-heading {
        margin-bottom: 30px;
    }
}

.generac-certified-section {
    --title-color: #071e5c;
    --title-accent: #d71920;
    padding: 78px 0;
    overflow: hidden;
    background: #ffdc3d;
}

.generac-certified-content {
    max-width: 610px;
}

.generac-certified-content p {
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.generac-certified-image {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.generac-certified-image img {
    width: 100%;
    max-width: 572px;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 991px) {
    .generac-certified-section {
        padding: 65px 0;
    }

    .generac-certified-content {
        max-width: none;
        text-align: center;
    }

    .generac-certified-image {
        min-height: auto;
        margin-top: 18px;
    }
}

@media (max-width: 575px) {
    .generac-certified-section {
        padding: 52px 0;
    }

    .generac-certified-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .generac-certified-image {
        margin-top: 10px;
    }
}
