/* ============================================
   SANTKASH SHIPBROKERS AND LOGISTICS LLP
   Global Stylesheet — Style.css
   Original navy-and-neutral palette, with one blue accent and gold kept for
   the main call-to-action buttons.
   ============================================ */

:root {
    --navy: #0b2545;        /* brand navy: dark sections, headings, primary buttons */
    --navy-2: #13315c;      /* hover state of navy */
    --navy-deep: #071a33;   /* footer */
    --navy-soft: #e8eef6;
    --blue: #24589a;        /* accent blue: labels, links, ticks on light backgrounds (7:1) */
    --ink: #18212f;
    --muted: #5a6577;
    --line: #e2e7ee;
    --bg: #ffffff;
    --bg-alt: #eef2f8;
    --gold-light: #e6b85c;  /* gold: call-to-action buttons and highlights on navy */
    --gold-hover: #f0c870;
    --green: #1f8a4c;       /* success messages only */
    --red: #c0392b;
    --font-heading: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 4px 16px rgba(11, 37, 69, 0.06);
    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto; /* keep the shape when the width shrinks (images carry width/height attributes) */
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance; /* even line lengths, no single word left on the last line */
}

p {
    text-wrap: pretty;
}

/* keyboard focus ring: bright gold on the dark areas, darker gold on light ones */
.header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.network :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible {
    outline-color: var(--gold-light);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s ease;
    white-space: nowrap;
}

/* ===== ICONS (Lucide, inline SVG) ===== */
.ic {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    stroke-width: 1.75;
    vertical-align: -0.125em;
}

.ic.spin {
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn .ic {
    font-size: 17px;
}

.btn-primary {
    color: #fff;
    background: var(--navy);
}

.btn-primary:hover {
    background: var(--navy-2);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
}

.btn-gold {
    color: var(--navy);
    background: var(--gold-light);
}

.btn-gold:hover {
    background: var(--gold-hover);
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* pressed state: a small dip gives clear feedback on click and tap */
.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-block {
    width: 100%;
}

.link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
}

.link .ic {
    font-size: 15px;
    color: var(--blue);
    transition: transform 0.2s;
}

.link:hover .ic {
    transform: translateX(3px);
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s;
}

.header-inner {
    transition: height 0.3s ease;
}

/* home page: header floats over the slideshow, turns solid once you scroll */
.header.transparent {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-top-color: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.header.transparent.scrolled,
.header.transparent.menu-open {
    background: var(--navy);
}

.header.transparent ~ main .hero {
    min-height: min(100vh, 900px);
    padding-top: calc(var(--header-h) + 64px);
}

/* header gets a little slimmer once you scroll */
.header.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.header.scrolled .header-inner {
    height: 64px;
}

.header .logo img {
    transition: width 0.3s ease, height 0.3s ease;
}

.header.scrolled .logo img {
    width: 40px;
    height: 40px;
}

.header .logo-name {
    color: #fff;
}

/* "ShipBrokers and Logistics" highlighted in the logo gold */
.header .logo-tag {
    font-weight: 600;
    color: var(--gold-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

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

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.08em;
    color: var(--navy);
}

.logo-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav > a:not(.btn),
.nav-dropdown > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s;
}

/* underline that grows in on hover / current section */
.nav > a:not(.btn)::after,
.nav-dropdown > a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--gold-light);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav > a:not(.btn):hover,
.nav-dropdown > a:hover,
.nav a.current {
    color: #fff;
}

.nav > a:not(.btn):hover::after,
.nav-dropdown > a:hover::after,
.nav a.current::after {
    transform: scaleX(1);
}

.nav > .btn {
    margin-left: 14px;
    min-height: 44px;
}

.nav > .btn.current {
    background: var(--gold-hover);
}

.btn .ic-arrow-right {
    transition: transform 0.25s ease;
}

.btn:hover .ic-arrow-right {
    transform: translateX(4px);
}

.dropdown-arrow {
    font-size: 15px;
    transition: transform 0.2s;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 540px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(11, 37, 69, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

/* hover bridge */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.dropdown-item:hover,
.dropdown-item.current {
    background: var(--bg-alt);
}

/* menu items: icon tile turns gold on hover, like the cards */
.dropdown-item:hover .icon {
    color: var(--navy);
    background: var(--gold-light);
}

.dropdown-item h4 {
    font-size: 15px;
    font-weight: 600;
}

.dropdown-item p {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== SHARED ===== */
.icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 19px;
    color: var(--gold-light);
    background: var(--navy);
    border-radius: var(--radius-sm);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.icon.sm {
    width: 40px;
    height: 40px;
    font-size: 19px;
}

.section {
    padding: 96px 0;
}

.section.alt {
    background: var(--bg-alt);
}

.section-head {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
}

.section-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 17px;
    color: var(--muted);
}

.section-sub a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s ease;
}

.card:hover {
    border-color: rgba(36, 88, 154, 0.35);
    box-shadow: 0 10px 28px rgba(11, 37, 69, 0.12);
    transform: translateY(-3px);
}

.ticks {
    display: grid;
    gap: 10px;
}

.ticks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
}

.ticks .ic {
    color: var(--blue);
    font-size: 16px;
    margin-top: 0.22em;
    stroke-width: 2.25;
}

/* short rule under every section label */
.section .eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 8px;
    border-radius: 2px;
    background: var(--blue);
    transform-origin: left;
    transition: transform 0.6s ease 0.2s;
}

.network .eyebrow::after {
    background: var(--gold-light);
}

.section-head.center .eyebrow::after {
    margin-left: auto;
    margin-right: auto;
    transform-origin: center;
}

.js .reveal .eyebrow::after {
    transform: scaleX(0);
}

.js .reveal.in .eyebrow::after {
    transform: scaleX(1);
}

/* reveal on scroll (only once JS is running) */
.js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease var(--d, 0s), transform 0.5s ease var(--d, 0s);
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

/* revealed cards keep their hover lift */
.js .card.reveal.in {
    transition: opacity 0.5s ease var(--d, 0s), transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.js .card.reveal.in:hover {
    transform: translateY(-3px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(calc(100vh - var(--header-h)), 760px);
    padding: 80px 0 48px;
    color: #fff;
    background: var(--navy);
}

.slides,
.slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.6s ease-in-out, transform 8s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    background: rgba(7, 26, 51, 0.78);
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero h1 .line {
    display: block;
}

.hero h1 .gold {
    color: var(--gold-light);
}

/* staged entrance on page load */
.js .hero-anim {
    opacity: 0;
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) forwards;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

.js .hero-logo img {
    opacity: 0;
    animation: logo-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s forwards, bob 7s ease-in-out 1.6s infinite;
}

@keyframes logo-in {
    from { opacity: 0; transform: scale(0.85) rotate(-6deg); }
    to { opacity: 1; transform: none; }
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: var(--gold-light);
}

/* key numbers panel at the bottom of the hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 56px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-stat {
    padding: 22px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:first-child {
    border-left: 0;
}

.hero-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gold-light);
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-areas:
        "head logo"
        "body logo";
    column-gap: 64px;
}

.hero-head { grid-area: head; }
.hero-body { grid-area: body; }

.hero-logo {
    grid-area: logo;
    align-self: center;
    justify-self: center;
}

.hero-logo img {
    width: min(360px, 100%);
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.hero h1 {
    color: #fff;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}



.hero-sub {
    max-width: 580px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== NETWORK (big map) ===== */
.network {
    background: var(--navy);
}

.network .section-title {
    color: #fff;
}

.network .eyebrow {
    color: var(--gold-light);
}

.network .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.container.wide {
    max-width: 1400px;
}

.network .card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.network .card:hover {
    border-color: rgba(230, 184, 92, 0.5);
    box-shadow: none;
}

.network .compliance-item h4 {
    color: #fff;
}

.network .compliance-item p {
    color: rgba(255, 255, 255, 0.65);
}

.network /* ===== COMPLIANCE ===== */
.compliance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

/* world map card */
.map-card {
    padding: 24px;
    background: #0f2e55;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.world {
    position: relative;
    width: 100%;
}

.world-map,
.world-lanes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.world-lanes path {
    fill: none;
    stroke: var(--gold-light);
    stroke-opacity: 0.55;
    stroke-width: 1.2;
    stroke-linecap: round;
}

/* lanes draw in, then ports pop in, once the map scrolls into view */
.js .map-card .world-lanes path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.4s ease calc(0.3s + var(--i) * 0.08s);
}

.js .map-card.in .world-lanes path {
    stroke-dashoffset: 0;
}

.js .map-card .pt {
    opacity: 0;
    transition: opacity 0.4s ease calc(var(--i) * 0.04s);
}

.js .map-card.in .pt {
    opacity: 1;
}

/* port marker: dot at the real position, label beside it */
.pt {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 0 3px #0f2e55, 0 0 3px #0f2e55, 0 0 3px #0f2e55;
    transform: translate(10px, -50%);
}

.pt::before {
    content: '';
    position: absolute;
    left: -13px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 0 2px #0f2e55;
}

.pt.left { transform: translate(calc(-100% - 10px), -50%); }
.pt.left::before { left: auto; right: -13px; }

.pt.top { transform: translate(-50%, calc(-100% - 10px)); }
.pt.top::before { top: auto; left: 50%; bottom: -13px; margin: 0 0 0 -3.5px; }

.pt.bottom { transform: translate(-50%, 10px); }
.pt.bottom::before { top: -13px; left: 50%; margin: 0 0 0 -3.5px; }

/* India hub: larger gold dot with a soft pulse */
.pt.hub-pt {
    font-weight: 700;
    color: var(--gold-light);
}

.pt.hub-pt::before {
    width: 11px;
    height: 11px;
    margin-top: -5.5px;
    right: -15px;
    box-shadow: 0 0 0 3px #0f2e55;
}

.pt.hub-pt::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    width: 21px;
    height: 21px;
    margin-top: -10.5px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-light);
    animation: ping 2.6s ease-out infinite;
}

@keyframes ping {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ===== SERVICES (home) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.service-card {
    overflow: hidden;
}

.card-banner {
    display: block;
    height: 170px;
    margin: -28px -28px 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .card-banner {
    transform: scale(1.04);
}

.service-card h3 {
    margin-top: 22px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card > p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 18px;
}

.service-card .ticks {
    margin-bottom: 24px;
}

.service-card .ticks li {
    font-size: 14.5px;
}

.service-card .link {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* ===== ABOUT / WHY ===== */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.about-media {
    position: relative;
    margin: 0;
}

.about-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 7;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-badge {
    position: absolute;
    left: -24px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(11, 37, 69, 0.18);
}

.about-badge-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--navy);
    background: var(--gold-light);
    border-radius: var(--radius-sm);
}

.about-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--navy);
}

.about-badge small {
    font-size: 13.5px;
    color: var(--muted);
}

.about-text p {
    color: var(--muted);
    font-size: 16.5px;
    margin-bottom: 16px;
}

.about-text .btn {
    margin-top: 12px;
}

.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin: 28px 0 32px;
}

.why-list li {
    display: flex;
    gap: 14px;
}

.why-list h4 {
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.about-text .why-list p {
    font-size: 14px;
    margin: 0;
}

/* ===== STEPS ===== */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* dashed line joining the step markers (desktop only) */
.steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 22px;
    right: calc((100% - 60px) / 4 - 22px);
    border-top: 2px dashed rgba(36, 88, 154, 0.35);
}

.step {
    position: relative;
    padding-right: 12px;
}

.step-num {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-light);
    background: var(--navy);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--bg-alt);
}

.section:not(.alt) .step-num {
    box-shadow: 0 0 0 6px var(--bg);
}

.step h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 14.5px;
    color: var(--muted);
}

/* ===== INDUSTRIES ===== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.industry {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
}

.compliance {
    display: grid;
    gap: 14px;
}

.compliance-item {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.compliance-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.compliance-item p {
    font-size: 14.5px;
    color: var(--muted);
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-list summary:hover {
    color: var(--navy-2);
}

.faq-list details[open] {
    border-color: var(--gold-light);
    box-shadow: var(--shadow);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: var(--blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-body {
    overflow: hidden;
}

.faq-list details p {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 15px;
}

/* ===== CTA BAND ===== */
.cta-band {
    position: relative;
    padding: 96px 0;
    color: #fff;
    text-align: center;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7, 26, 51, 0.86);
}

.cta-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.cta-inner h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-inner p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    padding: 56px 0 72px;
    color: #fff;
    background: var(--navy);
}

.page-hero.has-photo {
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-hero.has-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7, 26, 51, 0.8);
}

.page-hero > .container {
    position: relative;
}

.page-hero h1 {
    color: #fff;
}

.page-hero .icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 56px;
    align-items: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .ic {
    font-size: 14px;
    opacity: 0.7;
}

.breadcrumb span {
    color: #fff;
    font-weight: 500;
}

.page-hero .icon {
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: clamp(34px, 4.4vw, 50px);
    font-weight: 800;
    margin-bottom: 10px;
}

.page-tagline {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.page-hero .lead a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-hero .lead {
    max-width: 620px;
    font-size: 17.5px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

.glance {
    padding: 28px;
    color: var(--ink);
}

.glance h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
}

.glance .ticks {
    margin-bottom: 22px;
}

.glance-foot {
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.glance-foot .ic {
    font-size: 16px;
    color: var(--blue);
    margin-right: 8px;
}

/* ===== SERVICE PAGES ===== */
.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.prose p {
    font-size: 16.5px;
    color: var(--muted);
    margin-bottom: 16px;
}

.benefits {
    padding: 28px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.benefits h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    padding: 26px;
}

.feature .icon {
    margin-bottom: 16px;
}

.feature h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature p {
    font-size: 14.5px;
    color: var(--muted);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.list-card {
    padding: 28px;
}

.list-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
}

.list-card > p {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 18px;
}

.other-services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.other-service {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    font-weight: 600;
    color: var(--navy);
}

.other-service > .ic-arrow-right {
    margin-top: auto;
    font-size: 17px;
    color: var(--blue);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
    align-items: start;
}

.form-card {
    padding: 36px;
}

.form-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-card > p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.form-group label span {
    color: var(--muted);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfd8e3;
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6577' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7585;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.12);
}

.form-note {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--muted);
    text-align: center;
}

.form-note a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp {
    display: none;
}

.form-message {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 22px;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.form-message[hidden] {
    display: none;
}

.form-message .ic {
    font-size: 22px;
    margin-top: 1px;
}

.form-message p {
    color: var(--muted);
}

.form-message a {
    color: var(--navy);
    font-weight: 600;
}

.form-success {
    background: #eaf6ef;
    border: 1px solid #b9e0c8;
}

.form-success .ic { color: var(--green); }

.form-error {
    background: #fbecea;
    border: 1px solid #f1c4bf;
}

.form-error .ic { color: var(--red); }

.info-list {
    display: grid;
    gap: 14px;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.info-item h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.info-item p,
.info-item a {
    font-size: 15.5px;
    color: var(--ink);
}

.info-item a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.info-list {
    padding: 8px 24px 24px;
    background: var(--navy);
    border-radius: var(--radius);
    gap: 0;
}

.info-list .info-item,
.info-list .info-item:hover {
    padding: 18px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.info-list .icon {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
}

.info-list .info-item h4 {
    color: rgba(255, 255, 255, 0.6);
}

.info-list .info-item p,
.info-list .info-item a {
    color: #fff;
}

.info-list .info-item a:hover {
    color: var(--gold-light);
}

.info-list .map-embed {
    margin-top: 20px;
    border-color: rgba(255, 255, 255, 0.12);
}

.map-embed {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 260px;
    background: var(--bg-alt);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* click-to-load placeholder, so Google Maps only loads when asked */
.map-load {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--navy);
    background: none;
    border: 0;
    transition: background-color 0.2s;
}

.map-load:hover {
    background: var(--navy-soft);
}

.map-load .ic {
    font-size: 32px;
    color: var(--blue);
    margin-bottom: 6px;
}

.map-load small {
    color: var(--muted);
}

/* ===== PRIVACY POLICY ===== */
.legal {
    max-width: 780px;
}

.legal h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 12px;
}

.legal p,
.legal li {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 12px;
}

.legal ul {
    list-style: disc;
    padding-left: 22px;
}

.legal a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal strong {
    color: var(--ink);
}

/* ===== 404 ===== */
.not-found {
    padding: 120px 0;
}

.not-found .hero-actions {
    margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    padding: 72px 0 28px;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
}

/* Divider between the page and the footer: a tricolour line that fades out
   at both ends, with the logo in a gold-ringed badge at its centre */
.footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: min(880px, 86%);
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to right,
        transparent 0%,
        #ff9933 22%, #ff9933 40%,
        #ffffff 46%, #ffffff 54%,
        #138808 60%, #138808 78%,
        transparent 100%);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--navy-deep) url("logo-96.webp") center / 42px no-repeat;
    border: 2px solid var(--gold-light);
    box-shadow: 0 0 0 6px var(--navy-deep), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer .logo-name {
    color: #fff;
}

.footer .logo-tag {
    font-weight: 700;
    color: var(--gold-light);
}

.footer-brand p {
    margin: 18px 0 22px;
    max-width: 320px;
    font-size: 14.5px;
}

/* social media buttons (footer and contact page, both on navy) */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    transition: color 0.2s, border-color 0.2s, background-color 0.2s, transform 0.25s ease;
}

.social-link:hover {
    color: var(--navy);
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.info-list .social-links {
    margin-top: 8px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col a,
.footer-col span {
    font-size: 14.5px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact .ic {
    color: var(--gold-light);
    font-size: 16px;
    margin-top: 0.15em;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13.5px;
    text-align: center;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: #fff;
    background: var(--navy);
    border: none;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, background-color 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--navy-2);
}

/* ===== INTERACTIONS =====
   Small, quick details. Everything that moves is switched off for visitors who ask for reduced motion. */

/* icon tiles turn gold when their card is hovered */
.card:hover .icon {
    color: var(--navy);
    background: var(--gold-light);
}

/* underline that sweeps in from the left on footer and breadcrumb links */
.footer-col a,
.breadcrumb a {
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
    transition: background-size 0.3s ease, color 0.2s;
}

.footer-col a:hover,
.breadcrumb a:hover {
    background-size: 100% 1px;
}

/* contact form: a field turns red once it has been filled in wrongly */
.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* smooth fade between pages; the header stays in place */
@view-transition {
    navigation: auto;
}

.header {
    view-transition-name: site-header;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.3s;
}

@media (prefers-reduced-motion: no-preference) {
    /* section headings: words rise into place one after another (split by main.js) */
    .js .reveal .section-title .word {
        display: inline-block;
        overflow: hidden;
        vertical-align: top;
        padding-bottom: 0.12em;
        margin-bottom: -0.12em;
    }

    .js .reveal .section-title .word > span {
        display: inline-block;
        transform: translateY(110%);
        transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--d, 0s) + var(--w) * 0.05s);
    }

    .js .reveal.in .section-title .word > span {
        transform: none;
    }

    /* service photos unveil from the top as their card scrolls in */
    .js .service-card.reveal .card-banner {
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--d, 0s) + 0.1s), transform 0.5s ease;
    }

    .js .service-card.reveal.in .card-banner {
        clip-path: inset(0);
    }

    .js .about-media.reveal img {
        clip-path: inset(0 0 100% 0);
        transition: clip-path 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s;
    }

    .js .about-media.reveal.in img {
        clip-path: inset(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .section { padding: 80px 0; }
    .services-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: 1fr 1fr; }
    .other-services { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { column-gap: 40px; }
    .pt { font-size: 11px; }
}

@media (max-width: 900px) {

    .nav-toggle { display: flex; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        padding: 12px 16px 24px;
        background: var(--navy);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav > a:not(.btn),
    .nav-dropdown > a {
        width: 100%;
        padding: 14px 12px;
        font-size: 16px;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav > a:not(.btn)::after,
    .nav-dropdown > a::after { display: none; }

    .nav a.current { color: var(--gold-light); }
    .dropdown-item h4 { color: #fff; }
    .dropdown-item p { color: rgba(255, 255, 255, 0.6); }
    .dropdown-item:hover,
    .dropdown-item.current { background: rgba(255, 255, 255, 0.06); }

    .nav > .btn {
        margin: 10px 0 0;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        width: auto;
        padding: 0 0 8px;
        display: none;
        grid-template-columns: 1fr;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        transform: none;
    }

    .nav-dropdown.open .dropdown-menu { display: grid; }
    .nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

    .hero { padding: 48px 0 56px; }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "head" "logo" "body";
    }

    .hero-logo { margin: 4px 0 28px; }
    .hero-logo img { width: min(240px, 70vw); }

    .about-grid,
    .faq-grid,
    .overview-grid,
    .page-hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero { min-height: 0; padding: 56px 0 80px; }
    .header.transparent ~ main .hero { min-height: 0; padding: calc(var(--header-h) + 56px) 0 48px; }
    .steps::before { display: none; }
    .about-media { max-width: 520px; }
    .network .compliance { grid-template-columns: 1fr; }
}

/* mobile menu: items cascade in when it opens */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
    .nav > * {
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s;
    }

    .nav.active > * {
        opacity: 1;
        transform: none;
    }

    .nav.active > :nth-child(2) { transition-delay: 0.04s; }
    .nav.active > :nth-child(3) { transition-delay: 0.08s; }
    .nav.active > :nth-child(4) { transition-delay: 0.12s; }
    .nav.active > :nth-child(5) { transition-delay: 0.16s; }
    .nav.active > :nth-child(6) { transition-delay: 0.2s; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .logo-name { font-size: 18px; }
    .logo-tag { font-size: 10px; }
    .hero h1 { font-size: clamp(34px, 10vw, 44px); }
    .hero-sub { font-size: 16.5px; }
    .hero-actions .btn,
    .page-hero .hero-actions .btn,
    .cta-actions .btn { width: 100%; }

    .map-card { padding: 12px; margin: 0 -4px; }
    .card-banner { height: 150px; margin: -24px -20px 0; }
    .pt { font-size: 9.5px; }
    .world-lanes path { stroke-width: 2.6; }
    .pt::before { width: 5px; height: 5px; margin-top: -2.5px; }
    .pt.minor { font-size: 0; }
    .pt.m-top { transform: translate(-50%, calc(-100% - 8px)); }
    .pt.m-top::before { top: auto; right: auto; left: 50%; bottom: -11px; margin: 0 0 0 -2.5px; }

    .services-grid,
    .feature-grid,
    .industry-grid,
    .steps,
    .two-col,
    .form-grid {
        grid-template-columns: 1fr;
    }

    /* footer: Company and Services side by side, brand and contact full width */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-brand,
    .footer-col:last-child { grid-column: 1 / -1; }
    /* keep the copyright clear of the back-to-top button */
    .footer-bottom { padding-bottom: 64px; }

    /* footer divider on phones: the brand logo sits just below, so the badge
       becomes a small gold diamond and the line spans the full width */
    .footer { padding-top: 52px; }
    .footer::before { width: 100%; }
    .footer::after {
        width: 12px;
        height: 12px;
        border-radius: 2px;
        border: 0;
        background: var(--gold-light);
        transform: translate(-50%, -50%) rotate(45deg);
        box-shadow: 0 0 0 5px var(--navy-deep), 0 0 14px rgba(230, 184, 92, 0.55);
    }
    /* brand block centred so it sits under the divider */
    .footer-brand { text-align: center; }
    .footer-brand .logo { justify-content: center; text-align: left; }
    .cta-band { padding: 64px 0; }

    /* home hero on phones: smaller logo, buttons side by side, compact stats */
    .header.transparent ~ main .hero { padding: calc(var(--header-h) + 28px) 0 40px; }
    .hero h1 { font-size: clamp(32px, 9vw, 40px); }
    .hero-logo { margin: 0 0 18px; }
    .hero-logo img { width: min(150px, 42vw); }
    .hero-sub { font-size: 15.5px; }
    .hero .hero-actions,
    .page-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero .hero-actions .btn,
    .page-hero .hero-actions .btn { padding: 0 12px; font-size: 14.5px; }
    .page-hero { padding: 32px 0 48px; }
    .hero-stats { margin-top: 28px; }
    .hero-stat { padding: 14px 16px; }
    .hero-stat-num { font-size: 24px; }
    .hero-stat-label { font-size: 13px; }
    .cta-inner { gap: 22px; }
    .footer-brand p { margin: 14px auto 18px; font-size: 14px; }
    .footer-brand .social-links { justify-content: center; }

    .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .industry { padding: 14px; gap: 10px; font-size: 14px; line-height: 1.3; }
    .industry .icon.sm { width: 34px; height: 34px; font-size: 14px; }
    .other-services { grid-template-columns: 1fr 1fr; }
    .service-card, .form-card { padding: 24px 20px; }
    .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
    .hero-stat { padding: 18px; }
    .hero-stat:nth-child(3) { border-left: 0; }
    .hero-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
    .hero-stat-num { font-size: 28px; }
    .about-badge { left: 12px; bottom: 16px; }
    .why-list { grid-template-columns: 1fr; }

    /* steps: vertical timeline on phones */
    .steps { gap: 28px; }
    .steps::before { display: block; top: 22px; bottom: 22px; left: 21px; right: auto; border-top: 0; border-left: 2px dashed rgba(36, 88, 154, 0.35); }
    .step { padding-left: 64px; }
    .step-num { position: absolute; left: 0; top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js .reveal,
    .js .hero-anim,
    .js .hero-logo img {
        opacity: 1;
        transform: none;
    }
}
