/* =========================================================
   Arkiva Malaysia - Design System v21
   Established Singapore ITAD expertise, localised for Malaysia.
   Brand DNA preserved: teal + orange. Elevated, corporate, trust-forward.
   ========================================================= */

:root {
  /* Brand */
  --ink: #10262a;
  --ink-soft: #1c3a3e;
  --teal: #3a9194;
  --teal-dark: #176b6e;
  --teal-deep: #0f4f52;
  --teal-soft: #e8f5f4;
  --teal-tint: #f2f9f8;
  --orange: #f47b20;
  --orange-dark: #cf5f0e;
  --orange-soft: #fff1e6;

  /* Neutrals */
  --paper: #ffffff;
  --muted: #f4f8f7;
  --muted-2: #eef4f2;
  --line: #dce7e4;
  --line-soft: #e9f0ee;
  --text: #33474a;
  --soft-text: #64777a;
  --faint-text: #8a9a9c;

  /* Effects */
  --shadow-sm: 0 2px 6px rgba(15, 47, 52, .05), 0 1px 2px rgba(15, 47, 52, .04);
  --shadow: 0 14px 34px -12px rgba(12, 52, 56, .16);
  --shadow-lg: 0 30px 60px -20px rgba(12, 52, 56, .28);
  --shadow-orange: 0 12px 26px -10px rgba(244, 123, 32, .5);

  /* Geometry */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --content-max: 1200px;
  --wide-max: 1400px;

  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--teal); color: #fff; }

.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; }
.container { width: min(var(--content-max), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -.02em; font-weight: 700; }
h1, h2, h3, p { overflow-wrap: break-word; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.section-head .eyebrow.center-eyebrow { }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(220, 231, 228, .8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(12, 52, 56, .3); background: rgba(255, 255, 255, .94); }
.site-header .container { width: min(var(--content-max), calc(100% - 48px)); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.brand-logo { width: 138px; height: auto; }
.site-header .brand-logo { width: 200px; max-height: 56px; object-fit: contain; }
.site-footer .brand-logo { width: 150px; filter: brightness(0) invert(1); opacity: .96; }

.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: .95rem; font-weight: 600; color: #3d5155; }
.desktop-nav > a:not(.btn) { position: relative; padding: 6px 0; transition: color .16s var(--ease); }
.desktop-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); border-radius: 2px; transition: width .22s var(--ease);
}
.desktop-nav > a:not(.btn):hover { color: var(--ink); }
.desktop-nav > a:not(.btn):hover::after { width: 100%; }
.desktop-nav .btn { padding: 12px 26px; margin-left: 8px; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 6px 0;
  background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer;
}
.nav-dropdown-toggle svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-dropdown[data-open="true"] .nav-dropdown-toggle { color: var(--orange-dark); }
.nav-dropdown[data-open="true"] .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 340px; display: grid; gap: 2px;
  padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease);
}
.nav-dropdown[data-open="true"] .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-dropdown-menu a {
  display: block; padding: 11px 13px; border-radius: var(--radius-sm); color: var(--ink);
  font-weight: 600; line-height: 1.3; transition: background .14s var(--ease), color .14s var(--ease);
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: var(--teal-soft); color: var(--teal-dark); outline: 0; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 9px 14px; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 14px 22px 22px; background: #fff; }
.mobile-nav a { display: block; padding: 11px 0; font-weight: 650; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 14px; width: 100%; border-bottom: 0; }
.mobile-services-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; padding: 11px 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; border-bottom: 1px solid var(--line-soft); }
.mobile-services-toggle svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.mobile-services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-services-menu { padding: 4px 0 8px 16px; border-left: 2px solid var(--teal-soft); margin: 4px 0; }
.mobile-services-menu[hidden] { display: none; }
.mobile-services-menu a { padding: 9px 0; color: var(--soft-text); font-size: .92rem; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: .96rem; line-height: 1.2; font-weight: 700;
  text-align: center; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: var(--orange); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
.btn-secondary:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn-ghost { color: var(--teal-dark); background: var(--teal-soft); }
.btn-ghost:hover { background: #d8ecea; transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding: 16px 28px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 660px; display: flex; align-items: center; color: #fff;
  background-image:
    linear-gradient(103deg, rgba(9, 46, 49, .97) 0%, rgba(11, 58, 61, .9) 38%, rgba(13, 68, 71, .5) 68%, rgba(13, 68, 71, .14) 100%),
    url("arkiva-malaysia-itad-two-row-hero-v4.png");
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero .container { width: min(var(--content-max), calc(100% - 48px)); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px;
  background: linear-gradient(180deg, transparent, var(--paper));
}
.hero-content { position: relative; z-index: 1; max-width: none; padding: 56px 0 96px; }
.hero .eyebrow { color: #ffd0a8; }
.hero .eyebrow::before { background: var(--orange); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4rem); letter-spacing: -.03em; margin-top: 18px; max-width: 17ch; }
.hero-title-services { color: var(--orange); }
.hero-title-service-line { display: block; width: max-content; max-width: 100%; }
.hero-title-location { display: block; }
.hero p { margin: 24px 0 0; color: rgba(255, 255, 255, .86); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 58ch; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; color: rgba(255, 255, 255, .9); font-size: .86rem; font-weight: 600; }
.trust-row span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; padding: 8px 14px; background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(4px);
}
.trust-row span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: 0 0 7px;
}
.hero-services { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 30px; }
.hero-services .hs-label { color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; }
.hero-services a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); color: #fff;
  font-size: .86rem; font-weight: 600; backdrop-filter: blur(4px);
  transition: background .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.hero-services a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: 0 0 7px; transition: background .16s var(--ease); }
.hero-services a:hover { background: var(--orange); border-color: transparent; transform: translateY(-1px); }
.hero-services a:hover::before { background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 68px 0; }
.section-muted { background: var(--muted); }
.section-dark { background: var(--teal-deep); color: rgba(255, 255, 255, .74); position: relative; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: #ffcfa6; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.section-head p { margin: 18px 0 0; color: var(--soft-text); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { box-shadow: var(--shadow); }

/* Service cards */
.service-card { padding: 30px; overflow: hidden; }
.service-card-link { position: relative; display: flex; flex-direction: column; height: 100%; }
.service-card-link:hover { transform: translateY(-4px); border-color: #bcdad8; box-shadow: var(--shadow); }
.service-card-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.service-card-link .service-card-content { flex: 1; display: flex; flex-direction: column; }
.service-link-label { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--teal-dark); font-size: .9rem; font-weight: 800; transition: gap .18s var(--ease); }
.service-card-link:hover .service-link-label { gap: 11px; }
.service-icon {
  width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid #cfe6e4; border-radius: 14px;
  background: linear-gradient(150deg, var(--teal-soft), #f4fbfa);
  transition: transform .2s var(--ease);
}
.service-card-link:hover .service-icon { transform: scale(1.06) rotate(-2deg); }
.service-icon img { width: 30px; height: 30px; display: block; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p, .card li { color: var(--soft-text); font-size: .97rem; }
.card ul { padding-left: 18px; margin: 12px 0 0; }
.dark-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .72); }
.dark-card h3 { color: #fff; }
.dark-card p { color: rgba(255, 255, 255, .66); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.top { align-items: start; }
.signal-list { display: grid; gap: 16px; }
.signal {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.signal:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.signal strong { color: var(--ink); display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.05rem; }
.signal p { margin: 0; }
.signal-icon {
  width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center;
  border: 1px solid #cfe6e4; border-radius: 12px; background: linear-gradient(150deg, var(--teal-soft), #f4fbfa);
}
.signal-icon img { width: 24px; height: 24px; }

/* ---------- Stats / credibility band ---------- */
.stats-band { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; padding: 8px; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stat-num span { color: var(--orange); }
.stat-label { margin-top: 12px; color: rgba(255, 255, 255, .66); font-size: .92rem; line-height: 1.45; }

/* ---------- Heritage / SG->MY band ---------- */
.heritage { background: linear-gradient(135deg, var(--teal-deep), var(--teal-dark)); color: #fff; overflow: hidden; position: relative; }
.heritage-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.heritage h2 { color: #fff; }
.heritage p { color: rgba(255, 255, 255, .8); }
.route-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg);
  padding: 32px; backdrop-filter: blur(6px);
}
.route { display: flex; align-items: center; gap: 18px; }
.route-node { flex: 1; text-align: center; }
.route-node .flag {
  display: inline-grid; place-items: center; width: 58px; height: 40px; margin: 0 auto;
  border-radius: 9px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .08em;
}
.route-node strong { display: block; margin-top: 10px; color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.route-node span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .66); font-size: .84rem; }
.route-line { flex: 0 0 auto; display: flex; align-items: center; color: var(--orange); }
.route-line svg { width: 46px; height: 24px; }
.route-note { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .74); font-size: .92rem; margin-bottom: 0; }

/* ---------- Regional map ---------- */
.map-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg);
  padding: 26px 28px 28px; backdrop-filter: blur(6px);
}
.map-title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.map-sub { color: rgba(255, 255, 255, .6); font-size: .86rem; margin: 0 0 14px; }
.sea-map { position: relative; }
.sea-map { border-radius: 12px; overflow: hidden; }
.sea-map svg { width: 100%; height: auto; display: block; overflow: hidden; }
.sea-land { fill: rgba(255, 255, 255, .10); stroke: rgba(255, 255, 255, .22); stroke-width: .25; stroke-linejoin: round; }
.sea-land-active { fill: rgba(255, 255, 255, .32); stroke: rgba(255, 214, 170, .75); stroke-width: .35; }
.sea-link { stroke: rgba(255, 255, 255, .5); stroke-width: .5; stroke-dasharray: 1.6 2; fill: none; }
.sea-pin-ring { fill: var(--orange); transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.8s var(--ease) infinite; }
.sea-pin-ring.p2 { animation-delay: .5s; }
.sea-pin-ring.p3 { animation-delay: 1s; }
.sea-pin-dot { fill: var(--orange); stroke: #fff; stroke-width: .4; }
.sea-label { fill: #fff; font-family: var(--font-display); font-weight: 700; }
.sea-label-sub { fill: rgba(255, 255, 255, .66); font-weight: 500; }
@keyframes pin-pulse { 0% { transform: scale(.5); opacity: .55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.map-locations { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 14px; }
.map-locations li { display: flex; align-items: center; gap: 13px; }
.map-locations .loc-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--orange); flex: 0 0 11px; box-shadow: 0 0 0 4px rgba(244, 123, 32, .18); }
.map-locations strong { color: #fff; font-family: var(--font-display); font-size: .98rem; display: block; }
.map-locations span { color: rgba(255, 255, 255, .62); font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .sea-pin-ring { animation: none; opacity: .3; } }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); min-height: 84px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #bcdad8; }
.industry-mark {
  width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal-dark);
}
.industry-mark svg { width: 23px; height: 23px; display: block; }
.industry > div { min-width: 0; }
.industry strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; line-height: 1.25; }
.industry span { display: block; color: var(--soft-text); font-size: .86rem; line-height: 1.35; margin-top: 3px; }

/* ---------- Process (numbered) ---------- */
.steps { counter-reset: step; position: relative; }
.step { position: relative; padding-top: 28px; overflow: visible; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: rgba(255, 255, 255, .1); line-height: 1;
}
.process-icon {
  width: 60px; height: 60px; display: grid; place-items: center; margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(255, 255, 255, .07); position: relative; z-index: 1;
}
.process-icon img { width: 30px; height: 30px; display: block; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; position: relative; z-index: 1; }

/* ---------- Assurance ---------- */
.assurance-card ul { padding-left: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 12px; }
.assurance-card li { position: relative; padding-left: 32px; color: var(--text); }
.assurance-card li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23176b6e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-list > div { padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.contact-list strong { color: #fff; font-family: var(--font-display); }
.contact-list a { color: #ffd0a8; text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row + .form-row, .contact-form > div + div { margin-top: 16px; }
label { display: block; color: rgba(255, 255, 255, .82); font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
input, textarea, select {
  width: 100%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .2); color: #fff;
  border-radius: 10px; padding: 13px 14px; font: inherit; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, .4); }
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244, 123, 32, .25); }
.contact-form .btn { margin-top: 20px; }
.form-note { color: rgba(255, 255, 255, .56); font-size: .82rem; margin-top: 16px; }
.form-note a { color: #fff; text-decoration: underline; }
.form-status { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; }
.form-status.success { background: rgba(68, 190, 127, .14); border: 1px solid rgba(114, 226, 169, .45); color: #d9ffec; }
.form-status.error { background: rgba(244, 123, 32, .12); border: 1px solid rgba(244, 123, 32, .55); color: #fff1e8; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- Home FAQ ---------- */
.home-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }

/* ---------- Offices ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office-card { padding: 30px; display: flex; flex-direction: column; }
.office-card .office-mark {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark);
}
.office-card .office-mark svg { width: 24px; height: 24px; }
.office-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.office-region { color: var(--orange-dark); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.office-addr { color: var(--soft-text); font-size: .98rem; margin: 0 0 16px; font-style: normal; line-height: 1.6; }
.office-contact { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 6px; font-size: .94rem; }
.office-contact a { color: var(--teal-dark); font-weight: 700; }
.office-contact a:hover { color: var(--orange-dark); }
.office-placeholder { color: var(--faint-text); font-style: italic; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 96px 0 84px; background: var(--teal-deep); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 145, 148, .5), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #ffcfa6; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-top: 14px; }
.page-hero p { max-width: 720px; color: rgba(255, 255, 255, .76); margin: 18px 0 0; font-size: 1.08rem; }

/* ---------- Blog ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--teal-soft), var(--muted)); display: grid; place-items: center; }
.article-card .thumb img { width: 56px; height: 56px; opacity: .8; }
.article-card .content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { margin-top: 12px; font-size: 1.12rem; }
.article-card .excerpt { margin: 10px 0 0; }
.badge { display: inline-block; color: var(--orange-dark); background: var(--orange-soft); border-radius: 999px; padding: 5px 12px; font-size: .76rem; font-weight: 800; letter-spacing: .02em; align-self: flex-start; }
.badge.teal { color: var(--teal-dark); background: var(--teal-soft); }
.meta { color: var(--faint-text); font-size: .84rem; margin-top: auto; padding-top: 16px; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { margin-top: 38px; font-size: 1.4rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal-updated { color: var(--soft-text) !important; font-size: .9rem; }
.resource-notice { max-width: 780px; margin: 0 auto; padding: 44px; text-align: center; }
.resource-notice h2 { margin-top: 14px; }
.resource-notice .btn { margin-top: 20px; }

/* ---------- Service pages ---------- */
.service-page-hero { padding: 64px 0 72px; background: var(--muted); border-bottom: 1px solid var(--line-soft); }
.service-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--soft-text); font-size: .84rem; }
.service-breadcrumbs a:hover { color: var(--orange-dark); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr); gap: 56px; align-items: center; }
.service-hero-copy h1 { margin-top: 12px; font-size: clamp(2.3rem, 4.2vw, 3.6rem); max-width: 15ch; }
.service-hero-copy > p { max-width: 56ch; margin: 22px 0 0; font-size: 1.1rem; color: var(--text); }
.service-hero-copy .btn { margin-top: 30px; }
.service-hero-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-overview { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.service-overview h2, .service-deliverables h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.service-overview-copy p { font-size: 1.05rem; }
.service-scope { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 4px solid var(--orange); background: #fff; box-shadow: var(--shadow-sm); }
.service-scope h2 { font-size: 1.25rem; margin-bottom: 16px; margin-top: 0; }
.service-scope ul, .deliverable-list { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.service-scope li, .deliverable-list li { position: relative; padding-left: 28px; color: var(--text); }
.service-scope li::before, .deliverable-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23176b6e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.service-approach-grid { margin-top: 40px; }
.service-approach-grid { counter-reset: approach; }
.service-approach-grid .card { height: 100%; }
.service-approach-grid .card h3 { display: flex; align-items: center; gap: 12px; }
.service-approach-grid .card h3::before {
  counter-increment: approach; content: counter(approach);
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px;
  background: var(--teal-soft); color: var(--teal-dark);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem;
}
.service-deliverables { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.deliverable-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.deliverable-panel h3 { margin-bottom: 18px; }
.service-note { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--teal); background: var(--teal-soft); border-radius: 0 10px 10px 0; color: var(--ink-soft); font-size: .9rem; }
.service-reference { margin: 18px 0 0; color: var(--soft-text); font-size: .84rem; }
.service-reference a { color: var(--teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.service-reference a:hover { color: var(--orange-dark); }
.service-faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.service-faq-layout h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.service-faq-layout > div:first-child p { max-width: 46ch; }

/* FAQ (shared) */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0;
  color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--orange); transition: transform .2s var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item > div { padding: 0 44px 22px 0; }
.faq-item p { margin: 0; color: var(--soft-text); }

/* Service CTA */
.service-cta { background: linear-gradient(135deg, var(--teal-deep), var(--teal-dark)); color: rgba(255, 255, 255, .78); }
.service-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.service-cta h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.service-cta p { max-width: 640px; margin-bottom: 0; }
.service-cta .btn { flex: 0 0 auto; }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 700; color: var(--ink); font-family: var(--font-display); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #bcdad8; }
.related-card .service-icon { width: 44px; height: 44px; flex: 0 0 44px; margin: 0; }
.related-card .service-icon img { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid > div:first-child p { max-width: 34ch; margin-top: 18px; font-size: .94rem; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: rgba(255, 255, 255, .5); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Quick contact ---------- */
.quick-contact { position: fixed; right: 24px; bottom: 24px; z-index: 50; }
.quick-contact-trigger {
  width: 62px; height: 62px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--orange); box-shadow: var(--shadow-orange); cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.quick-contact-trigger::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange);
  animation: qc-pulse 2.4s var(--ease) infinite;
}
@keyframes qc-pulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.quick-contact-trigger:hover { background: var(--orange-dark); transform: translateY(-2px); }
.quick-contact-trigger:focus-visible, .quick-contact-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.quick-contact-trigger img { width: 27px; height: 27px; position: relative; z-index: 1; }
.quick-contact-panel {
  position: absolute; right: 0; bottom: 78px; width: min(360px, calc(100vw - 32px)); padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); color: var(--text);
}
.quick-contact-panel[hidden] { display: none; }
.quick-contact-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.quick-contact-head h2 { font-size: 1.3rem; margin: 0 0 5px; }
.quick-contact-head p { margin: 0; color: var(--soft-text); font-size: .9rem; line-height: 1.5; }
.quick-contact-close {
  width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
}
.quick-contact-close:hover { background: var(--muted); }
.quick-contact-close svg { width: 18px; height: 18px; }
.quick-contact-form { display: grid; gap: 14px; }
.quick-contact-form label { color: var(--ink); font-size: .84rem; margin-bottom: 6px; }
.quick-contact-form input {
  min-height: 46px; border-color: var(--line); background: #fff; color: var(--ink); padding: 11px 13px;
}
.quick-contact-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244, 123, 32, .18); }
.quick-contact-form .btn { width: 100%; margin-top: 4px; }
.quick-contact-note { margin: 0; color: var(--soft-text); font-size: .76rem; line-height: 1.5; }
.quick-contact-note a { color: var(--teal-dark); text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .quick-contact-trigger::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav[data-open="true"] { display: block; }
  .grid-3, .grid-4, .article-grid, .split, .contact-grid, .footer-grid,
  .industry-grid, .stats-grid, .heritage-grid, .home-faq-layout, .related-grid, .office-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 32px; }
  .hero { min-height: 600px; background-position: 66% center; }
  .form-row { grid-template-columns: 1fr; }
  .service-hero-grid, .service-overview, .service-deliverables, .service-faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-hero-media { max-height: 460px; }
  .service-cta-inner { align-items: flex-start; flex-direction: column; }
  .split { gap: 44px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1120px); }
  .site-header .container, .hero .container { width: calc(100% - 32px); }
  .nav-wrap { height: 72px; }
  .site-header .brand-logo { width: 152px; max-height: 46px; }
  .section { padding: 68px 0; }
  .section-sm { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .industry-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 44px 0 84px; }
  .hero-actions .btn { width: 100%; }
  .heritage-grid, .route-card { gap: 36px; }
  .route-card { padding: 24px; }
  .footer-bottom { flex-direction: column; }
  .quick-contact { right: 16px; bottom: 16px; }
  .quick-contact-panel { right: 0; bottom: 72px; padding: 22px; }
  .service-page-hero { padding: 40px 0 52px; }
  .card, .service-card { padding: 24px; }
}

/* ---------- Contact Form 7 integration ---------- */
.contact-form .wpcf7-form { display: grid; gap: 16px; }
.quick-contact-form .wpcf7-form { display: grid; gap: 13px; }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 input.wpcf7-form-control, .wpcf7 textarea.wpcf7-form-control, .wpcf7 select.wpcf7-form-control { width: 100%; }
.contact-form .wpcf7 .wpcf7-submit { justify-self: start; width: auto; margin-top: 4px; }
.quick-contact-form .wpcf7 .wpcf7-submit { justify-self: stretch; width: 100%; margin-top: 4px; }
.wpcf7-not-valid-tip { font-size: .8rem; margin-top: 6px; display: block; }
.wpcf7-spinner { margin: 0 0 0 10px; }
.wpcf7-response-output { border-radius: 10px; padding: 12px 14px !important; margin: 4px 0 0 !important; font-size: .9rem; border: 1px solid rgba(255, 255, 255, .25); }
.contact-form .wpcf7-response-output { color: #fff; }
.quick-contact-form .wpcf7-response-output { color: var(--ink); border-color: var(--line); }
form.wpcf7-form.sent .wpcf7-response-output { background: rgba(68, 190, 127, .16); border-color: rgba(114, 226, 169, .5); }
form.wpcf7-form.invalid .wpcf7-response-output, form.wpcf7-form.unaccepted .wpcf7-response-output, form.wpcf7-form.failed .wpcf7-response-output { background: rgba(244, 123, 32, .16); border-color: rgba(244, 123, 32, .55); }
@media (max-width: 980px) { .wpcf7-form .form-row { grid-template-columns: 1fr; } }
