/* LMEX landing page. Brand colours and type follow the LMEX company profile. */
:root {
    --navy: #0b1b33;
    --ink: #13233d;
    --muted: #55657d;
    --line: #e2eaf4;
    --sky: #f1f7ff;
    --sky-2: #e6f1ff;
    --blue-700: #0052b8;
    --blue-600: #0066e0;
    --blue-500: #008cff;
    --blue-300: #48c7ff;
    --grad: linear-gradient(120deg, #0058cc 0%, #008cff 55%, #48c7ff 100%);
    --radius: 14px;
    --shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 8px 28px -12px rgba(11, 27, 51, .18);
    --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px);
    scrollbar-width: thin; scrollbar-color: #b9c8dc transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c4d1e2; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #8fa3bd; }

body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff;
    font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

.ico { width: 20px; height: 20px; flex: none; }

.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow-light { color: var(--blue-300); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px/1 var(--font);
    padding: 15px 24px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, #0a63e0, #1a8cff); background-origin: border-box; border: 0; padding: 16.5px 25.5px; color: #fff; }
.btn-primary.btn-sm { padding: 12.5px 19.5px; }
.btn-primary:hover { color: #fff; transform: translateY(-1px); background: linear-gradient(135deg, #0a5cd2, #1584f5); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { color: var(--blue-600); border-color: #c6d8ef; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent;
    border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 27, 51, .4); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .wrap { max-width: 1600px; }
.brand { align-self: flex-start; margin-top: 13px; }
.brand img { height: 46px; width: auto; transform-origin: left top; transform: scale(1.75);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.scrolled .brand img { transform: none; }
@media (max-width: 900px) { .brand img { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .brand img { transition: none; } }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 14.5px; position: relative; }
.site-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
    background: var(--grad); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; border-radius: 8px; }
.nav-toggle .ico { width: 26px; height: 26px; }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 18px; box-shadow: 0 18px 30px -20px rgba(11, 27, 51, .35);
        display: none; }
    .site-nav.open { display: flex; }
    .site-header:has(.site-nav.open) { background: #fff; }
    .site-nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
    .site-nav a:not(.btn)::after { display: none; }
    .site-nav .btn { margin-top: 14px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 56px) 0 44px; min-height: clamp(640px, 48vw, 860px);
    display: flex; flex-direction: column; justify-content: center;
    background:
        radial-gradient(1200px 520px at 78% 30%, rgba(72, 199, 255, .16), transparent 60%),
        radial-gradient(800px 420px at 0% 0%, rgba(0, 140, 255, .07), transparent 60%),
        linear-gradient(#fff, var(--sky)); }
/* The map is a large layer on the right that runs under the text column;
   a left-side wash keeps the copy readable where the two overlap. */
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(246, 250, 255, .9) 0, rgba(246, 250, 255, .72) 34%, rgba(246, 250, 255, 0) 56%); }
.hero .wrap { max-width: 1600px; }
.hero-grid { display: block; }
.hero-copy, .tagline { position: relative; z-index: 2; }
.hero-copy { max-width: 860px; }
.hero h1 { font-size: clamp(34px, 3.3vw, 54px); max-width: 860px; font-weight: 800; letter-spacing: -.035em; margin-bottom: 24px; }
.hero .lead { font-size: 18.5px; color: var(--muted); max-width: 640px; margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.trust .ico { width: 18px; height: 18px; color: var(--blue-600); }
.tagline { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
.tagline span { width: 40px; height: 2px; background: var(--blue-500); border-radius: 2px; }

.map.map-world { position: absolute; z-index: 0; margin: 0; width: clamp(900px, 78vw, 1600px); right: -2vw; top: 50%; transform: translateY(-53%); }
@media (min-width: 961px) {
    .map-world img { -webkit-mask-image: linear-gradient(to right, transparent, #000 22%), linear-gradient(to bottom, #000 72%, transparent 98%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 22%), linear-gradient(to bottom, #000 72%, transparent 98%); mask-composite: intersect; }
}
@media (max-width: 960px) {
    .hero { padding-top: calc(var(--header-h) + 28px); min-height: 0; display: block; }
    .hero::after { display: none; }
    .map.map-world { position: relative; width: auto; right: auto; top: auto; transform: none; margin: 12px -16px 0; }
    .trust { display: grid; }
}

/* Maps with HTML labels on top of the profile artwork */
.map { position: relative; margin: 0; }
.map img { width: 100%; }
.pin { position: absolute; width: 0; height: 0; pointer-events: none; }
.pin b, .pin small { position: absolute; white-space: nowrap; }
.pin b { font-size: clamp(9px, 1.05vw, 13px); font-weight: 700; color: var(--navy); top: 0; left: 10px; transform: translateY(-50%);
    text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 2px #fff; }
.pin small { font-size: clamp(8px, .85vw, 11px); font-weight: 600; color: var(--blue-600); left: 10px; top: .9em;
    text-shadow: 0 0 4px #fff, 0 0 2px #fff; }
.pin-l b, .pin-l small { left: auto; right: 10px; text-align: right; }
.pin-t b { left: 0; top: -10px; transform: translate(-50%, -100%); }
.pin-b b { left: 0; top: 10px; transform: translate(-50%, 0); }
.pin-hub b { font-size: clamp(10px, 1.2vw, 15px); font-weight: 800; }
.pin-hub::before, .pin-hub::after { content: ''; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid var(--blue-500); animation: pulse 2.6s ease-out infinite; }
.pin-hub::after { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin-hub::before, .pin-hub::after { animation: none; opacity: 0; } }

/* Home ports strip */
.ports { background: var(--navy); color: #fff; padding: 22px 0; }
.ports .wrap { display: flex; align-items: center; gap: 28px; }
.ports-title { color: #9fb4d1; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; flex: none; }
.port-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; flex: 1; }
.port-list li { display: grid; padding: 6px 14px; border-left: 1px solid rgba(255, 255, 255, .12); }
.port-code { font: 700 12px/1.2 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .08em; color: var(--blue-300); }
.port-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.port-country { font-size: 12px; color: #9fb4d1; }
@media (max-width: 960px) {
    .ports .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
    .port-list { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; row-gap: 14px; }
}
@media (max-width: 480px) { .port-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sections */
.section { padding: 100px 0; }
.section-tint { background: var(--sky); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2, .contact h2, .about-grid h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.sub { color: var(--muted); font-size: 17px; margin-top: 16px; }
@media (max-width: 700px) { .section { padding: 68px 0; } .section-head { margin-bottom: 32px; } }

/* Services: a pinned, scroll-driven section (desktop). The track is taller than the screen; .svc-pin
   sticks for that extra distance while the script steps through the services. */
.svc-track { position: relative; height: calc(100vh + var(--steps) * 75vh); margin-top: 8px; }
.svc-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }

/* Map fills the right side out to the screen edge; it fades toward the text and only lightly at the top and bottom. */
.svc-stage { position: absolute; top: 0; bottom: 0; right: 0; width: 62vw; }
.svc-maps { position: absolute; inset: 0; overflow: hidden; container-type: size;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%), linear-gradient(to bottom, transparent 0, #000 12%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 32%), linear-gradient(to bottom, transparent 0, #000 12%, #000 90%, transparent 100%);
    mask-composite: intersect; }
/* Each map covers the stage (all three share the 1004x985 aspect ratio). */
.svc-map { --w: max(100cqw, 101.9cqh); position: absolute; margin: 0; width: var(--w); height: calc(var(--w) * .981);
    left: calc(50% - var(--w) / 2); top: calc(50% - var(--w) * .4905);
    transform-origin: 0 0; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.svc-map img { width: 100%; height: 100%; }
.svc-map.active { opacity: 1; visibility: visible; }
.svc-map .pin { opacity: 0; transition: opacity .3s ease; }
.svc-map.settled .pin { opacity: 1; transition: opacity .45s ease calc(var(--i) * 80ms); }
.svc-caption { position: absolute; left: 62%; bottom: 7%; transform: translateX(-50%); white-space: nowrap; z-index: 2;
    display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px 9px 14px; border-radius: 99px;
    background: rgba(255, 255, 255, .88); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: 13px; color: var(--navy); }
.svc-caption span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(0, 140, 255, .18); }

.svc-content { position: relative; z-index: 2; padding-top: var(--header-h); }
.svc-content > * { max-width: min(600px, 44vw); }

/* Step indicator; the bar fills with scroll progress (--fill is set by the script). */
.svc-steps { display: grid; grid-template-columns: repeat(var(--steps), 1fr); gap: 14px; margin-bottom: clamp(24px, 5vh, 48px); }
.svc-step { display: grid; gap: 4px; align-content: start; color: #8a9ab0; font-size: 13px; font-weight: 600; line-height: 1.3; transition: color .3s; }
.svc-step:hover { color: var(--navy); }
.svc-step-num { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.svc-step-bar { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; order: -1; }
.svc-step-bar i { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); background: var(--grad); }
.svc-step.on { color: var(--navy); }
.svc-step.on .svc-step-num { color: var(--blue-600); }

/* Panels stack in one grid cell and crossfade. */
.svc-panels { display: grid; }
.svc-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .4s; }
.svc-panel.on { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.svc-panel h3 { font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.svc-panel h3::after { content: ''; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--blue-500); margin: clamp(14px, 2.4vh, 22px) 0; }
.svc-lead { color: var(--muted); font-size: 17px; margin-bottom: clamp(14px, 2.6vh, 24px); max-width: 540px; }

.checks { list-style: none; margin: 0 0 clamp(14px, 2.6vh, 24px); padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; }
.checks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 6px; color: var(--blue-600); background: var(--sky-2); stroke-width: 2.8; }
.port-table { margin: 0 0 clamp(16px, 3vh, 28px); border-top: 1px solid var(--line); }
.port-table div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.port-table dt { color: var(--blue-600); font-weight: 700; }
.port-table dd { margin: 0; font-weight: 600; }

/* Mobile: no pinning. The map sticks under the header and the panels scroll beneath it. */
@media (max-width: 960px) {
    .svc-track { height: auto; }
    .svc-pin { position: static; height: auto; overflow: visible; display: block; }
    .svc-stage { position: sticky; top: var(--header-h); z-index: 3; width: auto; height: 44vh; background: #fff; }
    .svc-maps { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
    .svc-caption { left: 50%; bottom: 10%; }
    .svc-content { padding-top: 0; z-index: 0; }
    .svc-content > * { max-width: none; }
    .svc-steps { display: none; }
    .svc-panels { display: block; }
    .svc-panel { opacity: 1; visibility: visible; transform: none; padding: 36px 0 12px; }
    .svc-panel + .svc-panel { border-top: 1px solid var(--line); }
}

/* Admin-managed extra services */
.extra { margin-top: 64px; }
.extra-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.extra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.extra-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.extra-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.extra-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.extra-card div { padding: 18px 20px 22px; }
.extra-card h4 { font-size: 17px; margin-bottom: 6px; }
.extra-card p { color: var(--muted); font-size: 14.5px; }

/* Who we serve */
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden;
    transition: box-shadow .25s, transform .25s; }
.aud-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.aud-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.aud-card:hover::before { transform: scaleX(1); }
.aud-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--sky-2); color: var(--blue-600); margin-bottom: 20px; }
.aud-ico .ico { width: 24px; height: 24px; }
.aud-card h3 { font-size: 18px; margin-bottom: 10px; }
.aud-card p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1000px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } }

/* Why LMEX (dark band) */
.section-dark { color: #c9d6e8; position: relative; overflow: hidden;
    background: radial-gradient(900px 480px at 85% 0%, rgba(0, 140, 255, .28), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(72, 199, 255, .14), transparent 60%), var(--navy); }
.section-dark h2, .section-dark h3 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card { border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); border-radius: var(--radius); padding: 30px 26px; }
.why-card .ico { width: 30px; height: 30px; color: var(--blue-300); margin-bottom: 20px; }
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.facts div { padding: 28px 8px 0; }
.facts dt { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1;
    background: linear-gradient(120deg, #fff, var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts dd { margin: 8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9fb4d1; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

/* Testimonials: horizontal snap track */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 36px) / 3)); gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #c4d1e2 transparent; }
.quotes::-webkit-scrollbar { height: 6px; }
.quote { scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
    display: flex; flex-direction: column; gap: 18px; }
.quote-mark { width: 30px; height: 22px; color: var(--blue-500); opacity: .85; }
.quote blockquote { margin: 0; font-size: 15.5px; color: var(--ink); flex: 1; }
.quote figcaption { font-weight: 700; color: var(--navy); font-size: 14.5px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .quotes { grid-auto-columns: 85%; } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-grid h2 { margin-bottom: 20px; }
.about-grid h2::after { content: ''; display: block; width: 72px; height: 3px; border-radius: 2px; background: var(--blue-500); margin-top: 22px; }
.about-text { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.licenses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0 0; }
.licenses div { border-top: 1px solid #cfdbea; padding-top: 14px; }
.licenses dt { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.licenses dd { margin: 0; font-weight: 600; color: var(--navy); }
.vm { display: grid; gap: 18px; }
.vm-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-500); border-radius: var(--radius); padding: 30px 30px; }
.vm-card h3 { font-size: 22px; margin-bottom: 10px; }
.vm-card p { color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact { background: linear-gradient(var(--sky), #fff 60%), #fff; position: relative; }
.contact::before { content: ''; position: absolute; inset: 0; background: url('egypt-uae.webp') right -60px top 40px / 640px auto no-repeat; opacity: .35; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.offices { display: grid; gap: 16px; margin-top: 32px; }
.office { background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.office h3 { font-size: 17px; }
.office-scope { color: var(--blue-600); font-size: 13.5px; font-weight: 600; margin: 4px 0 14px; }
.office ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.office li { display: flex; gap: 12px; font-size: 14.5px; align-items: flex-start; }
.office li .ico { width: 18px; height: 18px; color: var(--blue-600); margin-top: 3px; }
.office a { color: var(--ink); font-weight: 600; }
.office a:hover { color: var(--blue-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(11, 27, 51, .3); }
.form-title { font-size: 22px; margin-bottom: 22px; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: 500 15px/1.4 var(--font); color: var(--ink); background: #fbfdff;
    border: 1.5px solid #d9e3ef; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 110px; scrollbar-width: thin; }
.field select { appearance: none; padding-right: 38px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355657d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8bb; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(0, 140, 255, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0484d; }
.field em { font-style: normal; font-size: 12.5px; color: #c9353a; }
.form-error { background: #fdeeee; color: #a3282c; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.form-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { text-align: center; padding: 30px 6px; }
.sent-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 18px; }
.sent-ico .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.sent h3 { font-size: 22px; margin-bottom: 10px; }
.sent p { color: var(--muted); margin-bottom: 22px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } .contact::before { display: none; } }
@media (max-width: 560px) { .form-card { padding: 24px 18px; } .form-card .row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.site-footer { background: var(--navy); color: #9fb4d1; padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-grid img { height: 58px; width: auto; margin-bottom: 18px; }
.footer-tag { max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer nav, .footer-grid > div:last-child { display: grid; align-content: start; gap: 8px; }
.site-footer a { color: #c9d6e8; }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* WhatsApp button */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
    background: #1fa855; color: #fff; border-radius: 99px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 24px -8px rgba(15, 90, 45, .55);
    transition: transform .15s, box-shadow .2s; }
.wa:hover { color: #fff; transform: translateY(-2px); }
.wa .ico { width: 22px; height: 22px; }
@media (max-width: 560px) { .wa span { display: none; } .wa { padding: 14px; right: 16px; bottom: 16px; } }

/* Scroll reveal (only when JS is on, so content never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
