/* ============================================================================
   PSL Arabia — pslarabia.me

   Design brief: an established international freight forwarder, not a SaaS
   landing page. Light, structured, typographic. Photography carries the
   visual weight; the UI stays out of the way.

   Deliberate constraints — do not reintroduce these:
     · no gradients as decoration (a dark scrim over photography is the
       only gradient permitted, and only where text sits on an image)
     · no glow, blur or glassmorphism
     · no floating blobs or purely decorative shapes
     · radius is 0-3px; nothing is a rounded card
     · sections are separated by hairlines and whitespace, not boxes
     · motion is a short fade-up on entrance, and hover states. Nothing else.
   ========================================================================= */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ---------- tokens ------------------------------------------------------- */
:root {
  /* brand — sampled from the PSL logo */
  --brand: #00A5BC;          /* logo cyan darkened to clear AA on white */
  --brand-bright: #00CDE2;   /* the logo cyan itself — dark backgrounds only */
  --blue: #0070B8;           /* links and small accents on white */
  --accent: #D93B18;         /* the single call-to-action colour */
  --accent-dark: #B62F11;

  --navy: #0B2A4A;
  --navy-deep: #071C33;
  --navy-line: #1C3F65;

  --ink: #12263B;
  --muted: #5A6B7D;
  --faint: #8A9AAA;

  --paper: #FFFFFF;
  --paper-alt: #F4F6F8;
  --rule: #DCE3EA;
  --rule-strong: #C3CEDA;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 40px; --s8: 56px; --s9: 72px; --s10: 96px;

  --section: clamp(64px, 7vw, 104px);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 44px);

  --header-h: 72px;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

/* The [hidden] attribute must win over component display rules. Author styles
   beat the UA stylesheet regardless of specificity, so `.btn { display:flex }`
   silently defeats `[hidden] { display:none }` — which left Back / Continue /
   Send request all visible at once on every step of the quote form. */
[hidden] { display: none !important; }

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--navy); color: #fff; }

/* ---------- type --------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.021em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); letter-spacing: -.03em; font-weight: 650; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); letter-spacing: -.026em; }
h3 { font-size: 1.12rem; letter-spacing: -.015em; }
h4 { font-size: .98rem; }

p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--navy); }

.lede {
  font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

/* One decorative device, used consistently, rather than a new flourish per
   section: a small uppercase label sitting on a hairline. */
.label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  padding-bottom: var(--s3);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--rule);
}

/* ---------- layout ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-alt); }
.section--navy { background: var(--navy); color: #B9C9D8; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .lede { color: #A8BCCF; }
.section--navy .label { color: var(--brand-bright); border-bottom-color: var(--navy-line); }
.section--navy strong { color: #fff; }

.head { max-width: 62ch; margin-bottom: var(--s8); }
.head .lede { margin-top: var(--s4); }

.cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }

/* ---------- buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-weight: 550;
  font-size: .96rem;
  border: 1px solid var(--accent);
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: #143a63; border-color: #143a63; }

.btn--line { background: transparent; color: var(--navy); border-color: var(--rule-strong); }
.btn--line:hover { background: var(--paper-alt); border-color: var(--navy); }

.btn--onphoto { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--onphoto:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--wa { background: #1D9E52; border-color: #1D9E52; }
.btn--wa:hover { background: #17853F; border-color: #17853F; }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .89rem; }
.btn--block { width: 100%; }

.tlink { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 550; color: var(--blue); }
.tlink svg { width: 14px; height: 14px; transition: transform .16s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }
.tlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================================
   HEADER — solid and structural
   ========================================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.header__in {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: var(--s6);
}
.header__logo img { height: 34px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s5); }
.nav__link {
  font-size: .92rem; font-weight: 500; color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.nav__link:hover { color: var(--navy); border-bottom-color: var(--rule-strong); }
.nav__link[aria-current="true"] { color: var(--navy); border-bottom-color: var(--brand); }

.header__end { display: flex; align-items: center; gap: var(--s4); flex: none; }
.header__tel { font-size: .92rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.header__tel svg { width: 15px; height: 15px; color: var(--brand); }
.header__tel:hover { color: var(--blue); }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy); }
.burger span { display: block; position: relative; width: 20px; height: 2px; background: currentColor; transition: background .16s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
  transition: transform .2s var(--ease), top .16s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff;
  padding: var(--s5) var(--gutter) var(--s8);
  overflow-y: auto;
  display: none;
}
.drawer.is-open { display: block; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-size: 1.06rem; font-weight: 550; color: var(--navy);
  border-bottom: 1px solid var(--rule);
}
.drawer__link svg { width: 15px; height: 15px; color: var(--faint); }
.drawer__cta { margin-top: var(--s6); display: grid; gap: var(--s3); }

@media (max-width: 1000px) {
  .nav, .header__tel { display: none; }
  .burger { display: flex; }
}

/* ============================================================================
   HERO — one photograph, one headline
   ========================================================================= */
.hero { position: relative; background: var(--navy-deep); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
/* <picture> must be given a definite height, otherwise the img's height:100%
   resolves against an auto-height wrapper and falls back to intrinsic size —
   the image then overflows the band and escapes the scrim. */
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg, rgba(6,20,36,.93) 0%, rgba(6,20,36,.83) 38%, rgba(6,20,36,.52) 70%, rgba(6,20,36,.36) 100%);
}
.hero__in { position: relative; z-index: 2; min-height: clamp(460px, 60vh, 620px); display: flex; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.hero__copy { max-width: 34rem; }
.hero__eyebrow {
  display: inline-block;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-bright);
  padding-bottom: var(--s3); margin-bottom: var(--s5);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.hero h1 { color: #fff; }
.hero p { margin-top: var(--s5); color: #C6D6E4; font-size: clamp(1rem, .96rem + .28vw, 1.12rem); max-width: 46ch; }
.hero__cta { margin-top: var(--s7); display: flex; flex-wrap: wrap; gap: var(--s3); }

/* fact strip — real, verifiable numbers only */
.facts { background: var(--navy); border-top: 1px solid var(--navy-line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: var(--s6) var(--s5); border-left: 1px solid var(--navy-line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__n { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); font-weight: 650; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__l { margin-top: 7px; font-size: .84rem; color: #8FA6BC; }
@media (max-width: 760px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}

/* ============================================================================
   SERVICES — editorial grid ruled by hairlines, not cards
   ========================================================================= */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
@media (max-width: 940px) { .svcs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svcs { grid-template-columns: 1fr; } }

.svc { position: relative; padding: var(--s6) var(--s6) var(--s7); border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.svc:nth-child(3n) { border-right: 0; }
@media (max-width: 940px) {
  .svc:nth-child(3n) { border-right: 1px solid var(--rule); }
  .svc:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) { .svc, .svc:nth-child(3n), .svc:nth-child(2n) { border-right: 0; padding-inline: 0; } }

.svc__n { font-size: .78rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.svc h3 { margin-top: var(--s3); }
.svc p { margin-top: var(--s3); font-size: .93rem; color: var(--muted); }
.svc .tlink { margin-top: var(--s4); }
.svc__hit::after { content: ''; position: absolute; inset: 0; }
.svc:hover h3 { color: var(--blue); }

/* photograph row */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s8); }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot { position: relative; overflow: hidden; background: var(--navy); }
.shot img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: var(--s7) var(--s4) var(--s4);
  background: linear-gradient(to top, rgba(7,28,51,.92), transparent);
  color: #fff; font-size: .88rem; font-weight: 550;
}

/* ============================================================================
   WHY — numbered points on hairlines
   ========================================================================= */
.points { border-top: 1px solid var(--rule); }
.section--navy .points { border-top-color: var(--navy-line); }
.point { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s5); padding: var(--s6) 0; border-bottom: 1px solid var(--rule); }
.section--navy .point { border-bottom-color: var(--navy-line); }
.point__n { font-size: .8rem; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; padding-top: 3px; }
.section--navy .point__n { color: var(--brand-bright); }
.point p { margin-top: 7px; font-size: .95rem; color: var(--muted); }
.section--navy .point p { color: #A8BCCF; }
@media (max-width: 560px) { .point { grid-template-columns: 1fr; gap: var(--s2); } }

/* ---------- coverage map ------------------------------------------------- */
.map { width: 100%; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .rm-dots { fill: rgba(255,255,255,.15); }
.map .rm-arc {
  fill: none; stroke: var(--brand-bright); stroke-width: 1.1; stroke-opacity: .5; stroke-linecap: round;
  stroke-dasharray: var(--len) var(--len);
  stroke-dashoffset: var(--len);
  animation: draw 1.4s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.map .rm-node { fill: var(--brand-bright); }
.map .rm-node-ring, .map .rm-hub-halo { display: none; }
.map .rm-hub { fill: #fff; }
.map .rm-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; fill: rgba(255,255,255,.58); letter-spacing: .05em; }
.map .rm-label--hub { fill: #fff; font-size: 13px; font-weight: 650; letter-spacing: .07em; }

.countries { border-top: 1px solid var(--navy-line); }
.country { display: flex; align-items: baseline; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--navy-line); font-size: .95rem; }
.country b { color: #fff; font-weight: 600; min-width: 9.5rem; }
.country span { color: #8FA6BC; font-size: .89rem; }
.country i { margin-left: auto; font-style: normal; color: var(--brand-bright); font-size: .85rem; font-weight: 600; white-space: nowrap; }

.badges { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.badges img { height: 50px; width: auto; border-radius: 2px; opacity: .92; }

/* ============================================================================
   INDUSTRIES — photography
   ========================================================================= */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
@media (max-width: 900px) { .inds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .inds { grid-template-columns: 1fr; } }

.ind { position: relative; overflow: hidden; background: var(--navy); isolation: isolate; }
.ind img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s var(--ease); }
@media (max-width: 900px) { .ind img { aspect-ratio: 4/3; } }
.ind:hover img { transform: scale(1.04); }
.ind::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,28,51,.94) 8%, rgba(7,28,51,.56) 46%, rgba(7,28,51,.14) 100%);
}
.ind__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: var(--s5); }
.ind h3 { color: #fff; font-size: 1.05rem; }
.ind p { margin-top: 6px; font-size: .86rem; color: #BACADA; line-height: 1.5; }

.ind-more { margin-top: var(--s5); font-size: .93rem; color: var(--muted); }
.ind-more b { color: var(--navy); font-weight: 600; }

/* ============================================================================
   OFFICES
   ========================================================================= */
.offices { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
@media (max-width: 1000px) { .offices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offices { grid-template-columns: 1fr; } }
.office { padding: var(--s6) var(--s5); border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.office:nth-child(4n) { border-right: 0; }
@media (max-width: 1000px) {
  .office:nth-child(4n) { border-right: 1px solid var(--rule); }
  .office:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) { .office, .office:nth-child(4n), .office:nth-child(2n) { border-right: 0; padding-inline: 0; } }

.office h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.office__tag { font-size: .64rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 2px 6px; border-radius: 2px; }
.office address { font-style: normal; font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.office__c { margin-top: 10px; display: grid; gap: 3px; font-size: .87rem; }
.office__c a { color: var(--blue); }
.office__c a:hover { text-decoration: underline; }

/* ============================================================================
   CTA BAND
   ========================================================================= */
.cta { position: relative; background: var(--navy-deep); isolation: isolate; }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media picture { display: block; width: 100%; height: 100%; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(7,24,43,.86); }
.cta__in { position: relative; z-index: 2; padding-block: clamp(56px, 7vw, 90px); display: flex; flex-wrap: wrap; gap: var(--s7); align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { margin-top: var(--s3); color: #B9C9D8; max-width: 46ch; font-size: 1rem; }
.cta__btns { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ============================================================================
   QUOTE FORM
   ========================================================================= */
.form { max-width: 780px; }
.steps { display: flex; gap: var(--s5); border-bottom: 1px solid var(--rule); margin-bottom: var(--s7); flex-wrap: wrap; }
.steps li { padding-bottom: var(--s3); font-size: .84rem; font-weight: 550; color: var(--faint); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.steps li.is-active { color: var(--navy); border-bottom-color: var(--brand); }
.steps li.is-done { color: var(--muted); }

.fstep { display: none; }
.fstep.is-active { display: block; animation: up .2s var(--ease); }
@keyframes up { from { opacity: 0; transform: translateY(5px); } }

.field { display: grid; gap: 7px; margin-bottom: var(--s5); }
.field > label { font-size: .87rem; font-weight: 550; color: var(--navy); }
.field .req { color: var(--accent); }
.field .hint { color: var(--faint); font-weight: 400; }

.input, .select, .textarea {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: #fff;
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .14s var(--ease);
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B7D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px;
  padding-right: 40px;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--accent); }
.err { font-size: .8rem; color: var(--accent); }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.pick { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); }
@media (max-width: 760px) { .pick { grid-template-columns: repeat(2, 1fr); } }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label {
  display: flex; align-items: center; gap: 9px;
  padding: 14px; min-height: 52px;
  font-size: .9rem; font-weight: 500;
  cursor: pointer;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  transition: background .14s var(--ease), color .14s var(--ease);
}
.pick label svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.pick label:hover { background: var(--paper-alt); }
.pick input:checked + label { background: var(--navy); color: #fff; }
.pick input:checked + label svg { color: var(--brand-bright); }
.pick input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: -2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fnav { display: flex; gap: var(--s3); margin-top: var(--s6); }
.falt { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--rule); font-size: .89rem; color: var(--muted); }
.falt a { color: var(--blue); font-weight: 550; }
.falt a:hover { text-decoration: underline; }

.fstate { display: none; padding: var(--s7) 0; }
.fstate.is-active { display: block; }
.fstate__k { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.fstate--err .fstate__k { color: var(--accent); }
.fstate h3 { margin-top: var(--s3); font-size: 1.4rem; }
.fstate p { margin-top: var(--s3); color: var(--muted); max-width: 50ch; }
.fstate .btn { margin-top: var(--s5); }

/* ============================================================================
   CONTACT
   ========================================================================= */
.rep { border: 1px solid var(--rule); background: #fff; }
.rep__hd { padding: var(--s5); border-bottom: 1px solid var(--rule); background: var(--paper-alt); }
.rep__name { font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.rep__role { font-size: .87rem; color: var(--muted); margin-top: 2px; }
.rep__rows { padding: var(--s3) var(--s5) var(--s5); }
.rep__row { display: flex; gap: var(--s4); padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
.rep__row:last-child { border-bottom: 0; }
.rep__row > span { color: var(--faint); min-width: 5.5rem; font-size: .84rem; flex: none; padding-top: 1px; }
.rep__row a, .rep__row b { color: var(--navy); font-weight: 550; }
.rep__row a:hover { color: var(--blue); text-decoration: underline; }
.rep__cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: 0 var(--s5) var(--s5); }
@media (max-width: 440px) { .rep__cta { grid-template-columns: 1fr; } }

.mapbox { border: 1px solid var(--rule); aspect-ratio: 4/3; background: var(--paper-alt); }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  padding: var(--s5) 0;
  font-size: 1rem; font-weight: 550; color: var(--navy);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary svg { width: 15px; height: 15px; flex: none; color: var(--faint); transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq__a { padding: 0 0 var(--s5); font-size: .95rem; color: var(--muted); max-width: 72ch; }
.faq__a a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--navy-deep); color: #8FA6BC; padding-top: var(--s10); font-size: .9rem; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: var(--s9);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer__logo img { height: 38px; width: auto; }
.footer__blurb { margin-top: var(--s4); max-width: 34ch; line-height: 1.6; }
.footer h4 { color: #fff; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s4); font-weight: 600; }
.footer__list { display: grid; gap: 9px; }
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: var(--s3); margin-top: var(--s5); }
.footer__social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--navy-line); color: #8FA6BC; transition: color .16s, border-color .16s; }
.footer__social a:hover { color: #fff; border-color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer__bot {
  border-top: 1px solid var(--navy-line);
  padding-block: var(--s5);
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.footer__bot b { color: #fff; font-weight: 550; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer__legal a:hover { color: #fff; }
.footer__credits {
  padding-bottom: calc(var(--s6) + env(safe-area-inset-bottom));
  font-size: .72rem; color: #4F6178; line-height: 1.5; max-width: 92ch;
}
.footer__credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================================
   PERSISTENT CONTACT — square, quiet
   ========================================================================= */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 8px; }
.float a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 2px; color: #fff; box-shadow: 0 2px 10px rgba(7,28,51,.25); transition: background .16s var(--ease); }
.float a svg { width: 22px; height: 22px; }
.float .f-wa { background: #1D9E52; }
.float .f-wa:hover { background: #17853F; }
.float .f-tel { background: var(--navy); }
.float .f-tel:hover { background: #143A63; }

.actionbar {
  position: fixed; inset: auto 0 0 0; z-index: 95;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-top: 1px solid var(--rule);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; font-size: .72rem; font-weight: 550; color: var(--navy);
  border-right: 1px solid var(--rule);
}
.actionbar a:last-child { border-right: 0; }
.actionbar svg { width: 18px; height: 18px; color: var(--muted); }
.actionbar .a-q { background: var(--accent); color: #fff; }
.actionbar .a-q svg { color: #fff; }

@media (max-width: 760px) {
  .actionbar { display: grid; }
  .float { display: none; }
  body { padding-bottom: 56px; }
}

/* ---------- utilities ---------------------------------------------------- */
.skip { position: absolute; left: 10px; top: -60px; z-index: 200; background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 600; border: 1px solid var(--navy); transition: top .16s; }
.skip:focus { top: 10px; }
.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; }
.prose p + p { margin-top: 1em; }

/* the site's only entrance effect */
.rv { opacity: 0; transform: translateY(10px); }
.rv.in { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .map .rm-arc { stroke-dashoffset: 0; }
}

@media print {
  .header, .float, .actionbar, .drawer, .fnav { display: none !important; }
  .hero, .section--navy, .footer, .cta { background: #fff !important; color: #000 !important; }
  .hero h1, .section--navy h2, .cta h2 { color: #000 !important; }
  .hero::after, .cta::after, .hero__media, .cta__media { display: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ============================================================================
   ADDITIONS — hero lockup, featured office, direct-contact strip
   ========================================================================= */

/* logo in the hero, above the eyebrow */
.hero__logo { display: block; margin-bottom: var(--s6); }
.hero__logo img { height: clamp(46px, 5vw, 62px); width: auto; }

/* offices, now on navy */
.section--navy .offices { border-top-color: var(--navy-line); }
.section--navy .office { border-bottom-color: var(--navy-line); border-right-color: var(--navy-line); }
.section--navy .office h3 { color: #fff; }
.section--navy .office address { color: #A8BCCF; }
.section--navy .office__c a { color: var(--brand-bright); }

/* the office you are actually looking at */
.office--here {
  background: rgba(0, 205, 226, .06);
  box-shadow: inset 3px 0 0 var(--brand-bright);
}
.section--navy .office--here address { color: #C6D6E4; }

/* direct-contact strip under the quote form */
.falt {
  margin-top: var(--s7);
  padding-top: var(--s6);
  border-top: 1px solid var(--rule);
}
.falt__lead { font-size: .95rem; font-weight: 550; color: var(--navy); margin-bottom: var(--s4); }
.falt__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 720px) { .falt__grid { grid-template-columns: 1fr; } }

.falt__opt {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: #fff;
  min-height: 72px;
  align-items: flex-start;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.falt__opt:hover { border-color: var(--navy); background: var(--paper-alt); }
.falt__opt svg { width: 21px; height: 21px; flex: none; color: var(--navy); margin-top: 2px; }
.falt__opt span { display: grid; gap: 2px; min-width: 0; }
/* Let the address wrap rather than ellipsis — a truncated email reads as broken. */
.falt__opt b {
  font-size: .92rem; font-weight: 600; color: var(--navy);
  overflow-wrap: anywhere; line-height: 1.3;
}
.falt__opt span { font-size: .8rem; color: var(--muted); }
.falt__opt--wa { border-color: #9FD7B6; background: #F4FBF7; }
.falt__opt--wa:hover { border-color: #1D9E52; background: #EAF7F0; }
.falt__opt--wa svg { color: #1D9E52; }

.falt__note { margin-top: var(--s4); font-size: .87rem; color: var(--muted); }
.falt__note a { color: var(--blue); font-weight: 550; text-decoration: underline; text-underline-offset: 2px; }
