/* ============================================================
   Krezel – brand styling
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,700;0,800;1,400&display=swap');

:root {
    --color-navy:            #212C44;
    --color-navy-dark:       #1a2336;
    --primary-color:         #EA2B1F;
    --primary-color-darker:  #c42419;
    --primary-color-lighter: #ef4a40;
    --grey-color:            #212C44;
    --grey-light-color:      #E8ECF2;

    --animate-very-fast: .24s cubic-bezier(0.19, 1, 0.22, 1);
    --animate-fast:      .8s cubic-bezier(0.19, 1, 0.22, 1);
    --animate:           1.2s cubic-bezier(0.19, 1, 0.22, 1);

    --gutter-vertical:     clamp(72px, 12vw, 180px);
    --header-height:     120px;
    --header-height-mobile: 100px;
    --baseline:          clamp(.8rem, .54vw, 1.2rem);
    --container-padding:   clamp(1.6rem, 5vw, 2.4rem);
    --container-offset:    var(--container-padding);
    --bs-gutter-x:         calc(var(--container-padding) * 2);
    --container-max:       1680px;
    --section-padding:     clamp(64px, 10vw, 120px);

    --font-body: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body.kr {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--grey-color);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.kr.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

a {
    text-decoration: none;
    transition: color var(--animate-fast);
}

a:hover, a:focus { text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

button {
    font-family: inherit;
    border-radius: 0;
    cursor: pointer;
}

/* Bootstrap grid – container padding aligned with --container-padding */
.container {
    --bs-gutter-x: calc(var(--container-padding) * 2);
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.container > .row {
    --bs-gutter-x: calc(var(--container-padding) * 2);
}

@media (min-width: 992px) {
    .container { max-width: var(--container-max); }
    .container > .row.g-lg-5 { --bs-gutter-x: 3rem; }
}

/* Buttons */
.kr-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    border: none;
    padding: 16px 28px;
    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 2;
}

.kr-btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transition: background-color var(--animate-fast), color var(--animate-fast);
}

.kr-btn-primary:hover,
.kr-btn-primary:focus {
    color: var(--primary-color);
    background-color: transparent;
}

.kr-btn-secondary-light {
    border: 1px solid rgba(255, 255, 255, .3);
    transition: background-color var(--animate-fast), color var(--animate-fast), border-color var(--animate-fast);
}

.kr-btn-secondary-light::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #fff;
    transform: translateX(-105%);
    transition: transform var(--animate-fast);
    z-index: -1;
}

.kr-btn-secondary-light:hover,
.kr-btn-secondary-light:focus { color: var(--color-navy); }

.kr-btn-secondary-light:hover::before,
.kr-btn-secondary-light:focus::before { transform: translateX(0); }

.kr-btn-secondary-dark {
    color: var(--color-navy);
    border: 1px solid rgba(33, 44, 68, .3);
    transition: background-color var(--animate-fast), color var(--animate-fast), border-color var(--animate-fast);
}

.kr-btn-secondary-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-navy);
    transform: translateX(-105%);
    transition: transform var(--animate-fast);
    z-index: -1;
}

.kr-btn-secondary-dark:hover,
.kr-btn-secondary-dark:focus { color: #fff; }

.kr-btn-secondary-dark:hover::before,
.kr-btn-secondary-dark:focus::before { transform: translateX(0); }

/* ============================================================
   Header
   ============================================================ */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--grey-color);
    background: #fff;
    border-bottom: 1px solid var(--grey-light-color);
    padding: 24px 0;
    z-index: 200;
    transition: box-shadow 0.3s ease;
}

body.page-home .header.is-scrolled {
    box-shadow: 0 2px 16px rgba(33, 44, 68, 0.08);
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

.header-logo {
    display: block;
    width: 220px;
    height: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 15;
}

.header-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: opacity var(--animate-fast);
}

.header-logo-light { display: none; }
.header-logo-dark { display: block; }

.header-logo:hover img,
.header-logo:focus img { opacity: .65; }

.header-nav {
    position: relative;
    flex-grow: 1;
    margin-left: calc(var(--baseline) * 9);
}

.header-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(var(--baseline) * -4.5);
    transform: translateY(-50%);
    width: .1rem;
    height: 4.8rem;
    background-color: rgba(33, 44, 68, .15);
}

.header-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav li { margin-right: calc(var(--baseline) * 4.75); }
.header-nav li:last-child { margin-right: 0; }

.header-nav a {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--grey-color);
    text-transform: uppercase;
}

.header-nav a:hover,
.header-nav a:focus,
.header-nav li.active a { color: var(--primary-color); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    padding: 16px 28px;
    text-transform: uppercase;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    transition: background-color var(--animate-fast), border-color var(--animate-fast);
}

.header-cta:hover,
.header-cta:focus {
    background-color: var(--primary-color-lighter);
    border-color: var(--primary-color-lighter);
    color: #fff;
}

/* Hamburger */
.header-hamburger {
    position: relative;
    display: none;
    width: 29px;
    height: 29px;
    padding: 0;
    border: none;
    background: transparent;
    z-index: 15;
    cursor: pointer;
}

.header-hamburger span,
.header-hamburger::before,
.header-hamburger::after {
    position: absolute;
    left: 0;
    display: block;
    width: 29px;
    height: 3px;
    border-radius: 3px;
    background: var(--grey-color);
    transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
                top 300ms cubic-bezier(0.23, 1, 0.32, 1),
                bottom 300ms cubic-bezier(0.23, 1, 0.32, 1),
                background 300ms;
}

.header-hamburger span {
    top: 50%;
    transform: translateY(-50%);
}

.header-hamburger::before {
    content: "";
    bottom: 22px;
}

.header-hamburger::after {
    content: "";
    top: 22px;
}

.header.open .header-hamburger span { background: transparent; }
.header.open .header-hamburger::before {
    bottom: 13px;
    transform: rotate(-45deg);
}
.header.open .header-hamburger::after {
    top: 13px;
    transform: rotate(45deg);
}

/* Mobile overlay menu */
.header-backdrop {
    display: none;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 24px 48px rgba(33, 44, 68, 0.12);
    transform: translateY(calc((100vh + var(--header-height-mobile)) * -1));
    transition: transform var(--animate);
    z-index: 10;
}

.header.open .header-overlay { transform: translateY(0); }

.header-overlay-filler {
    display: block;
    height: var(--header-height);
    width: 100%;
}

.header-overlay-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px var(--container-padding) 72px;
}

.header-overlay-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-overlay-nav li { margin-bottom: calc(var(--baseline) * 3); }
.header-overlay-nav li:last-child { margin-bottom: 0; }

.header-overlay-nav a {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    line-height: 1;
    font-weight: 700;
    color: var(--color-navy);
}

.header-overlay-nav a:hover,
.header-overlay-nav a:focus,
.header-overlay-nav li.active a { color: var(--primary-color); }

.header-overlay-contact {
    color: var(--grey-color);
    font-size: 1.6rem;
}

.header-overlay-contact p { margin: 0 0 8px; }

.header-overlay-contact a {
    color: var(--color-navy);
    font-weight: 700;
}

.header-overlay-contact a:hover,
.header-overlay-contact a:focus { color: var(--primary-color); }

.header.open .header-logo-light { display: none; }
.header.open .header-logo-dark { display: block; }

.header.open .header-hamburger span,
.header.open .header-hamburger::before,
.header.open .header-hamburger::after {
    background: var(--grey-color);
}

.header.open .header-hamburger span {
    background: transparent;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
    position: relative;
    display: block;
    width: 100%;
    color: #fff;
    background-color: var(--color-navy);
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity var(--animate);
}

.hero-bg-slide.is-active {
    opacity: 1;
}

.hero-bg-slide[data-slide="0"] {
    background-image: url('/img/airco.webp');
}

.hero-bg-slide[data-slide="1"] {
    background-image: url('/img/ventilatie.webp');
}

.hero-bg-slide[data-slide="2"] {
    background-image: url('/img/warmtepomp.webp');
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(26, 35, 54, 0.97) 0%,
            rgba(33, 44, 68, 0.9) 36%,
            rgba(33, 44, 68, 0.72) 58%,
            rgba(33, 44, 68, 0.45) 100%
        );
    z-index: 1;
}

.hero-grid {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(480px, calc(85dvh - var(--gutter-vertical) - var(--header-height)), 820px);
    z-index: 2;
}

.hero-content {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 2;
}

.hero-slider-text {
    width: 100%;
    max-width: 100%;
    padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--animate-fast), visibility var(--animate-fast);
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.hero-slide h1 {
    font-size: clamp(3.2rem, 11vw, 9.6rem);
    font-size: clamp(3.2rem, min(11vw, 11cqi), 9.6rem);
    line-height: 1;
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(55%);
    transition: opacity var(--animate) 0.15s, transform var(--animate) 0.1s;
}

.hero-slide.is-active h1 {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide h2 {
    font-size: clamp(1.6rem, 1.8vw, 2.4rem);
    font-weight: 400;
    line-height: 1;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0 0 24px;
    opacity: 0;
    transform: translateY(55%);
    transition: opacity var(--animate) 0.3s, transform var(--animate) 0.25s;
}

.hero-slide.is-active h2 {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-content {
    display: block;
    max-width: min(552px, 100%);
    padding: 0;
}

.hero-slide p {
    font-weight: 300;
    margin: 0 0 18px;
    opacity: 0;
    transform: translateY(25%);
    transition: opacity var(--animate) 0.45s, transform var(--animate) 0.4s;
}

.hero-slide.is-active p {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .kr-btn {
    margin: 6px 0 0;
    opacity: 0;
    transform: translateY(25%);
    transition: opacity var(--animate) 0.5s, transform var(--animate) 0.45s,
                border-color var(--animate-fast), background-color var(--animate-fast), color var(--animate-fast);
}

.hero-slide.is-active .kr-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Bottom fill bar */
.hero-fill {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: var(--gutter-vertical);
    background-color: transparent;
    z-index: 2;
}

/* Hero dots */
.hero-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-dots button {
    display: block;
    width: 12px;
    height: 12px;
    padding: 0;
    margin-right: 12px;
    font-size: 0;
    color: #fff;
    border: 1px solid var(--primary-color);
    background: none;
    cursor: pointer;
    transition: background-color var(--animate-fast);
}

.hero-dots button.is-active {
    background: var(--primary-color);
}

.hero-dots button:focus { outline: 2px solid var(--primary-color); outline-offset: 2px; }

/* Generic page hero (privacy, etc.) */
.hero.hero--simple {
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: 48px;
    min-height: auto;
}

.hero.hero--simple .hero-content h1 {
    font-size: clamp(3rem, 5vw, 5.6rem);
    text-transform: uppercase;
}

.hero.hero--simple .hero-content p {
    font-weight: 300;
    max-width: 640px;
    margin-top: 16px;
}

.hero.hero--contact {
    padding-top: clamp(28px, 4vw, 44px);
    padding-bottom: clamp(28px, 4vw, 40px);
    background-color: #fff;
    color: var(--color-navy);
}

.hero.hero--contact .hero-content h1 {
    font-size: clamp(2.8rem, 4.2vw, 4.2rem);
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-navy);
}

.hero.hero--contact .page-lead {
    max-width: 680px;
    margin: 16px 0 0;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(33, 44, 68, 0.72);
}

.legal-section {
    padding: var(--section-padding) 0;
}

.legal-content {
    max-width: 760px;
}

.legal-updated {
    margin: 0 0 32px;
    font-size: 1.4rem;
    color: rgba(33, 44, 68, 0.6);
}

.legal-content h2 {
    margin: 32px 0 12px;
    font-size: clamp(1.8rem, 2.2vw, 2.2rem);
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-navy);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--grey-color);
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 1.4em;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary-color);
    font-weight: 700;
}

.legal-content a:hover,
.legal-content a:focus {
    text-decoration: underline;
}

.page-breadcrumb {
    margin-bottom: 14px;
}

.page-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.35rem;
    line-height: 1.4;
    color: rgba(33, 44, 68, 0.55);
}

.page-breadcrumb li + li::before {
    content: ">";
    margin-right: 6px;
    color: rgba(33, 44, 68, 0.35);
}

.page-breadcrumb a {
    color: rgba(33, 44, 68, 0.72);
    text-decoration: none;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus {
    color: var(--primary-color);
}

.page-breadcrumb li[aria-current="page"] {
    color: rgba(33, 44, 68, 0.55);
}

/* About */
.about {
    padding: var(--section-padding) 0;
}

.about-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .about-content {
        padding-left: 3rem;
    }
}

.about h2,
.services-intro h2,
.reviews h2,
.maintenance h2,
.brands h2,
.cta h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.8rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.maintenance h2,
.cta h2 {
    color: #fff;
}

.tagline {
    margin: 0 0 20px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.accent-text {
    color: var(--primary-color);
    /*font-weight: 800;*/
}

.about p:not(.tagline) {
    font-weight: 300;
    margin-bottom: 24px;
}

@media (max-width: 991.98px) {
    .about {
        padding-top: clamp(88px, 18vw, 120px);
    }

    .about .row {
        --bs-gutter-y: clamp(40px, 8vw, 64px);
    }

    .about .col-lg-7 {
        order: 2;
    }

    .about .col-lg-5 {
        order: 1;
        margin-top: 0;
        padding-top: 0;
    }

    .about-image {
        margin-bottom: 0;
    }
}

/* Services */
.services {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.services-intro {
    margin-bottom: clamp(32px, 4vw, 48px);
}

.services-lead {
    margin: 0;
    max-width: 52ch;
    font-weight: 300;
    line-height: 1.6;
}

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-item {
    margin-bottom: clamp(20px, 3vw, 36px);
}

.services-item:last-child {
    margin-bottom: 0;
}

.services-link {
    display: block;
    width: 100%;
    color: var(--color-navy);
    cursor: pointer;
}

.services-link-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.services-num {
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(33, 44, 68, 0.55);
    transition: color var(--animate-fast);
}

.services-name {
    display: inline-flex;
    align-items: center;
    gap: 0.2em;
    font-size: clamp(2rem, 2.8vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-navy);
    transition: color var(--animate-fast);
}

.services-item.is-active .services-num,
.services-link:hover .services-num,
.services-link:focus .services-num {
    color: var(--primary-color);
}

.services-item.is-active .services-name {
    color: var(--primary-color);
}

.services-arrow {
    flex-shrink: 0;
    font-size: 0.85em;
    line-height: 1;
    color: rgba(33, 44, 68, 0.45);
    transition: color var(--animate-fast), transform var(--animate-fast);
}

.services-item.is-active .services-arrow,
.services-link:hover .services-arrow,
.services-link:focus .services-arrow {
    color: var(--primary-color);
}

.services-link:hover .services-arrow,
.services-link:focus .services-arrow {
    transform: translateX(4px);
}

.services-link:hover .services-name,
.services-link:focus .services-name {
    color: var(--primary-color);
}

.services-media,
.services-media-mobile {
    position: relative;
    width: 100%;
}

.services-media {
    min-height: clamp(520px, 42vw, 720px);
}

.services-media-mobile {
    margin-top: clamp(32px, 5vw, 48px);
    min-height: clamp(280px, 56vw, 420px);
}

.services-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--animate-fast), visibility var(--animate-fast);
}

.services-media.has-active .services-image.is-active,
.services-media-mobile .services-image.is-active {
    opacity: 1;
    visibility: visible;
}

.services-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.services-media .services-image img {
    min-height: clamp(520px, 42vw, 720px);
}

.services-media-mobile .services-image img {
    min-height: clamp(280px, 56vw, 420px);
    aspect-ratio: 4 / 3;
}

/* Reviews */
.reviews {
    position: relative;
    padding: var(--section-padding) 0;
    background: #fff;
    overflow: hidden;
}

.reviews-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(36px, 5vw, 72px);
    height: 100%;
    background-color: var(--primary-color);
}

.reviews .container {
    position: relative;
    z-index: 1;
    padding-right: calc(clamp(36px, 5vw, 72px) + calc(var(--bs-gutter-x) * .5));
}

.reviews-slider {
    display: grid;
}

.review {
    grid-area: 1 / 1;
    position: relative;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--animate-fast), visibility var(--animate-fast);
}

.review.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.review-quote {
    margin: 0 0 clamp(28px, 4vw, 56px);
    padding: 0;
    border: none;
}

.review-quote p {
    margin: 0;
    font-size: clamp(2rem, 2.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-navy);
}

.review-meta {
    display: block;
}

.review-name {
    display: block;
    font-size: clamp(1.8rem, 2vw, 2.8rem);
    font-weight: 800;
    font-style: normal;
    line-height: 1.2;
    color: var(--color-navy);
}

.review-company {
    display: block;
    margin-top: 4px;
    font-size: clamp(1.6rem, 1.8vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    color: var(--color-navy);
}

/* Maintenance */
.maintenance {
    background: var(--color-navy);
    color: #fff;
    padding: var(--section-padding) 0;
}

.maintenance-lead {
    margin: 0 0 28px;
    max-width: 52ch;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.maintenance-label {
    margin: 0 0 16px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.maintenance-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0 0 clamp(28px, 4vw, 40px);
    padding: 0;
}

.maintenance-services li {
    padding: 10px 18px;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.maintenance-points {
    list-style: none;
    margin: 0;
    padding: 0;
}

.maintenance-points li {
    position: relative;
    padding: 18px 0 18px 28px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.maintenance-points li:first-child {
    border-top: none;
}

.maintenance-points li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 18px;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--primary-color);
}

.parallax-bg-media {
    position: absolute;
    left: 0;
    right: 0;
    background-image: url('/img/auto.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(26, 35, 54, 0.97) 0%,
            rgba(33, 44, 68, 0.9) 42%,
            rgba(33, 44, 68, 0.78) 68%,
            rgba(33, 44, 68, 0.62) 100%
        ),
        rgba(26, 35, 54, 0.35);
    z-index: 1;
}

/* Brands */
.brands {
    padding: var(--section-padding) 0;
    background: #fff;
    border-top: 1px solid var(--grey-light-color);
}

.brands-inner {
    text-align: center;
}

.brands h2 {
    margin-bottom: clamp(32px, 5vw, 56px);
    color: var(--color-navy);
}

.brands-logos {
    margin-bottom: 0;
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(40px, 6vw, 120px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.brands-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.brands-logo {
    display: block;
    width: auto;
    max-width: clamp(160px, 20vw, 320px);
    height: clamp(40px, 6vw, 80px);
    object-fit: contain;
    object-position: center;
}

.brands-rotenso {
    margin-top: clamp(32px, 5vw, 56px);
    max-width: 72ch;
    text-align: left;
}

.brands-rotenso .tagline {
    margin-bottom: 12px;
}

.brands-rotenso-text {
    margin: 0;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-navy);
}

/* ============================================================
   CTA & Footer
   ============================================================ */

.site-bottom {
    background: var(--color-navy);
}

.site-bottom--bg {
    position: relative;
    overflow: hidden;
}

.site-bottom--bg .cta,
.site-bottom--bg .footer {
    position: relative;
    z-index: 2;
}

.site-bottom--bg h2,
.site-bottom--bg .cta-lead,
.site-bottom--bg .footer-about,
.site-bottom--bg .footer-nav a,
.site-bottom--bg .footer-detail-link,
.site-bottom--bg .footer-bottom p,
.site-bottom--bg .footer-legal a,
.site-bottom--bg .footer-credit a {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.cta {
    padding: var(--section-padding) 0 clamp(48px, 7vw, 80px);
    color: #fff;
}

.cta-lead {
    margin: 0;
    max-width: 56ch;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-shrink: 0;
}

.footer {
    padding: clamp(32px, 5vw, 48px) 0 clamp(40px, 6vw, 64px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.5rem;
}

.footer-logo {
    display: inline-block;
    width: 280px;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-logo:hover img,
.footer-logo:focus img {
    opacity: 0.75;
}

.footer-about {
    margin: 0;
    max-width: 42ch;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: clamp(28px, 4vw, 44px);
}

.footer-brand {
    flex: 1 1 280px;
    max-width: 100%;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    width: 100%;
    margin: 0;
    padding-bottom: clamp(24px, 3vw, 32px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
}

.footer-nav a + a::before {
    content: none;
}

.footer-nav a:hover,
.footer-nav a:focus,
.footer-nav a.is-active {
    color: var(--primary-color);
}

.footer-details {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 1 auto;
}

.footer-details li {
    margin-bottom: 14px;
}

.footer-details li:last-child {
    margin-bottom: 0;
}

.footer-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.footer-detail-link i {
    flex-shrink: 0;
    width: 1.2em;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-align: center;
}

.footer-detail-link:hover,
.footer-detail-link:focus {
    color: var(--primary-color);
}

span.footer-detail-link {
    cursor: default;
}

span.footer-detail-link:hover,
span.footer-detail-link:focus {
    color: rgba(255, 255, 255, 0.9);
}

span.footer-detail-link:hover i,
span.footer-detail-link:focus i {
    color: var(--primary-color);
}

.footer-detail-link:hover i,
.footer-detail-link:focus i {
    color: #fff;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.footer a:hover,
.footer a:focus {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: clamp(40px, 6vw, 64px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.footer-copy,
.footer-credit {
    margin: 0;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal a {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover,
.footer-legal a:focus,
.footer-legal li.active a {
    color: var(--primary-color);
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.footer-credit a:hover,
.footer-credit a:focus {
    color: var(--primary-color);
}

.footer-bottom p {
    margin: 0;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   Service pages (Blackdog-style layout)
   ============================================================ */

.service-hero {
    padding: clamp(28px, 4vw, 48px) 0 var(--section-padding);
    background: var(--color-navy);
    color: #fff;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.service-hero h1 {
    font-size: clamp(3rem, 5vw, 5.6rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
}

.service-hero-lead {
    margin: 0;
    max-width: 56ch;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.service-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}

.service-block {
    padding: var(--section-padding) 0;
}

.service-block--alt {
    background: var(--grey-light-color);
}

.service-block h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.8rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--color-navy);
    margin: 0 0 12px;
}

.service-block p:not(.tagline) {
    margin: 0 0 18px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--grey-color);
}

.service-block p:last-child {
    margin-bottom: 0;
}

.service-block-media img {
    display: block;
    width: 100%;
    /*aspect-ratio: 4 / 3;*/
    /*object-fit: cover;*/
    border-radius: 4px;
}

.service-points {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.service-points li {
    position: relative;
    padding: 14px 0 14px 28px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--grey-color);
    border-top: 1px solid rgba(33, 44, 68, 0.12);
}

.service-points li:first-child {
    border-top: none;
    padding-top: 0;
}

.service-points li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--primary-color);
}

.service-points li:first-child::before {
    top: 0;
}

.service-steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    counter-reset: service-step;
}

.service-steps li {
    position: relative;
    padding: 22px 0 22px 52px;
    border-top: 1px solid rgba(33, 44, 68, 0.12);
    counter-increment: service-step;
}

.service-steps li:first-child {
    border-top: none;
    padding-top: 0;
}

.service-steps li::before {
    content: counter(service-step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 22px;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

.service-steps li:first-child::before {
    top: 0;
}

.service-steps h3 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-navy);
}

.service-steps p {
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 984px) {
    .header-nav,
    .header-cta { display: none; }

    .header-hamburger { display: block; }

    .header-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        border: none;
        padding: 0;
        background: rgba(26, 35, 54, 0.65);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--animate-fast), visibility var(--animate-fast);
        z-index: 1;
        pointer-events: none;
        cursor: pointer;
    }

    .header.open .header-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero-grid {
        min-height: clamp(360px, 70dvh, 640px);
    }

    .hero-bg-slide {
        background-position: 80% center;
    }

    .hero-bg-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(26, 35, 54, 0.94) 0%,
                rgba(33, 44, 68, 0.78) 50%,
                rgba(33, 44, 68, 0.42) 100%
            ),
            linear-gradient(
                90deg,
                rgba(26, 35, 54, 0.9) 0%,
                rgba(33, 44, 68, 0.62) 38%,
                rgba(33, 44, 68, 0.22) 68%,
                transparent 100%
            );
    }

    .hero-fill {
        height: auto;
        padding-bottom: clamp(24px, 5vw, 40px);
    }

    .hero-dots {
        justify-content: flex-start;
        width: 100%;
    }

    .hero-slide h1 {
        font-size: clamp(2rem, 8.5vw, 4.8rem);
        font-size: clamp(2rem, 9.5cqi, 5.6rem);
    }
}

@media (max-width: 991.98px) {
    .reviews .container {
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    .reviews-accent {
        width: clamp(20px, 4vw, 32px);
    }

    .footer-nav {
        justify-content: flex-start;
        gap: 10px 18px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-details {
        width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        justify-content: flex-start;
    }

    .service-hero-grid {
        grid-template-columns: 1fr;
    }

    .service-hero {
        padding-top: clamp(20px, 4vw, 32px);
    }

    .service-hero-media {
        order: -1;
    }
}

@media (max-width: 744px) {
    .hero-slider-text {
        padding: clamp(32px, 8vw, 48px) 0 var(--gutter-vertical);
    }

    .hero-slide-content {
        max-width: 100%;
    }

    .header { padding: 24px 0; }

    .header-logo {
        width: 180px;
    }
}
