:root {
    --dark-red: #8B0000;
    --dark-red-light: #a01515;
    --dark-red-dark: #6b0000;
    --off-white: #FAF9F6;
    --off-white-dark: #F0EDE8;
    --layout-max: 1200px;
    --layout-gutter: clamp(1.25rem, 2.5vw, 2.75rem);
    --prose-max: 40rem;
}

@media (min-width: 1280px) {
    :root {
        --layout-max: 1320px;
    }
}

@media (min-width: 1536px) {
    :root {
        --layout-max: 1440px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.6;
    background: var(--off-white);
    overflow-x: clip;
    -webkit-tap-highlight-color: rgba(139, 0, 0, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Anchor targets clear sticky header */
#home,
#services,
#about,
#contact {
    scroll-margin-top: 5.5rem;
}

/* Header / Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 0.85rem 2rem;
    padding-top: max(0.85rem, env(safe-area-inset-top));
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
    background: rgba(250, 249, 246, 0.45);
    backdrop-filter: saturate(160%) blur(22px);
    -webkit-backdrop-filter: saturate(160%) blur(22px);
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 10px 36px rgba(0, 0, 0, 0.08);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(250, 249, 246, 0.72);
    border-bottom-color: rgba(139, 0, 0, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 14px 40px rgba(0, 0, 0, 0.12);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header,
    .site-header.is-scrolled {
        background: rgba(250, 249, 246, 0.94);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .site-header,
    .site-header.is-scrolled {
        background: rgba(250, 249, 246, 0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.header-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.logo-area:hover {
    transform: translateY(-1px);
}

/* Transparent PNG logo (white plate removed) */
.logo-img {
    display: block;
    height: 72px;
    width: auto;
    max-width: min(300px, 52vw);
    object-fit: contain;
    object-position: left center;
    background: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link:not(.nav-btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--dark-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:not(.nav-btn):hover::after,
.nav-link:not(.nav-btn).active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-red);
}

.nav-link.nav-btn {
    background: rgba(139, 0, 0, 0.15);
    color: var(--dark-red);
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    border: 1px solid rgba(139, 0, 0, 0.4);
}

.nav-link.nav-btn:hover {
    background: rgba(139, 0, 0, 0.25);
}

.nav-link.nav-btn.active {
    background: rgba(139, 0, 0, 0.28);
    border-color: rgba(139, 0, 0, 0.55);
}

/* Hamburger: hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(139, 0, 0, 0.1);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(139, 0, 0, 0.18);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-red);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer title + close, hidden on desktop */
.nav-drawer-header {
    display: none;
}

.nav-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: rgba(139, 0, 0, 0.1);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.nav-close:hover,
.nav-close:focus-visible {
    background: rgba(139, 0, 0, 0.2);
    outline: none;
}

.nav-close:focus-visible {
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.35);
}

.nav-close-icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: block;
}

.nav-close-icon::before,
.nav-close-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    background: var(--dark-red);
    border-radius: 1px;
}

.nav-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-drawer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: 0.02em;
}

.nav-backdrop {
    display: none;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .site-header.nav-open .header-inner {
        position: relative;
        z-index: 102;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .site-header.nav-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-shrink: 0;
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(139, 0, 0, 0.15);
    }

    .nav-close {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(18rem, 88vw);
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        margin: 0;
        padding: max(0.75rem, env(safe-area-inset-top)) 1rem 2rem 1.25rem;
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        background: var(--off-white);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
        z-index: 101;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-header.nav-open .main-nav {
        transform: translateX(0);
    }

    .main-nav .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0.65rem 0.75rem;
        font-size: 1rem;
        border-radius: 10px;
        border-bottom: none;
    }

    .main-nav .nav-link:not(.nav-btn)::after {
        display: none;
    }

    .main-nav .nav-link:not(.nav-btn):hover,
    .main-nav .nav-link:not(.nav-btn).active {
        background: rgba(139, 0, 0, 0.08);
    }

    .main-nav .nav-link.nav-btn {
        margin-top: 0.75rem;
        justify-content: center;
        text-align: center;
        min-height: 48px;
    }

    #home,
    #services,
    #about,
    #contact {
        scroll-margin-top: 4.5rem;
    }
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background: var(--dark-red);
    isolation: isolate;
}

.hero-slides {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.55s ease;
    background-color: var(--dark-red);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slide--welcome {
    background-image:
        linear-gradient(135deg, rgba(139, 0, 0, 0.52) 0%, rgba(139, 0, 0, 0.38) 100%),
        url('images/hero-slide-ports.jpg');
}

.hero-slide--customs {
    background-image:
        linear-gradient(135deg, rgba(139, 0, 0, 0.48) 0%, rgba(139, 0, 0, 0.36) 100%),
        url('images/customs-ship.png');
    background-position: center, center 60%;
}

.hero-slide--duty {
    background-image:
        linear-gradient(135deg, rgba(139, 0, 0, 0.48) 0%, rgba(139, 0, 0, 0.36) 100%),
        url('images/documentation-review.png');
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* Desktop only: hero ≈ 80% of viewport height (tablets & phones use base / mobile rules) */
@media (min-width: 1024px) {
    .hero-slideshow {
        min-height: 80vh;
        min-height: 80dvh;
    }

    .hero-slides {
        min-height: 80vh;
        min-height: 80dvh;
    }
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-slide h1 {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.5rem;
    color: rgba(250, 249, 246, 0.95);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(250, 249, 246, 0.9);
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: 1.75rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.65rem 1.35rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-cta--primary {
    background: var(--off-white);
    color: var(--dark-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta--primary:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.hero-cta--ghost {
    background: rgba(0, 0, 0, 0.15);
    color: var(--off-white);
    border-color: rgba(250, 249, 246, 0.85);
}

.hero-cta--ghost:hover {
    background: rgba(250, 249, 246, 0.15);
    border-color: var(--off-white);
}

.hero-cta:focus-visible {
    outline: 3px solid rgba(250, 249, 246, 0.95);
    outline-offset: 3px;
}

.hero-cta--primary:focus-visible {
    outline-color: var(--off-white);
}

/* Hero text keyframe animations removed: they triggered every slide
   change (every 5s) and overlapped with scroll, causing paint spikes. */

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(250, 249, 246, 0.2);
    border: 2px solid rgba(250, 249, 246, 0.6);
    color: var(--off-white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.hero-arrow:hover {
    background: rgba(250, 249, 246, 0.35);
    border-color: var(--off-white);
}

.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

/* Hero Dot Indicators */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(250, 249, 246, 0.5);
    border: 2px solid rgba(250, 249, 246, 0.8);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(250, 249, 246, 0.7);
}

.hero-dot.active {
    background: var(--off-white);
    border-color: var(--off-white);
    transform: scale(1.2);
}

/* Services Section */
.services {
    padding: 5rem var(--layout-gutter);
    background: linear-gradient(180deg, var(--off-white) 0%, var(--off-white-dark) 100%);
}

.services-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 2.75rem;
    max-width: min(40rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.services-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.services-lead {
    font-size: 1.05rem;
    color: #5c5c5c;
    line-height: 1.5;
}

.services-subheading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: -0.02em;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.services-offerings {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: min(36rem, 100%);
    text-align: left;
}

@media (min-width: 768px) {
    .services-offerings {
        max-width: min(36rem, 100%);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2.5rem;
        row-gap: 0.5rem;
    }

    .services-offerings li + li {
        margin-top: 0;
    }
}

.services-offerings li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 1.05rem;
    color: #5c5c5c;
    line-height: 1.5;
}

.services-offerings li + li {
    margin-top: 0.5rem;
}

.services-offerings li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark-red);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

/* Service Card */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(139, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.service-card-media {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    aspect-ratio: 3 / 2;
    background: #f0eeea;
}

.service-card-media--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-card-media--docs img {
    object-position: center 38%;
}

.service-card-media--ship img {
    object-position: center 55%;
}

/* Service spotlight: content + images below service cards */
.service-spotlight {
    padding: 4rem var(--layout-gutter) 5rem;
    background: #fff;
    border-top: 1px solid rgba(139, 0, 0, 0.06);
}

.service-spotlight-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.spotlight-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.spotlight-block .spotlight-copy {
    grid-column: 1;
    grid-row: 1;
}

.spotlight-block .spotlight-media {
    grid-column: 2;
    grid-row: 1;
}

.spotlight-block--reverse .spotlight-copy {
    grid-column: 2;
}

.spotlight-block--reverse .spotlight-media {
    grid-column: 1;
}

.spotlight-copy {
    min-width: 0;
}

.spotlight-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-red);
    margin-bottom: 0.65rem;
}

.spotlight-heading {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.spotlight-lead {
    font-size: 1.05rem;
    color: #3a3a3a;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.spotlight-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.spotlight-text:last-of-type {
    margin-bottom: 0;
}

.spotlight-list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.55;
}

.spotlight-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.5rem;
}

.spotlight-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark-red);
    opacity: 0.85;
}

.spotlight-media {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.08);
    background: #f3f1ed;
}

.spotlight-media img {
    width: 100%;
    display: block;
}

.spotlight-media--illustration {
    background: linear-gradient(180deg, #f7f5f2 0%, #ece8e2 100%);
}

.spotlight-media--illustration img {
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 1.25rem 1.5rem;
    box-sizing: border-box;
}

.spotlight-media--photo {
    background: #eceae6;
    min-height: 0;
}

.spotlight-media--photo img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    display: block;
}

.spotlight-media:not(.spotlight-media--brand):not(.spotlight-media--illustration) img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.spotlight-media--brand {
    background: #fafafa;
}

.spotlight-media--brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 1rem 1.1rem;
    box-sizing: border-box;
    display: block;
}

.spotlight-between {
    width: 100%;
    margin: 0;
}

.spotlight-about-hero {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.08);
    background: #eceae6;
}

.spotlight-about-hero img {
    width: 100%;
    display: block;
    aspect-ratio: 1024 / 534;
    object-fit: cover;
    object-position: 58% center;
}

.spotlight-lead--tagline {
    font-weight: 600;
    color: var(--dark-red);
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

@media (min-width: 1280px) {
    .services-header {
        display: grid;
        grid-template-columns: minmax(0, var(--prose-max)) minmax(14rem, 1fr);
        column-gap: 3.5rem;
        row-gap: 0.85rem;
        text-align: left;
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .services-heading {
        grid-column: 1;
        grid-row: 1;
    }

    .services-lead {
        grid-column: 1;
        grid-row: 2;
    }

    .services-subheading {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
        align-self: end;
    }

    .services-offerings {
        grid-column: 2;
        grid-row: 2 / span 3;
        max-width: none;
        margin: 0;
        align-self: start;
    }

    .spotlight-block {
        grid-template-columns: minmax(0, 1fr) minmax(0, var(--prose-max));
        gap: 3rem;
    }

    .spotlight-block--reverse {
        grid-template-columns: minmax(0, 1fr) minmax(0, var(--prose-max));
    }

    .spotlight-block--reverse .spotlight-copy {
        grid-column: 2;
    }

    .spotlight-block--reverse .spotlight-media {
        grid-column: 1;
    }

    .spotlight-copy {
        max-width: var(--prose-max);
    }

    .page-customs-flow .flow-intro {
        display: grid;
        grid-template-columns: minmax(0, var(--prose-max)) minmax(0, 1fr);
        column-gap: 3rem;
        row-gap: 0.75rem;
        text-align: left;
    }

    .page-customs-flow .customs-clearance-intro .flow-intro {
        text-align: left;
    }

    .page-customs-flow .flow-intro .service-detail-icon {
        grid-column: 1;
        grid-row: 1;
        margin-left: 0;
        margin-right: auto;
    }

    .page-customs-flow .flow-intro-kicker {
        grid-column: 1;
        grid-row: 2;
    }

    .page-customs-flow .flow-intro-title {
        grid-column: 1;
        grid-row: 3;
    }

    .page-customs-flow .flow-intro-lead {
        grid-column: 1;
        grid-row: 4;
    }

    .page-customs-flow .flow-intro-include {
        grid-column: 2;
        grid-row: 1 / span 4;
        align-self: center;
        margin-top: 0;
    }

    .page-customs-flow .flow-intro-tagline {
        grid-column: 1;
        grid-row: 5;
        text-align: left;
    }

    .page-customs-flow .customs-flow {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        padding-left: 0;
    }

    .page-customs-flow .customs-flow::before {
        display: none;
    }

    .page-customs-flow .flow-block {
        padding-left: 0;
    }

    .page-customs-flow .flow-block::before {
        display: none;
    }

    .page-customs-flow .customs-clearance-intro .service-detail-title,
    .page-customs-flow .customs-clearance-intro .flow-intro-lead,
    .page-customs-flow .customs-clearance-intro .flow-intro-services {
        max-width: none;
    }

    .spotlight-media--illustration img {
        padding: 0.65rem 0.85rem;
    }

    .flow-block-inner {
        padding: 1.5rem 1.85rem 1.65rem;
    }
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(139, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(139, 0, 0, 0.18);
}

.service-card-top {
    padding: 1.75rem 1.75rem 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.service-card-footer {
    padding: 1.25rem 1.75rem 1.75rem;
    margin-top: auto;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon--customs {
    background: linear-gradient(145deg, var(--dark-red) 0%, var(--dark-red-dark) 100%);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.28);
}

.service-icon--duty {
    background: linear-gradient(145deg, #3d3d3d 0%, #1f1f1f 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.service-icon--docs {
    background: linear-gradient(145deg, #991b1b 0%, #7f1d1d 100%);
    box-shadow: 0 6px 16px rgba(127, 29, 29, 0.3);
}

.service-icon svg {
    width: 26px;
    height: 26px;
    color: var(--off-white);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-red);
    text-transform: none;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.service-description {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.service-description--grow {
    flex: 1;
}

.service-description--tight {
    margin-bottom: 0;
    margin-top: 0.25rem;
}

.service-list-intro {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-red);
    margin-bottom: 0.65rem;
}

.service-list {
    font-size: 0.92rem;
    color: #4a4a4a;
    line-height: 1.55;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.5rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark-red);
    opacity: 0.85;
}

.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--off-white);
    text-decoration: none;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(180deg, var(--dark-red-light) 0%, var(--dark-red) 100%);
    box-shadow: 0 4px 14px rgba(139, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.service-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
    color: var(--off-white);
}

.service-btn .arrow {
    font-size: 0.75rem;
}

/* Service detail page (Read more) */
.service-detail-page {
    padding: 1rem clamp(1.25rem, 4vw, 2rem) 3rem;
}

.service-detail-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(139, 0, 0, 0.08);
    overflow: hidden;
}

[id^='flow-'] {
    scroll-margin-top: 5.75rem;
}

/* Intro panel */
.flow-intro {
    position: relative;
    padding: clamp(1.35rem, 3.5vw, 1.75rem);
    margin-bottom: 1.85rem;
    background: linear-gradient(165deg, #ffffff 0%, var(--off-white) 45%, rgba(240, 237, 232, 0.7) 100%);
    border: 1px solid rgba(139, 0, 0, 0.11);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 28px rgba(0, 0, 0, 0.045);
    overflow: hidden;
}

.page-customs-flow .flow-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-red-dark), var(--dark-red-light));
    opacity: 0.95;
    z-index: 0;
}

.page-customs-flow .flow-intro > * {
    position: relative;
    z-index: 1;
}

.page-customs-flow .flow-intro .service-detail-icon {
    margin-bottom: 1.1rem;
}

.flow-intro-include {
    margin-top: 0.15rem;
}

.flow-intro-services-heading.service-list-intro {
    margin-bottom: 0.85rem;
}

.flow-intro-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark-red);
    margin-bottom: 0.35rem;
}

.flow-intro-title {
    margin-bottom: 0.6rem;
}

.flow-intro-lead {
    margin-bottom: 1.35rem !important;
}

.service-description.flow-intro-tagline {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    color: #323232;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}

.flow-intro-services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 560px) {
    .flow-intro-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

.flow-intro-services > li {
    margin: 0;
    padding: 0;
}

.flow-intro-service-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.05rem;
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(139, 0, 0, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.flow-intro-service-link:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 0, 0, 0.28);
    box-shadow:
        0 8px 24px rgba(139, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04);
    background: #fff;
}

.flow-intro-service-link:focus-visible {
    outline: 2px solid var(--dark-red);
    outline-offset: 3px;
}

.flow-intro-service-cue {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--dark-red);
    opacity: 0.85;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.12);
}

.flow-intro-service-label {
    flex: 1;
    min-width: 0;
    font-size: 0.91rem;
    font-weight: 600;
    line-height: 1.38;
    color: #323232;
    letter-spacing: -0.015em;
}

@media (prefers-reduced-motion: reduce) {
    .flow-intro-service-link {
        transition: none;
    }

    .flow-intro-service-link:hover {
        transform: none;
    }
}

/* Sticky horizontal section links */
.flow-rail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem 0.25rem;
    row-gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    margin: 0 0 2rem;
    background: rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(139, 0, 0, 0.09);
    border-radius: 12px;
}

@media (max-width: 520px) {
    .flow-rail {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        gap: 0.2rem;
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .flow-rail-link {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .flow-rail-sep {
        flex-shrink: 0;
    }
}

.flow-rail-link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-red-dark);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.flow-rail-link:hover,
.flow-rail-link:focus-visible {
    background: rgba(139, 0, 0, 0.1);
    color: var(--dark-red);
}

.flow-rail-link:focus-visible {
    outline: 2px solid var(--dark-red);
    outline-offset: 2px;
}

.flow-rail-sep {
    color: rgba(139, 0, 0, 0.35);
    font-size: 0.7rem;
    user-select: none;
    padding: 0 0.05rem;
}

/* Vertical flow: sequential sections (+ left timeline rail like reference) */
.customs-flow {
    position: relative;
    padding: 0 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    contain: paint;
}

.customs-flow::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0.4rem;
    bottom: 1.5rem;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(
        180deg,
        var(--dark-red) 0%,
        rgba(139, 0, 0, 0.45) 55%,
        rgba(139, 0, 0, 0.12) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.flow-block {
    position: relative;
    padding-left: 1.35rem;
    contain: layout style;
}

.flow-block::before {
    content: '';
    position: absolute;
    left: -0.2rem;
    top: 1.72rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-sizing: border-box;
    background: var(--dark-red);
    border: 3px solid var(--off-white);
    box-shadow:
        0 0 0 2px rgba(139, 0, 0, 0.2),
        0 0 0 6px rgba(240, 237, 232, 0.85);
    z-index: 2;
    pointer-events: none;
}

.flow-block-inner {
    background: linear-gradient(180deg, var(--off-white) 0%, rgba(240, 237, 232, 0.4) 100%);
    border: 1px solid rgba(139, 0, 0, 0.1);
    border-radius: 14px;
    padding: 1.35rem 1.25rem 1.45rem;
}

.flow-block-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(139, 0, 0, 0.12);
}

.flow-block-body .detail-prose {
    margin-bottom: 0.85rem;
}

.flow-block-body .detail-prose:last-child {
    margin-bottom: 0;
}

.flow-deliver-kicker {
    margin-top: 0.35rem !important;
}

.flow-checklist li::before {
    top: 0.48em;
}

.flow-outro {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(139, 0, 0, 0.1);
}

.detail-back-link {
    display: inline-block;
    margin: 1.25rem 1.75rem 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-red);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.detail-back-link:hover {
    color: var(--dark-red-dark);
    transform: translateX(-2px);
}

.service-detail-media {
    overflow: hidden;
    margin-top: 1rem;
    aspect-ratio: 16 / 10;
    background: #e8e8e8;
}

/* Customs subpage: full-bleed hero under header + divider (mirrors homepage flow) */
.page-customs-flow .customs-hero-shell {
    width: 100%;
}

.page-customs-flow .service-detail-hero {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.page-customs-flow .detail-back-bar {
    background: #fff;
    padding: 1rem clamp(1.25rem, 4vw, 2rem) 0.7rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
}

.page-customs-flow .detail-back-bar .detail-back-link {
    margin: 0;
}

.page-customs-flow .service-detail-divider {
    width: 100%;
    max-width: none;
    margin: 0;
    height: 4px;
    flex-shrink: 0;
    border: none;
    padding: 0;
    background: linear-gradient(90deg, var(--dark-red-dark), var(--dark-red-light));
    opacity: 0.95;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.page-customs-flow .service-detail-hero .service-detail-media {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    position: relative;
    left: auto;
    aspect-ratio: unset;
    min-height: 380px;
}

@media (min-width: 1024px) {
    .page-customs-flow .service-detail-hero .service-detail-media {
        min-height: 55vh;
        min-height: 55dvh;
    }
}

@media (max-width: 600px) {
    .page-customs-flow .detail-back-bar {
        padding-left: max(1.35rem, env(safe-area-inset-left));
        padding-right: max(1.35rem, env(safe-area-inset-right));
        padding-bottom: 0.55rem;
    }

    .page-customs-flow .service-detail-hero .service-detail-media {
        min-height: 320px;
    }
}

/* Homepage-style stacking: `.services` intro band + `.service-spotlight` detail band */
.page-customs-flow .customs-detail-page {
    display: block;
}

.page-customs-flow .services.customs-clearance-intro {
    padding-bottom: 4rem;
}

.page-customs-flow .services.customs-clearance-intro .flow-intro {
    margin-bottom: 0;
}

.page-customs-flow .customs-clearance-intro .flow-intro {
    text-align: center;
}

.page-customs-flow .customs-clearance-intro .service-detail-title {
    max-width: min(28rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.page-customs-flow .customs-clearance-intro .flow-intro-lead {
    max-width: min(56rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.page-customs-flow .customs-clearance-intro .service-detail-icon {
    margin-left: auto;
    margin-right: auto;
}

.page-customs-flow .customs-clearance-intro .flow-intro-include {
    margin-top: 1.25rem;
}

.page-customs-flow .customs-clearance-intro .flow-intro-services-heading {
    text-align: center;
}

.page-customs-flow .customs-clearance-intro .flow-intro-services {
    max-width: min(52rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.page-customs-flow .customs-clearance-intro .flow-rail {
    margin-top: 1.85rem;
    margin-bottom: 0;
    justify-content: center;
}

.page-customs-flow .service-spotlight.customs-clearance-flow .service-spotlight-inner {
    gap: 0;
}

.page-customs-flow .service-spotlight.customs-clearance-flow {
    padding-bottom: 4.5rem;
}

.page-customs-flow .flow-outro {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 0, 0, 0.1);
    text-align: center;
}

.page-customs-flow .customs-detail-footer {
    margin-top: 0;
}

.page-customs-flow .service-detail-footer {
    display: flex;
    justify-content: center;
}

.service-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-customs-flow .service-detail-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.detail-figure {
    margin: 0 0 1.75rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(139, 0, 0, 0.08);
    background: #f8f8f8;
}

.detail-figure img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
}

.detail-figcaption {
    font-size: 0.82rem;
    color: #5a5a5a;
    padding: 0.65rem 0.9rem 0.85rem;
    background: #fff;
    border-top: 1px solid rgba(139, 0, 0, 0.06);
    font-weight: 500;
}

.detail-section + .detail-figure {
    margin-top: -0.35rem;
}

.service-detail-body {
    padding: 1.75rem 1.75rem 2rem;
}

.service-detail-icon {
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: clamp(1.35rem, 3.5vw, 1.5rem);
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.service-detail-lead {
    font-size: 1rem;
    color: #3a3a3a;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.detail-section {
    margin-bottom: 1.75rem;
}

.detail-section--first {
    margin-top: 0.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(139, 0, 0, 0.1);
}

.detail-section--last {
    margin-bottom: 1rem;
}

.detail-section-heading {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: -0.01em;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.detail-prose {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.detail-prose:last-child {
    margin-bottom: 0;
}

.detail-prose--tight {
    margin-bottom: 0.5rem;
}

.detail-list-kicker {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.detail-list {
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
    font-size: 0.93rem;
    color: #4a4a4a;
    line-height: 1.55;
}

.detail-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.45rem;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark-red);
    opacity: 0.85;
}

.service-detail-closing {
    margin-top: 0.75rem;
    margin-bottom: 1.75rem !important;
}

.service-detail-footer {
    margin-top: 0;
}

@media (max-width: 600px) {
    .page-customs-flow .services.customs-clearance-intro .flow-intro-services {
        grid-template-columns: 1fr;
        max-width: 22rem;
    }
}

/* Request Quote & Shipping Lines Section */
.quote-shipping {
    background: var(--off-white-dark);
    padding: 4rem var(--layout-gutter);
}

.quote-shipping-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
    text-align: center;
}

.request-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark-red);
    color: var(--off-white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    transition: background 0.2s ease;
}

.request-quote-btn:hover {
    background: var(--dark-red-dark);
}

.request-quote-btn .quote-icon {
    width: 20px;
    height: 20px;
}

.shipping-lines {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(139, 0, 0, 0.2);
    border-bottom: 1px solid rgba(139, 0, 0, 0.2);
}

.shipping-line-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.shipping-line-logo span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-red);
    letter-spacing: 0.05em;
}

/* Maersk: light blue square with white star */
.shipping-line-logo.maersk .logo-icon {
    width: 48px;
    height: 48px;
    background: #4a9fd4;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipping-line-logo.maersk .logo-icon svg {
    width: 28px;
    height: 28px;
}

/* Hapag-Lloyd: partner logo image */
.shipping-line-logo.hapag-lloyd img {
    display: block;
    width: auto;
    max-width: min(160px, 100%);
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

/* MSC: bold black */
.shipping-line-logo.msc .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* CMA CGM: dark blue with red accents */
.shipping-line-logo.cmacgm .logo-text {
    font-size: 1rem;
    color: #003366;
}

.shipping-line-logo.cmacgm {
    position: relative;
}

.shipping-line-logo.cmacgm::before,
.shipping-line-logo.cmacgm::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #c41e3a;
    border-radius: 2px;
}

.shipping-line-logo.cmacgm::before {
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
}

.shipping-line-logo.cmacgm::after {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(5deg);
}

/* Map Section */
.map-section {
    padding: 3rem var(--layout-gutter);
    background: var(--off-white);
}

.map-heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-red);
}

.map-container {
    max-width: var(--layout-max);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container iframe {
    display: block;
    width: 100%;
    border: 0;
    vertical-align: top;
}

.map-container--clickable .map-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    background: transparent;
}

.map-container--clickable .map-overlay-link:focus-visible {
    outline: 3px solid var(--dark-red);
    outline-offset: -3px;
    z-index: 4;
}

.map-hint-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    margin: 0;
    padding: 0.5rem 0.75rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--dark-red);
    background: linear-gradient(to top, rgba(250, 249, 246, 0.97), rgba(250, 249, 246, 0));
    pointer-events: none;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: var(--dark-red);
}

.footer-main {
    padding: 3rem var(--layout-gutter);
}

.footer-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Full-color logo on dark footer: soft glass plate so dark logo text stays readable */
.footer-logo-frame {
    display: inline-block;
    line-height: 0;
    padding: 0.35rem 0.5rem;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(250, 249, 246, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.footer-logo-img {
    display: block;
    height: 92px;
    width: auto;
    max-width: min(300px, 100%);
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-nav a {
    color: rgba(250, 249, 246, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--off-white);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--off-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(250, 249, 246, 0.9);
    font-size: 0.9rem;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.social-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(250, 249, 246, 0.35);
    background: rgba(250, 249, 246, 0.08);
    color: rgba(250, 249, 246, 0.95);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
    color: var(--off-white);
    background: rgba(250, 249, 246, 0.16);
    border-color: rgba(250, 249, 246, 0.7);
    transform: translateY(-1px);
}

.social-btn:focus-visible {
    outline: 2px solid var(--off-white);
    outline-offset: 3px;
}

.social-icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* Request a Quote Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
}

.modal-overlay.modal-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-red);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.modal-overlay.modal-open .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--off-white);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
}

.modal-close:hover {
    opacity: 0.8;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--off-white);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-honeypot-input {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.form-status {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(250, 249, 246, 0.95);
}

.form-status--error {
    color: #fecaca;
}

.submit-btn:disabled,
.duty-submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group.form-full {
    grid-column: 1 / -1;
}

.quote-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--off-white);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    background: var(--off-white);
    font-size: 0.95rem;
    font-family: inherit;
    color: #1f2937;
    width: 100%;
    box-sizing: border-box;
}

.quote-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.quote-form select:invalid {
    color: #9ca3af;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #9ca3af;
}

.quote-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #374151;
    color: var(--off-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s ease;
}

.submit-btn:hover {
    background: #1f2937;
}

/* Duty estimator callout (customs clearance flow page) */
.duty-callout {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(139, 0, 0, 0.07);
    border: 1px solid rgba(139, 0, 0, 0.14);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.duty-callout-text {
    flex: 1;
    min-width: min(100%, 220px);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.58;
    color: #3a3a3a;
}

button.service-btn.duty-callout-btn {
    flex-shrink: 0;
    cursor: pointer;
    font-family: inherit;
    border: none;
    width: auto;
    white-space: normal;
    text-align: center;
    max-width: 100%;
}

@media (max-width: 560px) {
    .duty-callout .duty-callout-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Vehicle Duty Estimation Modal */
.duty-modal-overlay {
    z-index: 1001;
}

.duty-modal-content {
    position: relative;
    background: #fff;
    max-width: 440px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.duty-modal-content::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-red) 0%, var(--dark-red-light) 100%);
}

.duty-modal-body {
    padding: 1.75rem 1.75rem 1.5rem;
}

.duty-modal-close {
    z-index: 2;
    color: #64748b;
    top: 0.85rem;
    right: 0.85rem;
    line-height: 1;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.duty-modal-close:hover {
    opacity: 1;
    background: #f1f5f9;
    color: #1e293b;
}

.duty-modal-header {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e8e4df;
}

.duty-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.duty-modal-intro {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

.duty-form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.duty-form label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.duty-required {
    text-decoration: none;
    color: var(--dark-red);
    font-weight: 700;
}

.duty-optional {
    font-weight: 500;
    color: #64748b;
    font-size: 0.875em;
    text-transform: none;
    letter-spacing: 0;
}

.duty-form input {
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fafafa;
    font-size: 1rem;
    font-family: inherit;
    color: #0f172a;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.duty-form input::placeholder {
    color: #94a3b8;
}

.duty-form input:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.duty-form input:focus {
    outline: none;
    border-color: var(--dark-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.12);
}

.duty-submit-btn {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    background: linear-gradient(180deg, var(--dark-red-light) 0%, var(--dark-red) 100%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.duty-submit-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 14px rgba(139, 0, 0, 0.35);
}

.duty-submit-btn:focus-visible {
    outline: 3px solid rgba(139, 0, 0, 0.45);
    outline-offset: 2px;
}

.duty-success {
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
}

.duty-success-inner {
    margin: 0 0 1.5rem;
    padding: 1.25rem 1.25rem 1.35rem;
    text-align: left;
    background: #f8f6f3;
    border: 1px solid #ebe6df;
    border-radius: 8px;
}

.duty-success-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.duty-success-text {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.55;
}

.duty-success-close {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.footer-bottom {
    background: var(--off-white);
    padding: 1rem 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #4b5563;
}

/* Responsive - 2x2 grid on tablets, stacked on mobile */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .spotlight-block {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .spotlight-block .spotlight-copy,
    .spotlight-block .spotlight-media,
    .spotlight-block--reverse .spotlight-copy,
    .spotlight-block--reverse .spotlight-media {
        grid-column: 1;
        grid-row: auto;
    }

    .spotlight-heading {
        font-size: 1.45rem;
    }

    /* Stacked layout: image above text for spotlight rows */
    .spotlight-block .spotlight-media {
        order: -1;
    }

    .spotlight-block--reverse .spotlight-copy {
        order: 0;
    }

    .spotlight-media--illustration img {
        padding: 1rem 1.15rem;
        max-height: none;
    }

    .spotlight-about-hero img {
        object-position: 50% center;
    }

    /* Brand art: fill card width (avoids tiny centered square + empty gutters) */
    .spotlight-media--brand {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .spotlight-media--brand img {
        width: 100%;
        height: auto;
        max-height: min(320px, 72vw);
        padding: 0.5rem 0.65rem;
        object-fit: contain;
        object-position: center;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .hero-slideshow,
    .hero-slides {
        min-height: clamp(420px, 72dvh, 560px);
    }

    .hero-slide {
        padding: 3rem 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .hero-slide .hero-content {
        padding: 0 0.25rem;
    }

    .hero-slide h1 {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        margin-top: 1.5rem;
    }

    .hero-cta {
        width: 100%;
        max-width: 18rem;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.5rem;
        touch-action: manipulation;
    }

    .hero-prev { left: max(0.5rem, env(safe-area-inset-left)); }
    .hero-next { right: max(0.5rem, env(safe-area-inset-right)); }

    .hero-dots {
        bottom: max(1rem, env(safe-area-inset-bottom));
        gap: 0.25rem;
    }

    /* 44×44 tap target; visible dot smaller than desktop */
    .hero-dot {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-dot::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(250, 249, 246, 0.5);
        box-shadow: 0 0 0 1px rgba(250, 249, 246, 0.85);
        flex-shrink: 0;
        transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    }

    /* Base .hero-dot.active paints the full button; must stay transparent here */
    .hero-dot:hover {
        background: transparent;
        border: none;
    }

    .hero-dot:hover::before {
        background: rgba(250, 249, 246, 0.7);
    }

    .hero-dot.active {
        transform: none;
        background: transparent;
        border: none;
    }

    .hero-dot.active::before {
        background: var(--off-white);
        box-shadow: 0 0 0 1px var(--off-white);
        transform: none;
    }

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

    .services {
        padding: 3rem 1.5rem;
    }

    .services-heading {
        font-size: 1.85rem;
    }

    .services-lead {
        font-size: 0.95rem;
    }

    .quote-shipping {
        padding: 2.5rem 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .request-quote-btn {
        display: flex;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
        padding: 1rem 1.25rem;
        margin-bottom: 1.75rem;
        font-size: 0.85rem;
    }

    .shipping-lines {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem 1rem;
        padding: 1.5rem 0;
    }

    .shipping-line-logo {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 0;
    }

    .logo-img {
        height: 56px;
        max-width: min(240px, 62vw);
    }

    .map-section {
        padding: 2rem 1.25rem 2.5rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .map-heading {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
        padding: 0 0.25rem;
    }

    .map-container iframe {
        width: 100%;
        height: clamp(240px, 58vw, 340px);
    }

    .footer-main {
        padding: 2.5rem 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo-area {
        justify-content: center;
    }

    .footer-logo-frame {
        padding: 0.28rem 0.4rem;
    }

    .footer-logo-img {
        height: 72px;
        max-width: min(260px, 85vw);
    }

    .footer-nav {
        align-items: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    .social-buttons {
        align-items: center;
    }

    .modal-overlay {
        padding: 1rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        align-items: center;
    }

    .modal-content {
        max-height: calc(100vh - 2rem);
        max-height: calc(100dvh - 2rem);
    }

    .quote-form input,
    .quote-form select,
    .quote-form textarea,
    .duty-form input {
        font-size: 16px;
    }

    .duty-modal-body {
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .duty-success {
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .service-spotlight {
        padding: 2.5rem 1.25rem 3rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .service-spotlight-inner {
        gap: 2.5rem;
    }

    .spotlight-block {
        gap: 1.25rem;
    }

    .spotlight-kicker {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .spotlight-heading {
        font-size: 1.28rem;
        line-height: 1.28;
        margin-bottom: 0.85rem;
    }

    .spotlight-lead {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.85rem;
    }

    .spotlight-text {
        font-size: 0.92rem;
        line-height: 1.62;
        margin-bottom: 0.85rem;
    }

    .spotlight-list {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-top: 1rem;
    }

    .spotlight-list li {
        padding-left: 1.15rem;
        margin-bottom: 0.45rem;
    }

    .spotlight-media {
        border-radius: 12px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    }

    .spotlight-media--illustration img {
        padding: 0.85rem 1rem;
        max-height: none;
    }

    .spotlight-about-hero img {
        max-height: none;
        object-position: 45% center;
    }

    .spotlight-media--brand img {
        max-height: min(300px, 68vw);
        padding: 0.45rem 0.5rem;
    }

    .footer-bottom {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header.nav-open .main-nav,
    .nav-backdrop {
        transition: none;
    }
}

/* Animations & transitions */
.map-container {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}

.map-section.is-visible .map-container {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Scroll-triggered fade-in disabled: it was running on every section
   below the hero and overlapping with the moment the user scrolls
   past the hero, causing visible paint spikes. Sections now render
   in their final state immediately. */
.animate-on-scroll,
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-header {
        transition: none;
    }

    .nav-link:not(.nav-btn)::after {
        transition: none;
    }

    .modal-content {
        transform: none;
        opacity: 1;
        transition: none;
    }

    .modal-overlay.modal-open .modal-content {
        transform: none;
    }

    .hero-slide.active .hero-content h1,
    .hero-slide.active .hero-content .hero-tagline,
    .hero-slide.active .hero-content .hero-subtitle,
    .hero-slide.active .hero-content .hero-actions {
        animation: none !important;
    }

    .map-container {
        transition: none;
    }

    .logo-area {
        transition: none;
    }

    .logo-area:hover {
        transform: none;
    }
}
