/* =========================================
   BLACKBOOK — HOMEPAGE STYLES
   Navy, White, Light Blue & Green
========================================= */

/* 1. DESIGN TOKENS */

:root {
    --black: #111820;
    --navy: #17243B;
    --navy-light: #263B59;

    --blue: #70BCE8;
    --blue-light: #A5D8F5;

    --green: #55B982;
    --green-glow: rgba(85, 185, 130, .22);

    --white: #FFFFFF;
    --page: #FFFFFF;
    --ink: #111820;
    --muted: #64748B;
    --muted-light: #C5D0DF;
    --border: #E1EAF3;

    --width: 1180px;
    --radius: 18px;

    --card-shadow:
        0 14px 28px rgba(23, 36, 59, .17),
        0 4px 9px rgba(23, 36, 59, .10);

    --card-shadow-hover:
        0 22px 38px rgba(23, 36, 59, .24),
        0 8px 14px rgba(23, 36, 59, .13);
}


/* LOCATION MODAL */
.location-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.location-modal.is-visible {
    display: flex;
}

.location-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 35, 0.72);
    backdrop-filter: blur(6px);
}

.location-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 38px;
    border-radius: 18px;
    background: var(--bb-navy);
    color: #FFFFFF;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.location-modal-icon {
    margin-bottom: 20px;
    color: var(--bb-blue-light);
}

.location-modal-icon svg {
    width: 34px;
    height: 34px;
}

.location-modal-card h2 {
    margin-bottom: 14px;
    font-family: var(--bb-font-heading);
}

.location-modal-card p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.location-modal-card .btn {
    width: 100%;
}

.location-manual {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
    font: inherit;
    opacity: 0.8;
}

.location-manual:hover {
    opacity: 1;
}

/* LOCATION LOADING */
.location-loading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 22px 0;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
}

.location-loading[hidden],
.detected-location[hidden] {
    display: none !important;
}

.location-loading-pulse {
    display: block;
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #32C878;
    box-shadow: 0 0 0 0 rgba(50, 200, 120, 0.7);
    animation: location-pulse 1.4s ease-out infinite;
}

@keyframes location-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 200, 120, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(50, 200, 120, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(50, 200, 120, 0);
    }
}

/* DETECTED ADDRESS */
.detected-location {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    margin: 18px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #FFFFFF;
    text-align: left;
    line-height: 1.5;
    font-size: 13px;
}

.detected-location svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--bb-blue-light);
}

@media (max-width: 600px) {
    .location-modal-card {
        padding: 30px 24px;
    }
}

/* 2. BASE */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(var(--width), calc(100% - 48px));
    margin-inline: auto;
}

/* 3. TYPOGRAPHY */


.eyebrow {
    display: inline-block;
    width: fit-content;
    padding: 10px 17px;
    margin-bottom: 22px;

    color: #FFFFFF;
    background: linear-gradient(135deg,
            #063B78 0%,
            #052653 55%,
            #031A38 100%);

    border: 1px solid #00A8FF;
    border-radius: 6px;

    box-shadow:
        0 0 6px rgba(0, 168, 255, 0.9),
        0 0 16px rgba(0, 168, 255, 0.7),
        0 0 30px rgba(0, 168, 255, 0.4),
        inset 0 0 16px rgba(0, 100, 220, 0.4);

    text-shadow: 0 0 8px rgba(0, 168, 255, 0.8);

    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow-header {
    color: #496f94;
    font-size: 14px;
    font-weight: 1000;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 22px;
}

.section {
    padding: 64px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 45px;
}

.section-heading h2 {
    font: 600 clamp(32px, 4vw, 48px)/1.2 'Manrope', sans-serif;
    letter-spacing: -1.5px;
    margin: 14px 0;
}

.section-heading p {
    color: var(--muted);
}

.gold {
    color: #348FC4;
}

/* 4. BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--blue);
    color: var(--navy);
    border: 1px solid var(--blue);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.btn:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    color: var(--navy);
    background: var(--blue);
}

/* 5. HERO */

.hero {
    position: relative;
    margin-top: 0;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(110deg,
            #fefefe 0%,
            #20334F 45%,
            #17243B 100%);
    color: var(--white);
}

/* Photograph fades into the navy area */

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 78%;
    height: 800px;

    background:
        linear-gradient(to bottom,
            transparent 65%,
            rgba(255, 255, 255, 0.35) 85%,
            #FFFFFF 100%),
        linear-gradient(90deg,
            rgba(23, 36, 59, 0.05) 0%,
            rgba(23, 36, 59, 0.12) 45%,
            rgba(23, 36, 59, 0.35) 75%,
            var(--navy) 100%),
        url("/images/home.png") right 45% / auto 800px no-repeat;
}

/* Subtle cinematic fade */

.hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.45) 45%,
            rgba(255, 255, 255, 0.75) 75%,
            #FFFFFF 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    margin-top: 0;
    z-index: 1;
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
    gap: 0;
    padding: 65px 0;
}

.hero-copy {
    position: absolute;
    z-index: 1;
    top: 145px;
    left: 0;
    width: 52.5%;
    box-sizing: border-box;
    padding-right: 35px;
}

.hero-copy h1 {
    font: 600 clamp(44px, 6vw, 72px)/1.1 'Manrope', sans-serif;
    letter-spacing: -3px;
    margin: 20px 0;
    color: var(--white);
}

.hero-copy h1 span {
    color: var(--blue);
}

.hero-copy p {
    color: var(--muted-light);
    max-width: 480px;
    font-size: 18px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}



/* =========================================
   BOOKING CARD STACK
========================================= */

.booking-stack {
    position: relative;
    display: grid;
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 475px;
    box-sizing: border-box;
    justify-self: end;
    margin-left: -45px;
    padding-right: 22px;
    isolation: isolate;
    padding-top: 28px;
    overflow: visible;
}

/* Booking tabs */

.booking-tabs {
    position: absolute;
    top: -15px;
    left: 16px;
    z-index: auto;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.booking-tab {
    position: relative;
    display: block;
    min-width: 145px;
    padding: 12px 22px;
    border: 0px solid rgba(255,255,255,.14);
    border-bottom: 0;
    border-radius: 13px 13px 0 0;
    background: #263B59;
    color: #D8E5F1;
    font: 700 13px 'Manrope', sans-serif;
    letter-spacing: .2px;
    cursor: pointer;
    appearance: none;
}

/* Standard Ride active */

.booking-tab[data-booking-tab="standard"] {
    z-index: 4;
}

.booking-tab[data-booking-tab="hire"] {
    z-index: 2;
    margin-left: -5px;
    transform: translateY(0px);
}

/* Driver Hire active: reverse the tabs */

.booking-stack.hire-active .booking-tab[data-booking-tab="standard"] {
    z-index: 2;
}

.booking-stack.hire-active .booking-tab[data-booking-tab="hire"] {
    z-index: 4;
}

.booking-tab[aria-pressed="true"] {
    background: #17243B;
    color: #FFFFFF;
    border-color: rgba(255,255,255,.16);
}

.booking-tab:hover {
    color: var(--blue-light);
}

/* Both cards occupy the same grid cell */

.booking-card {
    position: relative;
    grid-area: 1 / 1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-self: stretch;
    height: auto;
    min-height: 500px;
    padding: 27px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 21px;
    background: linear-gradient(
        145deg,
        #203451 0%,
        #17243B 65%,
        #111D31 100%
    );
    color: var(--white);
    transform-origin: center center;
    transition:
        transform 600ms cubic-bezier(.2,.85,.25,1),
        box-shadow 600ms ease;
}

/* Standard Ride active: front */

.booking-card-standard {
    z-index: 3;
    transform: translate3d(0, -12px, 0);
    box-shadow:
        0 30px 55px rgba(4,13,27,.36),
        0 12px 24px rgba(4,13,27,.22),
        inset 0 1px 0 rgba(255,255,255,.12);
}

/* Driver Hire inactive: rear */

.booking-card-hire {
    z-index: 1;
    transform: translate3d(14px, 14px, 0);
    box-shadow: none;
}

/* Driver Hire active: front */

.booking-stack.hire-active .booking-card-standard {
    z-index: 1;
    transform: translate3d(12px, 0, 0);
    box-shadow: none;
}

.booking-stack.hire-active .booking-card-hire {
    z-index: 3;
    transform: translate3d(0, -12px, 0);
    box-shadow:
        0 30px 55px rgba(4,13,27,.36),
        0 12px 24px rgba(4,13,27,.22),
        inset 0 1px 0 rgba(255,255,255,.12);
}

/* Content */

.booking-card-content {
    position: relative;
    z-index: 1;
}

.booking-card h2 {
    margin: 30px 0 5px;
    color: var(--white);
    font: 700 22px 'Manrope', sans-serif;
}

.booking-card-content > p {
    margin-bottom: 22px;
    color: var(--muted-light);
    font-size: 12px;
}

.connection-status {
    position: absolute;
    top: 22px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #55C98A;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55C98A;
    box-shadow: 0 0 0 0 rgba(85,201,138,.65);
    animation: connected-pulse 2s infinite;
}

@keyframes connected-pulse {
    0% { box-shadow: 0 0 0 0 rgba(85,201,138,.65); }
    70% { box-shadow: 0 0 0 7px rgba(85,201,138,0); }
    100% { box-shadow: 0 0 0 0 rgba(85,201,138,0); }
}

/* =========================================
   BOOKING FORM FIELDS
========================================= */

.booking-card .field {
    margin-bottom: 15px;
}

.booking-card .field label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.booking-card .field input,
.booking-card .field select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 20px;
    padding: 11px 11px;

    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 4px;

    outline: none;
    background: #FFFFFF;
    color: #17243B;

    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.booking-card .field input:hover,
.booking-card .field select:hover {
    border-color: var(--blue);
}

.booking-card .field input:focus,
.booking-card .field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(112, 188, 232, .22);
    background: #FFFFFF;
}


/* =========================================
   CUSTOM DATE AND TIME PICKERS
========================================= */

.booking-card .custom-picker {
    position: relative;
    width: 100%;
    min-width: 0;
}

.booking-card .custom-picker-input {
    padding-right: 46px !important;
    cursor: pointer;
    color-scheme: light;
}

.booking-card .custom-picker-input[readonly] {
    background: #FFFFFF;
    cursor: pointer;
}

.booking-card .custom-picker-trigger {
    position: absolute;
    top: 50%;
    right: 13px;
    z-index: 2;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #526982;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.booking-card .custom-picker-trigger:hover {
    background: #EDF5FA;
    color: #17243B;
}


/* Floating date and time picker overlays */

.custom-picker-panel {
    position: fixed;
    z-index: 99999;
    display: none;
    box-sizing: border-box;
    min-width: 0;
    padding: 15px;
    border: 1px solid #E1EAF3;
    border-radius: 16px;
    background: #FFFFFF;
    color: #17243B;
    box-shadow: 0 16px 38px rgba(5, 20, 40, .24);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.custom-picker-panel.is-open {
    display: block;
}


/* Calendar */

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.calendar-header strong {
    color: #17243B;
    font-size: 14px;
    font-weight: 700;
}

.calendar-nav {
    display: grid;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: #F0F5F9;
    color: #17243B;
    font-size: 23px;
    cursor: pointer;
}

.calendar-nav:hover {
    background: #DCECF7;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    text-align: center;
}

.calendar-weekday {
    padding: 7px 0;
    color: #8291A2;
    font-size: 10px;
    font-weight: 700;
}

.calendar-day {
    display: grid;
    min-width: 0;
    aspect-ratio: 1;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #263B59;
    font-size: 12px;
    cursor: pointer;
}

.calendar-day:hover {
    background: #EDF5FA;
}

.calendar-day.is-today {
    box-shadow: inset 0 0 0 1px #70BCE8;
}

.calendar-day.is-selected {
    background: #17243B;
    color: #FFFFFF;
    font-weight: 700;
}

.calendar-empty {
    aspect-ratio: 1;
}

/* Time picker */

.time-picker-panel {
    padding: 8px;
}

.time-picker-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.time-picker-column {
    min-width: 0;
}

.time-picker-heading {
    padding: 7px 0;
    color: #8291A2;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.time-picker-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 245px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #B9CAD9 #F3F6F9;
}

.time-picker-option {
    flex-shrink: 0;
    min-height: 35px;
    border: 0;
    border-radius: 8px;
    background: #FFFFFF;
    color: #263B59;
    font-size: 12px;
    cursor: pointer;
}

.time-picker-option:hover {
    background: #EDF5FA;
}

.time-picker-option.is-selected {
    background: #17243B;
    color: #FFFFFF;
    font-weight: 700;
}

.time-picker-confirm {
    padding: 6px 10px;
    border: none;
    background: none;
    color: #008fe0;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.time-picker-footer {
    display: flex;
    justify-content: flex-end;
    padding: 8px 10px;
}

/* Date and time layout */

.booking-card .field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 13px;
}

@media (max-width: 540px) {
    .booking-card .field input,
    .booking-card .field select {
        min-height: 47px;
        padding: 10px 11px;
        font-size: 13px;
    }

    .booking-card .field-row {
        gap: 10px;
    }

    .booking-card .custom-picker-panel {
        min-width: 0;
    }

    .hire-duration-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .hire-duration-summary strong {
        text-align: left;
    }
}


/* Add stop */

.booking-add-stop {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: -3px 0 15px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.booking-add-stop svg {
    width: 15px;
    height: 15px;
}

.booking-stop {
    position: relative;
}

.booking-stop-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.booking-stop-row > input[type="text"] {
    flex: 1;
    min-width: 0;
    width: auto;
}

.booking-stop-remove {
    flex: 0 0 30px;
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #fdfeff;
    cursor: pointer;
}

.booking-stop-remove svg {
    width: 14px;
    height: 14px;
}

/* Return toggle */

.return-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 5px 0 16px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.return-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-track {
    position: relative;
    width: 42px;
    height: 23px;
    flex: 0 0 42px;
    border-radius: 20px;
    background: #68788D;
    transition: background .25s ease;
}

.toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #FFFFFF;
    transition: transform .25s ease;
}

.return-toggle input:checked + .toggle-track {
    background: var(--blue);
}

.return-toggle input:checked + .toggle-track::after {
    transform: translateX(19px);
}

.return-toggle input:focus-visible + .toggle-track {
    outline: 3px solid rgba(112,188,232,.45);
}

.return-fields[hidden] {
    display: none !important;
}

.booking-submit {
    width: 100%;
    margin-top: 7px;
    gap: 8px;
}


.difference-card,
.service-card,
.fleet-card,
.experience-item {
    background: #17243B;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    box-shadow:
        0 6px 14px rgba(10,20,35,.18),
        0 18px 36px rgba(10,20,35,.24);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.difference-card:hover,
.service-card:hover,
.fleet-card:hover,
.experience-item:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 20px rgba(10,20,35,.22),
        0 25px 48px rgba(10,20,35,.28);
}

/* SECTION DIVIDERS */

.section-divider {
    display: block;
    width: min(88%, 1120px);
    height: 1px;
    padding: 0;
    border: 0;
    margin: 42px auto;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(23, 36, 59, 0.22) 15%,
            rgba(23, 36, 59, 0.65) 50%,
            rgba(23, 36, 59, 0.22) 85%,
            transparent 100%);
    position: relative;
    z-index: 1;
}


/* 7. HIGHLIGHTS */

.highlights {
    background: var(--white);
    border-block: 1px solid var(--border);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.highlight {
    padding: 24px 15px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.highlight:last-child {
    border: 0;
}

.highlight strong {
    display: block;
    color: var(--navy);
    font: 600 15px 'Manrope', sans-serif;
}

.highlight span {
    color: var(--muted);
    font-size: 11px;
}

/* 8. ABOUT */

.about {
    background: var(--white);
    color: var(--ink);
}

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 85px;
    align-items: center;
}

.about h2 {
    font: 600 clamp(34px, 4vw, 48px)/1.2 'Manrope', sans-serif;
    letter-spacing: -1.5px;
    margin-top: 15px;
}

.about-copy p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 17px;
}

.about-copy .lead {
    color: var(--ink);
    font: 500 19px/1.5 'Manrope', sans-serif;
}

/* 9. SHARED CARD DESIGN */
.booking-card,
.difference-card,
.service-card,
.fleet-card,
.experience-item {
    background: #17243B;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow:
        0 6px 14px rgba(10, 20, 35, 0.18),
        0 18px 36px rgba(10, 20, 35, 0.24);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.difference-card:hover,
.service-card:hover,
.fleet-card:hover,
.experience-item:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 20px rgba(10, 20, 35, 0.22),
        0 25px 48px rgba(10, 20, 35, 0.28);
}

.difference-card h3,
.service-card h3,
.fleet-card h3,
.experience-item h3 {
    color: var(--white);
}

.difference-card p,
.service-card p,
.fleet-card p,
.experience-item p {
    color: var(--muted-light);
}

/* 10. DIFFERENCE */

.difference {
    background: var(--white);
    color: var(--ink);
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.difference-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px;
}

.difference-card h3 {
    font: 700 17px 'Manrope', sans-serif;
    margin-bottom: 9px;
}

.difference-card p {
    font-size: 13px;
}

.difference-icon,
.service-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: rgba(112, 188, 232, .14);
    color: var(--blue);
    border-radius: 15px;
    margin-bottom: 20px;
}

.difference-icon svg,
.service-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.7;
}

/* 11. SERVICES */

.services {
    background: var(--white);
    color: var(--ink);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px 23px;
}

.service-card h3 {
    font: 700 17px 'Manrope', sans-serif;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 12px;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-top: auto;
}

/* 12. FLEET */

.fleet {
    background: var(--white);
    color: var(--ink);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.fleet-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.fleet-visual {
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.fleet-visual::after {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 30%;
    width: 40%;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    filter: blur(7px);
}

.fleet-visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 50%;
    height: 50%;
    object-fit: contain;
    object-position: center;
}

.fleet-info {
    padding: 0 20px 23px;
}

.fleet-info h3 {
    font: 700 17px 'Manrope', sans-serif;
    margin-bottom: 10px;
}

.fleet-info p {
    font-size: 11px;
    line-height: 1.8;
}

.fleet-info strong {
    color: var(--white);
    font-weight: 700;
}

/* 13. EXPERIENCE */

.experience {
    background: var(--white);
    color: var(--ink);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.experience-item {
    padding: 30px 25px;
}

.experience-item h3 {
    font: 700 18px 'Manrope', sans-serif;
    margin-bottom: 10px;
}

.experience-item p {
    font-size: 13px;
}

/* 14. CONNECTED GREEN DETAIL */

.has-connector {
    position: relative;
    overflow: hidden;
}

/* Fine vertical line at the top-right */

.card-connector {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 30px;
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(85, 185, 130, .75));
    pointer-events: none;
}

/* Green dot at the end of the line */

.card-connector::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 9px;
    height: 9px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--green);
    border: 2px solid var(--navy);
    box-shadow: 0 0 0 3px var(--green-glow);
}

/* 15. CALL TO ACTION */

.cta {
    padding: 85px 0;
    text-align: center;
    background: var(--white);
    color: var(--ink);
    border-top: 1px solid var(--border);
}

.cta h2 {
    font: 600 clamp(32px, 4vw, 46px)/1.2 'Manrope', sans-serif;
    margin: 14px 0;
}

.cta p {
    max-width: 570px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 14px;
}

/* 16. RESPONSIVE — TABLET */

@media (max-width: 1050px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fleet-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        gap: 45px;
    }
}

/* 17. RESPONSIVE — SMALL TABLET */

@media (max-width: 800px) {
    .hero::before {
        width: 100%;
        background:
            linear-gradient(90deg,
                rgba(23, 36, 59, .55),
                rgba(23, 36, 59, .78)),
            url("/images/home.png") center / cover no-repeat;
    }

    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 75px 0;
    }

    .hero-copy {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding-right: 0;
    }

    .booking-stack {
        grid-column: 1;
    }

    .booking-card {
        justify-self: start;
        margin-left: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 18. RESPONSIVE — MOBILE */

@media (max-width: 540px) {
    .container {
        width: min(var(--width), calc(100% - 32px));
    }

    .section {
        padding: 44px 0;
    }

    .hero-inner {
        padding: 55px 0;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 12vw, 58px);
        letter-spacing: -2px;
    }

    .booking-card {
        padding: 22px;
    }

    .booking-stack {
        padding-top: 45px;
        padding-right: 22px;
    }

    .booking-card-hire,
    .booking-stack.hire-active .booking-card-standard {
        transform: translate3d(22px, 0, -30px);
    }

    .highlight-grid,
    .difference-grid,
    .service-grid,
    .fleet-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .highlight {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .highlight:last-child {
        border-bottom: 0;
    }

    .difference-card {
        padding: 23px;
    }

    .fleet-visual {
        height: 150px;
    }
}

/* 19. REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* Booking validation error overlay */
.booking-error-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
}

.booking-error-popup {
    width: 100%;
    max-width: 460px;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #222;
}

.booking-error-popup h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.booking-error-popup ul {
    margin: 0 0 24px;
    padding-left: 20px;
}

.booking-error-popup li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.booking-error-popup button {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border: 0;
    border-radius: 6px;
    background: #b99a5b;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.booking-error-popup button:hover {
    background: #a4874d;
}

@media (max-width: 600px) {
    .booking-error-popup {
        max-width: 100%;
        padding: 24px 20px;
    }

    .booking-error-popup h2 {
        font-size: 19px;
    }

    .booking-error-overlay {
        padding: 16px;
    }
}