/* Stage 3: service discovery on the home page and the complete services hub. */
.mega-inner {
    padding-top: 30px;
    padding-bottom: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-bottom {
    padding-top: 16px;
    padding-bottom: 16px;
}

.desktop-nav a[aria-current="page"],
.mega a[aria-current="page"] {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.services-hub-hero {
    padding-bottom: 70px;
}

.services-hub-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 80px;
    align-items: end;
}

.services-hub-hero h1 {
    max-width: 850px;
    margin: 0;
}

.services-hub-hero__intro > p {
    font-size: 15px;
    line-height: 1.9;
}

.services-hub-hero__intro dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 32px 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.services-hub-hero__intro dl > div {
    padding: 18px 13px 16px 0;
}

.services-hub-hero__intro dl > div + div {
    padding-left: 16px;
    border-left: 1px solid var(--line);
}

.services-hub-hero__intro dt {
    color: var(--text);
    font-size: 25px;
    line-height: 1;
}

.services-hub-hero__intro dd {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
    text-transform: uppercase;
}

.services-hub-nav {
    position: sticky;
    top: 94px;
    z-index: 15;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(12, 20, 34, .96);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
}

.services-hub-nav::-webkit-scrollbar {
    display: none;
}

.services-hub-nav .wrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.services-hub-nav a {
    display: flex;
    min-width: 0;
    min-height: 63px;
    padding: 15px 18px;
    align-items: center;
    gap: 12px;
    border-left: 1px solid var(--line);
    color: #d4dce8;
    font-size: 12px;
    line-height: 1.35;
}

.services-hub-nav a:last-child {
    border-right: 1px solid var(--line);
}

.services-hub-nav a:hover {
    color: #fff;
    background: #ffffff08;
}

.services-hub-nav a span {
    color: #8294ad;
    font-size: 10px;
}

.services-hub-section {
    padding: 92px 0;
    scroll-margin-top: 165px;
    border-bottom: 1px solid var(--line);
}

.services-hub-section:nth-child(even) {
    background: #0c1422;
}

.services-hub-section__header {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 40px;
}

.services-hub-section__number {
    color: #61718a;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 54px;
    font-style: italic;
    line-height: 1;
}

.services-hub-section__header .eyebrow {
    margin-bottom: 14px;
}

.services-hub-section__header h2 {
    font-size: 47px;
}

.services-hub-section__header p {
    max-width: 720px;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.85;
}

.services-hub-section__header .text-link {
    margin-bottom: 4px;
    white-space: nowrap;
}

.services-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.services-hub-card {
    min-width: 0;
    border: 1px solid #33425a;
    background: #0f1828;
}

.services-hub-card > a {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr);
    height: 100%;
}

.services-hub-card__image {
    position: relative;
    min-height: 245px;
    overflow: hidden;
}

.services-hub-card__image img {
    height: 100%;
    filter: brightness(.96) saturate(.88);
    transition: filter .25s, transform .5s;
}

.services-hub-card:hover .services-hub-card__image img {
    filter: brightness(1) saturate(.96);
    transform: scale(1.025);
}

.services-hub-card__image > span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 8px;
    border: 1px solid #8fa0b944;
    background: #080d17d9;
    color: #d7dfeb;
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
}

.services-hub-card__copy {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 14px;
    padding: 25px;
    align-items: start;
}

.services-hub-card__copy > small {
    color: #8294ad;
    font-size: 10px;
}

.services-hub-card__copy h3 {
    font-size: 22px;
    line-height: 1.25;
}

.services-hub-card__copy p {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.8;
}

.services-hub-card__arrow {
    color: #dce5f2;
    font-size: 21px;
    line-height: 1;
}

.featured-services__heading-side {
    max-width: 390px;
}

.featured-services__heading-side > p {
    font-size: 13px;
    line-height: 1.85;
}

.featured-services__heading-side .text-link {
    margin-top: 17px;
}

.featured-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.featured-service-card {
    min-width: 0;
    border: 1px solid #35435a;
    background: #0e1726;
}

.featured-service-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.featured-service-card__image {
    height: 210px;
    overflow: hidden;
}

.featured-service-card__image img {
    height: 100%;
    filter: brightness(.96) saturate(.88);
    transition: filter .25s, transform .5s;
}

.featured-service-card:hover .featured-service-card__image img {
    filter: brightness(1) saturate(.96);
    transform: scale(1.025);
}

.featured-service-card__copy {
    display: flex;
    height: 100%;
    min-height: 250px;
    padding: 24px;
    flex-direction: column;
}

.featured-service-card__copy > span {
    color: #9eacc0;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.featured-service-card__copy h3 {
    margin-top: 14px;
    font-size: 23px;
    line-height: 1.25;
}

.featured-service-card__copy p {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.8;
}

.featured-service-card__copy small {
    display: flex;
    margin-top: auto;
    padding-top: 24px;
    justify-content: space-between;
    color: #d4ddea;
    font-size: 10px;
    letter-spacing: 0;
}

.featured-service-card__copy small b {
    font-size: 17px;
    font-weight: 400;
    line-height: .7;
}

.guides-list .card-copy h2 {
    display: flex;
    margin: 15px 0;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    font-size: 26px;
    line-height: 1.22;
}

.guides-list .card-copy h2 span {
    flex-shrink: 0;
    font-size: 22px;
}

.faq > h2 {
    margin-bottom: 8px;
    font-size: 31px;
}

/* Stage 9: body elements, renovation and product enquiries. */
.service-hero-image img,
.card-image img,
.mini-gallery img,
.parts-big img,
.editorial-image img {
    filter: brightness(.96) saturate(.86);
}

.department-wide {
    grid-column: 1 / -1;
    min-height: 250px;
}

.department-wide .department-copy {
    min-height: 250px;
}

.offer-hero {
    padding-bottom: 76px;
}

.offer-hero__grid,
.offer-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
    gap: 66px;
    align-items: center;
}

.offer-hero h1 {
    margin-bottom: 26px;
    letter-spacing: 0;
}

.offer-hero .lead {
    max-width: 660px;
}

.offer-hero .button-row {
    margin-top: 30px;
}

.offer-hero__image,
.offer-feature__image {
    position: relative;
    overflow: hidden;
}

.offer-hero__image img {
    height: 480px;
    filter: brightness(1) saturate(.94);
}

.offer-hero__image > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 9px 11px;
    border: 1px solid #91a0b844;
    background: #080d17e8;
    color: #d8e0eb;
    font-size: 10px;
    line-height: 1.55;
}

.offer-facts {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d1625;
}

.offer-facts .wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-facts article {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 5px 15px;
    min-height: 128px;
    padding: 25px 28px;
    align-content: center;
}

.offer-facts article + article {
    border-left: 1px solid var(--line);
}

.offer-facts small {
    grid-row: 1 / 3;
    color: #8fa0b8;
    font-size: 11px;
}

.offer-facts strong {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.offer-facts span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.parts-groups {
    display: grid;
    gap: 28px;
}

.parts-group {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    border: 1px solid #35445c;
    background: #0e1828;
}

.parts-group__image {
    position: relative;
    min-height: 370px;
    overflow: hidden;
}

.parts-group__image img {
    height: 100%;
    filter: brightness(1) saturate(.9);
}

.parts-group__image > span {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid #c2cedd88;
    background: #080d17dd;
    color: #f0f3f7;
    font-size: 12px;
}

.parts-group__body {
    padding: 31px;
}

.parts-group__body h2 {
    margin-bottom: 23px;
    font-size: 29px;
    letter-spacing: 0;
}

.parts-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #394860;
}

.parts-chip-grid > a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 22px;
    gap: 10px;
    min-height: 70px;
    padding: 15px 13px;
    align-items: center;
    border-bottom: 1px solid #394860;
}

.parts-chip-grid > a:nth-child(odd) {
    border-right: 1px solid #394860;
}

.parts-chip-grid > a:hover {
    background: #ffffff08;
}

.parts-chip-grid span {
    color: #8294ac;
    font-size: 10px;
}

.parts-chip-grid strong {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.parts-chip-grid b {
    color: #d9e2ef;
    font-size: 18px;
    font-weight: 400;
}

.parts-empty {
    margin-top: 26px;
    padding: 18px;
    border: 1px solid #5a6b84;
    font-size: 13px;
}

.parts-color-band {
    padding: 88px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #101a2a;
}

.parts-color-band > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 80px;
    align-items: center;
}

.parts-color-band h2,
.offer-feature h2,
.home-products h2,
.services-product-bridge h2,
.renovation-showcase h2 {
    letter-spacing: 0;
}

.parts-color-band p,
.offer-feature p,
.home-products p,
.services-product-bridge p,
.renovation-showcase p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
}

.parts-color-band .text-link,
.offer-feature .text-link,
.renovation-showcase .text-link {
    margin-top: 19px;
}

.color-sample-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.color-sample-board > span {
    aspect-ratio: 1.35;
    border: 1px solid #e7edf533;
    background: var(--sample-color);
    box-shadow: inset 0 0 0 1px #0003;
}

.color-sample-board small {
    grid-column: 1 / -1;
    margin-top: 8px;
    color: #98a8be;
    font-size: 10px;
    line-height: 1.6;
}

.offer-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #43516a;
    border-bottom: 1px solid #43516a;
}

.offer-steps--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-steps article {
    min-height: 235px;
    padding: 27px;
}

.offer-steps article + article {
    border-left: 1px solid #34425a;
}

.offer-steps--six article:nth-child(4) {
    border-left: 0;
}

.offer-steps--six article:nth-child(n + 4) {
    border-top: 1px solid #34425a;
}

.offer-steps span {
    color: #8fa0b8;
    font-size: 11px;
}

.offer-steps h3 {
    margin-top: 32px;
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: 0;
}

.offer-steps p {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.75;
}

.offer-feature,
.home-products,
.services-product-bridge,
.renovation-showcase {
    padding: 88px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d1625;
}

.home-products,
.renovation-showcase {
    margin: 0;
}

.services-product-bridge {
    background: #0b1320;
}

.offer-feature__image img {
    height: 430px;
    filter: brightness(1) saturate(.9);
}

.home-products .button,
.services-product-bridge .button {
    margin-top: 26px;
}

.part-assurance {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 80px;
    align-items: start;
}

.part-assurance__list article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 6px 18px;
    padding: 24px 0;
    border-top: 1px solid #3b4961;
}

.part-assurance__list span {
    grid-row: 1 / 3;
    color: #8fa0b8;
    font-size: 11px;
}

.part-assurance__list h3 {
    font-size: 21px;
    letter-spacing: 0;
}

.part-assurance__list p {
    font-size: 13px;
    line-height: 1.8;
}

.product-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-offer-card {
    display: flex;
    min-height: 430px;
    padding: 31px;
    flex-direction: column;
    border: 1px solid #35445c;
    background: #0e1828;
}

.product-offer-card > span {
    color: #8fa0b8;
    font-size: 11px;
}

.product-offer-card h2 {
    margin-top: 23px;
    font-size: 30px;
    letter-spacing: 0;
}

.product-offer-card p {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.8;
}

.product-offer-card ul {
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}

.product-offer-card li {
    padding: 9px 0;
    border-top: 1px solid #34425a;
    color: #c5d0df;
    font-size: 12px;
}

.product-offer-card .text-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 26px;
}

.product-faq {
    padding-top: 76px;
}

@media (max-width: 1280px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        margin-left: auto;
    }
}

@media (max-width: 1060px) {
    .services-hub-nav {
        top: 94px;
        overflow-x: auto;
    }

    .services-hub-nav .wrap {
        width: max-content;
        min-width: 100%;
    }

    .services-hub-nav a {
        min-width: 170px;
    }

    .services-hub-grid {
        grid-template-columns: 1fr;
    }

    .featured-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-hero__grid,
    .offer-feature__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .offer-hero__image {
        order: -1;
    }

    .parts-group {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .parts-color-band > .wrap,
    .part-assurance {
        gap: 42px;
    }
}

@media (max-width: 900px) {
    .services-hub-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 760px) {
    .services-hub-hero {
        padding-bottom: 50px;
    }

    .services-hub-hero__intro dl {
        margin-top: 24px;
    }

    .services-hub-nav {
        top: 94px;
    }

    .services-hub-section {
        padding: 68px 0;
        scroll-margin-top: 170px;
    }

    .services-hub-section__header {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 18px;
    }

    .services-hub-section__number {
        font-size: 38px;
    }

    .services-hub-section__header h2 {
        font-size: 38px;
    }

    .services-hub-section__header .text-link {
        grid-column: 2;
        justify-self: start;
        margin-top: 4px;
    }

    .services-hub-card > a {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .services-hub-card__image {
        min-height: 260px;
    }

    .services-hub-card__copy {
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 22px;
    }

    .services-hub-card__arrow {
        display: none;
    }

    .featured-services .section-heading {
        align-items: flex-start;
    }

    .featured-services__heading-side {
        max-width: none;
        margin-top: 20px;
    }

    .offer-facts .wrap,
    .parts-color-band > .wrap,
    .part-assurance {
        grid-template-columns: 1fr;
    }

    .offer-facts article + article {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .parts-group {
        grid-template-columns: 1fr;
    }

    .parts-group__image {
        min-height: 0;
        height: 310px;
    }

    .offer-steps,
    .offer-steps--six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-steps article:nth-child(odd) {
        border-left: 0;
    }

    .offer-steps article:nth-child(n + 3) {
        border-top: 1px solid #34425a;
    }
}

@media (max-width: 580px) {
    .services-hub-hero__intro dl > div {
        padding: 15px 8px 14px 0;
    }

    .services-hub-hero__intro dl > div + div {
        padding-left: 10px;
    }

    .services-hub-hero__intro dt {
        font-size: 21px;
    }

    .services-hub-section__header {
        grid-template-columns: 1fr;
    }

    .services-hub-section__number {
        display: none;
    }

    .services-hub-section__header h2 {
        font-size: 34px;
    }

    .services-hub-section__header .text-link {
        grid-column: 1;
    }

    .services-hub-card > a {
        grid-template-columns: 1fr;
    }

    .services-hub-card__image {
        min-height: 0;
        height: 205px;
    }

    .services-hub-card__copy {
        min-height: 215px;
    }

    .featured-services__grid {
        grid-template-columns: 1fr;
    }

    .featured-service-card__image {
        height: 225px;
    }

    .featured-service-card__copy {
        min-height: 230px;
    }

    .guides-list .card-copy h2 {
        font-size: 25px;
    }

    .mega-inner {
        grid-template-columns: 1fr;
    }

    .department-wide,
    .department-wide .department-copy {
        min-height: 310px;
    }

    .offer-hero {
        padding-bottom: 48px;
    }

    .offer-hero__image img,
    .offer-feature__image img {
        height: 285px;
    }

    .offer-facts article {
        min-height: 112px;
        padding: 21px 5px;
    }

    .parts-group__image {
        height: 240px;
    }

    .parts-group__body {
        padding: 22px 17px;
    }

    .parts-group__body h2 {
        font-size: 25px;
    }

    .parts-chip-grid {
        grid-template-columns: 1fr;
    }

    .parts-chip-grid > a:nth-child(odd) {
        border-right: 0;
    }

    .parts-color-band,
    .offer-feature,
    .home-products,
    .services-product-bridge,
    .renovation-showcase {
        padding: 57px 0;
    }

    .color-sample-board {
        grid-template-columns: repeat(3, 1fr);
    }

    .offer-steps,
    .offer-steps--six,
    .product-offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-steps article,
    .offer-steps--six article {
        min-height: 190px;
        border-top: 1px solid #34425a;
        border-left: 0;
    }

    .offer-steps article:first-child {
        border-top: 0;
    }

    .product-offer-card {
        min-height: 390px;
        padding: 24px;
    }

    .product-offer-card h2 {
        font-size: 26px;
    }
}
