/* =========================================================
   Bridge Manpower — site styles
   Calm, clear, light. Navy ink from the logo, Gulf blue for
   interaction, amber only where the "bridge" is drawn.
   ========================================================= */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("../fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --mist: #F2F6FA;
  --paper: #FFFFFF;
  --sky: #E4EEF7;
  --sky-2: #D3E3F1;
  --line: #DCE5EE;
  --ink: #13355B;
  --ink-2: #3A5170;
  --stone: #687A8F;
  --gulf: #2C7FBF;
  --gulf-deep: #1F659E;
  --amber: #F39A1E;
  --ok: #2F8F6B;
  --danger: #C2413A;

  --f-display: "Bricolage", "Hanken", system-ui, sans-serif;
  --f-body: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + .35vw, 1.38rem);
  --step-2: clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.8rem + 2.6vw, 4.1rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.2vw, 4.7rem);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 1px 2px rgba(19, 53, 91, .05), 0 12px 32px -12px rgba(19, 53, 91, .16);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--mist); color: var(--ink-2);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); font-weight: 550; line-height: 1.08; letter-spacing: -.018em; margin: 0; font-stretch: 100%; }
p { margin: 0 0 1em; }
::selection { background: var(--sky-2); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--gulf); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: .92em 1.45em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; letter-spacing: .005em;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  position: relative; white-space: nowrap;
}
.btn:hover { --bg: var(--gulf-deep); box-shadow: 0 10px 24px -10px rgba(31, 101, 158, .55); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --bg: var(--paper); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--sky); --fg: var(--ink); }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; }
.link { color: var(--gulf-deep); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.link:hover { background-size: 100% 1.5px; }

/* ---------- utility bar ---------- */
.utility { background: var(--ink); color: #D5E2EF; font-size: .86rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.utility__contact { display: flex; gap: 22px; align-items: center; }
.utility__contact a { display: inline-flex; align-items: center; gap: 7px; opacity: .9; transition: opacity .2s; }
.utility__contact a:hover { opacity: 1; color: #fff; }
.utility svg { width: 15px; height: 15px; }
.mohre-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; font-size: .82rem;
  transition: background .25s;
}
.mohre-btn:hover { background: rgba(255, 255, 255, .16); }
.mohre-btn__seal { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.mohre-btn__seal svg { width: 14px; height: 14px; color: var(--ok); }
@media (max-width: 760px) { .utility__contact .hide-sm { display: none; } .utility__contact { gap: 14px; } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 90; transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.header.is-stuck { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > li { list-style: none; position: relative; }
.nav ul { padding: 0; margin: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-weight: 550; color: var(--ink); font-size: .96rem; background: none; border: 0; transition: background .25s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--sky); }
.nav__link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header__cta { margin-left: 8px; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: min(640px, 90vw);
  background: var(--paper); border-radius: var(--r-m); box-shadow: var(--shadow), 0 0 0 1px var(--line);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: background .2s; }
.mega a:hover { background: var(--mist); }
.mega img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.mega strong { display: block; color: var(--ink); font-weight: 650; font-size: .95rem; line-height: 1.2; }
.mega span { font-size: .83rem; color: var(--stone); line-height: 1.35; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); flex-direction: column; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 85; background: var(--paper); padding: calc(var(--header-h) + 60px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease); visibility: hidden; }
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer a.d-link { font-family: var(--f-display); font-size: 1.9rem; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 550; }
.drawer .btn { margin-top: 20px; align-self: flex-start; }
@media (max-width: 1080px) { .nav, .header__cta { display: none; } .burger { display: flex; } }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--paper { background: var(--paper); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gulf-deep); font-size: .95rem; margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: var(--step-4); max-width: 15ch; }
.section-head p { font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding: 10px var(--gutter) 0; }
.hero__frame { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: min(calc(100vh - 128px), 860px); background: var(--sky); isolation: isolate; display: flex; flex-direction: column; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(242, 246, 250, .96) 0%, rgba(242, 246, 250, .86) 32%, rgba(242, 246, 250, .28) 58%, rgba(242, 246, 250, 0) 75%), linear-gradient(0deg, rgba(242, 246, 250, .9) 0%, rgba(242, 246, 250, 0) 30%); }
.hero__content { padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 72px) 0; max-width: 820px; }
.hero__eyebrow { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(19, 53, 91, .08); font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 26px; }
.hero__eyebrow b { background: var(--ok); color: #fff; font-size: .74rem; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.hero h1 { font-size: var(--step-5); font-weight: 500; letter-spacing: -.028em; line-height: 1.02; max-width: 15ch; min-height: 2.04em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero__lede { font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; margin: 22px 0 30px; min-height: 4.95em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bridge { position: relative; margin-top: auto; height: clamp(110px, 13vw, 170px); pointer-events: none; z-index: 0; padding-inline: clamp(12px, 2vw, 28px); }
.hero__bridge svg { width: 100%; height: 100%; overflow: visible; }
.hero__bridge .cable { fill: none; stroke: var(--ink); stroke-width: 1.1; opacity: .55; }
.hero__bridge .deck { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.hero__bridge .pylon { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.hero__bridge .runner { fill: var(--amber); }
.hero__bridge .anchor { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.hero__bridge text { font-family: var(--f-body); font-size: 13px; font-weight: 700; fill: var(--ink); }
.hero__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(24px, 5vw, 72px) 26px; }
.hero__creds { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__creds .plates { display: flex; align-items: center; gap: 18px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.86); box-shadow: inset 0 0 0 1px var(--line); }
.hero__creds img { height: 24px; width: auto; }
.hero__creds .mohre-chip { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; color: var(--ink); font-size: .86rem; }
.hero__creds .mohre-chip svg { width: 20px; height: 20px; color: var(--ok); }
.hero__dots { display: flex; gap: 10px; align-items: center; }
.hero__dot { width: 44px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(19, 53, 91, .18); overflow: hidden; position: relative; }
.hero__dot i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.hero__dot.is-active i { animation: dot 7s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
@media (max-width: 860px) {
  .hero__frame { min-height: 0; }
  .hero__frame::before { background: linear-gradient(180deg, rgba(242, 246, 250, .95) 0%, rgba(242, 246, 250, .85) 52%, rgba(242, 246, 250, .35) 75%, rgba(242, 246, 250, .92) 100%); }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__creds img { height: 20px; }
  .hero__creds .plates { gap: 12px; padding: 0 12px; }
  .hero__creds { gap: 14px; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 118%; object-fit: cover; object-position: 30% 50%; }
.about__badge { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); border-radius: var(--r-m); padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.about__badge img { width: 54px; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.about__badge strong { display: block; color: var(--ink); font-size: .98rem; }
.about__badge span { font-size: .86rem; color: var(--stone); }
.about h2 { font-size: var(--step-4); margin-bottom: 26px; max-width: 14ch; }
.about__text p { font-size: var(--step-1); max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.fact { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 22px; }
.fact__num { font-family: var(--f-display); font-size: var(--step-3); color: var(--ink); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__label { font-size: .92rem; color: var(--stone); margin-top: 8px; line-height: 1.4; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__media { aspect-ratio: 4 / 3; } }

.director { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; padding-top: 40px; border-top: 1px solid var(--line); }
.director__who strong { display: block; font-family: var(--f-display); color: var(--ink); font-size: 1.15rem; }
.director__who span { color: var(--stone); font-size: .92rem; }
.director blockquote { margin: 0; font-family: var(--f-display); font-size: var(--step-2); color: var(--ink); font-weight: 450; line-height: 1.3; letter-spacing: -.015em; max-width: 34ch; font-stretch: 96%; }
.director blockquote p + p { margin-top: .6em; font-family: var(--f-body); font-size: var(--step-0); color: var(--ink-2); letter-spacing: 0; line-height: 1.65; max-width: 60ch; }
@media (max-width: 760px) { .director { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- services (trades) ---------- */
.trades { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.trade-list { border-top: 1px solid var(--line); }
.trade { border-bottom: 1px solid var(--line); }
.trade__btn { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 24px 4px; background: none; border: 0; text-align: left; }
.trade__btn h3 { font-size: var(--step-2); font-weight: 550; transition: color .3s, transform .45s var(--ease); }
.trade__btn .plus { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: background .3s, box-shadow .3s, transform .45s var(--ease); }
.trade__btn .plus svg { width: 16px; height: 16px; color: var(--ink); }
.trade__btn:hover h3 { transform: translateX(6px); }
.trade.is-open .trade__btn h3 { color: var(--gulf-deep); }
.trade.is-open .plus { background: var(--ink); box-shadow: none; transform: rotate(45deg); }
.trade.is-open .plus svg { color: #fff; }
.trade__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.trade.is-open .trade__body { grid-template-rows: 1fr; }
.trade__inner { overflow: hidden; }
.trade__inner p { padding: 0 4px; max-width: 52ch; margin-bottom: 14px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 26px; margin: 0; list-style: none; }
.roles li { padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: .88rem; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.trade-stage { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4.4; background: var(--sky); }
.trade-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease), transform 1.2s var(--ease); transform: scale(1.06); }
.trade-stage img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.trade-stage img.was-active { clip-path: inset(0 0 0 0); z-index: 0; }
.trade-stage figcaption { position: absolute; z-index: 2; left: 18px; bottom: 18px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); padding: 10px 16px; border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .9rem; }
@media (max-width: 900px) { .trades { grid-template-columns: 1fr; } .trade-stage { position: relative; top: 0; order: -1; aspect-ratio: 16 / 10; } }

/* ---------- sectors (horizontal) ---------- */
.sectors { overflow: hidden; }
.sectors__pin { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-block: 80px; }
.sectors__track { display: flex; gap: 24px; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: var(--gutter); will-change: transform; }
.sector { flex: 0 0 clamp(300px, 34vw, 470px); background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.sector__img { aspect-ratio: 4 / 3; overflow: hidden; }
.sector__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sector:hover .sector__img img { transform: scale(1.05); }
.sector__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sector h3 { font-size: var(--step-2); }
.sector p { margin: 0; font-size: .98rem; }
.sector__tags { margin-top: auto; padding-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.sector__tags span { font-size: .8rem; color: var(--stone); padding: 4px 10px; border-radius: 999px; background: var(--mist); }
.sectors__progress { margin-top: 36px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sectors__progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .sectors__pin { min-height: 0; padding-block: 0; }
  .sectors__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sectors__track::-webkit-scrollbar { display: none; }
  .sector { scroll-snap-align: start; flex-basis: 82vw; }
  .sectors__progress { display: none; }
}

/* ---------- emirates band ---------- */
.band { background: var(--ink); color: #D5E2EF; border-radius: var(--r-l); margin-inline: var(--gutter); padding: clamp(56px, 8vw, 100px) 0; overflow: hidden; position: relative; }
.band h2 { color: #fff; font-size: var(--step-4); max-width: 18ch; }
.band__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.band__grid p { font-size: var(--step-1); max-width: 40ch; margin: 0 0 26px; }
.marquee { margin-top: clamp(48px, 7vw, 80px); display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 0; flex: none; animation: marquee 38s linear infinite; }
.marquee__row span { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 500; color: rgba(255, 255, 255, .92); letter-spacing: -.03em; padding-right: .9em; white-space: nowrap; display: inline-flex; align-items: center; gap: .9em; }
.marquee__row span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--amber); }
.marquee__row span.hq { color: #8EC3EA; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--gulf); transform-origin: left; transform: scaleX(0); }
.step { padding-right: 28px; position: relative; }
.step__n { width: 48px; height: 48px; border-radius: 50%; background: var(--mist); box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; color: var(--ink); position: relative; z-index: 1; transition: background .5s, color .5s, box-shadow .5s; }
.step.is-on .step__n { background: var(--ink); color: #fff; box-shadow: none; }
.step h3 { font-size: var(--step-1); margin: 26px 0 10px; }
.step p { font-size: .97rem; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 34px; }
  .process__line { left: 23px; right: auto; width: 2px; top: 0; bottom: 0; height: auto; }
  .process__line i { transform-origin: top; transform: scaleY(0); }
  .step { padding: 0 0 0 76px; }
  .step__n { position: absolute; left: 0; top: -4px; }
  .step h3 { margin-top: 6px; }
}

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why__item { padding: 34px 30px 36px 0; border-bottom: 1px solid var(--line); }
.why__item:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.why__item:not(:nth-child(3n+1)) { padding-left: 30px; }
.why__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; color: var(--gulf-deep); margin-bottom: 22px; }
.why__icon svg { width: 22px; height: 22px; }
.why__item h3 { font-size: var(--step-1); margin-bottom: 10px; }
.why__item p { margin: 0; font-size: .98rem; max-width: 36ch; }
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr 1fr; }
  .why__item, .why__item:not(:nth-child(3n+1)) { padding: 28px 20px 28px 0; border-right: 0 !important; }
  .why__item:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .why__item:nth-child(even) { padding-left: 20px; }
}
@media (max-width: 600px) {
  .why { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(even) { padding: 26px 0; border-right: 0 !important; }
}

/* ---------- certifications ---------- */
.certs { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.cert { background: var(--paper); border-radius: var(--r-m); box-shadow: 0 0 0 1px var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; text-align: left; border: 0; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
button.cert:hover { box-shadow: 0 0 0 1px var(--sky-2), var(--shadow); transform: translateY(-3px); }
.cert__logo { height: 92px; display: flex; align-items: center; }
.cert__logo img { max-height: 76px; width: auto; }
.cert__logo { gap: 26px; }
.cert--wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 32px; align-items: center; }
.cert--wide .cert__logo { grid-row: span 2; }
.cert--wide .cert__more { margin-top: 0; }
@media (max-width: 600px) { .cert--wide { grid-column: auto; grid-template-columns: 1fr; } .cert--wide .cert__logo { grid-row: auto; } }
.cert h3 { font-size: var(--step-1); }
.cert p { margin: 0; font-size: .94rem; }
.cert__more { margin-top: auto; font-weight: 600; color: var(--gulf-deep); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.cert__more svg { width: 16px; height: 16px; }
.cert--mohre { grid-row: span 2; padding: 0; overflow: hidden; background: linear-gradient(180deg, var(--paper), var(--mist)); }
.cert--mohre .cert__doc { margin: 26px 26px 0; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(19, 53, 91, .4); aspect-ratio: 911 / 420; background: #fff; }
.cert--mohre .cert__doc img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert--mohre .cert__txt { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cert__meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .88rem; margin: 6px 0 4px; }
.cert__meta dt { color: var(--stone); }
.cert__meta dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--ok); background: #E6F4EE; padding: 5px 11px; border-radius: 999px; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(47, 143, 107, .2); }
@media (max-width: 980px) { .certs { grid-template-columns: 1fr 1fr; } .cert--mohre { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .certs { grid-template-columns: 1fr; } .cert--mohre { grid-column: auto; } }

/* ---------- careers teaser ---------- */
.careers-teaser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.careers-teaser__media { border-radius: var(--r-l); overflow: hidden; position: relative; min-height: 420px; }
.careers-teaser__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.careers-teaser__media .note { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); padding: 16px 18px; border-radius: var(--r-m); font-size: .92rem; color: var(--ink); }
.careers-teaser__media .note strong { display: block; }
.careers-teaser h2 { font-size: var(--step-4); margin-bottom: 18px; max-width: 14ch; }
.job-mini { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.job-mini li a { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 18px 2px; border-bottom: 1px solid var(--line); align-items: center; transition: padding .35s var(--ease), background .35s; }
.job-mini li a:hover { padding-left: 14px; background: linear-gradient(90deg, var(--mist), transparent); }
.job-mini strong { color: var(--ink); font-size: 1.08rem; font-weight: 650; }
.job-mini span { color: var(--stone); font-size: .9rem; }
.job-mini em { grid-row: span 2; font-style: normal; font-size: .82rem; font-weight: 700; color: var(--gulf-deep); background: var(--sky); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.job-mini .empty { padding: 18px 2px; color: var(--stone); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .careers-teaser { grid-template-columns: 1fr; } .careers-teaser__media { min-height: 300px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq h2 { font-size: var(--step-4); max-width: 12ch; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 2px; font-family: var(--f-display); font-size: var(--step-1); color: var(--ink); font-weight: 550; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; transition: transform .4s var(--ease), background .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--ink); translate: -50% -50%; transition: background .3s; }
.qa summary i::after { rotate: 90deg; }
.qa[open] summary i { transform: rotate(45deg); background: var(--ink); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa__a { padding: 0 2px 26px; max-width: 62ch; }
.qa__a p:last-child { margin: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- contact & forms ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact h2 { font-size: var(--step-4); margin-bottom: 18px; max-width: 12ch; }
.contact__list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 4px; }
.contact__list a, .contact__list div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 0; }
.contact__list .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--gulf-deep); }
.contact__list .ic svg { width: 19px; height: 19px; }
.contact__list small { display: block; color: var(--stone); font-size: .82rem; }
.contact__list strong { color: var(--ink); font-weight: 600; }
.map { border-radius: var(--r-m); overflow: hidden; box-shadow: 0 0 0 1px var(--line); height: 240px; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(.95); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.card-form { background: var(--paper); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.card-form h3 { font-size: var(--step-2); margin-bottom: 6px; }
.card-form > p { color: var(--stone); margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .opt { color: var(--stone); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2313355B' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--gulf); box-shadow: 0 0 0 4px rgba(44, 127, 191, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FDF5F4; }
.field .err { color: var(--danger); font-size: .82rem; display: none; }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--stone); max-width: 42ch; font-size: .84rem; }
.form-alert { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .94rem; }
.form-alert.is-error { display: block; background: #FDF0EE; color: #8E2B25; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-on { display: block; }
.form-success .tick { width: 72px; height: 72px; margin: 0 auto 20px; }
.form-success .tick circle { fill: #E6F4EE; }
.form-success .tick path { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { margin-bottom: 8px; }
.form-success code { font-family: var(--f-body); font-weight: 700; color: var(--ink); background: var(--mist); padding: 3px 10px; border-radius: 8px; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #B9CBDD; margin-top: 0; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer img.flogo { height: 46px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-family: var(--f-body); font-size: .95rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__certs { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.footer__certs .plate { background: #fff; border-radius: 10px; padding: 10px 14px; display: flex; gap: 14px; align-items: center; }
.footer__certs .plate img { height: 30px; width: auto; }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- floating whatsapp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .35s var(--ease); }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; color: #fff; }
.fab-call { position: fixed; right: 20px; bottom: 90px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(19, 53, 91, .55); transition: transform .35s var(--ease), background .3s; }
.fab-call:hover { transform: scale(1.07); background: var(--gulf-deep); }
.fab-call svg { width: 25px; height: 25px; color: #fff; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(19, 53, 91, .38); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel { position: relative; background: var(--paper); border-radius: var(--r-l); width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 40px 80px -30px rgba(19, 53, 91, .5); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .45s var(--ease), opacity .35s var(--ease); }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__head { position: sticky; top: 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); z-index: 2; }
.modal__head h3 { font-size: var(--step-1); }
.modal__close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--mist); display: grid; place-items: center; }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: 22px; }
.doc-viewer { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.doc-viewer__frame { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--mist); height: min(70vh, 640px); }
.doc-viewer__frame iframe, .doc-viewer__frame img { width: 100%; height: 100%; border: 0; object-fit: contain; background: #fff; }
.doc-viewer__info h4 { font-size: var(--step-2); margin-bottom: 10px; }
.doc-viewer__info .cert__meta { margin: 18px 0 22px; font-size: .95rem; }
.doc-viewer__info .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .doc-viewer { grid-template-columns: 1fr; } .doc-viewer__frame { height: 52vh; } }

/* ---------- announcement ---------- */
.announce { background: var(--amber); color: var(--ink); text-align: center; font-weight: 600; font-size: .92rem; padding: 9px 16px; }
.announce[hidden] { display: none; }

/* ---------- reveal (JS adds .js on html) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__row { animation: none; }
}

/* hero refinements */
.hero .btn--ghost { --bg: rgba(255, 255, 255, .72); backdrop-filter: blur(8px); }
.hero__bridge .cable { opacity: .38; }

@media (max-width: 600px) { .hero__eyebrow { text-align: left; font-size: .8rem; } }
.doc-viewer__frame:has(img:only-child) { height: auto; align-self: start; }
.doc-viewer__frame img { user-select: none; -webkit-user-drag: none; }
.doc-viewer__frame:has(img:only-child) img { height: auto; }
