/* ==========================================================
   Infinity Merchandise — Custom Styles
   Brand: Navy Blue (#0B2641) + Gold (#C49A2E)
   ========================================================== */

/* ---------------- Brand Tokens ---------------- */
:root {
    --im-navy: #0B2641;
    --im-navy-dark: #071829;
    --im-gold: #C49A2E;
    --im-gold-light: #E8C160;
    --im-gold-muted: rgba(196, 154, 46, 0.15);
    --im-white: #FFFFFF;
    --im-off-white: #F5F4F0;
    --im-gray-light: #E8E8E4;
    --im-gray: #A0A09A;
    --im-text-dark: #121212;
    --im-radius: 0.75rem;
}


/* ---------------- Navbar logo size ---------------- */
.rt-nav-logo {
    height: 82px !important;
    width: auto !important;
    max-width: none !important;
}

/* ---------------- Hero height: fit within viewport ---------------- */
.rt-hero-v1-main-wrapper {
    height: 100vh !important;
}

@media (max-width: 767px) {
    .rt-hero-v1-main-wrapper {
         height: 45vh !important;
    }
}

/* Small phone hero fix — iPhone SE and similar (≤480px wide) */
@media (max-width: 480px) {
    .rt-hero-v1-main-wrapper {
        height: 68vh !important;
        min-height: 400px !important;
    }

    /* Webflow applies 7rem top + 5rem bottom padding at this breakpoint
       and justify-content: flex-end, leaving almost no room in a 300px hero.
       Center the content block vertically with comfortable padding. */
    .rt-hero-v1-content {
        padding-top: 4rem !important;
        padding-bottom: 2rem !important;
        justify-content: center !important;
        gap: 1rem !important;
    }
}

/* ---------------- Hero tagline + CTA: pinned to bottom of hero ---------------- */
.im-hero-tagline {
    position: absolute;
    bottom: 18vh;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    padding: 0 1rem;
    text-align: center;
    z-index: 10;
}

@media (max-width: 767px) {
    .im-hero-tagline {
        position: relative;
        bottom: auto;
        margin-top: 10px;
        padding-bottom: 0.5rem;
    }
}

.im-hero-tagline-cta {
    position: absolute;
    bottom: 4vh;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 10;
}

.im-hero-cta-center {
    display: none !important;
}


/* ---------------- Hero Tagline ---------------- */

.im-hero-tagline-rule {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 154, 46, 0.5));
}

.im-hero-tagline-rule:last-child {
    background: linear-gradient(to left, transparent, rgba(196, 154, 46, 0.5));
}

.im-hero-tagline-text {
    color: var(--im-gold);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .im-hero-tagline-text {
        font-size: 0.75rem;
        letter-spacing: 0.04em;
        white-space: normal;
        text-align: center;
    }

    .im-hero-tagline-rule {
        max-width: 40px;
    }
}

/* ---------------- Hero Image Stack — Center Fix ---------------- */
/* Override Webflow's translate(-46%, -50%) which shifts image toward "Trading" */
.rt-rotate-image-wrap {
    transform: translate(-50%, -50%);
}

/* ---------------- Logo ---------------- */
.im-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.im-logo-symbol {
    font-size: 2rem;
    font-weight: 800;
    color: var(--im-gold);
    line-height: 1;
}

.im-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.im-logo-text span:first-child {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.im-logo-text span:last-child {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--im-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Dark background version */
.im-logo-dark .im-logo-text span:first-child {
    color: var(--im-navy);
}

/* Navbar Logo Sizing Overrides */
.rt-nav-logo-inner-box {
    max-width: 150px;
}

.rt-nav-logo {
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .rt-nav-logo-inner-box {
        max-width: 100px;
    }
}

/* ---------------- Navbar CTA Button ---------------- */
.im-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--im-gold);
    color: var(--im-navy-dark);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    padding: 0.55rem 1.2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.im-nav-cta:hover {
    background: var(--im-gold-light);
    transform: translateY(-1px);
}

/* ---------------- World Map Background ---------------- */
.im-world-map-bg {
    position: relative;
    background: linear-gradient(135deg, var(--im-navy) 0%, var(--im-navy-dark) 100%);
    overflow: hidden;
}

.im-world-map-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(196,154,46,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/><g opacity="0.15"><circle cx="200" cy="150" r="80" fill="none" stroke="%23C49A2E" stroke-width="2"/><circle cx="1000" cy="450" r="100" fill="none" stroke="%23C49A2E" stroke-width="2"/><path d="M200 150 Q600 300 1000 450" fill="none" stroke="%23C49A2E" stroke-width="1" stroke-dasharray="5,5"/></g></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.im-world-map-bg .rt-container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   VISION & MISSION — editorial split panel
   Dark vision panel + paper mission panel. Fraunces display,
   Manrope body. Numbered index treatment, gold accents.
   ========================================================= */
.im-vm {
    --vm-serif: "Fraunces", "Cormorant Garamond", ui-serif, Georgia, serif;
    --vm-sans:  "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --vm-navy:       #0B2641;
    --vm-navy-deep:  #071829;
    --vm-gold:       #D9A94A;
    --vm-gold-soft:  #E8C160;
    --vm-paper:      #F4EFE5;
    --vm-cream:      #FBF8F2;
    --vm-ink:        #0F1B2D;
    --vm-ink-soft:   #3A4A63;
    --vm-ink-mute:   rgba(11, 38, 65, 0.52);
    --vm-line:       rgba(11, 38, 65, 0.14);

    position: relative;
    padding: 7rem 1.5rem 6rem;
    background: var(--vm-cream);
    background-image:
        radial-gradient(ellipse 60% 40% at 85% 5%, rgba(217, 169, 74, 0.1), transparent 65%),
        radial-gradient(ellipse 50% 40% at 10% 95%, rgba(11, 38, 65, 0.05), transparent 60%);
    font-family: var(--vm-sans);
    color: var(--vm-ink);
    overflow: hidden;
}

.im-vm::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.08   0 0 0 0 0.05   0 0 0 0 0.02   0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.im-vm-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}

/* ── Header ── */
.im-vm-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem 4rem;
    align-items: end;
    margin-bottom: 4rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--vm-line);
}

.im-vm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--vm-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--vm-gold);
    white-space: nowrap;
}
.im-vm-rule {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--vm-gold);
}

.im-vm-heading {
    font-family: var(--vm-serif);
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 120, "SOFT" 30, "WONK" 0;
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 400;
    color: var(--vm-navy);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0;
    max-width: 18ch;
    justify-self: end;
    text-align: right;
}
.im-vm-heading em {
    font-style: italic;
    font-variation-settings: "opsz" 120, "SOFT" 90, "WONK" 1;
    color: var(--vm-gold);
    font-weight: 400;
}
.im-vm-heading-line { display: block; }

/* ── Grid (two panels, shared seam) ── */
.im-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(11, 38, 65, 0.35);
    position: relative;
}

/* Dashed vertical seam between the two panels */
.im-vm-grid::before {
    content: "";
    position: absolute;
    top: 6%;
    bottom: 6%;
    left: 50%;
    width: 0;
    border-left: 1px dashed rgba(244, 239, 229, 0.22);
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
}

/* ── Panel shared ── */
.im-vm-panel {
    position: relative;
    padding: 3.5rem 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow: hidden;
    min-height: 520px;
}

/* Oversized background numeral */
.im-vm-panel-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--vm-serif);
    font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 1;
    font-style: italic;
    font-size: 7.5rem;
    line-height: 0.8;
    letter-spacing: -0.05em;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
}

.im-vm-panel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--vm-sans);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}
.im-vm-panel-tag::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--vm-gold);
}

.im-vm-panel-title {
    font-family: var(--vm-serif);
    font-variation-settings: "opsz" 72, "SOFT" 30, "WONK" 0;
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 26ch;
    position: relative;
    z-index: 2;
}
.im-vm-panel-title em {
    font-style: italic;
    font-variation-settings: "opsz" 72, "SOFT" 90, "WONK" 1;
    color: var(--vm-gold);
    font-weight: 400;
}

/* ── Vision (dark) ── */
.im-vm-panel--vision {
    background: var(--vm-navy-deep);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(217, 169, 74, 0.18), transparent 55%),
        radial-gradient(circle at 85% 90%, rgba(11, 38, 65, 0.6), transparent 60%);
    color: var(--vm-paper);
}

.im-vm-panel--vision .im-vm-panel-num { color: var(--vm-gold); }
.im-vm-panel--vision .im-vm-panel-tag { color: var(--vm-gold); }
.im-vm-panel--vision .im-vm-panel-title { color: #fff; }

.im-vm-panel--vision .im-vm-panel-body {
    font-family: var(--vm-sans);
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(244, 239, 229, 0.78);
    margin: 0;
    max-width: 42ch;
    position: relative;
    z-index: 2;
}

.im-vm-panel-footer {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(244, 239, 229, 0.14);
    position: relative;
    z-index: 2;
}

.im-vm-metric { display: flex; flex-direction: column; gap: 0.2rem; }
.im-vm-metric-num {
    font-family: var(--vm-serif);
    font-variation-settings: "opsz" 96, "SOFT" 20;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1;
    color: var(--vm-gold);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.im-vm-metric-label {
    font-family: var(--vm-sans);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(244, 239, 229, 0.55);
}

.im-vm-arrow {
    color: var(--vm-gold);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.im-vm-panel--vision:hover .im-vm-arrow { transform: rotate(-45deg); }

/* ── Mission (light) ── */
.im-vm-panel--mission {
    background: var(--vm-cream);
    color: var(--vm-ink);
    border-left: 1px solid var(--vm-line);
}
.im-vm-panel--mission .im-vm-panel-num { color: var(--vm-navy); }
.im-vm-panel--mission .im-vm-panel-tag { color: var(--vm-navy); }
.im-vm-panel--mission .im-vm-panel-title { color: var(--vm-navy); }

.im-vm-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 2;
}

.im-vm-list-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.15rem;
    align-items: start;
    padding: 1.15rem 0;
    border-bottom: 1px dashed var(--vm-line);
    position: relative;
    transition: padding 0.25s ease;
}
.im-vm-list-item:last-child { border-bottom: none; }
.im-vm-list-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(to right, var(--vm-gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.im-vm-list-item:hover {
    padding-left: 0.35rem;
}
.im-vm-list-item:hover::after { transform: scaleX(1); }
.im-vm-list-item:hover .im-vm-list-num {
    color: var(--vm-gold);
    transform: translateY(-2px);
}

.im-vm-list-num {
    font-family: var(--vm-serif);
    font-variation-settings: "opsz" 48, "SOFT" 20;
    font-style: italic;
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--vm-ink-mute);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    padding-top: 0.15rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.im-vm-list-body { display: flex; flex-direction: column; gap: 0.3rem; }
.im-vm-list-title {
    font-family: var(--vm-sans);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--vm-navy);
    margin: 0;
    letter-spacing: -0.005em;
}
.im-vm-list-desc {
    font-family: var(--vm-sans);
    font-size: 0.89rem;
    line-height: 1.6;
    color: var(--vm-ink-soft);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .im-vm { padding: 5rem 1.25rem 4.5rem; }
    .im-vm-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.75rem;
    }
    .im-vm-heading { justify-self: start; text-align: left; }
    .im-vm-grid {
        grid-template-columns: 1fr;
    }
    .im-vm-grid::before { display: none; }
    .im-vm-panel { min-height: 0; padding: 2.75rem 2rem 2.75rem; }
    .im-vm-panel--mission { border-left: none; border-top: 1px solid var(--vm-line); }
}

@media (max-width: 560px) {
    .im-vm { padding: 4rem 1rem 3.5rem; }
    .im-vm-panel { padding: 2.25rem 1.5rem; }
    .im-vm-panel-num { font-size: 6rem; top: 1.25rem; right: 1.25rem; }
    .im-vm-metric-num { font-size: 2rem; }
    .im-vm-list-num { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .im-vm-arrow,
    .im-vm-list-item,
    .im-vm-list-item::after,
    .im-vm-list-num { transition: none !important; }
}

/* ---------------- WhatsApp Float Button ---------------- */
.im-whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.2rem;
    height: 3.2rem;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9000;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.im-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.im-whatsapp-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: #fff;
}

@media (max-width: 767px) {
    .im-whatsapp-btn {
        bottom: 5.5rem;
    }
}

/* ---------------- "Make an Enquiry" Fixed Tab (Desktop) ---------------- */
.im-enquiry-tab {
    position: fixed;
    /* right: -(W/2 - H/2) centers the rotated element at the viewport right edge.
       W ≈ 130px (text+padding), H ≈ 32px → right ≈ -49px ≈ -3rem
       Adding ~0.5rem extra keeps a ~8px strip visible as a peekaboo cue. */
    right: -3.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    background: var(--im-gold);
    color: var(--im-navy-dark);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border-radius: 8px 8px 0 0;
    z-index: 8999;
    cursor: pointer;
    transition: right 0.3s ease, background 0.2s ease;
    white-space: nowrap;
}

.im-enquiry-tab:hover {
    right: -2.5rem;
    background: var(--im-gold-light);
}

@media (max-width: 991px) {
    .im-enquiry-tab {
        display: none;
    }
}

/* ---------------- Enquiry Tab Mobile (Sticky Bottom) ---------------- */
.im-enquiry-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--im-gold);
    color: var(--im-navy-dark);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 1rem;
    z-index: 8999;
    cursor: pointer;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .im-enquiry-mobile {
        display: block;
    }
}

/* ---------------- Enquiry Modal ---------------- */
/* Overlay is the scroll container. Modal has natural height. Submit
   button uses position:sticky at bottom of overlay viewport. */
.im-modal-overlay {
    position: fixed !important;
    inset: 0;
    background: rgba(7, 24, 41, 0.88);
    backdrop-filter: blur(4px);
    z-index: 10000 !important;
    display: none;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.im-modal-overlay.active {
    display: block;
}

/* Hide all fixed/sticky UI while modal open so nothing peeks above it */
body.im-modal-open .rt-navbar-v1,
body.im-modal-open .im-pd-nav,
body.im-modal-open .im-enquiry-tab,
body.im-modal-open .im-enquiry-mobile,
body.im-modal-open .im-whatsapp-btn,
body.im-modal-open .im-pd-mobile-bar {
    visibility: hidden !important;
    pointer-events: none !important;
}

.im-modal {
    background: #fff;
    border-radius: 1rem;
    max-width: 820px;
    width: 100%;
    margin: 1.25rem auto;
    padding: 2rem 2.25rem;
    position: relative;
    animation: modalIn 0.35s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.im-modal .im-modal-title { margin-bottom: 0.35rem; }
.im-modal .im-modal-subtitle {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--im-gray-light);
}

@media (max-width: 600px) {
    .im-modal-overlay { padding: 0.5rem; }
    .im-modal { padding: 1.5rem 1.25rem 0; border-radius: 0.75rem; }
    .im-modal .im-modal-title { font-size: 1.3rem; }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.im-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: var(--im-gray-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--im-navy);
    transition: background 0.2s;
}

.im-modal-close:hover {
    background: var(--im-gray);
}

.im-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--im-navy);
    margin-bottom: 0.4rem;
}

.im-modal-subtitle {
    font-size: 0.9rem;
    color: var(--im-gray);
    margin-bottom: 2rem;
}

/* Form sections */
.im-form-section {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--im-gray-light);
    padding-bottom: 1.5rem;
}

.im-form-section:last-of-type {
    border-bottom: none;
}

.im-form-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--im-gold);
    margin-bottom: 1rem;
}

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

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

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

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

.im-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--im-navy);
}

.im-form-group label span {
    color: #e53e3e;
}

.im-form-group input,
.im-form-group select,
.im-form-group textarea {
    border: 1.5px solid var(--im-gray-light);
    border-radius: 0.5rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    color: var(--im-text-dark);
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    background: #fff;
}

.im-form-group input:focus,
.im-form-group select:focus,
.im-form-group textarea:focus {
    border-color: var(--im-gold);
}

.im-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.im-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

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

.im-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--im-text-dark);
    cursor: pointer;
}

.im-checkbox-item input[type="checkbox"],
.im-checkbox-item input[type="radio"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--im-gold);
    cursor: pointer;
}

.im-form-submit {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    margin-left: -2.25rem;
    margin-right: -2.25rem;
    padding: 1rem 2.25rem 1.25rem;
    position: sticky;
    bottom: -1.25rem; /* matches overlay padding so footer hugs viewport edge */
    background: #fff;
    border-top: 1px solid var(--im-gray-light);
    box-shadow: 0 -14px 24px -16px rgba(0, 0, 0, 0.18);
    border-radius: 0 0 1rem 1rem;
    z-index: 2;
}

@media (max-width: 600px) {
    .im-form-submit {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding: 0.9rem 1.25rem 1rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        bottom: -0.5rem;
        border-radius: 0 0 0.75rem 0.75rem;
    }
    .im-form-submit .im-btn-primary,
    .im-form-submit .im-btn-secondary {
        min-width: 0;
        flex: 1 1 140px;
    }
}

.im-btn-primary {
    flex: 1;
    min-width: 180px;
    background: var(--im-navy);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.875rem 1.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.im-btn-primary:hover {
    background: var(--im-navy-dark);
    transform: translateY(-1px);
}

.im-btn-secondary {
    flex: 1;
    min-width: 180px;
    background: transparent;
    color: var(--im-navy);
    border: 2px solid var(--im-navy);
    border-radius: 100px;
    padding: 0.875rem 1.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.im-btn-secondary:hover {
    background: var(--im-navy);
    color: #fff;
}

/* ---------------- Markets We Serve Strip ---------------- */
.im-markets-strip {
    background: var(--im-off-white);
    padding: 2.5rem 0;
}

.im-markets-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.im-markets-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--im-gray);
}

.im-markets-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.im-market-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1.5px solid var(--im-gray-light);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--im-navy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.im-market-badge:hover {
    border-color: var(--im-gold);
    box-shadow: 0 4px 16px rgba(196, 154, 46, 0.12);
}

.im-market-badge .flag {
    font-size: 1.25rem;
}

/* ---------------- Products Grid Section ---------------- */
.im-products-section {
    padding: 6rem 0;
    background: #fff;
}

.im-products-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.im-section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--im-gold);
    margin-bottom: 0.75rem;
}

.im-section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--im-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.im-section-subtitle {
    font-size: 1.05rem;
    color: #666;
    max-width: 580px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.im-section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.im-section-header-left {
    flex: 1;
    min-width: 280px;
}

/* Product Category Grid */
.im-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .im-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .im-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .im-product-grid {
        grid-template-columns: 1fr;
    }
}

.im-product-card {
    background: linear-gradient(135deg, #f7f7f5 0%, #ededea 100%);
    border: 1.5px solid transparent;
    border-radius: var(--im-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.im-product-card:hover,
.im-product-card.open {
    border-color: var(--im-gold);
    box-shadow: 0 8px 32px rgba(196, 154, 46, 0.12);
    background: #fff;
}

.im-product-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.im-product-icon {
    font-size: 1.9rem;
    line-height: 1;
    flex-shrink: 0;
}

.im-product-card-info {
    flex: 1;
}

.im-product-name {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--im-navy);
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.im-product-tagline {
    font-size: 0.775rem;
    color: var(--im-gray);
    line-height: 1.4;
}

.im-product-toggle {
    margin-left: auto;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 1.5px solid var(--im-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--im-gray);
    transition: all 0.2s;
    flex-shrink: 0;
}

.im-product-card.open .im-product-toggle {
    background: var(--im-gold);
    border-color: var(--im-gold);
    color: #fff;
    transform: rotate(45deg);
}

.im-product-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.im-product-card.open .im-product-accordion {
    max-height: 600px;
}

.im-product-sub-list {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--im-gray-light);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.im-product-sub-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #555;
    padding: 0.2rem 0;
}

.im-product-sub-item::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--im-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.im-product-enquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    background: var(--im-navy);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.55rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    justify-content: center;
}

.im-product-enquiry-btn:hover {
    background: var(--im-navy-dark);
}

/* ---------------- World Map Section ---------------- */
.im-map-section {
    padding: 6rem 0;
    background: var(--im-navy);
    overflow: hidden;
}

.im-map-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.im-map-header {
    margin-bottom: 3rem;
}

.im-map-header .im-section-tag {
    color: var(--im-gold-light);
}

.im-map-header .im-section-title {
    color: #fff;
}

.im-map-header .im-section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.im-map-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .im-map-layout {
        grid-template-columns: 1fr;
    }
}

.im-map-svg-wrap {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.im-map-svg-wrap svg {
    width: 100%;
    height: auto;
}

/* Clickable region dots */
.im-region-dot {
    cursor: pointer;
    transition: r 0.2s;
}

.im-region-dot:hover circle {
    r: 8;
}

.im-region-label-btn {
    position: absolute;
    background: var(--im-gold);
    color: var(--im-navy-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    border: none;
}

.im-region-label-btn.active,
.im-region-label-btn:hover {
    background: var(--im-gold-light);
    transform: scale(1.05);
}

/* Right side panel */
.im-map-panel {
    position: sticky;
    top: 6rem;
}

.im-map-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.im-map-panel-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.im-region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.im-region-tab {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.im-region-tab.active {
    background: var(--im-gold);
    border-color: var(--im-gold);
    color: var(--im-navy-dark);
}

.im-region-products {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    min-height: 200px;
}

.im-region-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.im-region-product-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.im-region-product-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--im-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---------------- Business Roadmap Section ---------------- */
.im-roadmap-section {
    padding: 6rem 0;
    background: var(--im-off-white);
    overflow: hidden;
}

.im-roadmap-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.im-roadmap-header {
    text-align: center;
    margin-bottom: 4rem;
}

.im-roadmap-header .im-section-title {
    max-width: 640px;
    margin: 0 auto 0.75rem;
}

.im-roadmap-header .im-section-subtitle {
    margin: 0 auto;
    text-align: center;
    max-width: 520px;
}

/* Timeline */
.im-roadmap-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

@media (max-width: 900px) {
    .im-roadmap-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .im-roadmap-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Connecting line */
.im-roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 2.2rem;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: linear-gradient(90deg, var(--im-gold), var(--im-gold-light), var(--im-gold));
    z-index: 0;
}

@media (max-width: 900px) {
    .im-roadmap-timeline::before {
        display: none;
    }
}

.im-roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.75rem;
    position: relative;
    z-index: 1;
}

.im-roadmap-number {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--im-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(196, 154, 46, 0.15);
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.im-roadmap-step:hover .im-roadmap-number {
    background: var(--im-gold);
}

.im-roadmap-step-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--im-navy);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.im-roadmap-step-desc {
    font-size: 0.775rem;
    color: #777;
    line-height: 1.55;
    padding: 0 0.25rem;
}

.im-roadmap-cta-wrap {
    text-align: center;
    margin-top: 3.5rem;
}

.im-btn-outline-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--im-navy);
    color: var(--im-navy);
    background: transparent;
    border-radius: 100px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.im-btn-outline-navy:hover {
    background: var(--im-navy);
    color: #fff;
}

/* ---------------- Google Reviews Section ---------------- */
.im-reviews-section {
    padding: 5rem 0;
    background: #fff;
}

.im-reviews-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.im-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.im-google-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f8f8;
    border: 1.5px solid #e8e8e4;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
}

.im-google-rating-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--im-navy);
    line-height: 1;
}

.im-google-stars {
    color: #FBBC04;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.im-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .im-reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.im-review-card {
    background: #fafafa;
    border: 1.5px solid #ececec;
    border-radius: 0.875rem;
    padding: 1.4rem;
    transition: box-shadow 0.2s;
}

.im-review-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.im-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.im-review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--im-gold-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--im-navy);
    flex-shrink: 0;
}

.im-review-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--im-navy);
}

.im-review-date {
    font-size: 0.75rem;
    color: #aaa;
}

.im-review-stars {
    color: #FBBC04;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.im-review-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.im-google-note {
    background: rgba(251, 188, 4, 0.08);
    border: 1px solid rgba(251, 188, 4, 0.25);
    border-radius: 0.5rem;
    padding: 0.75rem 1.1rem;
    font-size: 0.8rem;
    color: #7a6200;
    margin-bottom: 1.5rem;
}

.im-reviews-cta {
    text-align: center;
}

.im-btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 2px solid var(--im-navy);
    color: var(--im-navy);
    border-radius: 100px;
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.im-btn-write-review:hover {
    background: var(--im-navy);
    color: #fff;
}

/* ---------------- Hero Overrides ---------------- */
/* Keep rotating images but apply brand accent */
.rt-hero-v1-main-wrapper {
    background: var(--im-navy-dark) !important;
}

/* Service items in hero get gold hover */
.rt-service-item:hover .rt-text-style-h6 {
    color: var(--im-gold-light) !important;
}

/* ---------------- "About" section label override ---------------- */
.rt-about-v1 .rt-sub-text {
    color: var(--im-gold) !important;
}

/* Force About section right-image final state — Webflow IX2 initial transform
   leaves image scaled/rotated off-screen when animation fails to trigger */
.rt-about-v1 .rt-about-v1-right-wrapper {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.rt-about-v1 .rt-about-v1-right-wrapper img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--im-radius);
}

.rt-about-v1 .rt-about-v1-main {
    align-items: center;
    gap: 3rem;
}

@media (max-width: 991px) {
    .rt-about-v1 .rt-about-v1-main {
        flex-direction: column;
        gap: 2rem;
    }
    .rt-about-v1 .rt-about-v1-right-wrapper img {
        max-height: 360px;
    }
}

/* Force About text blocks to their final state too */
.rt-about-v1 .rt-about-v1-title,
.rt-about-v1 .rt-text-style-h5,
.rt-about-v1 .rt-text-style-h6 {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

/* ---------------- Footer Social Disabled ---------------- */
.im-social-disabled {
    opacity: 0.35;
    pointer-events: none;
    position: relative;
}

.im-social-tooltip-wrap {
    position: relative;
    display: inline-block;
}

.im-social-tooltip-wrap:hover .im-social-coming-soon {
    opacity: 1;
    transform: translateY(0);
}

.im-social-coming-soon {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--im-navy);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
}

/* ---------------- Journal Article Cards ---------------- */
.im-journals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .im-journals-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.im-journal-card {
    border-radius: var(--im-radius);
    overflow: hidden;
    border: 1.5px solid var(--im-gray-light);
    transition: box-shadow 0.25s, transform 0.25s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.im-journal-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.im-journal-img {
    height: 200px;
    background: linear-gradient(135deg, var(--im-navy) 0%, #1a4a70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.im-journal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.im-journal-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.im-journal-number {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--im-gold);
    margin-bottom: 0.5rem;
}

.im-journal-title {
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--im-navy);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.im-journal-excerpt {
    font-size: 0.845rem;
    color: #666;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.im-journal-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--im-navy);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.im-journal-read-more::after {
    content: '→';
}

/* Sub-page hero banner */
.im-subpage-hero {
    background: var(--im-navy);
    padding: 7rem 2rem 4rem;
    text-align: center;
}

.im-subpage-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.im-subpage-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Roadmap A-Z (detail page) */
.im-az-section {
    padding: 5rem 0;
}

.im-az-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.im-az-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--im-gray-light);
    align-items: flex-start;
}

.im-az-letter {
    width: 3rem;
    height: 3rem;
    background: var(--im-navy);
    color: var(--im-gold);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.im-az-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--im-navy);
    margin-bottom: 0.35rem;
}

.im-az-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
}

/* Navbar Logo Resize */
.rt-nav-logo-inner-box {
    max-width: 130px;
    /* Reduced from default to make it look elegant */
}

.rt-nav-logo {
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .rt-nav-logo-inner-box {
        max-width: 90px;
    }
}

/* ============================================================
   Products Infinite Auto-Scroll Carousel
   ============================================================ */

.im-products-carousel-outer {
    width: 100%;
    overflow-x: scroll;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/Edge */
    padding: 2.5rem 0 3.5rem;
    cursor: grab;
    /* Edge fade masks */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.im-products-carousel-outer::-webkit-scrollbar {
    display: none;
}

.im-products-carousel-outer:active {
    cursor: grabbing;
}

.im-products-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    /* No CSS animation — JS rAF scroll handles auto-scroll */
}

.im-product-slide {
    display: block;
    text-decoration: none;
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 1.25rem;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.im-product-slide img,
.im-product-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.im-product-slide:hover img,
.im-product-slide:hover .im-product-slide-video {
    transform: scale(1.06);
}

/* Bottom overlay label */
.im-product-slide-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(7, 24, 41, 0.88) 0%, rgba(7, 24, 41, 0.3) 60%, transparent 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .im-product-slide {
        width: 220px;
        height: 300px;
    }

    .im-products-carousel-outer {
        padding: 1.5rem 0 2.5rem;
    }
}
/* ==========================================================
   FOOTER — im-footer
   Clean card-based footer: logo + tagline + socials | Company nav
   ========================================================== */

.im-footer {
    background: #F0F2F5;
    padding: 2.5rem 1.5rem 0;
}

.im-footer-card {
    background: #ffffff;
    border: 1px solid #E2E5EA;
    border-radius: 20px;
    padding: 3rem 3.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Top row ── */
.im-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

/* ── Brand column ── */
.im-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 280px;
}

.im-footer-logo-link {
    display: inline-block;
    line-height: 0;
}

.im-footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.im-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.im-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #4A5568;
    text-decoration: none;
    transition: color 0.2s;
}

.im-footer-contact-item:hover {
    color: var(--im-navy);
}

.im-footer-contact-icon {
    flex-shrink: 0;
    color: var(--im-navy);
}

.im-footer-address {
    align-items: flex-start;
    cursor: default;
    line-height: 1.55;
}

.im-footer-tagline {
    font-size: 0.875rem;
    color: #4A5568;
    line-height: 1.6;
    margin: 0;
}

.im-footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.im-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #F0F2F5;
    color: #4A5568;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.im-footer-social-link:hover {
    background: var(--im-navy);
    color: #ffffff;
}

/* ── Company nav column ── */
.im-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 160px;
}

.im-footer-nav-heading {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1A202C;
    margin: 0 0 0.25rem;
}

.im-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.im-footer-nav-link {
    font-size: 0.9rem;
    color: #4A5568;
    text-decoration: none;
    transition: color 0.2s;
}

.im-footer-nav-link:hover {
    color: var(--im-navy);
}

/* ── Divider ── */
.im-footer-divider {
    border: none;
    border-top: 1px solid #E2E5EA;
    margin: 2.5rem 0 1.5rem;
}

/* ── Bottom row ── */
.im-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.im-footer-copyright {
    font-size: 0.8rem;
    color: #718096;
    margin: 0;
}

.im-footer-legal {
    display: flex;
    gap: 1.5rem;
}

.im-footer-legal-link {
    font-size: 0.8rem;
    color: #718096;
    text-decoration: none;
    transition: color 0.2s;
}

.im-footer-legal-link:hover {
    color: var(--im-navy);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .im-footer {
        padding: 1.5rem 1rem 0;
    }

    .im-footer-card {
        padding: 2rem 1.5rem 1.5rem;
        border-radius: 14px;
    }

    .im-footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .im-footer-brand {
        max-width: 100%;
    }

    .im-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ==========================================================
   PRODUCT-TO-MARKET MAPPING SECTION — im-ptm
   Desktop: animated trade route arcs + glowing dots
   Mobile/Tablet: accordion region cards
   ========================================================== */

.im-ptm-section {
    background: var(--im-navy-dark);
    padding: 6rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.im-ptm-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Section Header ── */
.im-ptm-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.im-ptm-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--im-gold);
    background: rgba(196, 154, 46, 0.1);
    border: 1px solid rgba(196, 154, 46, 0.25);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1rem;
}

.im-ptm-header-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--im-gold);
    box-shadow: 0 0 6px var(--im-gold);
    flex-shrink: 0;
}

.im-ptm-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.im-ptm-accent {
    color: var(--im-gold);
}

.im-ptm-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* ── Map Wrapper (Desktop) ── */
.im-ptm-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 857;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    overflow: visible;
}

/* Dot-grid texture overlay */
.im-ptm-map-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 1;
}

/* Vignette edges */
.im-ptm-map-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(7, 24, 41, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

/* World map silhouette */
.im-ptm-map-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    filter: brightness(0) invert(1);
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
}

/* ── Arc SVG Layer ── */
.im-ptm-arcs-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}

.im-ptm-arc {
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.im-ptm-arc--gold {
    stroke: rgba(196, 154, 46, 0.55);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(196, 154, 46, 0.4));
}

.im-ptm-arc--blue {
    stroke: rgba(96, 165, 250, 0.55);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.4));
}

/* Arc draw animation — triggered by JS adding .im-ptm-arcs--animate */
.im-ptm-arcs--animate .im-ptm-arc {
    animation: im-ptm-draw-arc 1.8s ease-out forwards;
}

.im-ptm-arcs--animate .im-ptm-arc--d1 { animation-delay: 0.25s; }
.im-ptm-arcs--animate .im-ptm-arc--d2 { animation-delay: 0.55s; }
.im-ptm-arcs--animate .im-ptm-arc--d3 { animation-delay: 0.85s; }
.im-ptm-arcs--animate .im-ptm-arc--d4 { animation-delay: 1.15s; }
.im-ptm-arcs--animate .im-ptm-arc--d5 { animation-delay: 1.45s; }

@keyframes im-ptm-draw-arc {
    to { stroke-dashoffset: 0; }
}

/* Traveling particles */
.im-ptm-particle--gold {
    fill: rgba(196, 154, 46, 0.95);
    filter: drop-shadow(0 0 4px rgba(196, 154, 46, 0.9));
}

.im-ptm-particle--blue {
    fill: rgba(147, 197, 253, 0.95);
    filter: drop-shadow(0 0 4px rgba(147, 197, 253, 0.9));
}

/* ── Source City Dots (decorative) ── */
.im-ptm-source-city {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.im-ptm-source-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(196, 154, 46, 0.75);
    box-shadow: 0 0 0 2px rgba(196, 154, 46, 0.2), 0 0 10px rgba(196, 154, 46, 0.55);
}

.im-ptm-source-label {
    margin-top: 5px;
    font-size: 0.56rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ── Pin Groups (Market Destinations) ── */
.im-ptm-pin-group {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.im-ptm-pin-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px;
    transition: transform 0.2s ease-out;
    touch-action: manipulation;
    outline: none;
}

.im-ptm-pin-btn:focus-visible {
    outline: 2px solid var(--im-gold);
    outline-offset: 4px;
    border-radius: 50%;
}

/* Glowing circle dot */
.im-ptm-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease-out, box-shadow 0.2s;
}

.im-ptm-pin-btn--us .im-ptm-dot {
    background: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 0 14px rgba(59, 130, 246, 0.75);
}

.im-ptm-pin-btn--eu .im-ptm-dot {
    background: #60A5FA;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2), 0 0 14px rgba(96, 165, 250, 0.75);
}

.im-ptm-pin-btn--gcc .im-ptm-dot {
    background: var(--im-gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 46, 0.25), 0 0 18px rgba(196, 154, 46, 0.9);
}

.im-ptm-pin-btn--asia .im-ptm-dot {
    background: #34D399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2), 0 0 14px rgba(52, 211, 153, 0.75);
}

.im-ptm-pin-btn--hq2 .im-ptm-dot {
    background: #7dd3fc;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25), 0 0 18px rgba(56, 189, 248, 0.9);
}

.im-ptm-pin-group:hover .im-ptm-pin-btn,
.im-ptm-pin-group.active .im-ptm-pin-btn {
    transform: scale(1.15);
}

.im-ptm-pin-group:hover .im-ptm-dot,
.im-ptm-pin-group.active .im-ptm-dot {
    transform: scale(1.35);
}

/* Pulse ring */
.im-ptm-pulse {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: im-ptm-pulse 2.4s ease-out infinite;
}

.im-ptm-pin-btn--us   .im-ptm-pulse { background: #3B82F6; }
.im-ptm-pin-btn--eu   .im-ptm-pulse { background: #60A5FA; }
.im-ptm-pin-btn--gcc  .im-ptm-pulse { background: var(--im-gold); }
.im-ptm-pin-btn--asia .im-ptm-pulse { background: #34D399; }

@keyframes im-ptm-pulse {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.55; }
    100% { transform: translate(-50%, -50%) scale(4.5); opacity: 0; }
}

/* HQ badge above hub dot */
.im-ptm-hub-badge {
    position: absolute;
    bottom: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--im-gold);
    background: rgba(196, 154, 46, 0.15);
    border: 1px solid rgba(196, 154, 46, 0.45);
    border-radius: 100px;
    padding: 0.2rem 0.6rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 15;
    box-shadow: 0 0 12px rgba(196, 154, 46, 0.35);
}

.im-ptm-hub-badge--hq2 {
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* Make HQ pins slightly larger than market pins */
.im-ptm-pin-group--hq .im-ptm-dot {
    width: 13px;
    height: 13px;
}

/* ── Popup Cards (Glassmorphism) ── */
.im-ptm-popup {
    position: absolute;
    top: 50%;
    min-width: 230px;
    max-width: 270px;
    background: rgba(9, 18, 42, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.04);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.92);
    transition: opacity 0.22s ease-out, transform 0.22s ease-out;
    z-index: 50;
    overflow: hidden;
}

.im-ptm-popup--right {
    left: calc(100% + 12px);
    transform-origin: left center;
    transform: translateY(-50%) scale(0.92);
}

.im-ptm-popup--left {
    right: calc(100% + 12px);
    transform-origin: right center;
    transform: translateY(-50%) scale(0.92);
}

.im-ptm-pin-group:hover .im-ptm-popup,
.im-ptm-pin-group.active .im-ptm-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

/* Popup header */
.im-ptm-popup-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 1rem 0.75rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.im-ptm-popup-head--us   { background: rgba(30, 64, 175, 0.5); }
.im-ptm-popup-head--eu   { background: rgba(21, 101, 192, 0.5); }
.im-ptm-popup-head--gcc  { background: rgba(184, 134, 11, 0.4); }
.im-ptm-popup-head--asia { background: rgba(6, 95, 70, 0.5); }

.im-ptm-popup-flag {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.im-ptm-popup-region {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.im-ptm-popup-countries {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3px;
    line-height: 1.4;
}

/* Popup product list */
.im-ptm-popup-list {
    list-style: none;
    padding: 0.7rem 1rem 0.9rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.im-ptm-popup-list li {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.45;
}

.im-ptm-popup-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 9px;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23C49A2E' d='M13.7 3.3a1 1 0 0 1 0 1.4l-7.4 7.4a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L5.6 10l6.7-6.7a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ── Mobile / Tablet Cards Grid (hidden on desktop) ── */
.im-ptm-cards-grid {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.im-ptm-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.im-ptm-card-hdr {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: #fff;
    touch-action: manipulation;
    min-height: 44px;
    border-left: 3px solid transparent;
    transition: background 0.2s;
}

.im-ptm-card-hdr--us   { border-left-color: #3B82F6; }
.im-ptm-card-hdr--eu   { border-left-color: #60A5FA; }
.im-ptm-card-hdr--gcc  { border-left-color: var(--im-gold); }
.im-ptm-card-hdr--asia { border-left-color: #34D399; }

.im-ptm-card-hdr:hover,
.im-ptm-card-hdr[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.05);
}

.im-ptm-card-flag {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.im-ptm-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.im-ptm-card-region {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.im-ptm-card-countries {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.im-ptm-chevron {
    flex-shrink: 0;
    margin-left: 4px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.22s ease-out;
}

.im-ptm-card-hdr[aria-expanded="true"] .im-ptm-chevron {
    transform: rotate(180deg);
}

.im-ptm-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease-out, padding 0.2s;
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0);
}

.im-ptm-card-list.open {
    max-height: 320px;
    padding: 0.7rem 0.9rem 0.8rem;
    border-top-color: rgba(255, 255, 255, 0.05);
}

.im-ptm-card-list li {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}

.im-ptm-card-list li + li {
    margin-top: 0.28rem;
}

.im-ptm-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--im-gold);
    font-size: 0.7rem;
    font-weight: 700;
}

/* ── Footnote ── */
.im-ptm-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.78rem;
    text-align: center;
}

/* ── Responsive Breakpoints ── */

@media (max-width: 1023px) {
    .im-ptm-map-wrap { display: none; }
    .im-ptm-cards-grid { display: grid; }
}

@media (max-width: 639px) {
    .im-ptm-section { padding: 4rem 1rem 3.5rem; }
    .im-ptm-cards-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .im-ptm-card-countries { white-space: normal; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .im-ptm-pulse { animation: none; }
    .im-ptm-popup, .im-ptm-pin-btn, .im-ptm-card-list, .im-ptm-chevron { transition: none; }
    .im-ptm-arc { stroke-dashoffset: 0 !important; animation: none !important; }
}

/* Remove strikethrough line from service list hover effect */
.rt-line-v5 {
    display: none !important;
}

/* Services section: show all 6 cards immediately, no scroll animation */
#products [data-w-id="0112edb2-f8b5-7fb5-8c69-600e1f65a8b1"],
#products [data-w-id="4806bc69-e395-75d2-6f2b-3d2234ac1936"],
#products [data-w-id="20069aee-41c6-b07b-095a-85441ce3598f"],
#products [data-w-id="4806bc69-e395-75d2-6f2b-3d2234ac1941"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* Decorative orbit circles: solid, darker, fully connected */
.rt-circle-two {
    border: 1px solid rgba(0, 0, 0, 0.28) !important;
}

.rt-circle-three {
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
}

/* ==========================================================
   WHAT WE DO — static layout override
   Kills the 600vh scroll-pinned Webflow IX2 animation. Keeps
   the center dashed circle, positions it absolutely over a
   2-column card layout so cards sit close to the circle.
   ========================================================== */
#what-we-do.rt-cards {
    height: auto !important;
    padding: 5rem 1rem !important;
    min-height: 0 !important;
}

#what-we-do .rt-sticky-wrapper-v2 {
    position: static !important;
    height: auto !important;
    top: auto !important;
}

#what-we-do .rt-cards-outer-wrapper {
    position: relative !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    min-height: 640px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Cards wrapper: 2 columns, space pushed to edges so circle fills center */
#what-we-do .rt-cards-main-wrapper {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    z-index: 3 !important;
}

#what-we-do .rt-cards-left-wrapper,
#what-we-do .rt-cards-right-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 300px !important;
    flex: 0 0 300px !important;
    margin: 0 !important;
}

#what-we-do .rt-card-wrapper {
    max-width: 300px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 1.5rem 1.25rem !important;
    filter: none !important;
    align-self: auto !important;
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    border: 1px solid transparent;
    will-change: transform, opacity;
}

#what-we-do .rt-cards-right-wrapper .rt-card-wrapper {
    transform: translateX(36px);
}

#what-we-do .rt-card-wrapper.im-pillar-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Auto-highlight cycle */
@keyframes im-pillar-zoom-pop {
    0%   { transform: translateY(0) scale(1); }
    40%  { transform: translateY(-10px) scale(1.04); }
    70%  { transform: translateY(-6px) scale(1.01); }
    100% { transform: translateY(-6px) scale(1); }
}

@keyframes im-badge-ring {
    0%   { box-shadow: 0 0 0 0 rgba(196,154,46,0.6); }
    60%  { box-shadow: 0 0 0 12px rgba(196,154,46,0); }
    100% { box-shadow: 0 0 0 0 rgba(196,154,46,0); }
}

#what-we-do .rt-card-wrapper.im-pillar-active {
    animation: im-pillar-zoom-pop 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards !important;
    background-color: #000000 !important;
    border-color: var(--im-gold) !important;
    box-shadow: 0 24px 56px rgba(11, 38, 65, 0.45) !important;
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

#what-we-do .rt-card-wrapper.im-pillar-active .rt-card-image-wrap {
    opacity: 1 !important;
    width: 9.5rem !important;
    height: 7.0625rem !important;
}

#what-we-do .rt-card-wrapper.im-pillar-active .rt-card-title {
    color: #ffffff !important;
}

#what-we-do .rt-card-wrapper.im-pillar-active .rt-card-description {
    color: rgba(255,255,255,0.65) !important;
}

#what-we-do .rt-card-wrapper.im-pillar-active .rt-number-wrapper {
    animation: im-badge-ring 0.8s ease forwards !important;
    background-color: var(--im-gold) !important;
    transform: scale(1.1) !important;
}

/* Dark card hover — matches original Webflow black card style */
#what-we-do .rt-card-wrapper {
    overflow: hidden;
    transition: opacity 0.55s ease, transform 0.55s ease,
                background-color 0.35s ease, box-shadow 0.35s ease,
                border-color 0.35s ease !important;
}

/* Image reveals on hover */
#what-we-do .rt-card-image-wrap {
    opacity: 0;
    transition: opacity 0.35s ease !important;
}
#what-we-do .rt-card-wrapper:hover .rt-card-image-wrap {
    opacity: 1 !important;
}

/* Card goes dark */
#what-we-do .rt-card-wrapper:hover {
    background-color: #000000 !important;
    box-shadow: 0 24px 56px rgba(11, 38, 65, 0.45) !important;
    border-color: var(--im-gold) !important;
    transform: translateY(-6px) !important;
}

/* Text turns white */
#what-we-do .rt-card-wrapper:hover .rt-card-title {
    color: #ffffff !important;
}
#what-we-do .rt-card-wrapper:hover .rt-card-description {
    color: rgba(255,255,255,0.65) !important;
}

/* Badge goes gold */
#what-we-do .rt-card-wrapper:hover .rt-number-wrapper {
    background-color: var(--im-gold) !important;
    transform: scale(1.1) !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
}

/* Hover always wins dark bg over active state */
#what-we-do .rt-card-wrapper.im-pillar-active:hover {
    background-color: #000000 !important;
    animation: none !important;
}

#what-we-do .rt-card-wrapper.rt-card-v2,
#what-we-do .rt-card-wrapper.rt-card-v3 {
    margin-left: 0 !important;
    align-self: auto !important;
}

/* Center dashed circle — absolute over the center column */
#what-we-do .rt-main-circle-wrapper {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 340px !important;
    min-height: 340px !important;
    width: 340px !important;
    height: 340px !important;
    margin: 0 !important;
    z-index: 2 !important;
    background: radial-gradient(circle at 40% 35%, #fffdf7 0%, #fff 55%, #f8f4ec 100%) !important;
    border: 1.5px solid rgba(196,154,46,0.35) !important;
    box-shadow: 0 0 0 6px rgba(196,154,46,0.06), inset 0 2px 20px rgba(196,154,46,0.07) !important;
}

#what-we-do .rt-circle-two {
    min-width: 420px !important;
    max-width: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
}

#what-we-do .rt-circle-three {
    min-width: 500px !important;
    max-width: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
}

/* Circle animations */
@keyframes im-pillar-spin {
    to { transform: rotate(360deg); }
}

@keyframes im-pillar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#what-we-do .rt-circle-three {
    animation: im-pillar-spin 10s linear infinite !important;
    transform-origin: center center !important;
    border: 1.5px dashed rgba(196,154,46,0.45) !important;
}

#what-we-do .rt-circle-two {
    animation: im-pillar-pulse 4s ease-in-out infinite !important;
    border: 1px solid rgba(196,154,46,0.2) !important;
}

/* Center text cycling — slide-up fade */
#what-we-do .rt-service-v2-text-wrap {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

#what-we-do .rt-card-main-title-v1,
#what-we-do .rt-card-main-title-v2,
#what-we-do .rt-card-main-title-v3 {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    margin: auto !important;
    width: 78% !important;
    height: fit-content !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
    color: #0B2641 !important;
    opacity: 0 !important;
    transform: translateY(14px) !important;
    transition: opacity 0.55s ease, transform 0.55s ease !important;
    pointer-events: none;
    filter: none !important;
}

#what-we-do .rt-card-main-title-v1.im-pillar-text-active,
#what-we-do .rt-card-main-title-v2.im-pillar-text-active,
#what-we-do .rt-card-main-title-v3.im-pillar-text-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Progress arc SVG */
.im-pillar-arc-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Center card display — hidden, replaced by cycling text */
.im-pillar-center-display { display: none !important; }


#what-we-do .rt-card-animation,
#what-we-do .rt-card-animation > *,
#what-we-do .rt-number-wrapper {
    opacity: 1 !important;
}

/* Tablet: circle on top, cards stack in 2 cols below */
@media (max-width: 991px) {
    #what-we-do .rt-cards-outer-wrapper {
        flex-direction: column !important;
        min-height: 0 !important;
        gap: 2rem !important;
    }
    #what-we-do .rt-main-circle-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        order: -1;
        width: 300px !important;
        height: 300px !important;
        min-height: 300px !important;
    }
    #what-we-do .rt-circle-two,
    #what-we-do .rt-circle-three {
        display: none !important;
    }
    #what-we-do .rt-cards-main-wrapper {
        flex-direction: row !important;
        gap: 1rem !important;
    }
    #what-we-do .rt-cards-left-wrapper,
    #what-we-do .rt-cards-right-wrapper {
        flex: 1 1 0 !important;
        width: auto !important;
    }
    #what-we-do .rt-card-wrapper {
        max-width: none !important;
    }
}

/* Mobile: single column cards */
@media (max-width: 600px) {
    #what-we-do.rt-cards {
        padding: 3rem 0.75rem !important;
    }
    #what-we-do .rt-main-circle-wrapper {
        width: 260px !important;
        height: 260px !important;
        min-height: 260px !important;
    }
    #what-we-do .rt-card-main-title-v1 {
        font-size: 1.05rem !important;
        max-width: 200px !important;
    }
    #what-we-do .rt-cards-main-wrapper {
        flex-direction: column !important;
    }
}

/* ==========================================================
   PRODUCTS SECTION — "Browse full catalogue" CTA
   ========================================================== */
.im-products-cta-wrap {
    max-width: 1320px;
    margin: 3rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
}

.im-products-cta {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.35rem 2rem 1.35rem 2.25rem;
    background: #fff;
    border: 1px solid rgba(11, 38, 65, 0.12);
    border-radius: 999px;
    text-decoration: none;
    color: var(--im-navy);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease, padding 0.3s ease;
    box-shadow: 0 14px 34px -18px rgba(11, 38, 65, 0.35);
}

.im-products-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(196, 154, 46, 0.18) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.im-products-cta:hover {
    background: var(--im-navy);
    border-color: var(--im-navy);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 22px 50px -18px rgba(11, 38, 65, 0.55);
    padding-right: 2.5rem;
}
.im-products-cta:hover::before { transform: translateX(120%); }
.im-products-cta:hover .im-products-cta-rule { background: var(--im-gold); width: 30px; }
.im-products-cta:hover .im-products-cta-kicker { color: var(--im-gold); }
.im-products-cta:hover .im-products-cta-arrow { transform: translateX(6px); background: var(--im-gold); color: var(--im-navy-dark); border-color: var(--im-gold); }

.im-products-cta-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}
.im-products-cta-rule {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--im-gold);
    transition: width 0.3s ease;
}
.im-products-cta-kicker {
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--im-gold);
    transition: color 0.3s ease;
}

.im-products-cta-label {
    font-family: "Fraunces", "Cormorant Garamond", ui-serif, Georgia, serif;
    font-variation-settings: "opsz" 36, "SOFT" 40;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.im-products-cta-label em {
    font-style: italic;
    font-variation-settings: "opsz" 36, "SOFT" 90, "WONK" 1;
    color: var(--im-gold);
    font-weight: 400;
    transition: color 0.3s ease;
}
.im-products-cta:hover .im-products-cta-label em { color: var(--im-gold-light); }

.im-products-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(11, 38, 65, 0.25);
    background: transparent;
    color: var(--im-navy);
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

@media (max-width: 600px) {
    .im-products-cta {
        gap: 1rem;
        padding: 1.1rem 1.25rem 1.1rem 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .im-products-cta-meta { width: 100%; justify-content: center; }
    .im-products-cta-label { flex: 1 1 auto; }
}

/* ==========================================================
   WHAT WE DO — service card image overrides
   Keeps Webflow's original scroll-reveal animation on
   .rt-card-image-wrap-v2/v3/v4; only swaps generic stock
   portraits with service-relevant imagery.
   Card mapping:
     02 Import & Export       → v2 (shipping containers)
     03 Quality Control       → v3 (inspection)
     04 Logistics Air & Sea   → v4 (cargo plane / ship)
     06 Market Study          → v2 (reuses slot)
   ========================================================== */
#what-we-do .rt-card-image-wrap.rt-card-image-wrap-v2 {
    background-image: url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=900&q=80") !important;
}
#what-we-do .rt-card-image-wrap.rt-card-image-wrap-v3 {
    background-image: url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?w=900&q=80") !important;
}
#what-we-do .rt-card-image-wrap.rt-card-image-wrap-v4 {
    background-image: url("https://images.unsplash.com/photo-1569154941061-e231b4725ef1?w=900&q=80") !important;
}

/* ── Slightly wider cards ── */
#what-we-do .rt-card-wrapper {
    max-width: 360px !important;
}
#what-we-do .rt-cards-left-wrapper,
#what-we-do .rt-cards-right-wrapper {
    width: 360px !important;
    flex: 0 0 360px !important;
}

@media (max-width: 991px) {
    #what-we-do .rt-card-wrapper { max-width: none !important; }
    #what-we-do .rt-cards-main-wrapper { flex-direction: column !important; align-items: stretch !important; }
    #what-we-do .rt-cards-left-wrapper,
    #what-we-do .rt-cards-right-wrapper { display: contents !important; }
    #what-we-do .rt-cards-left-wrapper .rt-card-wrapper:nth-child(1) { order: 1; }
    #what-we-do .rt-cards-left-wrapper .rt-card-wrapper:nth-child(2) { order: 3; }
    #what-we-do .rt-cards-left-wrapper .rt-card-wrapper:nth-child(3) { order: 5; }
    #what-we-do .rt-cards-right-wrapper .rt-card-wrapper:nth-child(1) { order: 2; }
    #what-we-do .rt-cards-right-wrapper .rt-card-wrapper:nth-child(2) { order: 4; }
    #what-we-do .rt-cards-right-wrapper .rt-card-wrapper:nth-child(3) { order: 6; }
}

/* ==========================================================
   WHAT WE DO — mobile interactivity (no hover on touch)
   Cards animate in on scroll + react on tap.
   ========================================================== */
@media (max-width: 991px) {
    #what-we-do .rt-card-wrapper {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
        transition:
            opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.4s ease,
            background-color 0.4s ease;
        -webkit-tap-highlight-color: transparent;
    }
    #what-we-do .rt-card-wrapper.im-wd-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    #what-we-do .rt-card-wrapper.im-wd-active {
        background-color: #fffaf0 !important;
        box-shadow: 0 1.25rem 2.5rem rgba(11, 38, 65, 0.18);
        transform: translateY(-4px) scale(1.015);
    }
    #what-we-do .rt-card-image-wrap {
        transition:
            transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.45s ease;
        will-change: transform;
    }
    #what-we-do .rt-card-wrapper.im-wd-active .rt-card-image-wrap {
        transform: scale(1.18) rotate(-2deg);
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.25);
    }
    #what-we-do .rt-number-wrapper {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
    }
    #what-we-do .rt-card-wrapper.im-wd-active .rt-number-wrapper {
        background-color: var(--im-gold, #C49A2E) !important;
        transform: scale(1.12);
    }
    #what-we-do .rt-card-wrapper.im-wd-active .rt-card-title {
        color: var(--im-navy, #0B2641) !important;
    }
    /* Pulse ring on active card */
    #what-we-do .rt-card-wrapper {
        position: relative;
    }
    #what-we-do .rt-card-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 2px solid transparent;
        pointer-events: none;
        transition: border-color 0.4s ease;
    }
    #what-we-do .rt-card-wrapper.im-wd-active::after {
        border-color: var(--im-gold, #C49A2E);
    }
}

/* Respect reduced motion */
@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
    #what-we-do .rt-card-wrapper,
    #what-we-do .rt-card-image-wrap,
    #what-we-do .rt-number-wrapper {
        transition: none !important;
    }
    #what-we-do .rt-card-wrapper {
        opacity: 1;
        transform: none;
    }
}

/* ── SEO/A11y: visually-hidden text (kept in DOM for screen readers + crawlers) ── */
.im-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ── Hero "Trading" span styled to match the H1 it replaced (single-H1 SEO rule) ── */
.rt-hero-text-wrap-right .im-h1-line {
    display: block;
    font-family: var(--font-family--heading-font);
    font-size: var(--font-sizes--h1-size);
    line-height: var(--line-heights--h1-heights);
    font-weight: var(--font-weights--heading);
    letter-spacing: var(--letter-spacing--h1-spacing);
    margin: 0;
}

/* ── What We Do — brand imagery overrides for cards 1, 3, 6 ──
   Webflow exported these with stock placeholder images. Override here
   so re-exports from Webflow won't clobber. To swap images, edit only
   the background-image URLs below. */
#what-we-do .rt-card-image-wrap.im-wd-img-1 {
    background-image: url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?w=900&q=80") !important;
}
#what-we-do .rt-card-image-wrap.im-wd-img-3 {
    background-image: url("../images/placeholders/wd-quality-control.svg");
}
#what-we-do .rt-card-image-wrap.im-wd-img-5 {
    background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?w=900&q=80") !important;
}
#what-we-do .rt-card-image-wrap.im-wd-img-6 {
    background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=900&q=80") !important;
}

/* ── Hero heading colour enforcement (per client mockup) ── */
.rt-hero-heading-wrap h1,
.rt-hero-heading-wrap h1.rt-text-color-white,
.rt-hero-text-wrap-left h1,
.rt-hero-text-wrap-right .im-h1-line {
    color: #ffffff !important;
}

/* ── Our Products carousel — prev/next arrow controls ── */
.im-products-nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1.25rem;
    align-self: flex-end;
}
.im-products-nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1.5px solid var(--im-navy, #0B2641);
    background: transparent;
    color: var(--im-navy, #0B2641);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
    flex: 0 0 auto;
    padding: 0;
}
.im-products-nav-btn:hover,
.im-products-nav-btn:focus-visible {
    background: var(--im-navy, #0B2641);
    color: #fff;
    outline: none;
}
.im-products-nav-btn:active {
    transform: scale(0.94);
}
.im-products-nav-btn svg {
    width: 1.1rem;
    height: 1.1rem;
}
@media (max-width: 767px) {
    .im-products-nav { gap: 0.5rem; padding-left: 0; }
    .im-products-nav-btn { width: 2.5rem; height: 2.5rem; }
}

/* ── Hamburger menu — narrow right-side panel (per client) ── */
.rt-hamburger-nav-block .rt-navigation .rt-navigation-inner {
    justify-content: flex-end;
}
.rt-hamburger-nav-block .rt-nav-content-wrap {
    width: 100%;
    max-width: 26rem;
    padding-top: 5.5rem;
}
.rt-hamburger-nav-block .rt-nav-background {
    width: 100%;
    max-width: 26rem;
    margin-left: auto;
    box-shadow: -1.25rem 0 3rem rgba(0,0,0,0.18);
}
.rt-hamburger-nav-block .rt-hamburger-menu-top-wrap .rt-text-style-h2,
.rt-hamburger-nav-block .rt-hamburger-menu-link {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}
.rt-hamburger-nav-block .rt-hamburger-menu-top-wrap {
    grid-row-gap: 0.4rem;
    padding-top: 0.6rem;
    padding-bottom: 0.8rem;
}
.rt-hamburger-nav-block .rt-menu-bottom-line {
    height: 0.0625rem;
    bottom: 0.15rem;
}
@media (max-width: 600px) {
    .rt-hamburger-nav-block .rt-nav-content-wrap,
    .rt-hamburger-nav-block .rt-nav-background {
        max-width: 22rem;
    }
}
@media (max-width: 420px) {
    .rt-hamburger-nav-block .rt-nav-content-wrap,
    .rt-hamburger-nav-block .rt-nav-background {
        max-width: 100%;
    }
}
