.home-hero {
    padding: 32px 0 0;
}

.home-hero__grid {
    display:               grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap:                   24px;
}

.home-hero__main {
    position:      relative;
    height:        600px;
    overflow:      hidden;
    border-radius: var(--radius-2xl);
    background:    var(--gradient-light-climate);
}

.home-hero__photo {
    position:   absolute;
    top:        -33.96%;
    left:       -44.75%;
    width:      144.75%;
    max-width:  none;
    height:     240.73%;
    object-fit: cover;
}

.home-hero__main::after {
    content:        '';
    position:       absolute;
    inset:          0;
    background:     linear-gradient(90deg, rgba(240, 246, 252, .96) 0%, rgba(246, 248, 250, .82) 32%, rgba(246, 248, 250, 0) 60%);
    pointer-events: none;
}

.home-hero__content {
    position:       absolute;
    z-index:        1;
    top:            50%;
    left:           64px;
    transform:      translateY(-50%);
    display:        flex;
    flex-direction: column;
    gap:            20px;
    width:          460px;
    max-width:      calc(100% - 128px);
}

.home-hero__kicker {
    align-self: flex-start;
}

.home-hero__kicker::before {
    content:       '';
    width:         8px;
    height:        8px;
    border-radius: 50%;
    background:    var(--orange-500);
}

.home-hero__title {
    font-size:      46px;
    line-height:    54px;
    font-weight:    700;
    letter-spacing: -.015em;
}

.home-hero__text {
    width:       440px;
    max-width:   100%;
    font-size:   17px;
    line-height: 26px;
    color:       var(--text-secondary);
}

.home-hero__cta {
    align-self: flex-start;
}

.home-hero__side {
    display:               grid;
    grid-template-rows:    1fr 1fr;
    gap:                   24px;
    min-width:             0;
}

.home-hero__card {
    position:        relative;
    display:         flex;
    flex-direction:  column;
    justify-content: space-between;
    overflow:        hidden;
    padding:         28px 32px;
    border-radius:   var(--radius-2xl);
}

.home-hero__card--ac {
    background: var(--gradient-deep-blue);
    color:      var(--text-inverse);
}

.home-hero__card--hp {
    background: var(--orange-50);
    color:      var(--text-primary);
}

.home-hero__card-photo {
    position:        absolute;
    inset:           0;
    width:           100%;
    height:          100%;
    object-fit:      cover;
    object-position: right center;
}

.home-hero__card::before {
    content:        '';
    position:       absolute;
    inset:          0;
    z-index:        1;
    pointer-events: none;
}

.home-hero__card--ac::before {
    background: linear-gradient(90deg, rgba(0, 76, 151, 1) 0%, rgba(0, 76, 151, .92) 30%, rgba(0, 76, 151, .3) 62%, rgba(0, 76, 151, 0) 100%);
}

.home-hero__card--hp::before {
    background: linear-gradient(90deg, rgba(255, 247, 242, 1) 0%, rgba(255, 247, 242, .92) 32%, rgba(255, 247, 242, .4) 62%, rgba(255, 247, 242, 0) 100%);
}

.home-hero__card-body,
.home-hero__card-foot {
    position: relative;
    z-index:  2;
    display:  flex;
    gap:      10px;
}

.home-hero__card-body {
    flex-direction: column;
    max-width:      250px;
}

.home-hero__card-foot {
    flex-wrap:       wrap;
    align-items:     flex-end;
    justify-content: space-between;
    gap:             12px 16px;
}

.home-hero__card-kicker {
    display:     flex;
    align-items: center;
    gap:         10px;
    font-size:   13px;
    line-height: 18px;
    font-weight: 600;
}

.home-hero__card-kicker::before {
    content:       '';
    width:         8px;
    height:        8px;
    border-radius: 50%;
    background:    currentColor;
}

.home-hero__card--ac .home-hero__card-kicker { color: var(--sky-200); }
.home-hero__card--hp .home-hero__card-kicker { color: var(--blue-500); }

.home-hero__card-title {
    font-size:   24px;
    line-height: 30px;
    font-weight: 600;
    color:       inherit;
}

.home-hero__card-text {
    max-width:   232px;
    font-size:   14px;
    line-height: 1.45;
    color:       var(--blue-100);
}

.home-hero__card--hp .home-hero__card-text { color: var(--text-secondary); }

.home-hero__card-link {
    margin-left:     auto;
    display:         inline-flex;
    align-items:     center;
    gap:             6px;
    padding:         10px 14px 10px 18px;
    border-radius:   var(--radius-pill);
    font-size:       14px;
    line-height:     20px;
    font-weight:     600;
    color:           var(--blue-500);
    background:      var(--neutral-0);
    text-decoration: none;
}

.home-hero__card--hp .home-hero__card-link {
    color:      var(--text-inverse);
    background: var(--blue-500);
}

.home-advantages {
    padding-top: 24px;
}

.home-advantages__list {
    display:       flex;
    gap:           32px;
    align-items:   center;
    padding:       32px 66px;
    border-radius: var(--radius-2xl);
    background:    var(--bg-subtle);
}

.home-advantages__item {
    display:     flex;
    flex:        1 1 0;
    gap:         16px;
    align-items: center;
    min-width:   0;
}

.home-advantages__item + .home-advantages__item {
    position: relative;
}

.home-advantages__item + .home-advantages__item::before {
    content:    '';
    position:   absolute;
    top:        50%;
    left:       -17px;
    width:      1px;
    height:     40px;
    background: var(--border-default);
    transform:  translateY(-50%);
}

.home-advantages__icon {
    display:         flex;
    flex-shrink:     0;
    align-items:     center;
    justify-content: center;
    width:           48px;
    height:          48px;
    border-radius:   var(--radius-pill);
    color:           var(--icon-brand);
    background:      var(--bg-page);
}

.home-advantages__text {
    display:        flex;
    flex-direction: column;
    gap:            2px;
}

.home-advantages__title {
    font-size:   16px;
    line-height: 22px;
    font-weight: 600;
    color:       var(--text-primary);
}

.home-advantages__desc {
    max-width:   245px;
    font-size:   14px;
    line-height: 20px;
    color:       var(--text-secondary);
}

.home-categories {
    padding-top: 64px;
}

.home-categories .section-head {
    margin-bottom: 32px;
}

.home-categories__grid {
    display: flex;
    gap:     24px;
}

.home-categories__side {
    display:               grid;
    flex:                  1 1 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows:        1fr;
    gap:                   24px;
    min-width:             0;
}

.home-categories__tile {
    position:      relative;
    display:       block;
    min-height:    220px;
    overflow:      hidden;
    border-radius: 20px;
    color:         var(--text-inverse);
    background:    var(--gradient-brand-cool);
}

.home-categories__tile--large {
    flex:       0 0 558px;
    min-height: 464px;
}

.home-categories__tile::after {
    content:        '';
    position:       absolute;
    inset:          0;
    background:     linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .72) 100%);
    pointer-events: none;
}

.home-categories__image {
    position:   absolute;
    inset:      0;
    width:      100%;
    height:     100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.home-categories__tile:hover .home-categories__image {
    transform: scale(1.04);
}

.home-categories__label {
    position:        absolute;
    right:           16px;
    bottom:          16px;
    left:            16px;
    z-index:         1;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             8px;
    min-height:      28px;
}

.home-categories__name {
    font-size:   15px;
    line-height: 1.2;
    font-weight: 600;
}

.home-categories__tile--large .home-categories__label {
    right:  24px;
    bottom: 24px;
    left:   24px;
}

.home-categories__tile--large .home-categories__name {
    font-size: 24px;
}

.home-products {
    padding-top: 64px;
}

.home-products .section-head {
    margin-bottom: 32px;
}

.section-head--end {
    align-items: flex-end;
}

.home-blog,
.home-reviews {
    padding-top: 64px;
}

.home-reviews {
    padding-bottom: 120px;
}

.home-blog .section-head,
.home-reviews .section-head {
    align-items:   flex-end;
    margin-bottom: 32px;
}

.home-blog__controls,
.home-reviews__controls,
.home-products__controls {
    display:     flex;
    gap:         24px;
    align-items: center;
}

.home-about {
    padding-top: 64px;
}

.home-about__box {
    display:        flex;
    flex-direction: column;
    gap:            32px;
    padding:        40px 66px;
    border-radius:  var(--radius-2xl);
    background:     var(--bg-subtle);
}

.home-about__top {
    display:         flex;
    gap:             32px;
    align-items:     flex-start;
    justify-content: space-between;
}

.home-about__text {
    display:        flex;
    flex:           0 1 718px;
    flex-direction: column;
    gap:            16px;
    font-size:      16px;
    line-height:    1.6;
    color:          var(--text-secondary);
}

.home-about__stats {
    display:               grid;
    flex:                  0 0 500px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:                   20px;
}

.home-about__stat {
    display:         flex;
    flex-direction:  column;
    gap:             6px;
    align-items:     center;
    justify-content: flex-start;
    padding:         24px 20px;
    border:          1px solid var(--border-default);
    border-radius:   var(--radius-lg);
    text-align:      center;
    background:      var(--bg-page);
}

.home-about__stat-value {
    font-size:   28px;
    line-height: 1.2;
    font-weight: 600;
    color:       var(--icon-brand);
}

.home-about__stat-label {
    font-size:   16px;
    font-weight: 600;
    color:       var(--text-primary);
}

.home-about__stat-text {
    font-size:   14px;
    line-height: 1.3;
    color:       var(--text-secondary);
}

.home-about__brands {
    display:        flex;
    flex-direction: column;
    gap:            32px;
    padding-top:    32px;
    border-top:     1px solid var(--border-default);
}

.home-about__brands-title {
    font-size:   20px;
    line-height: 36px;
    font-weight: 600;
}

.home-about__brand-list {
    display:   flex;
    flex-wrap: wrap;
    gap:       16px 12px;
}

.home-about__brand {
    display:         flex;
    flex:            1 1 calc((100% - 120px) / 11);
    align-items:     center;
    justify-content: center;
    height:          72px;
    padding:         12px 14px;
    border:          1px solid var(--border-default);
    border-radius:   14px;
    background:      var(--bg-page);
}

.home-about__brand:nth-child(-n+12) {
    flex-basis: calc((100% - 132px) / 12);
}

.home-about__brand-logo {
    max-width:  100%;
    max-height: 32px;
    width:      auto;
    height:     auto;
    object-fit: contain;
}

@media (max-width: 1023px) {
    .home-hero__main::after {
        background: linear-gradient(90deg, rgba(240, 246, 252, .96) 0%, rgba(246, 248, 250, .88) 48%, rgba(246, 248, 250, 0) 86%);
    }

    .home-hero__photo {
        top:             0;
        left:            0;
        width:           100%;
        height:          100%;
        object-position: right center;
    }

    .home-hero__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__main {
        height: 520px;
    }

    .home-hero__content {
        left: 40px;
    }

    .home-hero__title {
        font-size:   38px;
        line-height: 46px;
    }

    .home-hero__side {
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr;
    }

    .home-hero__card {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .home-hero__main {
        height: auto;
        min-height: 480px;
    }

    .home-hero__photo {
        position: relative;
        height:   220px;
    }

    .home-hero__main::after {
        display: none;
    }

    .home-hero__content {
        position:  relative;
        top:       auto;
        left:      auto;
        transform: none;
        width:     auto;
        padding:   24px 20px 28px;
        max-width: none;
    }

    .home-hero__title {
        font-size:   30px;
        line-height: 38px;
    }

    .home-hero__side {
        grid-template-columns: 1fr;
    }

    .home-hero__card {
        min-height: 260px;
    }
}

@media (max-width: 1023px) {
    .home-advantages__list {
        display:               grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap:                   24px 32px;
        padding:               28px 32px;
    }

    .home-advantages__item + .home-advantages__item::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-advantages__list {
        grid-template-columns: 1fr;
        gap:                   20px;
        padding:               24px 20px;
    }
}

@media (max-width: 1023px) {
    .home-categories {
        padding-top: 48px;
    }

    .home-categories__grid {
        flex-direction: column;
    }

    .home-categories__tile--large {
        flex:         none;
        min-height:   0;
        aspect-ratio: 16 / 9;
    }

    .home-categories__tile {
        min-height:   0;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767px) {
    .home-categories .section-head {
        flex-wrap:     wrap;
        margin-bottom: 24px;
    }

    .home-categories__tile--large,
    .home-categories__tile {
        aspect-ratio: 3 / 2;
    }

    .home-categories__side {
        grid-template-columns: 1fr;
    }

    .home-categories__tile--large .home-categories__name {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .home-products {
        padding-top: 48px;
    }

    .home-products .section-head {
        flex-wrap:     wrap;
        margin-bottom: 24px;
    }

    .home-products__controls {
        justify-content: space-between;
        width:           100%;
    }

    .home-products .section-heading__title {
        white-space: nowrap;
    }
}

.home-banners {
    padding-top: 44px;
}

.home-banners__grid {
    display:               grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:                   44px;
}

.home-banner {
    position:      relative;
    display:       flex;
    align-items:   center;
    min-height:    340px;
    overflow:      hidden;
    border-radius: var(--radius-2xl);
    color:         var(--text-inverse);
    background:    #d1d6de;
}

.home-banner__image {
    position:        absolute;
    inset:           0;
    width:           100%;
    height:          100%;
    object-fit:      cover;
    object-position: right center;
}

.home-banner::before {
    content:        '';
    position:       absolute;
    inset:          0;
    z-index:        1;
    pointer-events: none;
}

.home-banner--blue::before {
    background: linear-gradient(90deg, rgba(8, 31, 89, .8) 0%, rgba(8, 31, 89, .6) 34%, rgba(8, 31, 89, 0) 82%);
}

.home-banner--orange::before {
    background: linear-gradient(90deg, rgba(77, 31, 5, .8) 0%, rgba(77, 31, 5, .6) 34%, rgba(77, 31, 5, 0) 82%);
}

.home-banner__content {
    position:       relative;
    z-index:        2;
    display:        flex;
    flex-direction: column;
    gap:            20px;
    align-items:    flex-start;
    max-width:      480px;
    padding:        48px 0 48px 64px;
}

.home-banner__title {
    font-size:   36px;
    line-height: 44px;
    font-weight: 700;
    color:       var(--text-inverse);
}

.home-banner__text {
    max-width:   420px;
    font-size:   16px;
    line-height: 24px;
    color:       var(--blue-100);
}

@media (max-width: 1279px) {
    .home-about__brand,
    .home-about__brand:nth-child(-n+12) {
        flex-basis: calc((100% - 60px) / 6);
    }
}

@media (max-width: 1023px) {
    .home-about {
        padding-top: 48px;
    }

    .home-about__box {
        padding: 32px;
    }

    .home-about__top {
        flex-direction: column;
    }

    .home-about__text {
        flex-basis: auto;
    }

    .home-about__stats {
        flex-basis: auto;
        width:      100%;
    }

    .home-about__brand,
    .home-about__brand:nth-child(-n+12) {
        flex-basis: calc((100% - 36px) / 4);
    }
}

@media (max-width: 767px) {
    .home-about__box {
        gap:     24px;
        padding: 24px 20px;
    }

    .home-about__stats {
        grid-template-columns: 1fr;
        gap:                   12px;
    }

    .home-about__brand,
    .home-about__brand:nth-child(-n+12) {
        flex-basis: calc((100% - 24px) / 3);
    }
}

@media (max-width: 1279px) {
    .home-banners__grid {
        gap: 24px;
    }

    .home-banner__content {
        padding-left: 40px;
    }

    .home-banner__title {
        font-size:   30px;
        line-height: 38px;
    }
}

@media (max-width: 1023px) {
    .home-banners {
        padding-top: 32px;
    }

    .home-banners__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .home-banner {
        min-height: 300px;
    }

    .home-banner::before {
        background: linear-gradient(180deg, rgba(8, 31, 89, .15) 0%, rgba(8, 31, 89, .78) 100%);
    }

    .home-banner--orange::before {
        background: linear-gradient(180deg, rgba(77, 31, 5, .15) 0%, rgba(77, 31, 5, .8) 100%);
    }

    .home-banner__content {
        align-self:  flex-end;
        max-width:   none;
        padding:     24px 20px;
    }

    .home-banner__title {
        font-size:   26px;
        line-height: 32px;
    }
}

@media (max-width: 767px) {
    .home-blog {
        padding-top: 48px;
    }

    .home-blog .section-head {
        flex-wrap:     wrap;
        margin-bottom: 24px;
    }

    .home-blog__controls {
        justify-content: space-between;
        width:           100%;
    }
}

@media (max-width: 767px) {
    .home-reviews {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .home-reviews .section-head {
        flex-wrap:     wrap;
        margin-bottom: 24px;
    }

    .home-reviews__controls {
        justify-content: space-between;
        width:           100%;
    }
}
