/* ==========================================================================
   Falqan Integrated Technical Services — site styles (v6, cinematic)
   Brand: Navy #0B2A5B · Gold #C9A227 · Slate #5F6B7A (from the logo kit)
   Pages are generated by site-src/build.py; this file is hand-maintained.
   ========================================================================== */

:root {
  /* brand primitives */
  --navy-990: #020812;
  --navy-950: #040C1C;
  --navy-900: #071733;
  --navy-800: #0B2A5B;
  --navy-700: #173E7A;
  --gold-300: #E9D18A;
  --gold-400: #DDBB4E;
  --gold-500: #C9A227;
  --gold-600: #9A7A15;   /* gold for large text on white (≥3:1) */
  --gold-700: #7E6310;   /* gold for small text on white (≥4.5:1) */
  --slate-500: #5F6B7A;
  --ink: #0A1428;
  --paper: #FFFFFF;
  --paper-2: #F3F5F8;
  --line: #E1E5EB;
  --wa: #25D366;
  --wa-ink: #05361A;
  --live: #34D399;
  --error: #B42318;

  /* semantic (light surfaces) */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: #4A5566;
  --border: var(--line);
  --h-accent: var(--gold-600);
  --eyebrow: var(--gold-700);

  /* type */
  --font-en: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Archivo", system-ui, sans-serif;
  --font: var(--font-en);

  /* layout */
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 4rem + 4vw, 140px);
  --topbar-h: 38px;
  --navbar-h: 72px;
  --mast-h: calc(var(--topbar-h) + var(--navbar-h));
  --mbar-h: 0px;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t: 300ms;
  --t-slow: 800ms;
}
html[lang="ar"] { --font: var(--font-ar); }

/* dark surfaces flip the semantic tokens */
.dark {
  --bg: var(--navy-950);
  --fg: #FFFFFF;
  --fg-muted: #B9C4D6;
  --border: rgba(255, 255, 255, 0.14);
  --h-accent: var(--gold-400);
  --eyebrow: var(--gold-400);
  background: var(--bg);
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 12px); }
body {
  margin: 0;
  padding-bottom: var(--mbar-h);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.nowrap { white-space: nowrap; }
[dir="ltr"] { unicode-bidi: isolate; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.skip {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
  padding: 12px 16px; background: #fff; color: var(--ink); font-weight: 700; border-radius: var(--r-sm);
}
.skip:focus { top: 16px; }

.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i .fill { fill: currentColor; stroke: none; }
[dir="rtl"] .i.flip { transform: scaleX(-1); }

.live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; display: inline-block;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: live 2s infinite;
}
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* typography ------------------------------------------------------------- */
.display, .h2, .hero-h1, .tile-title, .hl h3 {
  font-stretch: 112%;
  letter-spacing: -0.025em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--eyebrow);
}
.eyebrow::before { content: ""; width: 14px; height: 10px; background: currentColor; clip-path: polygon(0 35%, 100% 0, 100% 65%, 0 100%); }
.h2 {
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4.4rem);
  font-weight: 800; line-height: 1.02; text-wrap: balance;
}
.h2 strong { color: var(--h-accent); font-weight: 800; }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; font-stretch: 108%; line-height: 1.15; }
.lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--fg-muted); max-width: 60ch; }
.muted { color: var(--fg-muted); }

html[lang="ar"] .display, html[lang="ar"] .h2, html[lang="ar"] .hero-h1, html[lang="ar"] .tile-title,
html[lang="ar"] .hl h3, html[lang="ar"] .h3 {
  font-stretch: normal; letter-spacing: 0; line-height: 1.3;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 0.95rem; text-transform: none; }

.section-head { display: grid; gap: 18px; max-width: 880px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head-split { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 24px 64px; }
.section-head-split > div { display: grid; gap: 18px; }

/* buttons ---------------------------------------------------------------- */
.btn {
  --b-bg: #fff; --b-fg: var(--navy-950); --b-bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  font-size: 0.98rem; font-weight: 700; line-height: 1.15; text-decoration: none;
  color: var(--b-fg); background: var(--b-bg); border: 1.5px solid var(--b-bd); border-radius: 999px;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { width: 1.25em; height: 1.25em; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 0.92rem; }
.btn-lg { min-height: 60px; padding: 14px 28px; font-size: 1.05rem; }
.btn-xl { min-height: 68px; padding: 16px 32px; font-size: 1.2rem; }
.btn-block { width: 100%; }
.btn-sub { font-weight: 500; opacity: .75; font-size: .92em; white-space: nowrap; }
.btn-gold { --b-bg: var(--gold-500); --b-fg: var(--navy-990); box-shadow: 0 10px 30px -10px rgba(201, 162, 39, .7); }
.btn-gold:hover { --b-bg: var(--gold-400); }
.btn-wa { --b-bg: var(--wa); --b-fg: var(--wa-ink); box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .7); }
.btn-wa:hover { --b-bg: #3BE07A; }
.btn-glass { --b-bg: rgba(255,255,255,.1); --b-fg: #fff; --b-bd: rgba(255,255,255,.32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { --b-bg: rgba(255,255,255,.18); --b-bd: #fff; }
.btn-navy { --b-bg: var(--navy-950); --b-fg: #fff; }
.btn-navy:hover { --b-bg: var(--navy-800); }
.btn-outline-navy { --b-bg: transparent; --b-fg: var(--navy-950); --b-bd: var(--navy-950); }
.btn-outline-navy:hover { --b-bg: var(--navy-950); --b-fg: #fff; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy-800); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   masthead (top bar + navbar)
   -------------------------------------------------------------------------- */
.masthead { position: fixed; inset-inline: 0; top: 0; z-index: 100; color: #fff; }
.topbar { height: var(--topbar-h); background: var(--navy-990); border-bottom: 1px solid rgba(255,255,255,.06); font-size: 0.84rem; }
.topbar-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.topbar a { text-decoration: none; }
.topbar .i { width: 15px; height: 15px; opacity: .7; }
.topbar-em { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-300); }
.topbar-em:hover .topbar-em-n { text-decoration: underline; }
.topbar-em-n { color: #fff; }
.topbar-hours, .topbar-mail, .topbar-lang { display: inline-flex; align-items: center; gap: 6px; color: #B9C4D6; }
.topbar-mail { margin-inline-start: auto; }
.topbar-mail:hover, .topbar-lang:hover { color: #fff; }
.topbar-lang { font-weight: 700; color: #fff; padding-inline-start: 20px; border-inline-start: 1px solid rgba(255,255,255,.14); }
.topbar-lang[lang="ar"] { font-family: var(--font-ar); }
.topbar-lang[lang="en"] { font-family: var(--font-en); }

.navbar { height: var(--navbar-h); transition: background-color var(--t), box-shadow var(--t), backdrop-filter var(--t); }
.masthead.is-scrolled .navbar, .masthead.is-open .navbar {
  background: rgba(4, 12, 28, .9);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.navbar-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: inline-flex; }
.brand img { width: 152px; }
.nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  font-size: 0.96rem; font-weight: 600; color: rgba(255,255,255,.88); text-decoration: none;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-dd-btn[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.1); }
.nav-link .chev { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.nav-dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-dd { position: relative; }
.nav-dd-label, .nav-m-ctas { display: none; }
.nav-dd-panel {
  position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; translate: -50% 0;
  width: min(720px, 90vw); padding: 14px; background: #fff; color: var(--ink);
  border-radius: var(--r-lg); box-shadow: 0 40px 80px -20px rgba(2, 8, 18, .55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
[dir="rtl"] .nav-dd-panel { translate: 50% 0; }
.nav-dd.is-open .nav-dd-panel { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-item { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); text-decoration: none; transition: background-color var(--t-fast); }
.dd-item:hover, .dd-item[aria-current="page"] { background: var(--paper-2); }
.dd-num { font-size: .8rem; font-weight: 800; color: var(--gold-700); padding-top: 3px; }
.dd-text { display: grid; gap: 2px; }
.dd-text strong { font-size: 1rem; color: var(--navy-800); }
.dd-text small { font-size: .85rem; color: var(--fg-muted); line-height: 1.45; }

.navbar-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; position: relative; width: 48px; height: 48px; padding: 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; cursor: pointer;
}
.menu-btn span { position: absolute; inset-inline-start: 14px; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t-fast); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   hero
   -------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media > img, .hero-media > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, var(--shift, 0px), 0) scale(var(--zoom, 1.06));
  transform-origin: 50% 30%; will-change: transform;
}
.hero-media-video { background: var(--navy-950) url("/assets/video/falqan-dubai-poster.jpg") center 40% / cover no-repeat; }
.hero-video { opacity: 0; transition: opacity 1s var(--ease); object-position: 50% 40%; }
.hero-video.is-playing { opacity: 1; }
.hero-scrim {
  --dir: 90deg;
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--dir), rgba(4,12,28,.8) 0%, rgba(4,12,28,.5) 38%, rgba(4,12,28,.12) 68%, rgba(4,12,28,.3) 100%),
    linear-gradient(0deg, rgba(4,12,28,.75) 0%, transparent 30%),
    linear-gradient(180deg, rgba(2,8,18,.65) 0%, transparent 25%);
}
[dir="rtl"] .hero-scrim { --dir: 270deg; }
.hero-sub .hero-scrim, .hero-contact .hero-scrim {
  background:
    linear-gradient(var(--dir), rgba(4,12,28,.94) 0%, rgba(4,12,28,.8) 45%, rgba(4,12,28,.45) 100%),
    linear-gradient(0deg, rgba(4,12,28,.6) 0%, transparent 35%);
}

.hero-home { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--mast-h) + 40px) 96px; }
.hero-sub { min-height: min(92svh, 900px); display: flex; align-items: center; padding-block: calc(var(--mast-h) + 40px) 80px; }
.hero-contact { padding-block: calc(var(--mast-h) + 56px) 72px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy {
  display: grid; gap: 24px; justify-items: start;
  transform: translate3d(0, var(--lift, 0px), 0); opacity: var(--fade, 1);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
html[lang="ar"] .pill { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.hero-h1 {
  font-size: clamp(2.6rem, 1rem + 4.4vw, 5.6rem);
  font-weight: 800; line-height: .95; text-transform: uppercase; font-stretch: 106%;
  text-shadow: 0 4px 40px rgba(2, 8, 18, .45);
}
.hero-h1 span { display: block; }
.hero-h1 .gold { color: var(--gold-400); }
.hero-h1-sub { font-size: clamp(2.3rem, 1rem + 3.8vw, 4.8rem); text-transform: none; line-height: 1.02; max-width: 18ch; }
.hero-h1-sub strong { color: var(--gold-400); font-weight: 800; }
html[lang="ar"] .hero-h1 { text-transform: none; line-height: 1.2; }
.hero-lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.35rem); color: rgba(255,255,255,.88); max-width: 54ch; text-shadow: 0 2px 20px rgba(2,8,18,.5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255,255,255,.82); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { color: var(--gold-400); }

.hero-scroll {
  position: absolute; bottom: 28px; inset-inline-start: 50%; translate: -50% 0;
  width: 30px; height: 50px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.hero-scroll span { position: absolute; top: 9px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--gold-300); }

/* quote card ------------------------------------------------------------- */
.quote-card {
  position: relative; padding: 30px; color: var(--ink); background: #fff;
  border-radius: var(--r-lg); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .75);
  scroll-margin-top: calc(var(--mast-h) + 16px);
}
.quote-card::before { content: ""; position: absolute; inset: 0 24px auto; height: 4px; background: var(--gold-500); border-radius: 0 0 4px 4px; }
.quote-title { font-size: 1.6rem; font-weight: 800; font-stretch: 108%; line-height: 1.1; color: var(--navy-800); }
html[lang="ar"] .quote-title { font-stretch: normal; }
.quote-sub { margin: 8px 0 20px; font-size: .93rem; color: #4A5566; }

/* --------------------------------------------------------------------------
   forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 14px; }
.form-lg { gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .86rem; font-weight: 700; color: #2E3A4D; }
.req { color: var(--gold-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #C9D0DA; border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  padding-inline-end: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
[dir="rtl"] .field select { background-position: left 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #8A94A3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA5B5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(201, 162, 39, .3); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-err { font-size: .84rem; font-weight: 600; color: var(--error); }
.field-err:empty { display: none; }
.form-note { font-size: .88rem; color: #4A5566; text-align: center; }
.form-note a { font-weight: 700; color: var(--navy-800); }
.form-status { font-size: .9rem; font-weight: 600; color: var(--navy-800); text-align: center; }
.form-status.is-error { color: var(--error); }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-thanks { display: grid; gap: 10px; padding: 28px 24px; text-align: center; background: rgba(37, 211, 102, .1); border: 1.5px solid var(--wa); border-radius: var(--r); color: var(--ink); }
.form-thanks:focus { outline: none; }
.form-thanks-h { font-size: 1.5rem; font-weight: 800; color: var(--navy-800); }
.form-status:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1 1 220px; }

/* --------------------------------------------------------------------------
   service tiles
   -------------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(230px, 19vw, 300px); gap: 16px; }
.tiles > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.tiles > :nth-child(2), .tiles > :nth-child(3) { grid-column: span 5; }
.tiles > :nth-child(n+4) { grid-column: span 4; }
.tile-link { position: relative; display: block; height: 100%; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy-900); border-radius: var(--r-lg); isolation: isolate; }
.tile-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile-link:hover img, .tile-link:focus-visible img { transform: scale(1.07); }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(4,12,28,.55) 0%, transparent 28%), linear-gradient(to top, rgba(4,12,28,.95) 0%, rgba(4,12,28,.55) 45%, rgba(4,12,28,.1) 80%); transition: background var(--t); }
.tile-num { position: absolute; top: 22px; inset-inline-start: 24px; font-size: .9rem; font-weight: 800; letter-spacing: .08em; color: var(--gold-300); }
.tile-arrow {
  position: absolute; top: 18px; inset-inline-end: 18px; width: 50px; height: 50px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--t), color var(--t), transform var(--t) var(--ease);
}
.tile-link:hover .tile-arrow { background: var(--gold-500); color: var(--navy-990); border-color: var(--gold-500); transform: rotate(45deg); }
[dir="rtl"] .tile-link:hover .tile-arrow { transform: rotate(-45deg); }
.tile-body { position: absolute; inset-inline: 0; bottom: 0; padding: 26px; display: grid; gap: 8px; }
.tile-title { font-size: clamp(1.45rem, 1rem + 1.2vw, 2.2rem); font-weight: 800; line-height: 1.05; }
.tiles > :nth-child(1) .tile-title { font-size: clamp(1.9rem, 1.2rem + 2vw, 3.2rem); }
.tile-text { font-size: .96rem; color: rgba(255,255,255,.84); max-width: 46ch; line-height: 1.5; }

.tiles-small { grid-auto-rows: 260px; }
.tiles-small > * { grid-column: span 4 !important; grid-row: auto !important; }
.tiles-small > :nth-child(4), .tiles-small > :nth-child(5) { grid-column: span 6 !important; }
.tiles-small .tile-title { font-size: 1.5rem !important; }

/* --------------------------------------------------------------------------
   about (dark) — four reasons
   -------------------------------------------------------------------------- */
.about { background: radial-gradient(90% 80% at 100% 0%, rgba(23,62,122,.5), transparent 60%), var(--navy-950); }
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reason { padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: rgba(255,255,255,.03); }
.reason-n { display: block; margin-bottom: 40px; font-size: 1.1rem; font-weight: 800; color: var(--gold-400); }
.reason h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); font-weight: 800; font-stretch: 108%; line-height: 1.15; margin-bottom: 10px; }
html[lang="ar"] .reason h3 { font-stretch: normal; }
.reason p { color: var(--fg-muted); font-size: 1rem; }

/* --------------------------------------------------------------------------
   credentials strip
   -------------------------------------------------------------------------- */
.creds { border-block: 1px solid var(--border); }
.creds-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding-block: 36px; }
.creds-h { display: inline-flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; color: var(--navy-800); }
.creds-h .i { width: 28px; height: 28px; color: var(--gold-600); }
.creds-list { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-inline-end: auto; }
.creds-list li { display: grid; gap: 2px; }
.creds-list span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
html[lang="ar"] .creds-list span { letter-spacing: 0; font-size: .9rem; }
.creds-list strong { font-size: 1.5rem; font-weight: 800; font-stretch: 110%; color: var(--navy-800); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   emergency band
   -------------------------------------------------------------------------- */
.em-band {
  --h-accent: var(--navy-800);
  color: var(--navy-990);
  background:
    repeating-linear-gradient(-28deg, rgba(4,12,28,.05) 0 2px, transparent 2px 22px),
    linear-gradient(110deg, var(--gold-500), var(--gold-400));
  padding-block: clamp(56px, 6vw, 96px);
}
.em-in { display: grid; grid-template-columns: 1.3fr auto; gap: 32px 64px; align-items: center; }
.em-band .h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
.em-band .h2 strong { display: block; color: var(--navy-800); }
.em-band p { margin-top: 14px; font-size: 1.15rem; font-weight: 500; max-width: 52ch; }
.em-ctas { display: grid; gap: 12px; }

/* --------------------------------------------------------------------------
   process
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.step { position: relative; padding-top: 86px; }
.step-n {
  position: absolute; top: 0; inset-inline-start: 0; width: 60px; height: 60px; display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 800; color: #fff; background: var(--navy-800); border-radius: 50%;
  box-shadow: 0 0 0 6px var(--bg);
}
.step:first-child .step-n { background: var(--gold-500); color: var(--navy-990); }
.step::before {
  content: ""; position: absolute; top: 30px; inset-inline: 72px -12px; height: 2px;
  background: repeating-linear-gradient(90deg, #C9D0DA 0 8px, transparent 8px 14px);
}
.step:last-child::before { display: none; }
.step h3 { font-size: 1.3rem; font-weight: 800; font-stretch: 108%; margin-bottom: 8px; color: var(--navy-800); }
html[lang="ar"] .step h3 { font-stretch: normal; }
.step p { font-size: .97rem; color: var(--fg-muted); }
.process-compact { background: var(--paper-2); }
.process-compact .step-n { box-shadow: 0 0 0 6px var(--paper-2); }

/* --------------------------------------------------------------------------
   clients
   -------------------------------------------------------------------------- */
.clients { background: var(--paper-2); }
.clients-compact { background: var(--paper); }
.clients-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.clients-head { position: sticky; top: calc(var(--mast-h) + 32px); margin-bottom: 0; }
.client-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.client-list-4 { grid-template-columns: repeat(4, 1fr); }
.client { padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.clients-compact .client { background: var(--paper-2); border-color: transparent; }
.client:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(4,12,28,.35); }
.client-ic { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; color: var(--navy-800); background: rgba(201,162,39,.16); border-radius: 14px; }
.client-ic .i { width: 26px; height: 26px; }
.client h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-800); margin-bottom: 8px; line-height: 1.25; }
.client p { font-size: .95rem; color: var(--fg-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; font-size: .97rem; font-weight: 600; color: var(--navy-800); background: #fff; border: 1px solid var(--border); border-radius: 999px; }
.chips-strong li { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* --------------------------------------------------------------------------
   areas
   -------------------------------------------------------------------------- */
.areas { background: var(--paper-2); }
.areas .chips li { background: #fff; border-color: transparent; }
.areas-more { margin-top: 20px; font-weight: 600; color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   contact cards
   -------------------------------------------------------------------------- */
.contact-sec { background: var(--paper-2); }
.ct-cards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: 16px; }
.ct-cards > :first-child { grid-row: span 2; }
.ct-card {
  display: flex; flex-direction: column; gap: 6px; padding: 28px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.ct-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(4,12,28,.4); border-color: transparent; }
.ct-ic { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: auto; color: var(--navy-800); background: rgba(11,42,91,.08); border-radius: 50%; }
.ct-ic-wa { color: var(--wa-ink); background: var(--wa); }
.ct-ic .i { width: 24px; height: 24px; }
.ct-l { margin-top: 20px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
html[lang="ar"] .ct-l { letter-spacing: 0; font-size: .95rem; }
.ct-v { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); font-weight: 800; color: var(--navy-800); line-height: 1.2; overflow-wrap: anywhere; }
.ct-v-sm { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.ct-n { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--fg-muted); }
.ct-link { font-weight: 700; color: var(--navy-800); }
.ct-em { background: var(--navy-950); color: #fff; border-color: var(--navy-950); }
.ct-em .ct-ic { background: var(--gold-500); color: var(--navy-990); width: 64px; height: 64px; }
.ct-em .ct-l { color: var(--gold-300); }
.ct-em .ct-v { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.ct-em .ct-n { color: #fff; font-weight: 600; }

/* contact cards on the dark contact hero */
.ct-cards-hero { margin-top: 48px; }
.ct-cards-hero .ct-card:not(.ct-em) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ct-cards-hero .ct-card:not(.ct-em) .ct-v, .ct-cards-hero .ct-card:not(.ct-em) .ct-link { color: #fff; }
.ct-cards-hero .ct-card:not(.ct-em) .ct-l, .ct-cards-hero .ct-card:not(.ct-em) .ct-n { color: #B9C4D6; }
.ct-cards-hero .ct-card:not(.ct-em) .ct-ic:not(.ct-ic-wa) { background: rgba(255,255,255,.12); color: #fff; }
.ct-cards-hero .ct-em { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-990); }
.ct-cards-hero .ct-em .ct-ic { background: var(--navy-950); color: var(--gold-400); }
.ct-cards-hero .ct-em .ct-l, .ct-cards-hero .ct-em .ct-v, .ct-cards-hero .ct-em .ct-n { color: var(--navy-990); }

/* --------------------------------------------------------------------------
   service page sections
   -------------------------------------------------------------------------- */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.groups-4 { grid-template-columns: repeat(2, 1fr); }
.group { padding: clamp(28px, 3vw, 40px); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.group h3 { font-size: 1.45rem; font-weight: 800; font-stretch: 108%; color: var(--navy-800); margin-bottom: 20px; }
html[lang="ar"] .group h3 { font-stretch: normal; }
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; }
.checks .i { width: 28px; height: 28px; padding: 5px; color: var(--navy-990); background: var(--gold-500); border-radius: 50%; stroke-width: 2.6; }

.highlights { background: radial-gradient(80% 90% at 0% 100%, rgba(23,62,122,.55), transparent 60%), var(--navy-950); }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 5vw, 80px); }
.hl { padding-top: 28px; border-top: 3px solid var(--gold-500); }
.hl-n { font-weight: 800; color: var(--gold-400); }
.hl h3 { margin: 10px 0 14px; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); font-weight: 800; line-height: 1.05; }
.hl p { font-size: 1.12rem; color: var(--fg-muted); max-width: 48ch; }
.licensed { margin-top: clamp(48px, 6vw, 80px); padding: 28px; border: 1px solid var(--border); border-radius: var(--r-lg); }
.licensed-h { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
html[lang="ar"] .licensed-h { letter-spacing: 0; font-size: .95rem; }
.licensed-list { display: flex; flex-wrap: wrap; gap: 10px; }
.licensed-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 999px; }
.licensed-list .i { color: var(--gold-400); }
.licensed-n { margin-top: 14px; font-size: .92rem; color: var(--fg-muted); }

.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 700; color: var(--navy-800); line-height: 1.35; }
.faq-ic { width: 40px; height: 40px; padding: 9px; color: var(--navy-800); background: var(--paper-2); border-radius: 50%; transition: transform var(--t) var(--ease), background-color var(--t); }
.faq-item[open] .faq-ic { transform: rotate(45deg); background: var(--gold-500); }
.faq-item p { padding-bottom: 26px; color: var(--fg-muted); font-size: 1.05rem; max-width: 68ch; }
.faq-item p a { font-weight: 700; color: var(--navy-800); }
.related { background: var(--paper-2); }

/* --------------------------------------------------------------------------
   contact page
   -------------------------------------------------------------------------- */
.cp-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.cp-form-card { padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 30px 80px -50px rgba(4,12,28,.5); }
.cp-form-card .h3 { color: var(--navy-800); margin-bottom: 8px; }
.cp-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--mast-h) + 24px); }
.aside-card { padding: 28px; background: var(--paper-2); border-radius: var(--r-lg); display: grid; gap: 10px; }
.aside-h { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy-800); font-size: 1.1rem; }
.aside-h .i { color: var(--gold-600); }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-top: 1px solid var(--border); }
.hours dt { color: var(--fg-muted); }
.hours dd { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); }

.nf-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 16px; width: 100%; max-width: 760px; }
.nf-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; color: #fff; text-decoration: none; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); }
.nf-links a:hover { background: rgba(255,255,255,.14); }

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */
.footer { padding-block: clamp(64px, 7vw, 110px) 32px; background: radial-gradient(70% 60% at 100% 0%, rgba(23,62,122,.45), transparent 60%), var(--navy-990); }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1.2fr; gap: 48px; }
.ft-brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.ft-brand img { width: 200px; }
.ft-brand p { color: var(--fg-muted); max-width: 40ch; font-size: .97rem; }
.ft-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-h { font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; }
html[lang="ar"] .ft-h { letter-spacing: 0; font-size: .95rem; }
.ft-links { display: grid; gap: 4px; }
.ft-links a { display: inline-flex; min-height: 40px; align-items: center; color: #fff; text-decoration: none; font-size: .97rem; }
.ft-links a:hover { color: var(--gold-300); }
.ft-contact { display: grid; gap: 16px; }
.ft-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ft-contact .i { color: var(--gold-400); margin-top: 4px; }
.ft-contact span { display: grid; gap: 2px; font-size: .97rem; }
.ft-contact small { font-size: .8rem; color: var(--fg-muted); }
.ft-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.ft-contact a:hover { color: var(--gold-300); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   floating actions (desktop) + bottom bar (mobile)
   -------------------------------------------------------------------------- */
.fab { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; display: grid; gap: 12px; }
.fab-btn {
  position: relative; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  box-shadow: 0 18px 40px -12px rgba(2, 8, 18, .55); transition: transform var(--t) var(--ease);
}
.fab-btn:hover { transform: scale(1.07); }
.fab-btn .i { width: 28px; height: 28px; }
.fab-wa { background: var(--wa); color: var(--wa-ink); }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: ring 2.6s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.fab-call { background: var(--gold-500); color: var(--navy-990); }
.fab-tip {
  position: absolute; inset-inline-end: calc(100% + 12px); top: 50%; translate: 0 -50%;
  padding: 8px 14px; white-space: nowrap; font-size: .9rem; font-weight: 700; color: #fff; background: var(--navy-990);
  border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity var(--t-fast);
}
.fab-btn:hover .fab-tip, .fab-btn:focus-visible .fab-tip { opacity: 1; }
.mbar { display: none; }

/* --------------------------------------------------------------------------
   reveal on scroll
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .topbar-mail { display: none; }
  .topbar-lang { margin-inline-start: auto; }
  .nav-link { padding-inline: 10px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .step:nth-child(3)::before { display: none; }
  .client-list-4 { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --topbar-h: 34px; --navbar-h: 64px; --mbar-h: calc(66px + env(safe-area-inset-bottom)); }
  .topbar-hours, .topbar-lang { display: none; }
  .topbar-in { justify-content: center; }
  .menu-btn { display: inline-block; }
  /* backdrop-filter would trap the fixed menu panel inside the navbar, so use a solid bar */
  .masthead.is-scrolled .navbar, .masthead.is-open .navbar { background: var(--navy-950); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-quote { display: none; }
  .navbar-actions { margin-inline-start: auto; }

  .nav {
    position: fixed; inset: var(--mast-h) 0 0 0; z-index: 99;
    margin: 0; padding: 12px var(--gutter) calc(32px + var(--mbar-h)); overflow-y: auto;
    background: var(--navy-950);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link { width: 100%; min-height: 58px; padding-inline: 4px; font-size: 1.15rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-current="page"] { background: none; color: var(--gold-300); }
  .nav-dd-btn { display: none; }
  .nav-dd-label { display: block; padding: 18px 4px 6px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
  html[lang="ar"] .nav-dd-label { letter-spacing: 0; font-size: .95rem; }
  /* inherit visibility from the drawer: an explicit 'visible' here made the closed menu's links catch taps */
  .nav-dd-panel { position: static; translate: none; width: auto; padding: 0 0 12px; background: none; color: #fff; box-shadow: none; opacity: 1; visibility: inherit; transform: none; }
  [dir="rtl"] .nav-dd-panel { translate: none; }
  .dd-grid { grid-template-columns: 1fr; gap: 0; }
  .dd-item { padding: 12px 4px; border-radius: 0; }
  .dd-item:hover, .dd-item[aria-current="page"] { background: none; }
  .dd-item[aria-current="page"] strong { color: var(--gold-300); }
  .dd-num { color: var(--gold-400); }
  .dd-text strong { color: #fff; font-size: 1.05rem; }
  .dd-text small { color: #9AA7BB; }
  .nav-m-ctas { display: grid; gap: 10px; margin-top: 24px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-home { align-items: flex-start; }
  .hero-scroll { display: none; }
  .quote-card { max-width: 560px; }

  .section-head-split { grid-template-columns: 1fr; }

  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .tiles > :nth-child(n) { grid-column: span 1 !important; grid-row: auto !important; }
  .tiles > :nth-child(1) { grid-column: span 2 !important; grid-row: span 1 !important; }
  .tiles-small > :nth-child(1) { grid-column: span 1 !important; }
  .tiles-small > :nth-child(5) { grid-column: span 2 !important; }

  .clients-grid, .faq-grid, .cp-grid { grid-template-columns: 1fr; }
  .clients-head, .cp-aside { position: static; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .em-in { grid-template-columns: 1fr; }
  .em-ctas { grid-template-columns: 1fr 1fr; }
  .hl-grid { grid-template-columns: 1fr; }
  .groups-4 { grid-template-columns: 1fr; }
  .ct-cards { grid-template-columns: 1fr 1fr; }
  .ct-cards > :first-child { grid-column: span 2; grid-row: auto; }

  .fab { display: none; }
  .mbar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 98;
    display: grid; grid-template-columns: 1.2fr 1fr 1fr;
    height: var(--mbar-h); padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy-990); box-shadow: 0 -10px 30px -10px rgba(2, 8, 18, .5);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: .8rem; font-weight: 800; text-decoration: none; }
  .mbar .i { width: 24px; height: 24px; }
  .mbar-call { background: var(--gold-500); color: var(--navy-990); }
  .mbar-wa { background: var(--wa); color: var(--wa-ink); }
  .mbar-quote { background: var(--navy-800); color: #fff; }
}

@media (max-width: 640px) {
  .topbar { font-size: .8rem; }
  .brand img { width: 128px; }
  .hero-home { padding-bottom: 48px; }
  .hero-h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero-h1-sub { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .trust { flex-direction: column; gap: 8px; }
  .quote-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }


  .tiles, .tiles-small { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tiles > :nth-child(n), .tiles-small > :nth-child(n) { grid-column: span 1 !important; grid-row: auto !important; }

  .reasons { grid-template-columns: 1fr; }
  .reason-n { margin-bottom: 16px; }
  .em-ctas { grid-template-columns: 1fr; }
  .em-ctas .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 36px; padding-inline-start: 84px; min-height: 96px; }
  .step::before { display: block !important; top: 66px; bottom: 6px; inset-inline: 29px auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #C9D0DA 0 8px, transparent 8px 14px); }
  .step:last-child::before { display: none !important; }
  .client-list, .client-list-4 { grid-template-columns: 1fr; }
  .ct-cards { grid-template-columns: 1fr; }
  .ct-cards > :first-child { grid-column: auto; }
  .form-actions .btn { flex-basis: 100%; }
  .ft-top { grid-template-columns: 1fr; gap: 36px; }
  .ft-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .fab, .mbar, .hero-media, .quote-card { display: none !important; }
  .hero, .dark { background: #fff !important; color: #000 !important; }
  body { padding: 0; }
}
