/* ==========================================================================
   Vliet Shipping — Public site stylesheet (v4.1 — reference-image match)
   Brand: deep navy #062B63 / gold #C9A961 / off-white
   Type:  IBM Plex Serif (display) + Inter (body)

   The actual color values can be overridden at runtime by the
   <style> block injected from partials/header.php (which reads
   from company_settings — primary_color / accent_color). That is
   why we keep these as CSS custom properties.
   ========================================================================== */

:root {
    /* --- Brand --- */
    --navy:        #062B63;   /* Deep Navy — header/footer/hero text */
    --navy-deep:   #041F4A;   /* Even deeper navy for gradients */
    --navy-dark:   #052251;
    --gold:        #C9A961;   /* Refined gold — borders, numbers, route lines */
    --gold-soft:   #B8975A;   /* Slightly darker gold for hover states */
    --gold-light:  #E8D9B0;   /* Pale gold for subtle backgrounds */

    /* --- Backwards-compat aliases (so old code keeps working) --- */
    --electric:    var(--gold);
    --electric-dk: var(--gold-soft);
    --sky:         var(--gold-light);

    /* --- Neutrals --- */
    --text:        #1F2937;   /* Body text */
    --steel:       #6B7280;   /* Muted text / labels */
    --silver:      #E5E7EB;   /* Card backgrounds, soft sections */
    --border:      #D1D5DB;   /* Borders / lines */
    --grey-900:    #1F2937;
    --grey-700:    #4B5563;
    --grey-500:    #6B7280;
    --grey-300:    #D1D5DB;
    --grey-200:    #E5E7EB;
    --grey-100:    #F3F4F6;
    --bg:          #F9FAFB;
    --white:       #FFFFFF;
    --black:       #0a0a0a;

    /* --- Shadows tuned to navy --- */
    --shadow-sm:   0 1px 3px rgba(6,43,99,.06);
    --shadow-md:   0 6px 20px rgba(6,43,99,.10);
    --shadow-lg:   0 16px 48px rgba(6,43,99,.15);

    /* --- Geometry --- */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --container:   1200px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--grey-900);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-soft); }

h1,h2,h3,h4 {
    font-family: 'IBM Plex Serif', 'Times New Roman', serif;
    color: var(--navy-deep);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-lead { color: var(--grey-700); font-size: 1.02rem; max-width: 720px; margin-bottom: 32px; }

/* ----- Top bar ----- */
.topbar {
    background: var(--navy-deep);
    color: var(--white);
    font-size: .85rem;
    padding: 8px 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--white); margin-right: 18px; }
.topbar a:hover { color: var(--gold); }
.topbar .lang { display: flex; align-items: center; gap: 8px; }

/* ----- Header / Nav ----- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--grey-300);
    position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 32px; }
.brand {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--navy-deep);
    border-bottom: 2px solid var(--navy);
    padding-bottom: 4px;
    line-height: 1;
}
.brand:has(img) { border-bottom: 0; padding-bottom: 0; }
.brand small { display: block; font-size: .65rem; letter-spacing: .3em; color: var(--grey-500); border: none; text-align: center; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--grey-900); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--navy); }
.btn-track {
    background: var(--gold);
    color: var(--navy-deep) !important;
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: .08em;
    font-size: .82rem;
    transition: all .2s;
}
.btn-track:hover { background: var(--gold-soft); color: var(--navy-deep) !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--navy-deep); }

/* ----- Hero (cleaner, matches mockup) ----- */
.hero {
    background: linear-gradient(180deg, var(--white) 0%, #fafbfc 100%);
    padding: 60px 0 100px;
    overflow: hidden;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,32,135,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.6;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    color: var(--navy-deep);
    margin-bottom: 36px;
    font-weight: 600;
}
.hero h1 span { display: block; }

.tracking-input {
    display: flex;
    background: var(--white);
    border: 1.5px solid var(--grey-300);
    border-radius: 50px;
    padding: 6px 6px 6px 24px;
    align-items: center;
    max-width: 480px;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.tracking-input:focus-within { border-color: var(--navy); box-shadow: 0 4px 16px rgba(0,32,135,.15); }
.tracking-input input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 1rem;
    padding: 12px 0;
    outline: none;
    color: var(--grey-900);
}
.tracking-input button {
    background: var(--gold);
    color: var(--navy-deep);
    border: 0;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: .12em;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s;
}
.tracking-input button:hover { background: var(--gold-soft); }

.hero-illustration {
    position: relative;
    text-align: center;
}

/* ----- Stats band ----- */
.stats {
    background: var(--navy);
    color: var(--white);
    padding: 50px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-num {
    font-family: 'IBM Plex Serif', serif;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: .78rem;
    letter-spacing: .25em;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    font-weight: 500;
}

/* ----- Why Us — 2-col, mockup-style ----- */
.why-section { padding: 80px 0; background: var(--white); }
.why-section h2 { margin-bottom: 40px; }
.why-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.why-image-wrap {
    background: var(--navy-deep);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 24px;
}
.why-img-2col { width: 100%; height: 100%; object-fit: cover; }
.why-quote {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--navy-deep);
    margin: 0 0 24px;
    line-height: 1.35;
    border: 0;
    padding: 0;
    position: relative;
    padding-left: 24px;
}
.why-quote::before {
    content: '"';
    position: absolute;
    left: -8px;
    top: -10px;
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    font-family: 'IBM Plex Serif', serif;
}
.why-body {
    color: var(--grey-700);
    font-size: .96rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.why-col .reg {
    font-size: .78rem;
    color: var(--grey-500);
    letter-spacing: .05em;
    margin-top: 8px;
}
.compass-illustration {
    text-align: right;
    margin-top: 24px;
}

/* ----- Services grid ----- */
.services-section { padding: 80px 0; background: var(--bg); }
.services-section h2 { margin-bottom: 40px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all .25s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy);
}
.service-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.service-num {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
    font-family: 'IBM Plex Serif', serif;
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--navy-deep);
}
.service-card p {
    color: var(--grey-700);
    font-size: .92rem;
    margin-bottom: 16px;
    flex: 1;
}
.service-card .learn-more {
    color: var(--navy);
    font-weight: 600;
    font-size: .88rem;
    transition: color .2s;
}
.service-card .learn-more:hover { color: var(--gold-soft); }

/* ----- Network / world map ----- */
.network-section {
    padding: 80px 0;
    background: var(--white);
}
.network-section h2 { margin-bottom: 16px; }
.map-wrap {
    background: linear-gradient(180deg, #f7f8fa 0%, #fff 100%);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--grey-200);
}
.world-map { width: 100%; height: auto; max-width: 100%; }

/* ----- News section ----- */
.news-section { padding: 80px 0; background: var(--bg); }
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.btn-link { color: var(--navy); font-weight: 600; font-size: .92rem; }
.btn-link:hover { color: var(--gold-soft); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .25s;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-card-image {
    aspect-ratio: 5/3;
    background: var(--navy-deep);
    overflow: hidden;
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-body h3 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.15rem;
    color: var(--navy-deep);
    margin-bottom: 10px;
    line-height: 1.3;
}
.news-card-body p {
    color: var(--grey-700);
    font-size: .9rem;
    margin-bottom: 16px;
    flex: 1;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    color: var(--grey-500);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--grey-200);
}
.news-meta .read-more { color: var(--navy); font-weight: 600; }

/* ----- Footer (custom modern, NOT replicating mockup) ----- */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,.85);
    padding: 60px 0 20px;
    border-top: 4px solid var(--gold);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 0%, rgba(244,169,0,.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(244,169,0,.04) 0%, transparent 40%);
    pointer-events: none;
}
.footer .container { position: relative; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer h4 {
    color: var(--white);
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.05rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--gold);
}
.footer-brand-block .footer-logo-img { max-height: 48px; max-width: 200px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand-block .footer-brand-text {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.4rem;
    color: var(--white);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 16px;
    letter-spacing: .08em;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    transition: all .2s;
    display: inline-block;
    position: relative;
}
.footer ul a:hover {
    color: var(--gold);
    transform: translateX(4px);
}
.footer p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.75); }
.footer .meta-line { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 16px; }
.footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.footer .socials a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: .95rem;
    transition: all .25s;
    border: 1px solid rgba(255,255,255,.1);
}
.footer .socials a:hover {
    background: var(--gold);
    color: var(--navy-deep);
    transform: translateY(-2px);
    border-color: var(--gold);
}
.footer-newsletter {
    margin-top: 16px;
    display: flex;
    gap: 6px;
    background: rgba(255,255,255,.05);
    border-radius: 30px;
    padding: 4px 4px 4px 16px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.08);
}
.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--white);
    padding: 9px 0;
    font-size: .85rem;
    outline: none;
    font-family: inherit;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter button {
    background: var(--gold);
    color: var(--navy-deep);
    border: 0;
    padding: 9px 18px;
    border-radius: 24px;
    font-weight: 700;
    cursor: pointer;
    font-size: .8rem;
    letter-spacing: .05em;
}
.footer-newsletter button:hover { background: var(--gold-soft); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.55); font-size: .82rem; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ----- Page header (sub-pages) ----- */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(244,169,0,.08) 0%, transparent 50%);
    pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1.05rem; }

/* ----- Generic content ----- */
.content { padding: 60px 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.content-card {
    background: var(--white);
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 24px;
}

/* ----- Tracking results (newest at top) ----- */
.tracking-result-wrap { padding: 60px 0; background: var(--bg); min-height: 60vh; }
.tracking-summary {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
.summary-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.summary-item { flex: 1; min-width: 180px; }
.summary-item .label { font-size: .72rem; color: var(--grey-500); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 4px; }
.summary-item .value { font-weight: 600; color: var(--navy-deep); font-size: 1rem; }

.timeline {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.timeline-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px; top: 28px;
    width: 2px;
    height: 100%;
    background: var(--grey-300);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--grey-300);
    z-index: 1;
}
.timeline-item.completed .timeline-dot { background: var(--gold); border-color: var(--gold); }
.timeline-item.current .timeline-dot {
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(0,48,135,.2);
    position: relative;
}
.timeline-item.current .timeline-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
.timeline-content h4 { font-family: 'IBM Plex Serif', serif; margin: 0 0 4px; font-size: 1.05rem; }
.timeline-content .meta { font-size: .82rem; color: var(--grey-500); margin-bottom: 6px; }
.timeline-content p { margin: 0; font-size: .9rem; color: var(--grey-700); }

.no-results {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 60px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.no-results h3 { color: var(--navy-deep); }
.no-results p { color: var(--grey-700); }

/* ----- Forms ----- */
form .form-row { margin-bottom: 18px; }
form label { display: block; font-size: .88rem; font-weight: 600; color: var(--grey-900); margin-bottom: 6px; }
form input[type=text], form input[type=email], form input[type=tel], form input[type=date], form input[type=time], form input[type=number], form input[type=password], form select, form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--grey-300);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s;
    background: var(--white);
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--navy); }
form textarea { min-height: 130px; resize: vertical; }
.btn {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 12px 32px;
    border: 0;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-size: .95rem;
    letter-spacing: .03em;
}
.btn:hover { background: var(--navy-dark); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 7px 16px; font-size: .85rem; }
.btn-danger { background: #c0392b; color: var(--white); }
.btn-danger:hover { background: #962d22; color: var(--white); }

/* ----- Flash + Badges ----- */
.flash { padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .92rem; border-left: 4px solid; }
.flash-success { background: #e8f7ee; border-color: #2e9e5b; color: #1d5e36; }
.flash-error   { background: #fdecea; border-color: #c0392b; color: #7a1f15; }
.flash-warning { background: #fff7e0; border-color: #f4a900; color: #7a5a00; }
.flash-info    { background: #e8f0fb; border-color: var(--navy); color: var(--navy-deep); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.badge-success  { background: #d4edda; color: #1e6b3a; }
.badge-progress { background: #d1e7ff; color: #0a3a7a; }
.badge-warning  { background: #fff3cd; color: #7a5a00; }
.badge-error    { background: #f8d7da; color: #7a1f15; }
.badge-default  { background: var(--grey-100); color: var(--grey-700); }

/* ----- WhatsApp floating button ----- */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: all .25s;
    cursor: pointer;
    text-decoration: none;
}
.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
    color: white;
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: white; }
.whatsapp-fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappPulse 2s ease-out infinite;
}
.whatsapp-fab::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappPulse 2s ease-out infinite .6s;
    opacity: 0.5;
}
@keyframes whatsappPulse {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
.whatsapp-tooltip {
    position: fixed;
    bottom: 36px;
    left: 96px;
    background: white;
    color: var(--navy-deep);
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    font-size: .88rem;
    font-weight: 500;
    z-index: 998;
    opacity: 0;
    transform: translateX(-10px);
    transition: all .25s;
    pointer-events: none;
    white-space: nowrap;
}
.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid white;
}
.whatsapp-fab:hover + .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-illustration { order: -1; }
    .why-2col { grid-template-columns: 1fr; gap: 40px; }
    .content-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 16px; border-top: 1px solid var(--grey-300); box-shadow: var(--shadow-md); }
    .nav.open { display: flex; }
    .nav-toggle { display: block; }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .topbar-inner { font-size: .78rem; }
    .topbar a { margin-right: 12px; }
    .hero { padding: 40px 0 60px; }
    .timeline { padding: 24px; }
    .map-wrap { padding: 16px; }
    .whatsapp-fab { width: 54px; height: 54px; bottom: 16px; left: 16px; }
    .whatsapp-fab svg { width: 28px; height: 28px; }
    .whatsapp-tooltip { display: none; }
}

/* ============================================================
   v3.1 — Language switcher, How it works, Industries,
   Testimonials, CTA band, responsive map fixes
   ============================================================ */

/* ----- Language switcher in topbar ----- */
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-link {
    color: rgba(255,255,255,.7);
    font-size: .78rem;
    padding: 3px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .15s;
    font-weight: 500;
    letter-spacing: .04em;
}
.lang-link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.lang-link.active { color: var(--navy-deep); background: var(--gold); }

/* ----- How it works section ----- */
.how-section { padding: 80px 0; background: var(--white); }
.how-section h2 { margin-bottom: 12px; }
.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 32px;
}
.how-step {
    position: relative;
    padding: 32px 24px;
    background: var(--bg);
    border-radius: var(--radius-md);
    transition: all .25s;
    border-top: 3px solid var(--gold);
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.how-num {
    width: 48px; height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.how-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.how-step p { color: var(--grey-700); font-size: .92rem; line-height: 1.6; margin: 0; }

/* ----- Industries section ----- */
.industries-section { padding: 80px 0; background: var(--bg); }
.industries-section h2 { margin-bottom: 12px; }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 32px;
}
.industry-tile {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--grey-200);
    transition: all .25s;
    cursor: default;
}
.industry-tile:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.industry-icon {
    width: 64px; height: 64px;
    margin: 0 auto 12px;
    background: var(--bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .25s;
}
.industry-tile:hover .industry-icon { background: rgba(244,169,0,.1); }
.industry-name {
    font-weight: 600;
    color: var(--navy-deep);
    font-size: .92rem;
}

/* ----- Testimonials ----- */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.testimonials-section h2 { text-align: center; margin-bottom: 48px; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    border-left: 3px solid var(--gold);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 22px;
    font-family: 'IBM Plex Serif', serif;
    font-size: 4.5rem;
    color: var(--gold);
    line-height: 1;
    opacity: 0.4;
}
.testimonial-stars {
    color: var(--gold);
    font-size: 1.05rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.testimonial-body {
    color: var(--grey-900);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}
.testimonial-author {
    color: var(--grey-500);
    font-size: .85rem;
    font-weight: 600;
    margin: 0;
}

/* ----- CTA band ----- */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(244,169,0,.15) 0%, transparent 50%);
    pointer-events: none;
}
.cta-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin: 0; max-width: 540px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}

/* ----- Responsive map / world map fixes ----- */
.map-wrap {
    background: linear-gradient(180deg, #f7f8fa 0%, #fff 100%);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--grey-200);
    overflow: hidden;
}
.world-map {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}
/* Leaflet container — must always have explicit height + full width */
#tracking-map {
    width: 100% !important;
    height: clamp(280px, 50vw, 480px) !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    background: #e8eef5;
    overflow: hidden;
    z-index: 1; /* Stay below sticky header */
}

/* ----- Responsive overrides for new sections ----- */
@media (max-width: 960px) {
    .how-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .cta-inner { flex-direction: column; text-align: center; align-items: center; }
    .cta-band p { margin: 0 auto; }
}
@media (max-width: 600px) {
    .how-grid { grid-template-columns: 1fr; gap: 16px; }
    .how-step { padding: 24px 20px; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .industry-tile { padding: 18px 12px; }
    .industry-icon { width: 52px; height: 52px; }
    .industry-icon svg { width: 32px; height: 32px; }
    .testimonial-card { padding: 24px 20px; }
    .cta-band { padding: 48px 0; }
    .cta-actions { width: 100%; justify-content: center; }
    .cta-actions .btn { flex: 1; min-width: 120px; }
    .lang-switcher { font-size: .72rem; }
    .lang-link { padding: 2px 6px; }
}


/* ============================================================
   v4.1 — Reference image match (navy + gold editorial)
   Restores gold-bordered cards; removes electric-blue artifacts;
   adds vertical dividers, news pagination, sustainability tile,
   compass element, footer brand band.
   ============================================================ */

/* ----- Topbar / nav refinements ----- */
.topbar { background: var(--navy); padding: 6px 0; font-size: .82rem; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold); }

/* Slim TRACK button — gold pill */
.btn-track {
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    padding: 9px 24px;
    border-radius: 22px;
    font-weight: 700;
    letter-spacing: .12em;
    font-size: .78rem;
    transition: background .2s;
}
.btn-track:hover { background: var(--gold-soft) !important; color: var(--navy-deep) !important; }

/* ----- Hero — tighter, single-row tracking pill ----- */
.hero { padding: 56px 0 88px; }
.hero h1 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.05;
    color: var(--navy-deep);
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}
.hero h1 span { display: block; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-illustration img { width: 100%; max-width: 580px; margin: 0 auto; }

.tracking-input {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px 5px 5px 22px;
    box-shadow: 0 2px 8px rgba(6,43,99,.06);
    max-width: 460px;
}
.tracking-input button {
    background: var(--gold);
    color: var(--navy-deep);
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: .14em;
    font-size: .78rem;
}
.tracking-input button:hover { background: var(--gold-soft); }

/* ----- Stats — thin gold vertical dividers ----- */
.stats { padding: 40px 0; }
.stats-grid { gap: 0; }
.stat-cell {
    padding: 8px 24px;
    position: relative;
}
.stat-cell + .stat-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(201,169,97,.5) 30%, rgba(201,169,97,.5) 70%, transparent 100%);
}
.stat-num {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--gold);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: .72rem;
    letter-spacing: .22em;
    color: rgba(255,255,255,.85);
}

/* ----- Why-Us refinements: photo BELOW body on left col ----- */
.why-section { padding: 72px 0 40px; }
.why-section h2 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 500;
    margin-bottom: 32px;
}
.why-2col { grid-template-columns: 1fr 1fr; gap: 56px; }
.why-col { display: flex; flex-direction: column; }
.why-col-left .why-body { margin-bottom: 8px; }
.why-col-left .reg { margin-bottom: 24px; }
.why-image-wrap {
    background: var(--navy-deep);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 0;
    margin-top: 8px;
    /* B&W treatment to match reference image's grayscale port photo */
    filter: grayscale(1) contrast(1.05) brightness(0.95);
}

.why-quote {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 1.9vw, 1.6rem);
    color: var(--navy-deep);
    line-height: 1.35;
    padding: 0;
    border: 0;
    margin: 0 0 18px;
    position: relative;
}
.why-quote::before { display: none; } /* No giant quote-mark glyph in this reference */

.why-col-right { position: relative; }
.compass-illustration {
    margin-top: auto;
    padding-top: 24px;
    text-align: right;
    opacity: .85;
}

/* ----- Services — all six gold-bordered, gold-numbered ----- */
.services-section { padding: 60px 0 80px; background: var(--white); }
.services-section h2 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 500;
    margin-bottom: 32px;
}
.services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 24px 26px;
    transition: all .25s;
    box-shadow: none;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(6,43,99,.10);
    border-color: var(--gold-soft);
}
.service-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.service-num {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}
.service-icon { width: 42px; height: 42px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 600;
    color: var(--navy-deep);
    font-size: 1.18rem;
    margin-bottom: 8px;
}
.service-card p {
    color: var(--steel);
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 12px;
}
.service-card .learn-more {
    color: var(--gold-soft);
    font-weight: 600;
    font-size: .82rem;
}
.service-card .learn-more:hover { color: var(--navy); }

/* ----- Network section — quieter background ----- */
.network-section {
    padding: 64px 0 40px;
    background: var(--white);
}
.network-section h2 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 500;
    margin-bottom: 24px;
}
.map-wrap {
    background: transparent;
    border: 0;
    padding: 0;
    overflow: hidden;
}
.world-map {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    opacity: 0.95;
}

/* ----- News section — header with circular pagination arrows ----- */
.news-section { padding: 60px 0 80px; background: var(--white); }
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.news-header h2 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 500;
    margin: 0;
}
.news-arrows { display: flex; gap: 10px; }
.news-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--white);
    color: var(--gold);
    font-size: 1.4rem;
    line-height: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    font-family: serif;
    padding-bottom: 3px;
}
.news-arrow:hover, .news-arrow.active {
    background: var(--gold);
    color: var(--white);
}

.news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-card {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: all .25s;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.news-card-image {
    aspect-ratio: 16/10;
    background: var(--silver);
    overflow: hidden;
    /* Match the reference's grayscale photo treatment */
    filter: grayscale(0.4) contrast(1.02);
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-body h3 {
    font-family: 'IBM Plex Serif', serif;
    color: var(--navy-deep);
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.3;
    font-weight: 600;
}
.news-card-body p {
    color: var(--steel);
    font-size: .82rem;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: var(--steel);
    margin-top: auto;
    padding-top: 8px;
    border-top: 0;
}
.news-meta .read-more {
    color: var(--gold-soft);
    font-weight: 600;
}

/* ----- Sustainability feature tile (3rd news card) ----- */
.news-card-feature {
    border: 1px solid var(--gold);
    background: var(--white);
    padding: 28px 24px;
}
.news-card-feature .feature-icons {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.news-card-feature .feature-leaf,
.news-card-feature .feature-anchor { color: var(--gold); }
.news-card-feature .news-card-body { padding: 0; }
.news-card-feature h3 {
    font-family: 'IBM Plex Serif', serif;
    color: var(--navy-deep);
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 12px;
}
.news-card-feature p {
    font-size: .85rem;
    color: var(--steel);
    line-height: 1.6;
}

/* ----- "Read more" outlined pill below news ----- */
.news-readmore {
    margin-top: 32px;
}
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid var(--gold);
    border-radius: 30px;
    background: var(--white);
    color: var(--gold-soft);
    font-weight: 600;
    font-size: .85rem;
    transition: all .2s;
    text-decoration: none;
}
.btn-pill:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* ----- Footer: navy with centered brand band + gold sparkle ----- */
.footer {
    background: var(--navy-deep);
    border-top: 0;
    padding: 56px 0 0;
    position: relative;
}
.footer::before { display: none; } /* Drop the gradient-blob from old version */
.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(201,169,97,.18);
}
.footer h4 {
    font-family: 'IBM Plex Serif', serif;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: .02em;
    margin-bottom: 16px;
    padding-bottom: 0;
}
.footer h4::after { display: none; }
.footer-brand-block .footer-brand-text {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.2rem;
    color: var(--white);
    border-bottom: 1px solid var(--gold);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 14px;
    letter-spacing: .12em;
    font-weight: 500;
}
.footer-brand-block .footer-logo-img {
    max-height: 44px;
    max-width: 200px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}
.footer ul a {
    color: rgba(255,255,255,.78);
    font-size: .88rem;
}
.footer ul a:hover { color: var(--gold); transform: none; }
.footer p { font-size: .85rem; color: rgba(255,255,255,.78); }
.footer .meta-line { font-size: .78rem; color: rgba(255,255,255,.55); }

.footer .socials { gap: 8px; margin-top: 14px; }
.footer .socials a {
    width: 32px; height: 32px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    font-size: .82rem;
}
.footer .socials a:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.footer-newsletter {
    border-color: rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    margin-top: 14px;
}
.footer-newsletter button {
    background: var(--gold);
    color: var(--navy-deep);
}
.footer-newsletter button:hover { background: var(--gold-soft); }

/* Centered brand band at the very bottom of the footer */
.footer-brand-band {
    text-align: center;
    padding: 36px 0 24px;
    position: relative;
}
.footer-brand-band .brand-text {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: .25em;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 6px;
    display: inline-block;
    font-weight: 500;
}
.footer-brand-band .brand-text small {
    display: block;
    font-size: .65rem;
    letter-spacing: .35em;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
    border: 0;
}
.footer-brand-band .brand-spark {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.7;
}
.footer-bottom {
    border-top: 0;
    margin-top: 0;
    padding-top: 16px;
    padding-bottom: 24px;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-illustration { order: -1; }
    .why-2col { grid-template-columns: 1fr; gap: 32px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card-feature { grid-column: 1 / -1; }
    .stat-cell + .stat-cell::before { display: none; }
}
@media (max-width: 600px) {
    .stats { padding: 32px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card-feature { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .footer-brand-band .brand-spark { display: none; }
}

/* ============================================================
   v4.2 — Hero re-staged to match the latest reference:
   ship bleeds off the right edge, fine dotted bg pattern,
   bigger serif headline, full-width tracking pill.
   ============================================================ */

.hero {
    position: relative;
    overflow: hidden;
    background: #F4F6F9;
    padding: 96px 0 120px;
    min-height: 620px;
    isolation: isolate;
}

/* The dotted halftone background — pure CSS, no image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(6,43,99,0.16) 1px, transparent 1.4px);
    background-size: 14px 14px;
    /* Density gradient — denser on the right, fading to the bottom-left */
    -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.85) 100%);
            mask-image: linear-gradient(115deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: 0;
}
/* Gentle warm wash on top of the dots */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #FAFBFC 0%, #F0F3F8 100%);
    z-index: -1;
}

/* The ship — absolutely positioned, large, bleeds off the right */
.hero-ship {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-48%);
    width: 62%;
    max-width: 1000px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
}
.hero-text { max-width: 640px; }
.hero h1 {
    font-family: 'IBM Plex Serif', 'Times New Roman', serif;
    font-weight: 500;
    font-size: clamp(2.6rem, 5.4vw, 5rem);
    line-height: 1.02;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
    margin: 0 0 44px;
}
.hero h1 span { display: block; }

/* Taller, refined tracking pill */
.hero .tracking-input {
    background: var(--white);
    border: 1px solid rgba(6,43,99,0.18);
    border-radius: 60px;
    padding: 6px 6px 6px 28px;
    box-shadow: 0 4px 18px rgba(6,43,99,.06);
    max-width: 540px;
    transition: all .25s;
    width: 100%;
}
.hero .tracking-input:focus-within {
    border-color: var(--gold);
    box-shadow: 0 4px 22px rgba(201,169,97,.15);
}
.hero .tracking-input input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 1.02rem;
    padding: 16px 12px 16px 0;
    outline: none;
    color: var(--text);
    font-family: inherit;
}
.hero .tracking-input input::placeholder {
    color: var(--steel);
    font-style: italic;
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
}
.hero .tracking-input button {
    background: var(--gold);
    color: var(--white);
    border: 0;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: .15em;
    font-size: .9rem;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}
.hero .tracking-input button:hover { background: var(--gold-soft); }

/* Override the older .hero-illustration / .hero-grid rules that we replaced */
.hero-grid { display: block !important; }
.hero-illustration { display: none; }

/* Stats band — strengthen the gold dividers (full-height, gold) */
.stats { padding: 56px 0; }
.stat-cell { padding: 4px 28px; }
.stat-cell + .stat-cell::before {
    top: 6%;
    height: 88%;
    width: 1px;
    background: rgba(201,169,97, 0.4);
}
.stat-num {
    font-size: clamp(2.6rem, 4.8vw, 4rem);
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: -0.01em;
}
.stat-label {
    font-size: .78rem;
    letter-spacing: .22em;
    color: rgba(255,255,255,.92);
    font-weight: 500;
}

/* Brand wordmark refinement — bigger, with twin underlines flanking C.V. */
.brand {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy-deep);
    letter-spacing: .06em;
    text-decoration: none;
    line-height: 1;
    border: 0;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.brand:hover { color: var(--navy); }
.brand small {
    display: inline-block;
    font-size: .68rem;
    letter-spacing: .35em;
    color: var(--navy-deep);
    margin-top: 6px;
    padding: 0 8px;
    position: relative;
    font-weight: 400;
}
.brand small::before,
.brand small::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--navy-deep);
}
.brand small::before { right: 100%; }
.brand small::after  { left:  100%; }

/* Topbar — language toggle as a real switch */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: .82rem;
}
.lang-switcher .globe-icon {
    width: 16px; height: 16px;
    opacity: 0.85;
}
.lang-switcher .lang-label {
    font-weight: 400;
    font-size: .82rem;
    color: rgba(255,255,255,0.92);
    margin-right: 2px;
}
/* The toggle pill */
.lang-toggle {
    width: 38px;
    height: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    position: relative;
    cursor: pointer;
    transition: background .25s;
    border: 0;
    padding: 0;
}
.lang-toggle::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--white);
    transition: transform .25s;
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.lang-toggle.is-fr {
    background: var(--gold);
}
.lang-toggle.is-fr::after {
    transform: translateX(18px);
}
/* Hide the old text/flag link toggle and use the new switch instead */
.lang-link { display: none; }

/* ----- Hero responsive ----- */
@media (max-width: 1100px) {
    .hero-ship { width: 70%; right: -8%; }
    .hero-text { max-width: 56%; }
}
@media (max-width: 900px) {
    .hero { min-height: auto; padding: 56px 0 80px; }
    .hero-text { max-width: 100%; position: relative; z-index: 2; }
    .hero-ship {
        position: static;
        transform: none;
        width: 100%;
        max-width: 540px;
        margin: 32px auto 0;
        display: block;
    }
}
@media (max-width: 600px) {
    .hero { padding: 40px 0 56px; }
    .hero h1 { font-size: 2.2rem; margin-bottom: 28px; }
    .hero .tracking-input { padding: 4px 4px 4px 18px; }
    .hero .tracking-input input { padding: 12px 8px 12px 0; font-size: .92rem; }
    .hero .tracking-input button { padding: 12px 22px; font-size: .78rem; }
    .stat-cell { padding: 4px 12px; }
    .stat-cell + .stat-cell::before { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
}
