/* =========================================================
   The FLAG Security — public site
   Design language taken from the company profile:
   navy duotone photography, sage panels, crimson rules,
   geometric tracked display type. The armored fleet is the
   only full-colour photography on the page.
   Logical properties throughout, so RTL (Arabic) mirrors cleanly.
   ========================================================= */
:root {
  --navy: #0A1D3D;
  --night: #061330;
  --navy-2: #13294F;
  --crimson: #660000;
  --crimson-hi: #861414;
  --sage: #CCDAD1;
  --mist: #F1F7ED;
  --white: #FFFFFF;
  --ink: #0A1D3D;
  --text: #2B3A52;
  --muted: #586579;
  --line: #CFD9D2;
  --line-dark: rgba(204, 218, 209, .18);
  --on-dark: #F1F7ED;
  --on-dark-muted: #A9B8C9;
  --ok: #1E6B45;
  --warn: #8A4B00;

  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track: .06em;
  --caps: uppercase;
  --lh-display: 1.04;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --space: clamp(64px, 9vw, 120px);
}
html[lang="ckb"] {
  --display: "Vazirmatn", system-ui, sans-serif;
  --body: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --track: 0;
  --caps: none;
  --lh-display: 1.45;
}
html[lang="ar"] {
  --display: "Cairo", system-ui, sans-serif;
  --body: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --track: 0;
  --caps: none;
  --lh-display: 1.4;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
a, button, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(10, 29, 61, .12); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:is(html[lang="ar"], html[lang="ckb"]) body { font-size: 1.03rem; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crimson-hi); }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h3 { font-size: 1.2rem; line-height: 1.35; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
code { font-size: .9em; }
:focus-visible { outline: 3px solid #D9A441; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[dir="rtl"] .ic.flip { transform: scaleX(-1); }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.display, .h2 {
  font-family: var(--display); font-weight: 600; text-transform: var(--caps);
  letter-spacing: var(--track); line-height: var(--lh-display);
}
.display { font-size: clamp(2.3rem, 5.2vw, 4.4rem); margin: 0 0 .45em; }
.h2 { font-size: clamp(1.6rem, 2.9vw, 2.35rem); margin: 0 0 .6em; }
:is(html[lang="ar"], html[lang="ckb"]) .display { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 700; }
:is(html[lang="ar"], html[lang="ckb"]) .h2 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); font-weight: 700; }
.h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.3; margin: 0 0 .7em; }
.light { color: var(--on-dark); }
.section-sub.light { color: var(--on-dark-muted); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; max-width: 60ch; }
.prose { max-width: 68ch; }
.prose h3 { font-family: var(--display); font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose-p { max-width: 60ch; }

/* The profile's signature: a thin crimson rule beneath headings */
.ruled::after { content: ""; display: block; width: 2px; height: 44px; background: var(--crimson); margin-top: 22px; }
.ruled.light::after { background: #B23A3A; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.6em; border: 1.5px solid transparent; border-radius: 0;
  font: 600 .95rem/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
html[lang="en"] .btn { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.btn-sm { min-height: 42px; padding: 0 1.1em; }
.btn-block { width: 100%; }
.btn-red { background: var(--crimson); color: #fff; }
.btn-red:hover { background: var(--crimson-hi); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-light { background: var(--mist); color: var(--navy); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(241, 247, 237, .55); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Duotone photography (the parent supplies the navy) ---------- */
.duo { filter: grayscale(1) contrast(1.12); mix-blend-mode: luminosity; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; transition: background-color .25s, box-shadow .25s; }
.page-home .site-header { position: fixed; inset-inline: 0; background: transparent; }
.page-home .site-header.scrolled, .nav-open .site-header { background: var(--navy); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line-dark); }
.navbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: none; }
.brand:hover { color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.15rem/1 "Jost", sans-serif; letter-spacing: .14em; }
.brand-sub { font-size: .72rem; color: var(--on-dark-muted); letter-spacing: .06em; margin-top: 4px; }
html[lang="en"] .brand-sub { text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a { color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 1.5px solid transparent; }
html[lang="en"] .nav ul a { font-size: .9rem; letter-spacing: .04em; }
.nav ul a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.nav ul a[aria-current="page"] { border-bottom-color: #B23A3A; color: #fff; }
.nav-end { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.lang-switch li + li { border-inline-start: 1px solid rgba(255, 255, 255, .3); }
.lang-switch a { display: block; padding: 4px 10px; color: var(--on-dark); text-decoration: none; font: 600 .95rem/1.2 "Cairo", var(--body); }
.lang-switch a:lang(en) { font-family: "Jost", sans-serif; font-weight: 500; }
.lang-switch a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .ic { width: 28px; height: 28px; }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: #1E3A6E; color: var(--on-dark); min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 19, 48, .95) 0%, rgba(6, 19, 48, .72) 34%, rgba(6, 19, 48, .18) 66%, rgba(6, 19, 48, .55) 100%), linear-gradient(to right, rgba(6, 19, 48, .55), transparent 60%); }
[dir="rtl"] .hero::before { background: linear-gradient(to top, rgba(6, 19, 48, .95) 0%, rgba(6, 19, 48, .72) 34%, rgba(6, 19, 48, .18) 66%, rgba(6, 19, 48, .55) 100%), linear-gradient(to left, rgba(6, 19, 48, .55), transparent 60%); }
.hero-in { padding-top: calc(var(--header-h) + 80px); padding-bottom: 56px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--sage); font-size: .95rem; margin-bottom: 22px; }
.hero-kicker .ic { color: #fff; }
.hero-title { color: #fff; max-width: 16ch; }
:is(html[lang="ar"], html[lang="ckb"]) .hero-title { max-width: 18ch; }
.hero .lead { color: #D3DCE6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.facts { background: var(--sage); color: var(--navy); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; }
.fact { padding: 22px 24px; border-inline-start: 1px solid rgba(10, 29, 61, .16); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact dd { margin: 0; font: 600 1.9rem/1.1 "Jost", sans-serif; letter-spacing: .02em; color: var(--navy); }
.fact dt { font-size: .92rem; color: #36465F; line-height: 1.4; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero.has-img { background: #1E3A6E; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 19, 48, .94), rgba(6, 19, 48, .45)); }
.page-hero-in { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero .display { color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 20ch; }
:is(html[lang="ar"], html[lang="ckb"]) .page-hero .display { font-size: clamp(1.8rem, 3.8vw, 3rem); }
.page-hero .lead { color: #D3DCE6; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 26px; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs a { color: var(--sage); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.err-code { font: 600 1rem/1 "Jost", sans-serif; letter-spacing: .3em; color: var(--sage); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section-sage { background: var(--sage); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { margin: 0; }
.section-sub { color: var(--muted); margin: 0; max-width: 56ch; }
.section-sage .section-sub { color: #3A4A60; }

/* Split: photo + sage panel (as in the profile spreads) */
.panel-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.panel-media { background: #1E3A6E; position: relative; overflow: hidden; }
.panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-copy { padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.panel-copy.sage { background: var(--sage); }
.panel-copy .prose { color: #2E3E56; }
.values { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0 30px; }
.values li { position: relative; padding-inline-start: 18px; font-weight: 500; color: var(--navy); }
.values li::before { content: ""; position: absolute; inset-inline-start: 0; top: .68em; width: 7px; height: 7px; background: var(--crimson); }
.values.stacked { flex-direction: column; gap: 10px; margin-bottom: 0; }

/* Services: an index list, not a card grid */
.svc-list { border-top: 1px solid var(--line); }
.svc-row a {
  display: grid; grid-template-columns: 52px minmax(200px, 1fr) 1.4fr 32px; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: background-color .2s;
}
.svc-row a:hover { background: var(--mist); }
.svc-ic { width: 48px; height: 48px; display: grid; place-items: center; color: var(--crimson); border: 1px solid var(--line); background: #fff; }
.svc-ic .ic { width: 24px; height: 24px; }
.svc-t { font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1.3; color: var(--navy); }
.svc-s { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.svc-go { color: var(--navy); transition: transform .2s var(--ease); justify-self: end; }
.svc-row a:hover .svc-go { transform: translateX(4px); color: var(--crimson); }
[dir="rtl"] .svc-row a:hover .svc-go { transform: translateX(-4px); }

/* Services page */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-card a { display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--text); text-decoration: none; }
.svc-card-media { display: block; background: #1E3A6E; height: 220px; overflow: hidden; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-card-body { display: flex; flex-direction: column; gap: 10px; padding: 0 26px 30px; }
.svc-card-body .svc-ic { margin-top: -24px; position: relative; }
.svc-card a:hover .svc-t { color: var(--crimson); }

/* Process: a real sequence, so it is numbered */
.process-sec { background: var(--night); color: var(--on-dark); }
.process { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.process li { counter-increment: step; padding: 28px 24px 8px; border-top: 2px solid #B23A3A; border-inline-start: 1px solid var(--line-dark); }
.process li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.process li::before { content: counter(step); display: block; font: 600 .95rem/1 "Jost", sans-serif; color: var(--sage); margin-bottom: 18px; }
.process h3 { color: #fff; font-family: var(--display); font-size: 1.2rem; }
.process p { color: var(--on-dark-muted); font-size: .97rem; line-height: 1.6; margin: 0; }

/* Fleet: the one full-colour moment */
.fleet-feature { background: var(--mist); }
.fleet-media img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; object-position: 50% 45%; }
.fleet-copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 80px; padding-block: clamp(48px, 7vw, 88px); align-items: start; }
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.kit li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); font-weight: 500; line-height: 1.45; }
.kit .ic { color: var(--crimson); margin-top: 2px; }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.sectors li { padding-block: 32px; padding-inline: 0 28px; border-bottom: 1px solid var(--line); }
.sectors li:not(:nth-child(3n + 1)) { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.sectors .ic { width: 28px; height: 28px; color: var(--crimson); margin-bottom: 18px; }
.sectors h3 { font-family: var(--display); }
.sectors p { color: var(--muted); margin: 0; font-size: .98rem; line-height: 1.6; }

/* Partners */
.partners { padding-top: 0; }
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.logo-wall li { display: grid; place-items: center; min-height: 130px; padding: 22px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.logo-wall li > a { display: grid; place-items: center; }
.logo-wall img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* Standards band */
.standards { background: var(--navy); color: var(--on-dark); padding-block: clamp(56px, 7vw, 96px); }
.standards .h2 { color: #fff; }
.standards .ruled::after { background: #B23A3A; }
.standards p { color: var(--on-dark-muted); }
.standards-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: start; }
.links-inline { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.standards .links-inline a { color: #fff; font-weight: 500; }
.cert-list li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.cert-list li:first-child { border-top: 1px solid var(--line-dark); }
.cert-list strong { font: 600 1.05rem/1.4 "Jost", sans-serif; letter-spacing: .04em; color: #fff; }
.cert-list span { color: var(--on-dark-muted); }

/* Company profile download */
.profile-band { background: var(--crimson); color: #F3E3E3; }
.profile-in { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; padding-block: clamp(48px, 6vw, 72px); }
.profile-cover { display: block; width: 220px; height: auto; aspect-ratio: 1; object-fit: cover; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.profile-copy .h2 { color: #fff; }
.profile-copy p { max-width: 54ch; color: #F0DADA; }
.file-meta { margin-inline-start: 16px; font-size: .9rem; color: #E7C4C4; }

/* CTA */
.cta-band { background: var(--night); color: var(--on-dark); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; padding-block: clamp(56px, 7vw, 88px); flex-wrap: wrap; }
.cta-band .h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* About */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.pillar { padding-block: 32px 8px; padding-inline: 0 32px; }
.pillar + .pillar { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 16vw, 250px); grid-auto-flow: dense; gap: 4px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: #1E3A6E; }
.gallery figure:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 28px 16px 12px; font-size: .88rem; color: #fff; background: linear-gradient(to top, rgba(6, 19, 48, .85), transparent); }

/* Fleet page */
.fleet-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px 80px; align-items: start; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: minmax(180px, .8fr) 1.2fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--display); font-weight: 600; color: var(--navy); }
.spec dd { margin: 0; color: var(--muted); }
.kit-panel { background: var(--sage); padding: 36px; }
.kit-panel .kit { grid-template-columns: 1fr; margin-bottom: 24px; }
.fleet-photos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 18vw, 280px); gap: 4px; }
.fleet-photos figure { margin: 0; overflow: hidden; }
.fleet-photos figure:first-child { grid-column: span 2; grid-row: span 2; }
.fleet-photos img { width: 100%; height: 100%; object-fit: cover; }

/* Compliance */
.cert-cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.cert-cards li { padding-block: 28px 8px; padding-inline: 0 24px; }
.cert-cards li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.cert-cards strong { display: block; font: 600 1.2rem/1.3 "Jost", sans-serif; letter-spacing: .03em; color: var(--crimson); }
.cert-name { display: block; font-weight: 600; color: var(--navy); margin: 6px 0 12px; }
.cert-cards p { color: var(--muted); font-size: .96rem; line-height: 1.6; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.principles h3 { font-family: var(--display); padding-top: 18px; border-top: 2px solid var(--crimson); }
.principles p { color: #34445C; margin: 0; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.channel { display: flex; flex-direction: column; gap: 10px; padding: 32px; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, background-color .2s; }
.channel:hover { border-color: var(--navy); background: var(--mist); color: var(--text); }
.channel .ic { width: 28px; height: 28px; color: var(--crimson); }
.channel strong { font-family: var(--display); font-size: 1.15rem; color: var(--navy); }
.channel span { color: var(--muted); font-size: .97rem; }

/* Complaints */
.complaint-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 48px 72px; align-items: start; }
.complaint-info > p { max-width: 62ch; }
.complaint-info .h3 { margin-top: 40px; }
.steps { counter-reset: s; border-inline-start: 2px solid var(--sage); margin-inline-start: 14px; }
.steps li { counter-increment: s; position: relative; padding-block: 0 22px; padding-inline: 28px 0; display: flex; flex-direction: column; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: -15px; top: 0; width: 28px; height: 28px; display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 .85rem/1 "Jost", sans-serif; }
.steps strong { color: var(--navy); }
.steps span { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.contact-lines .ic { color: var(--crimson); margin-top: 5px; }
.alert-urgent { display: flex; gap: 14px; background: #FBF1E6; border-inline-start: 3px solid var(--warn); padding: 18px 20px; margin: 28px 0 0; }
.alert-urgent .ic { color: var(--warn); width: 22px; height: 22px; margin-top: 3px; }
.alert-urgent p { margin: 0; color: #4A3418; }
.ref { font: 600 1.05em/1 "Jost", sans-serif; letter-spacing: .06em; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0 0 18px; }
.seg legend { font-weight: 500; color: var(--navy); margin-bottom: 8px; padding: 0; font-size: .95rem; }
.form .seg label { flex: 1 1 200px; display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 14px; border: 1px solid var(--line); cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.seg input { accent-color: var(--navy); }
.form .check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--navy); flex: none; }
.check span { display: flex; flex-direction: column; font-weight: 500; color: var(--navy); line-height: 1.5; }
.check small { font-weight: 400; color: var(--muted); font-size: .88rem; }
.contact-opt { border: 0; border-top: 1px solid var(--line); padding: 18px 0 0; margin: 8px 0 0; }
.contact-opt legend { font-weight: 500; color: var(--navy); padding-inline-end: 8px; font-size: .95rem; }
.contact-opt:has([data-anon]:checked) .anon-fields { display: none; }

/* Service detail */
.svc-detail { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.checklist { display: grid; gap: 10px; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-inline-start: 22px; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 8px; background: var(--crimson); }
.svc-figure { margin: 40px 0 0; background: #1E3A6E; }
.svc-figure img { width: 100%; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { border: 1px solid var(--line); padding: 26px; background: #fff; }
.aside-card h2 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 16px; }
.aside-cta { background: var(--sage); border-color: var(--sage); }
.aside-cta p { color: #34445C; }
.aside-phone { display: flex; justify-content: center; gap: 8px; margin-top: 14px; color: var(--navy); font-weight: 600; text-decoration: none; }
.aside-links li a { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links .ic { color: var(--crimson); }
.aside-links a:hover { color: var(--crimson); }
.aside-fleet { display: block; padding: 0; text-decoration: none; color: var(--text); }
.aside-fleet img { width: 100%; height: 160px; object-fit: cover; }
.aside-fleet strong { display: block; padding: 16px 22px 4px; color: var(--navy); font-family: var(--display); }
.aside-fleet span { display: block; padding: 0 22px 18px; color: var(--crimson); font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 48px 72px; align-items: start; }
.contact-info { border-top: 1px solid var(--line); }
.info-card { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
a.info-card:hover strong { color: var(--crimson); }
.info-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--sage); color: var(--navy); flex: none; }
.info-card small { display: block; color: var(--muted); font-size: .85rem; }
.info-card strong { color: var(--navy); font-weight: 600; word-break: break-word; }
.map { margin-top: 28px; aspect-ratio: 16 / 10; background: var(--mist); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-gate { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px; color: var(--muted); }
.map-gate .ic { width: 32px; height: 32px; color: var(--navy); }
.map-gate p { margin: 0; max-width: 40ch; font-size: .95rem; }
.form-aside { margin: 20px 0 0; font-size: .95rem; color: var(--muted); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: clamp(24px, 4vw, 40px); }
.form .field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form label { display: block; font-weight: 500; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #B9C6BE; border-radius: 0; transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 29, 61, .15); }
.form [aria-invalid="true"] { border-color: #A61B1B; }
.field-error { color: #A61B1B; font-size: .9rem; margin: 6px 0 0; }
.req { color: var(--crimson); }
.opt { color: var(--muted); font-weight: 400; }
.form-note { font-size: .9rem; color: var(--muted); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 22px; }
.alert p { margin: 0 0 .3em; }
.alert-ok { background: #E6F2EA; color: #134A2F; border-inline-start: 3px solid var(--ok); }
.alert-err { background: #FBEAEA; color: #7A1414; border-inline-start: 3px solid #A61B1B; }
.alert .ic { margin-top: 4px; }

/* Legal pages */
.legal h2 { font-family: var(--display); font-size: 1.35rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
.data { width: 100%; border-collapse: collapse; font-size: .96rem; }
.data th, .data td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { background: var(--mist); color: var(--navy); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); font-size: .95rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; padding-block: 72px 56px; }
.footer-brand { display: flex; gap: 22px; align-items: flex-start; }
.footer-brand > img { width: 70px; flex: none; }
.footer-name { color: #fff; font-weight: 600; margin-bottom: .4em; }
.footer-about { line-height: 1.6; }
.file-link { display: inline-flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; padding: 12px 16px; border: 1px solid var(--line-dark); margin-top: 4px; }
.file-link:hover { border-color: var(--sage); color: #fff; }
.file-link span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 500; }
.file-link small { color: var(--on-dark-muted); font-weight: 400; }
.footer-h { font: 600 .82rem/1.2 var(--body); color: var(--sage); margin-bottom: 18px; letter-spacing: .04em; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .footer-contact a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; line-height: 1.55; }
.footer-contact .ic { color: var(--sage); margin-top: 4px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; color: var(--on-dark); border: 1px solid var(--line-dark); }
.socials a:hover { border-color: var(--sage); color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 22px; font-size: .88rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a, .footer-legal .linklike { color: var(--on-dark-muted); text-decoration: none; font-size: .88rem; }
.footer-legal a:hover, .footer-legal .linklike:hover { color: #fff; text-decoration: underline; }

/* WhatsApp */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; width: 54px; height: 54px; display: grid; place-items: center; background: #1F8F4E; color: #fff; border-radius: 50%; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.wa-float:hover { background: #18773F; color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Cookie consent */
.consent { position: fixed; z-index: 60; inset-inline-start: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); max-width: 520px; width: calc(100% - 40px); background: #fff; color: var(--text); border-top: 3px solid var(--crimson); box-shadow: 0 24px 60px rgba(6, 19, 48, .28); }
.consent[hidden] { display: none; }
.consent-in { padding: 22px 24px; display: grid; gap: 16px; }
.consent-title { font-family: var(--display); font-weight: 600; color: var(--navy); margin: 0 0 4px; font-size: 1.05rem; }
.consent p { margin: 0; font-size: .93rem; line-height: 1.6; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { flex: 1 1 140px; }

/* ---------- Motion: "wipe and draw" ----------
   One language for the whole site: crimson rules draw down, photographs are uncovered by a navy
   shutter, lists settle in sequence. Only runs when JS adds .motion (IntersectionObserver present,
   reduced motion not requested); without it every element is simply visible. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.08); } }
.motion .hero-in > * { animation: rise .9s var(--ease) both; }
.motion .hero-in > :nth-child(1) { animation-delay: .15s; }
.motion .hero-in > :nth-child(2) { animation-delay: .25s; }
.motion .hero-in > :nth-child(3) { animation-delay: .38s; }
.motion .hero-in > :nth-child(4) { animation-delay: .5s; }
.motion .hero-bg { animation: settle 2.2s var(--ease) both; }
.motion .facts .fact { animation: rise .8s var(--ease) both; animation-delay: calc(.55s + var(--i, 0) * .08s); }
.motion .page-hero-in > * { animation: rise .8s var(--ease) both; }
.motion .page-hero-in > :nth-child(2) { animation-delay: .1s; }
.motion .page-hero-in > :nth-child(3) { animation-delay: .2s; }
.motion .page-hero-bg { animation: settle 1.8s var(--ease) both; }

/* Headings: the crimson rule draws down from the baseline, the text lifts in first */
.motion [data-anim="head"] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion [data-anim="head"].ruled::after { transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease) .35s; }
.motion [data-anim="head"].in { opacity: 1; transform: none; }
.motion [data-anim="head"].in.ruled::after { transform: none; }

/* Photographs: a navy shutter slides off toward the reading end while the image settles */
.motion [data-anim="wipe"] { position: relative; overflow: hidden; }
.motion [data-anim="wipe"]::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--navy); transform-origin: right; transition: transform 1.1s cubic-bezier(.77, 0, .18, 1) calc(var(--i, 0) * .1s); pointer-events: none; }
.motion[dir="rtl"] [data-anim="wipe"]::after { transform-origin: left; }
.motion [data-anim="wipe"] img { transform: scale(1.12); transition: transform 1.6s var(--ease) calc(var(--i, 0) * .1s); }
.motion [data-anim="wipe"].in::after { transform: scaleX(0); }
.motion [data-anim="wipe"].in img { transform: none; }

/* Lists: items settle in sequence */
.motion [data-anim="list"] > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.motion [data-anim="list"].in > * { opacity: 1; transform: none; }

/* Process and operating model: the red line runs across the steps */
.motion .process li, .motion .model li { border-top-color: transparent; position: relative; }
.motion .process li::after, .motion .model li::after { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: #B23A3A; transform: scaleX(0); transform-origin: left; transition: transform .6s linear; transition-delay: calc(var(--i, 0) * .6s + .2s); }
.motion[dir="rtl"] .process li::after, .motion[dir="rtl"] .model li::after { transform-origin: right; }
.motion .in.process li::after, .motion .in.model li::after { transform: none; }

/* Fade for single blocks */
.motion [data-anim="fade"] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion [data-anim="fade"].in { opacity: 1; transform: none; }

/* Hover answers: photographs lift slightly, service rows slide their arrow */
.news-media img, .svc-card-media img, .gallery img, .fleet-photos img { transition: transform .9s var(--ease); }
.news-card:hover .news-media img, .svc-card:hover .svc-card-media img, .gallery figure:hover img, .fleet-photos figure:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Additions (v3) ---------- */
.section-mist { background: var(--mist); }
.link-arrow { color: var(--navy); font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.link-arrow:hover { color: var(--crimson); }

/* Why The FLAG */
.why-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 40px 80px; align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); }
.why { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.why li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding: 28px 0; padding-inline-end: 28px; border-bottom: 1px solid var(--line); }
.why li:nth-child(2n) { padding-inline: 28px 0; border-inline-start: 1px solid var(--line); }
.why .ic { width: 26px; height: 26px; color: var(--crimson); margin-top: 4px; }
.why h3 { font-family: var(--display); font-size: 1.12rem; margin: 0 0 .35em; color: var(--navy); }
.why p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* Operating model */
.model-sec { background: var(--navy); color: var(--on-dark); }
.model { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: m; }
.model li { counter-increment: m; padding: 30px 32px 6px; border-top: 2px solid #B23A3A; border-inline-start: 1px solid var(--line-dark); }
.model li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.model li::before { content: counter(m); display: block; font: 600 .95rem/1 "Jost", sans-serif; color: var(--sage); margin-bottom: 18px; }
.model h3 { color: #fff; font-family: var(--display); font-size: 1.3rem; }
.model p { color: var(--on-dark-muted); margin: 0; line-height: 1.65; }
.section-sub.light { color: var(--on-dark-muted); }

/* Coverage */
.coverage-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px 80px; align-items: start; }
.coverage { margin: 0; border-top: 2px solid var(--navy); }
.coverage div { display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.coverage dt { font-family: var(--display); font-weight: 600; color: var(--navy); }
.coverage dd { margin: 0; color: var(--muted); }

/* News */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.news-card { display: flex; flex-direction: column; }
.news-media { display: block; aspect-ratio: 3 / 2; background: #1E3A6E; overflow: hidden; margin-bottom: 18px; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card time, .post-date { font: 500 .88rem/1.4 var(--body); color: var(--crimson); }
.news-card h3 { font-family: var(--display); font-size: 1.2rem; line-height: 1.35; margin: 8px 0 10px; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.post-date { margin: 0 0 24px; }
.news-sec .section-sub { justify-self: end; }

@media (max-width: 960px) {
  .why-in, .coverage-in { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .news-list { grid-template-columns: 1fr 1fr; }
  .model { grid-template-columns: 1fr; }
  .model li, .model li:first-child { padding-inline: 0; border-inline-start: 0; }
  .news-sec .section-sub { justify-self: start; }
}
@media (max-width: 640px) {
  .why { grid-template-columns: 1fr; }
  .why li, .why li:nth-child(2n) { padding-inline: 0; border-inline-start: 0; }
  .news-list { grid-template-columns: 1fr; }
  .coverage div { grid-template-columns: 1fr; gap: 6px; }
}

/* Header: keep labels on one line; drop the header button where the menu gets tight (Contact stays in the menu) */
.nav ul a, .nav-end .btn, .lang-switch a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 961px) {
  .nav-end .btn { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 18px; }
  .nav { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .process li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .cert-cards { grid-template-columns: 1fr 1fr; }
  .cert-cards li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .nav.open { visibility: visible; opacity: 1; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
  .nav-end { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; }
  .nav-end .btn { min-height: 52px; }
  .nav-open { overflow: hidden; }
  .section-head, .panel-split, .standards-in, .fleet-copy, .fleet-grid, .svc-detail, .contact-grid, .complaint-grid { grid-template-columns: 1fr; }
  .panel-media { min-height: 340px; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid rgba(10, 29, 61, .16); }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sectors li, .sectors li:not(:nth-child(3n + 1)) { padding-inline: 0 24px; border-inline-start: 0; }
  .sectors li:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
  .principles, .channels { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .svc-aside { position: static; }
  .svc-row a { grid-template-columns: 48px 1fr 28px; gap: 8px 18px; }
  .svc-s { grid-column: 2 / 3; }
  .svc-go { grid-row: 1; grid-column: 3; }
  .profile-in { grid-template-columns: 150px 1fr; gap: 28px; }
  .profile-cover { width: 150px; height: 150px; }
  .gallery, .fleet-photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 92svh; }
  .hero-in { padding-top: calc(var(--header-h) + 56px); padding-bottom: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .fact { padding: 16px 14px; }
  .fact dd { font-size: 1.5rem; }
  .process, .sectors, .principles, .channels, .cert-cards, .kit { grid-template-columns: 1fr; }
  .process li, .process li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .sectors li, .sectors li:nth-child(even), .sectors li:not(:nth-child(3n + 1)) { padding: 24px 0; border-inline-start: 0; }
  .cert-cards li, .cert-cards li + li, .cert-cards li:nth-child(3) { padding: 22px 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .cert-list li { grid-template-columns: 1fr; gap: 2px; }
  .profile-in { grid-template-columns: 1fr; }
  .profile-cover { width: 120px; height: 120px; }
  .file-meta { display: block; margin: 12px 0 0; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 56px 40px; }
  .footer-brand { flex-direction: column; }
  .footer-bottom-in { justify-content: center; text-align: center; flex-direction: column; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .footer-legal { justify-content: center; }
  .consent { inset-inline: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .gallery figure:nth-child(5n + 1), .fleet-photos figure:first-child { grid-column: span 2; grid-row: span 1; }
}
.consent .btn { letter-spacing: .04em; padding-inline: .9em; }
@media (max-width: 640px) {
  .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(to top, rgba(6, 19, 48, .96) 0%, rgba(6, 19, 48, .78) 50%, rgba(6, 19, 48, .45) 100%); }
}
