/* =========================================================================
   Dubai Fix Services — styles.css
   A hand-written design system. Palette: midnight navy + brass + cool mist.
   Type: Bricolage Grotesque (display) · Hanken Grotesk (body) · JetBrains Mono (utility)
   ========================================================================= */

/* ----------------------------- Design tokens ---------------------------- */
:root {
  /* Color */
  --ink:        #0A1A2E;   /* midnight navy — primary dark */
  --ink-2:      #0F2438;   /* surface navy */
  --ink-3:      #16314A;   /* elevated navy */
  --ink-4:      #1E4060;   /* hover navy */
  --brass:      #E6A02A;   /* primary accent — the "fix" spark */
  --brass-2:    #F2B84B;   /* light brass for dark surfaces */
  --brass-deep: #C8841A;   /* pressed / deep brass */

  --mist:       #F2F5F9;   /* page background, cool light */
  --mist-2:     #E8EEF5;   /* muted panel */
  --card:       #FFFFFF;   /* card surface */
  --text:       #15212E;   /* body text on light */
  --text-2:     #4B5867;   /* muted text on light */
  --text-inv:   #E9EEF5;   /* body text on navy */
  --text-inv-2: #93A6BC;   /* muted text on navy */
  --line:       #DFE6EF;   /* hairline on light */
  --line-dark:  rgba(233,238,245,0.12);
  --whatsapp:   #25D366;
  --whatsapp-d: #1FB855;

  /* Type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Fluid type scale */
  --fs-eyebrow: 0.75rem;
  --fs-xs:  0.875rem;
  --fs-sm:  0.95rem;
  --fs-base: 1.0625rem;
  --fs-md:  1.1875rem;
  --fs-lg:  1.4rem;
  --fs-xl:  clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.4vw, 2.9rem);
  --fs-3xl: clamp(2.5rem, 1.8rem + 3.6vw, 3.6rem);
  --fs-hero: clamp(2.7rem, 1.6rem + 5.2vw, 4.6rem);

  /* Spacing (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10,26,46,0.06), 0 1px 3px rgba(10,26,46,0.05);
  --shadow-md: 0 6px 18px rgba(10,26,46,0.08), 0 2px 6px rgba(10,26,46,0.06);
  --shadow-lg: 0 24px 50px rgba(10,26,46,0.14), 0 6px 14px rgba(10,26,46,0.08);
  --shadow-brass: 0 8px 22px rgba(230,160,42,0.30);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--brass); color: var(--ink); }

/* ------------------------------- Layout --------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(56px, 8vw, var(--s-9)); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--navy { background: var(--ink); color: var(--text-inv); }
.section--navy-2 { background: var(--ink-2); color: var(--text-inv); }
.section--mist-2 { background: var(--mist-2); }
.stack > * + * { margin-top: var(--s-5); }
.flow > * + * { margin-top: var(--s-4); }

/* ----------------------------- Typography ------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: inherit; }
.display { font-size: var(--fs-hero); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: var(--fs-2xl); font-weight: 700; }
.h3 { font-size: var(--fs-xl); font-weight: 700; }
.h4 { font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; }
p { color: inherit; }
.lead { font-size: var(--fs-md); line-height: 1.55; }
.muted { color: var(--text-2); }
.section--navy .muted, .section--navy-2 .muted { color: var(--text-inv-2); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brass); display: inline-block; }
.eyebrow--center::after { content: ""; width: 22px; height: 2px; background: var(--brass); display: inline-block; }

.section-head { max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: var(--s-4); }
.section-head p { margin-top: var(--s-4); color: var(--text-2); }
.section--navy .section-head p, .section--navy-2 .section-head p { color: var(--text-inv-2); }

/* Inline link */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--brass-deep); font-size: var(--fs-sm);
}
.section--navy .link-arrow, .section--navy-2 .link-arrow { color: var(--brass-2); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.text-link { color: var(--brass-deep); font-weight: 600; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.text-link:hover { border-color: currentColor; }
.section--navy .text-link, .section--navy-2 .text-link { color: var(--brass-2); }

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242,245,249,0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(242,245,249,0.95); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); height: 74px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--ink); display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.brand-mark::after { content:""; position:absolute; inset:0; background: linear-gradient(135deg, transparent 55%, rgba(230,160,42,0.55)); }
.brand-mark svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.brand-name strong { color: var(--brass-deep); font-weight: 800; }
.brand-sub { display:block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); font-weight: 500; margin-top: 3px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  font-size: var(--fs-sm); font-weight: 600; color: var(--text);
  padding: 9px 14px; border-radius: var(--r-sm); position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--mist-2); }
.nav a[aria-current="page"] { color: var(--brass-deep); }
.nav a[aria-current="page"]::after {
  content:""; position:absolute; left:14px; right:14px; bottom: 3px; height: 2px;
  background: var(--brass); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 4px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); font-size: var(--fs-sm);
}
.header-phone svg { width: 16px; height: 16px; color: var(--brass-deep); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  align-items: center; justify-content: center; border: 1px solid var(--line);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content:""; display:block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position:absolute; left:0; top:-6px; }
.nav-toggle span::after  { position:absolute; left:0; top:6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------- Buttons ------------------------------- */
.btn {
  --btn-bg: var(--brass); --btn-fg: var(--ink); --btn-bd: var(--brass);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm);
  padding: 13px 22px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: var(--shadow-brass); }
.btn-primary:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); }
.btn-on-navy { --btn-bg: var(--brass); --btn-fg: var(--ink); --btn-bd: var(--brass); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--text-inv); --btn-bd: var(--line-dark); }
.btn-outline-light:hover { background: rgba(255,255,255,0.06); border-color: var(--brass); color: #fff; }
.btn-whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; --btn-bd: var(--whatsapp); box-shadow: 0 8px 22px rgba(37,211,102,0.28); }
.btn-whatsapp:hover { background: var(--whatsapp-d); border-color: var(--whatsapp-d); }
.btn-lg { padding: 16px 28px; font-size: var(--fs-md); }
.btn-block { width: 100%; }

/* ------------------------------ CTA row --------------------------------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* -------------------------------- Hero ---------------------------------- */
.hero { position: relative; background: var(--ink); color: var(--text-inv); overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  opacity: 0.5;
}
.hero::after {
  content:""; position:absolute; right:-12%; top:-30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(230,160,42,0.18), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; margin-top: 22px; }
.hero h1 .accent { color: var(--brass-2); position: relative; white-space: nowrap; }
.hero h1 .accent::after { content:""; position:absolute; left:0; right:0; bottom: 0.06em; height: 0.16em; background: rgba(230,160,42,0.30); z-index:-1; border-radius: 3px; }
.hero .lead { margin-top: 22px; max-width: 52ch; color: var(--text-inv-2); }
.hero .cta-row { margin-top: 30px; }
.hero-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--fs-xs); color: var(--text-inv-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brass-2); }

/* The signature: live dispatch ticket card */
.dispatch {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 420px;
  margin-left: auto;
}
.dispatch::before {
  content:""; position:absolute; top:14px; left:14px; right:14px; height: 8px;
  background: repeating-linear-gradient(90deg, rgba(230,160,42,0.5) 0 14px, transparent 14px 26px);
  border-radius: 2px; opacity: 0.35;
}
.dispatch-head { display:flex; align-items:center; justify-content:space-between; margin-top: 18px; }
.dispatch-live { display:inline-flex; align-items:center; gap:9px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; }
.dispatch-live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 0 0 rgba(242,184,75,0.7); animation: pulse 2.2s infinite; }
.dispatch-id { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-inv-2); letter-spacing: 0.08em; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,184,75,0.55);} 70% { box-shadow: 0 0 0 9px rgba(242,184,75,0);} 100% { box-shadow: 0 0 0 0 rgba(242,184,75,0);} }
.dispatch-title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-top: 16px; letter-spacing: -0.01em; }
.dispatch-rows { margin-top: 16px; border-top: 1px solid var(--line-dark); }
.dispatch-row { display:grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.9rem; }
.dispatch-row dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-inv-2); padding-top: 2px; }
.dispatch-row dd { color: var(--text-inv); font-weight: 500; }
.dispatch-row dd .tag { display:inline-block; background: rgba(230,160,42,0.16); color: var(--brass-2); padding: 2px 9px; border-radius: var(--r-pill); font-size: 0.74rem; font-weight: 600; }
.dispatch-foot { margin-top: 14px; display:flex; align-items:center; gap: 9px; font-size: 0.82rem; color: var(--text-inv-2); }
.dispatch-foot svg { width: 16px; height: 16px; color: var(--brass-2); flex-shrink: 0; }

/* Trust strip */
.trust-strip { background: var(--ink-2); color: var(--text-inv); border-top: 1px solid var(--line-dark); }
.trust-strip-inner { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between; align-items: center; padding-block: 22px; }
.trust-strip li { display:flex; align-items:center; gap: 12px; font-size: var(--fs-sm); font-weight: 500; }
.trust-strip .ti-icon { width: 38px; height: 38px; border-radius: 9px; background: rgba(230,160,42,0.14); display:grid; place-items:center; color: var(--brass-2); flex-shrink:0; }
.trust-strip .ti-icon svg { width: 20px; height: 20px; }

/* --------------------------- Services overview -------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 24px 24px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card::after {
  content:""; position:absolute; top:0; left:0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brass), var(--brass-2));
  transition: width .35s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::after { width: 100%; }
.svc-card .ticket { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--text-2); font-weight: 600; }
.svc-card .svc-icon { width: 50px; height: 50px; border-radius: 11px; background: var(--ink); color: var(--brass-2); display:grid; place-items:center; margin-top: 14px; transition: background .3s; }
.svc-card:hover .svc-icon { background: var(--brass); color: var(--ink); }
.svc-card .svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { margin-top: 16px; font-size: var(--fs-md); }
.svc-card p { margin-top: 8px; color: var(--text-2); font-size: var(--fs-sm); }
.svc-card .svc-link { margin-top: 16px; display: inline-flex; }

/* ------------------------------ Features -------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 4px; }
.feature .f-icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(230,160,42,0.14); color: var(--brass-2); display:grid; place-items:center; }
.feature .f-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-top: 16px; font-size: var(--fs-md); }
.feature p { margin-top: 8px; color: var(--text-inv-2); font-size: var(--fs-sm); }
.section--mist .feature p { color: var(--text-2); }

/* ------------------------------ Process --------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--brass); letter-spacing: -0.02em;
}
.step h3 { margin-top: 14px; font-size: var(--fs-md); }
.step p { margin-top: 8px; color: var(--text-2); font-size: var(--fs-sm); }
.section--navy .step p, .section--navy-2 .step p { color: var(--text-inv-2); }

/* ---------------------------- Service areas ----------------------------- */
.areas-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip {
  display:inline-flex; align-items:center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 16px; font-size: var(--fs-sm); font-weight: 600; color: var(--text);
  transition: border-color .2s, transform .2s, color .2s;
}
.area-chip:hover { border-color: var(--brass); color: var(--brass-deep); transform: translateY(-2px); }
.area-chip svg { width: 14px; height: 14px; color: var(--brass-deep); }

/* ------------------------------- FAQ ------------------------------------ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: var(--brass); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left; padding: 18px 22px; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); color: var(--ink);
  letter-spacing: -0.01em;
}
summary.faq-q { list-style: none; }
summary.faq-q::-webkit-details-marker { display: none; }
.faq-q .pm { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--brass-deep); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.faq-q .pm::before { left: 4px; right: 4px; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after  { top: 4px; bottom: 4px; left: 50%; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-q .pm::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { padding: 0 22px 20px; color: var(--text-2); max-width: 70ch; }
.faq-a p + p { margin-top: 10px; }

/* ---------------------------- CTA band ---------------------------------- */
.cta-band { position: relative; background: var(--ink); color: var(--text-inv); overflow: hidden; }
.cta-band::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 85% 20%, rgba(230,160,42,0.22), transparent 55%);
}
.cta-band-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.cta-band h2 { font-size: var(--fs-2xl); max-width: 16ch; }
.cta-band p { margin-top: 14px; color: var(--text-inv-2); max-width: 48ch; }
.cta-band .cta-row { margin-top: 4px; }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--ink); color: var(--text-inv-2); padding-top: clamp(48px, 7vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name { color: var(--text-inv); }
.footer-brand .brand-name strong { color: var(--brass-2); }
.footer-brand .brand-sub { color: var(--text-inv-2); }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: var(--fs-sm); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: var(--fs-sm); color: var(--text-inv-2); transition: color .2s; }
.footer-col a:hover { color: var(--text-inv); }
.footer-contact li { display:flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brass-2); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { font-weight: 600; color: var(--text-inv); }
.footer-affil { padding: 24px 0; border-bottom: 1px solid var(--line-dark); display:flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between; font-size: var(--fs-sm); }
.footer-affil strong { color: var(--text-inv); }
.footer-affil a { color: var(--brass-2); font-weight: 600; border-bottom: 1px solid transparent; }
.footer-affil a:hover { border-color: currentColor; }
.footer-bottom { display:flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; padding: 22px 0 28px; font-size: var(--fs-xs); }
.footer-bottom a:hover { color: var(--text-inv); }

/* ----------------------------- Contact form ----------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--mist);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: var(--card);
  box-shadow: 0 0 0 3px rgba(230,160,42,0.16);
}
.contact-info { display: grid; gap: 16px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; display:flex; gap: 16px; align-items: flex-start; }
.info-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--brass-2); display:grid; place-items:center; flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: var(--fs-sm); }
.info-card a, .info-card p { font-size: var(--fs-sm); color: var(--text-2); margin-top: 3px; }
.info-card a { font-weight: 700; color: var(--ink); }
.info-card a:hover { color: var(--brass-deep); }

/* ----------------------------- About bits ------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.values { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value h3 { font-size: var(--fs-md); margin-top: 14px; display:flex; align-items:center; gap:10px; }
.value h3 .vn { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brass-deep); }
.value p { margin-top: 8px; color: var(--text-2); font-size: var(--fs-sm); }

.roles { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.role { background: var(--card); border:1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.role .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--ink-3), var(--ink)); color: var(--brass-2); display:grid; place-items:center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.role h3 { margin-top: 14px; font-size: var(--fs-sm); }
.role p { font-size: var(--fs-xs); color: var(--text-2); margin-top: 2px; }

.affil-card { background: var(--ink); color: var(--text-inv); border-radius: var(--r-lg); padding: clamp(26px,4vw,40px); display:flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.affil-card .a-mark { width: 54px; height: 54px; border-radius: 12px; background: var(--brass); color: var(--ink); display:grid; place-items:center; flex-shrink:0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.affil-card .a-body { flex: 1; min-width: 240px; }
.affil-card h3 { font-size: var(--fs-lg); }
.affil-card p { color: var(--text-inv-2); margin-top: 8px; font-size: var(--fs-sm); }

/* --------------------- Service detail (services page) ------------------- */
.svc-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 48px); align-items: start; padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail:nth-child(even) .svc-detail-meta { order: 2; }
.svc-detail-meta { position: sticky; top: 96px; }
.svc-detail-meta .ticket { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--brass-deep); font-weight: 600; }
.svc-detail-meta .svc-icon { width: 60px; height: 60px; border-radius: 13px; background: var(--ink); color: var(--brass-2); display:grid; place-items:center; margin-top: 12px; }
.svc-detail-meta .svc-icon svg { width: 32px; height: 32px; }
.svc-detail-meta h2 { margin-top: 16px; font-size: var(--fs-2xl); }
.svc-detail-meta > p { margin-top: 12px; color: var(--text-2); }
.svc-detail-body h3 { font-size: var(--fs-md); margin-top: 22px; display:flex; align-items:center; gap: 10px; }
.svc-detail-body h3:first-child { margin-top: 0; }
.svc-detail-body h3::before { content:""; width: 18px; height: 2px; background: var(--brass); display:inline-block; }
.svc-detail-body ul.tick { display: grid; gap: 9px; margin-top: 12px; }
.svc-detail-body ul.tick li { display:flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text); }
.svc-detail-body ul.tick svg { width: 18px; height: 18px; color: var(--brass-deep); flex-shrink: 0; margin-top: 1px; }
.svc-detail-body p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 12px; }

/* ------------------------------ Reveal ---------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ------------------------------ Breadcrumbs ----------------------------- */
.crumbs { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); display:flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--brass-deep); }
.crumbs span.sep { color: var(--line); }

/* ------------------------------- Page hero ------------------------------ */
.page-hero { background: var(--ink); color: var(--text-inv); position: relative; overflow: hidden; }
.page-hero::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 0%, #000 20%, transparent 70%);
  opacity: 0.5;
}
.page-hero::after { content:""; position:absolute; left:-10%; top:-40%; width:50vw; height:50vw; max-width:620px; max-height:620px; background: radial-gradient(circle, rgba(230,160,42,0.18), transparent 60%); }
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 72px); }
.page-hero .crumbs { color: var(--text-inv-2); }
.page-hero .crumbs span.sep { color: var(--line-dark); }
.page-hero h1 { font-size: var(--fs-3xl); margin-top: 18px; letter-spacing: -0.03em; }
.page-hero p { margin-top: 18px; max-width: 60ch; color: var(--text-inv-2); font-size: var(--fs-md); }
.page-hero .cta-row { margin-top: 26px; }

/* ------------------------------ Helpers --------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--s-2);} .mt-4 {margin-top: var(--s-4);} .mt-5{margin-top:var(--s-5);} .mt-6{margin-top: var(--s-6);}
.mb-0{margin-bottom:0;} .mb-5{margin-bottom:var(--s-5);}
.divider { height:1px; background: var(--line); border:0; }
.section--navy .divider, .section--navy-2 .divider, .site-footer .divider { background: var(--line-dark); }
.skip-link { position:absolute; left:-9999px; top:8px; z-index:200; background:var(--brass); color:var(--ink); padding:10px 16px; border-radius:6px; font-weight:700; }
.skip-link:focus { left: 12px; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .dispatch { margin-left: 0; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .svc-detail-meta { order: 0; }
  .svc-detail-meta { position: static; }
  .features, .values { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--mist); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px clamp(20px,5vw,40px) 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .35s var(--ease);
    margin-left: 0;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: 14px 12px; border-radius: 0; font-size: var(--fs-md); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .header-phone { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-3, .grid-2, .features, .values, .roles, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .header-actions .btn-primary { display: none; } /* keep toggle + call reachable; CTA lives in hero */
  .hero .cta-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .dispatch-live .dot { animation: none; }
}
