.home-hero {
    position: relative;
    min-width: 1100px;
    overflow: hidden;
    isolation: isolate;
    background: #031426;
    color: #fff;
    max-height: 450px;
}

.home-hero__inner {
    position: relative;
    width: 92%;
    min-width: 1100px;
    max-width: 1360px;
    height: 420px;
    margin: 0 auto;
    box-sizing: border-box;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: 470px;
    padding-top: 62px;
}

.home-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.12;
    text-align: left;
}

.home-hero p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, .82);
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.home-hero__service {
    padding: 14px 22px;
    border: 0;
    border-radius: 4px;
    background: #1267dc;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.home-hero__service:hover {
    background: #0b56bd;
}



.home-hero__car {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center center;
}

.home-quick-calc {
    position: absolute;
    z-index: 3;
    top: 15px;
    right: 42px;
    width: 300px;
    padding: 25px 22px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(3, 26, 53, .94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.home-quick-calc h2 {
    margin: 0 0 5px;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.home-quick-calc p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    line-height: 1.3;
}

.home-quick-calc select {
    display: block;
    width: 100%;
    height: 44px;
    margin-bottom: 12px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 3px;
    background: #102f50;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
}

.home-quick-calc select:disabled {
    opacity: .55;
}

.home-quick-calc button {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 4px;
    background: #1267dc;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.home-quick-calc button:hover {
    background: #0b56bd;
}

.home-quick-calc__error {
    min-height: 16px;
    margin: -3px 0 7px;
    color: #ff9b9b;
    font-size: 12px;
}

.home-benefits {
    position: relative;
    z-index: 5;
    min-width: 1100px;
    margin-top: -38px;
    /* padding-bottom: 50px; */
    background: linear-gradient(
        to bottom,
        transparent 38px,
        #f5f6f8 38px
    );
}

.home-benefits__inner {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 92%;
    min-width: 1100px;
    max-width: 1360px;
    /* min-height: 135px; */
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e5e8ed;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(14, 35, 60, .09);
}

.home-benefits__item {
    display: flex;
    min-width: 0;
    padding: 10px;
    box-sizing: border-box;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.home-benefits__item + .home-benefits__item {
    border-left: 1px solid black;
}

.home-benefits__icon {
    display: flex;
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
    align-items: center;
    justify-content: center;
    color: #455e87;
}

.home-benefits__icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-benefits__item h2 {
    /* min-height: 30px; */
    margin: 0 0 6px;
    color: #1b2738;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.home-benefits__item p {
    margin: 0;
    color: #7a828d;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
}


.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(2, 17, 33, .84) 0%,
        rgba(2, 17, 33, .54) 36%,
        rgba(2, 17, 33, .10) 68%,
        rgba(2, 17, 33, .26) 100%
    );
    pointer-events: none;
}

.home-hero__advantages {
    display: flex;
    gap: 24px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .92);
}

.home-hero__advantages span {
    position: relative;
    padding-left: 19px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.home-hero__advantages span::before {
    content: "✓";
    position: absolute;
    top: -1px;
    left: 0;
    color: #69a8ed;
    font-size: 15px;
    font-weight: 700;
}

.home-hero__service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.home-hero__service-icon {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* HERO REFERENCE: three advantages */

.home-hero .home-hero__service {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.home-hero__service-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-hero .home-hero__advantages {
    display: grid !important;
    grid-template-columns: 140px 195px 155px !important;
    gap: 22px !important;
    width: 534px !important;
    margin-top: 26px !important;
    color: #fff !important;
}

.home-hero__advantage {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.home-hero__adv-icon {
    display: flex !important;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border-radius: 5px;
    background: rgba(20, 91, 173, .18);
    color: #6da8ec;
}

.home-hero__adv-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-hero .home-hero__adv-text {
    padding: 0 !important;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
}

.home-hero__advantages span::before {
    display: none !important;
    content: none !important;
}


/* Homepage about and tabs */
.home-about {
    padding: 76px 0 88px;
    background: #fff;
    color: #182230;
}

.home-about__inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.home-about__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 64px;
    align-items: center;
}

.home-about__photo {
    overflow: hidden;
    min-height: 390px;
    background: #e8edf2;
}

.home-about__photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.home-about__label {
    display: block;
    margin-bottom: 16px;
    color: #2d6595;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-about__content h2 {
    margin: 0 0 24px;
    color: #172231;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.12;
}

.home-about__content p {
    margin: 0 0 16px;
    color: #596575;
    font-size: 17px;
    line-height: 1.65;
}

.home-about__more {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
    color: #245d8f !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.home-about__more:hover {
    color: #163f66 !important;
}

.home-sections {
    margin-top: 64px;
}

.home-sections__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid #d6dee7;
}

.home-sections__tab {
    box-sizing: border-box;
    min-height: 68px;
    margin: 0;
    padding: 16px 12px;
    border: 0;
    border-right: 1px solid #d6dee7;
    background: #eef2f5;
    color: #344354 !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.home-sections__tab:first-child {
    border-left: 1px solid #d6dee7;
}

.home-sections__tab:hover {
    background: #e2e8ee;
}

.home-sections__tab.is-active {
    background: #2d6595;
    color: #fff !important;
}

.home-sections__tab--link {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.home-sections__panel {
    padding: 40px;
    background: #f4f6f8;
}

.home-sections__panel[hidden] {
    display: none !important;
}

.home-service-pages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-service-card {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(31, 48, 67, .08);
}

.home-service-card__image {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #dfe5ea;
}

.home-service-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.home-service-card:hover .home-service-card__image img {
    transform: scale(1.025);
}

.home-service-card__content {
    padding: 24px;
}

.home-service-card h3,
.home-model-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.home-service-card h3 a,
.home-model-card h3 a {
    color: #25384b !important;
    text-decoration: none;
}

.home-service-card h3 a:hover,
.home-model-card h3 a:hover {
    color: #2d6595 !important;
}

.home-service-card p {
    margin: 0;
    color: #687585;
    font-size: 14px;
    line-height: 1.55;
}

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

.home-model-card {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(31, 48, 67, .08);
}

.home-model-card__image {
    display: block;
    height: 150px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: scaleX(-1);
}

.home-model-card__image.xc90 {
    background-image: url("/img/volvo/xc90.png");
}

.home-model-card__image.xc70 {
    background-image: url("/img/volvo/xc70.png");
}

.home-model-card__image.xc60 {
    background-image: url("/img/volvo/xc60II.png");
}

.home-model-card__image.xc40 {
    background-image: url("/img/volvo/xc40.png");
}

.home-model-card__image.s90 {
    background-image: url("/img/volvo/s90III.png");
}

.home-model-card__image.s80 {
    background-image: url("/img/volvo/s80.png");
}

.home-model-card__image.s60 {
    background-image: url("/img/volvo/s60.png");
}

.home-model-card__image.s40-v40 {
    background-image: url("/img/volvo/v40.png");
}

.home-model-card__image.v50 {
    background-image: url("/img/volvo/v50.png");
}

.home-model-card__image.c30 {
    background-image: url("/img/volvo/c30.png");
}

.home-model-card__content {
    padding: 8px 24px 26px;
}

.home-model-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-model-card li {
    border-top: 1px solid #e6ebef;
	/* height: 30px; */
}

.home-model-card li a {
    display: block;
    padding: 2px 0;
    color: #5b6877 !important;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.home-model-card li a:hover {
    color: #2d6595 !important;
}

@media (max-width: 1100px) {
    .home-about__intro {
        gap: 40px;
    }

    .home-service-pages,
    .home-models {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-sections__tab {
        font-size: 14px;
    }
}

/* Homepage about and tabs: reference layout v4 */
.home-about {
    padding: 35px 0 72px;
}

.home-about__intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.home-about__photo {
    min-height: 370px;
    border-radius: 8px;
}

.home-about__photo img {
    min-height: 370px;
}

.home-about__label {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 12px;
    color: #176bd1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.home-about__label::before {
    width: 18px;
    height: 3px;
    background: #176bd1;
    content: "";
}

.home-about__content h2 {
    margin-bottom: 18px;
    color: #071a35;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.home-about__content p {
    margin-bottom: 16px;
    color: #465363;
    font-size: 15px;
    line-height: 1.6;
}

.home-sections {
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid #e1e7ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(17, 36, 59, .06);
}

.home-sections__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 0;
    border-bottom: 2px solid #0a2543;
    background: #fff;
}

.home-sections__tab {
    position: relative;
    min-height: 54px;
    padding: 16px 10px;
    border: 0;
    border-right: 1px solid rgba(10, 37, 67, .08);
    background: rgba(10, 37, 67, .055);
    color: #34465a !important;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .18s ease, color .18s ease;
}

.home-sections__tab:first-child {
    border-left: 0;
}

.home-sections__tab:last-child {
    border-right: 0;
}

.home-sections__tab:hover {
    background: rgba(10, 37, 67, .13);
    color: #0a2543 !important;
}

.home-sections__tab.is-active {
    background: #0a2543;
    color: white !important;
	border-radius: 8px 8px 0px 0px;
}

.home-sections__tab.is-active::after {
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 3px;
    /* background: #176bd1; */
    content: "";
}

.home-sections__panel {
    padding: 14px;
    background: #fff;
}

.home-service-pages,
.home-models {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-service-card,
.home-model-card {
    border: 2px solid #a7a7a7;
    border-radius: 15px;
    box-shadow: 0 3px 12px grey;
	background: #dbdbdb40;
}

.home-service-card__image {
    height: 150px;
}

.home-service-card__content {
    padding: 18px;
}

.home-model-card__image {
    height: 100px;
}

.home-model-card__content {
    padding: 8px 18px 20px;
}

.home-service-card h3,
.home-model-card h3 {
    font-size: 17px;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .home-service-pages,
    .home-models {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-about__intro {
        gap: 36px;
    }
}

/* Model cards interaction */
.home-sections .home-model-card {
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.home-sections .home-model-card:hover {
    border-color: #6f8eac;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 22px rgba(10, 37, 67, .24);
}

.home-sections .home-model-card li a {
    margin: 0 -7px;
    padding-right: 7px;
    padding-left: 7px;
    border-radius: 3px;
    transition:
        padding-left .16s ease,
        background-color .16s ease,
        color .16s ease;
}

.home-sections .home-model-card li a:hover,
.home-sections .home-model-card li a:focus {
    padding-left: 12px;
    background: rgba(23, 107, 209, .10);
    color: #125aa8 !important;
}

/* Homepage spacing before shared contact CTA */
.home-about {
    padding-bottom: 16px;
}

/* Header navigation distribution v1 */
@media (min-width: 1101px) {
    .site-header__nav {
        display: flex;
        flex: 1 1 0;
        align-items: center;
        align-self: stretch;
        justify-self: stretch;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .site-header__nav > ul {
        display: flex;
        gap: 0;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .site-header__nav > ul > li {
        flex: 0 0 auto;
        margin: 0;
    }
}
