/* ==========================================================================
   Murad Consulting Limited — Design System
   Brand colours sampled directly from the corporate logo vector:
     #0072BB azure  ·  #2D3391 indigo  ·  #0063A4 deep blue
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand — straight from the logo */
  --azure:        #0072BB;
  --indigo:       #2D3391;
  --deep:         #0063A4;

  /* Extended brand ramp */
  --azure-50:     #eaf5fc;
  --azure-100:    #cfe8f7;
  --azure-200:    #9dd0ef;
  --azure-300:    #5fb2e3;
  --azure-400:    #2a90cf;
  --azure-500:    #0072bb;
  --azure-600:    #005e9c;
  --azure-700:    #004b7d;

  --indigo-50:    #eef0fa;
  --indigo-100:   #d8dcf3;
  --indigo-200:   #b0b7e6;
  --indigo-300:   #7c86d2;
  --indigo-400:   #4f5bb4;
  --indigo-500:   #2d3391;
  --indigo-600:   #242a76;
  --indigo-700:   #1b205c;

  /* Ink & neutrals */
  --ink:          #0d1b2f;
  --ink-2:        #1c3050;
  --slate:        #4a5c75;
  --slate-2:      #6b7c93;
  --line:         #dfe6ef;
  --line-soft:    #edf2f7;
  --mist:         #f5f8fb;
  --paper:        #ffffff;

  /* Accent — cyan from the azure family, used sparingly */
  --accent:       #00a3e0;
  --accent-soft:  #d6f1fb;

  /* Signals */
  --gold:         #b07a12;
  --gold-soft:    #fdf3e0;
  --green:        #14804a;

  /* Soft mint — highlight tint for the "fourth option" card */
  --mint:         #e8f6ef;
  --mint-line:    #b9dfcb;

  /* Signature gradients (mirror the logo's azure→indigo sweep) */
  --grad-brand:   linear-gradient(135deg, var(--azure) 0%, var(--indigo) 100%);
  --grad-brand-r: linear-gradient(135deg, var(--indigo) 0%, var(--azure) 100%);
  --grad-deep:    linear-gradient(150deg, #0b1c3d 0%, #1b205c 45%, #004b7d 100%);
  --grad-sheen:   linear-gradient(115deg, transparent 0%, rgba(255,255,255,.14) 42%, transparent 62%);

  /* Typography */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-quote:   "Newsreader", Georgia, "Times New Roman", serif;

  /* Fluid type scale */
  --t-xs:    0.78rem;
  --t-sm:    0.875rem;
  --t-base:  1rem;
  --t-lg:    clamp(1.05rem, 0.99rem + 0.3vw, 1.2rem);
  --t-xl:    clamp(1.25rem, 1.14rem + 0.5vw, 1.5rem);
  --t-2xl:   clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --t-3xl:   clamp(1.85rem, 1.5rem + 1.6vw, 2.75rem);
  --t-4xl:   clamp(2.25rem, 1.7rem + 2.6vw, 3.75rem);
  --t-5xl:   clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);

  /* Spacing */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 2.5rem;  --s-8: 3rem;
  --s-9: 4rem;    --s-10: 5rem;   --s-11: 6.5rem; --s-12: 8rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Radii & shadows */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(13,27,47,.06);
  --sh-sm: 0 2px 8px rgba(13,27,47,.06), 0 1px 2px rgba(13,27,47,.04);
  --sh-md: 0 10px 30px -12px rgba(13,27,47,.18), 0 2px 8px rgba(13,27,47,.05);
  --sh-lg: 0 24px 60px -20px rgba(13,27,47,.26), 0 6px 18px rgba(13,27,47,.06);
  --sh-brand: 0 16px 40px -14px rgba(45,51,145,.45);

  --header-h: 78px;
  --ease: cubic-bezier(.22,.68,.36,1);

  /* Per-market accent — overridden by [data-market] below */
  --market:       var(--azure);
  --market-deep:  var(--indigo);
  --market-soft:  var(--azure-50);
  --market-line:  var(--azure-200);
}

/* Market sub-themes: one system, two personalities */
[data-market="nearshore"] {
  --market:      var(--indigo-500);
  --market-deep: var(--indigo-700);
  --market-soft: var(--indigo-50);
  --market-line: var(--indigo-200);
}
[data-market="local"] {
  --market:      var(--azure-500);
  --market-deep: var(--azure-700);
  --market-soft: var(--azure-50);
  --market-line: var(--azure-200);
}

/* ---------- 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--t-4xl); letter-spacing: -0.032em; }
h2 { font-size: var(--t-3xl); letter-spacing: -0.028em; }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p  { text-wrap: pretty; }

a { color: var(--azure-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-500); }

ul, ol { padding: 0; list-style: none; }

::selection { background: var(--indigo-500); color: #fff; }

/* Accessible focus ring on every interactive element */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--ink); color: #fff; padding: .75rem 1.35rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); z-index: 2000;
  font-weight: 600; font-size: var(--t-sm); text-decoration: none;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------------------------------------------------- */
.container { width: min(1200px, calc(100% - 2.5rem)); margin-inline: auto; }
.container--narrow { width: min(880px, calc(100% - 2.5rem)); }
.container--wide { width: min(1360px, calc(100% - 2.5rem)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--mist { background: var(--mist); }
.section--soft { background: var(--market-soft); }
.section--ink { background: var(--grad-deep); color: rgba(255,255,255,.78); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: #9dd0ef; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stack > * + * { margin-top: var(--s-4); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Section heading block */
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); }
.sec-head.center { margin-inline: auto; }
.sec-head p { font-size: var(--t-lg); margin-top: var(--s-4); }
.section--ink .sec-head p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--market);
  margin-bottom: var(--s-4);
}
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow { color: var(--azure-200); }

.lead { font-size: var(--t-lg); color: var(--slate); }

/* Gradient text accent for key phrases in headlines */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--ink .grad-text,
.hero .grad-text {
  background: linear-gradient(120deg, #7fd4f7 0%, #a6b0f0 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--t-sm); font-weight: 700; letter-spacing: .005em;
  border: 1px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-sheen); transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 46px -14px rgba(45,51,145,.58); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent; color: var(--indigo-600);
  border-color: var(--line); box-shadow: var(--sh-xs);
}
.btn--outline:hover {
  color: var(--indigo-700); border-color: var(--market);
  background: var(--market-soft); transform: translateY(-2px);
}

.btn--ghost-light {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.34); backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--indigo-600); }
.btn--white:hover { color: var(--indigo-700); transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn--lg { padding: 1.1rem 2.1rem; font-size: var(--t-base); }
.btn--sm { padding: .7rem 1.25rem; font-size: var(--t-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.btn-row.center { justify-content: center; }

/* Text link with arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-sm);
  color: var(--market); text-decoration: none;
}
.arrow-link svg { transition: transform .25s var(--ease); }
.arrow-link:hover { color: var(--indigo-600); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- 5. Header & navigation --------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--sh-sm);
}
.nav-bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
}

/* Logo lockup */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark { width: 54px; height: 54px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.site-footer .brand__mark {
  width: 60px; height: 60px;
  background: #fff; border-radius: 14px; padding: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.brand__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.16rem; letter-spacing: .01em; color: var(--ink);
}
.brand__sub {
  font-size: .58rem; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--slate-2); margin-top: .3rem;
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: rgba(255,255,255,.62); }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .85rem; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: .925rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover { color: var(--indigo-600); background: var(--mist); }
.nav__link[aria-current="page"] { color: var(--indigo-600); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .18rem;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
}
.nav__caret { width: 11px; height: 11px; transition: transform .22s var(--ease); opacity: .6; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + .5rem); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 340px; padding: .6rem;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  /* visibility flips instantly on open so ArrowDown can move focus into the
     menu, and only after the fade on close so the animation stays visible. */
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav__item.is-open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear 0s;
}
.dropdown__link {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .7rem .8rem; border-radius: var(--r-md); text-decoration: none;
  transition: background-color .16s var(--ease);
}
.dropdown__link:hover { background: var(--mist); }
.dropdown__icon {
  width: 36px; height: 36px; flex: none; border-radius: 10px;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff;
}
.dropdown__icon svg { width: 18px; height: 18px; }
.dropdown__t { display: block; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--ink); }
.dropdown__d { display: block; font-size: var(--t-xs); color: var(--slate-2); margin-top: .12rem; line-height: 1.5; }

.nav-actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }

/* Mobile toggle */
.nav-toggle {
  display: none; width: 46px; height: 46px; flex: none;
  align-items: center; justify-content: center;
  background: var(--mist); border: 1px solid var(--line-soft);
  border-radius: 12px; cursor: pointer;
}
.nav-toggle__box { width: 20px; height: 14px; position: relative; }
.nav-toggle__box span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 6px; }
.nav-toggle__box span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
  background: #fff; padding: var(--s-5) 0 var(--s-9);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  /* visibility flips instantly on open (so focus() lands) and only after the
     slide-out finishes on close (so the animation is still visible). */
  transition: transform .34s var(--ease), visibility 0s linear .34s;
}
.mobile-nav.is-open {
  transform: translateX(0); visibility: visible;
  transition: transform .34s var(--ease), visibility 0s linear 0s;
}
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left; background: none; border: 0;
  padding: 1.05rem .25rem; font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line-soft); cursor: pointer;
}
.mobile-nav__link[aria-current="page"] { color: var(--indigo-600); }
.mobile-nav__link svg { width: 14px; height: 14px; opacity: .55; transition: transform .25s var(--ease); flex: none; }
.mobile-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__sub {
  padding: .7rem .25rem .7rem 1.1rem; font-size: .95rem; font-weight: 500;
  color: var(--slate); text-decoration: none; display: block;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav__group { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.mobile-nav__group.is-open { grid-template-rows: 1fr; }
.mobile-nav__group > div { overflow: hidden; }
.mobile-nav__cta { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.mobile-nav__meta { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-soft); font-size: var(--t-sm); }
.mobile-nav__meta a { display: block; padding: .35rem 0; font-weight: 600; }
body.nav-open { overflow: hidden; }

/* ---------- 6. Cards ----------------------------------------------------- */
.card {
  position: relative; background: #fff;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--market-line); }
.card h3 { margin-bottom: var(--s-3); }
.card p { font-size: .95rem; }

/* Service card with icon + animated top accent */
.card--service { padding-top: var(--s-7); overflow: hidden; }
.card--service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card--service:hover::before { transform: scaleX(1); }

.card__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: var(--s-5);
  display: grid; place-items: center;
  background: var(--market-soft); color: var(--market);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.card__icon svg { width: 25px; height: 25px; }
.card:hover .card__icon { background: var(--grad-brand); color: #fff; transform: scale(1.06) rotate(-3deg); }

.card__list { margin-top: var(--s-4); display: grid; gap: .5rem; }
.card__list li {
  position: relative; padding-left: 1.5rem;
  font-size: .9rem; color: var(--slate);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--market); opacity: .55;
}

/* Numbered process step */
.step { position: relative; padding-left: 4.2rem; }
.step__n {
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: #fff; background: var(--grad-brand); box-shadow: var(--sh-brand);
}
.section--ink .step__n { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); box-shadow: none; }
.step h3 { margin-bottom: var(--s-2); }
.step p { font-size: .95rem; }

/* Stat */
.stat { text-align: center; padding: var(--s-5) var(--s-3); }
.stat__n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem);
  line-height: 1; letter-spacing: -0.04em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--ink .stat__n { background: linear-gradient(120deg,#8fdcf9,#b3bcf5); -webkit-background-clip: text; background-clip: text; }
.stat__l { margin-top: var(--s-3); font-size: var(--t-sm); font-weight: 600; color: var(--slate); letter-spacing: .01em; }
.section--ink .stat__l { color: rgba(255,255,255,.7); }

/* Feature row (icon + text, no box) */
.feature { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature__icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center; background: var(--market-soft); color: var(--market);
}
.section--ink .feature__icon { background: rgba(255,255,255,.1); color: #8fdcf9; }
.feature__icon svg { width: 21px; height: 21px; }
.feature h3, .feature h4 { font-size: var(--t-lg); margin-bottom: .35rem; }
.feature p { font-size: .92rem; }

/* Quote / testimonial */
.quote {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: var(--s-7);
  position: relative; box-shadow: var(--sh-sm);
}
.quote__mark {
  font-family: var(--font-quote); font-size: 4.5rem; line-height: 1;
  color: var(--market-line); position: absolute; top: 1rem; right: 1.6rem;
  pointer-events: none;
}
.quote p {
  font-family: var(--font-quote); font-size: clamp(1.05rem, .98rem + .45vw, 1.3rem);
  font-style: italic; color: var(--ink-2); line-height: 1.6;
}
.quote__by { margin-top: var(--s-5); display: flex; align-items: center; gap: .85rem; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  background: var(--grad-brand);
}
.quote__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote__role { font-size: var(--t-xs); color: var(--slate-2); }

/* Pricing card */
.price-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--s-6); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.price-card--featured {
  box-shadow: var(--sh-lg);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  border: 2px solid transparent;
  position: relative;
}
.price-card__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: var(--r-pill); white-space: nowrap;
  box-shadow: var(--sh-brand);
}
.price-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.price-card__for { font-size: var(--t-xs); color: var(--slate-2); margin-top: .35rem; min-height: 2.8em; }
.price-card__amt {
  margin: var(--s-5) 0 var(--s-2);
  font-family: var(--font-display); font-weight: 800; font-size: 2.1rem;
  letter-spacing: -.03em; color: var(--ink); line-height: 1;
}
.price-card__amt span { font-size: .95rem; font-weight: 600; color: var(--slate-2); letter-spacing: 0; }
.price-card__note { font-size: var(--t-xs); color: var(--slate-2); }
.price-card ul { margin: var(--s-5) 0; display: grid; gap: .6rem; flex: 1; }
.price-card li { position: relative; padding-left: 1.75rem; font-size: .9rem; }
.price-card li svg { position: absolute; left: 0; top: .25em; width: 16px; height: 16px; color: var(--market); }

/* Trust strip */
.trust-strip { border-block: 1px solid var(--line-soft); background: var(--paper); }
.trust-strip__inner { display: flex; align-items: center; gap: var(--s-7); flex-wrap: wrap; justify-content: center; padding-block: var(--s-6); }
.trust-strip__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.trust-item {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--slate); opacity: .82;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.trust-item:hover { opacity: 1; color: var(--indigo-600); }
.trust-item svg { width: 20px; height: 20px; color: var(--market); flex: none; }

/* Pill / badge */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .9rem; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .02em;
  background: var(--market-soft); color: var(--market-deep);
  border: 1px solid var(--market-line);
}
.pill--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.pill--gold { background: var(--gold-soft); color: var(--gold); border-color: #f0d9a8; }
.pill--mint { background: var(--mint); color: #0f6b43; border-color: var(--mint-line); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill__flags { display: inline-flex; align-items: center; gap: .3rem; flex: none; }
.pill__flags svg { border-radius: 2px; box-shadow: 0 1px 3px rgba(13,27,47,.3); }
.pill__dot--live { background: #35d07f; box-shadow: 0 0 0 0 rgba(53,208,127,.55); animation: ping 2.4s infinite; }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(53,208,127,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(53,208,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); }
}

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-deep); color: rgba(255,255,255,.8);
  padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem);
}
.hero h1 { color: #fff; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center;
}
.hero__lead { font-size: clamp(1.05rem, .98rem + .45vw, 1.28rem); color: rgba(255,255,255,.76); margin-top: var(--s-5); max-width: 56ch; }
.hero .btn-row { margin-top: var(--s-7); }
.hero__note { margin-top: var(--s-5); font-size: var(--t-sm); color: rgba(255,255,255,.55); }

/* Ambient background art — the logo's colour language as light */
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
  opacity: .5;
}
.hero__glow--1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -18%; right: -10%; background: radial-gradient(circle, rgba(0,114,187,.85), transparent 68%); }
.hero__glow--2 { width: 38vw; height: 38vw; max-width: 500px; max-height: 500px; bottom: -22%; left: -8%; background: radial-gradient(circle, rgba(45,51,145,.9), transparent 68%); }

.hero__grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, #000 30%, transparent 78%);
}
.hero > .container { position: relative; z-index: 2; }

/* Watermark of the M mark, very subtle */
.hero__watermark {
  position: absolute; right: -6%; bottom: -14%;
  width: min(46vw, 560px); opacity: .05; pointer-events: none;
  filter: grayscale(1) brightness(3);
}

/* Hero visual panel (glass card with live figures) */
.hero-panel {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.6);
}
.hero-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: var(--s-5); }
.hero-panel__title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .98rem; }
.hero-panel__rows { display: grid; gap: .55rem; }
.hero-panel__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem .95rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  font-size: .88rem;
}
.hero-panel__row span:first-child { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: .55rem; }
.hero-panel__row b { font-family: var(--font-display); color: #fff; font-weight: 700; letter-spacing: -.01em; }
.hero-panel__row svg { width: 16px; height: 16px; color: #7fd4f7; flex: none; }
.hero-panel__foot {
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: var(--t-xs); color: rgba(255,255,255,.6);
}
.hero-panel__bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: .5rem; }
.hero-panel__bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg,#7fd4f7,#a6b0f0); width: 0; transition: width 1.4s var(--ease); }

/* Light hero variant for interior pages */
.hero--light { background: var(--mist); color: var(--slate); }
.hero--light h1 { color: var(--ink); }
.hero--light .hero__lead { color: var(--slate); }
.hero--light .grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Compact page hero */
.page-hero { position: relative; overflow: hidden; background: var(--grad-deep); color: rgba(255,255,255,.78); padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: var(--s-4); font-size: var(--t-lg); color: rgba(255,255,255,.72); max-width: 62ch; }
.page-hero > .container { position: relative; z-index: 2; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--t-xs); margin-bottom: var(--s-5); }
.crumbs a { color: rgba(255,255,255,.62); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { color: rgba(255,255,255,.4); }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- 8. Audience split (home) ------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.split-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  text-decoration: none; color: inherit;
  border: 1px solid var(--line-soft); background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  min-height: 100%;
}
.split-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  transition: opacity .4s var(--ease);
}
.split-card--nearshore::before { background: linear-gradient(160deg, var(--indigo-50), #fff 62%); }
.split-card--local::before { background: linear-gradient(160deg, var(--azure-50), #fff 62%); }
.split-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; color: inherit; }
.split-card:hover::before { opacity: 1; }
.split-card__flagrow { display: flex; align-items: center; gap: .5rem; margin-bottom: var(--s-5); }
.split-card__flag {
  width: 34px; height: 24px; border-radius: 4px; overflow: hidden; flex: none;
  box-shadow: 0 1px 3px rgba(13,27,47,.22); background: var(--mist);
}
.split-card h3 { font-size: var(--t-2xl); margin-bottom: var(--s-3); }
.split-card p { font-size: .98rem; }
.split-card__list { margin: var(--s-5) 0 var(--s-6); display: grid; gap: .6rem; }
.split-card__list li { position: relative; padding-left: 1.7rem; font-size: .92rem; }
.split-card__list svg { position: absolute; left: 0; top: .22em; width: 17px; height: 17px; }
.split-card--nearshore .split-card__list svg { color: var(--indigo-500); }
.split-card--local .split-card__list svg { color: var(--azure-500); }
.split-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.split-card--nearshore .split-card__cta { color: var(--indigo-600); }
.split-card--local .split-card__cta { color: var(--azure-600); }
.split-card__cta svg { transition: transform .3s var(--ease); }
.split-card:hover .split-card__cta svg { transform: translateX(5px); }

/* The split cards stay white even when the section around them is dark,
   so re-assert their own text colours over the .section--ink defaults. */
.section--ink .split-card { color: var(--slate); }
.section--ink .split-card h3 { color: var(--ink); }
.section--ink .split-card p,
.section--ink .split-card__list li { color: var(--slate); }
.section--ink .split-card--nearshore .split-card__cta { color: var(--indigo-600); }
.section--ink .split-card--local .split-card__cta { color: var(--azure-600); }

/* ---------- 9. Tabs ------------------------------------------------------ */
.tabs__list {
  display: flex; gap: .4rem; flex-wrap: wrap;
  padding: .4rem; border-radius: var(--r-pill);
  background: var(--mist); border: 1px solid var(--line-soft);
  width: fit-content; max-width: 100%; margin-inline: auto; margin-bottom: var(--s-7);
}
.tabs__btn {
  padding: .7rem 1.35rem; border: 0; background: none; cursor: pointer;
  border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  color: var(--slate); white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.tabs__btn:hover { color: var(--indigo-600); }
.tabs__btn[aria-selected="true"] { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 10. Accordion (FAQ) ------------------------------------------ */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.4rem .25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  transition: color .2s var(--ease);
}
.acc__btn:hover { color: var(--indigo-600); }
.acc__icon {
  width: 26px; height: 26px; flex: none; border-radius: 50%; margin-top: .1rem;
  display: grid; place-items: center; background: var(--market-soft); color: var(--market);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.acc__icon svg { width: 13px; height: 13px; }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 3rem 1.5rem .25rem; font-size: .96rem; }

/* ---------- 11. Forms ---------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--sh-md);
}
.field { margin-bottom: var(--s-4); }
.field label {
  display: block; margin-bottom: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .84rem; color: var(--ink-2);
}
.field .req { color: #c2410c; }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: .95rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8ba; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--market-line); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--market);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--market) 16%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' fill='none' stroke='%236b7c93' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.6rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field__error { display: none; margin-top: .35rem; font-size: var(--t-xs); font-weight: 600; color: #c2410c; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e07a5f; box-shadow: 0 0 0 4px rgba(224,122,95,.14); }
.field.has-error .field__error { display: block; }
.form-note { font-size: var(--t-xs); color: var(--slate-2); margin-top: var(--s-4); }

.form-success {
  display: none; text-align: center; padding: var(--s-6) var(--s-4);
}
.form-success.is-visible { display: block; animation: fadeUp .5s var(--ease) both; }
.form-success__icon {
  width: 60px; height: 60px; margin: 0 auto var(--s-5); border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff;
}

/* Radio card group (which market are you) */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-bottom: var(--s-5); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: block; cursor: pointer; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--ink-2);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  margin-bottom: 0;
}
.choice label small { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--t-xs); color: var(--slate-2); margin-top: .2rem; }
.choice label:hover { border-color: var(--market-line); background: var(--market-soft); }
.choice input:checked + label {
  border-color: var(--market); background: var(--market-soft);
  box-shadow: 0 0 0 1px var(--market);
}
.choice input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- 12. Contact / misc blocks ------------------------------------ */
.contact-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-item__icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.09); color: #8fdcf9; border: 1px solid rgba(255,255,255,.14);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item h3, .contact-item h4 { font-size: .95rem; margin-bottom: .2rem; }
.contact-item a, .contact-item p { font-size: .95rem; color: rgba(255,255,255,.72); text-decoration: none; }
.contact-item a:hover { color: #fff; text-decoration: underline; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--grad-brand); color: rgba(255,255,255,.86); }
.cta-band h2 { color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000, transparent 75%);
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-7); flex-wrap: wrap; }
.cta-band p { margin-top: var(--s-3); font-size: var(--t-lg); color: rgba(255,255,255,.82); max-width: 54ch; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; }
table.cmp th, table.cmp td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
table.cmp thead th {
  background: var(--mist); font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover { background: var(--market-soft); }
table.cmp td:first-child { font-weight: 600; color: var(--ink-2); }
table.cmp .yes { color: var(--green); font-weight: 700; }
table.cmp .no { color: var(--slate-2); }

/* Timeline */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--market), var(--market-line)); border-radius: 2px; }
.timeline__item { position: relative; padding-bottom: var(--s-6); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -2.5rem; top: .45rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--market);
}
.timeline__when { font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--market); }
.timeline h3, .timeline h4 { font-size: var(--t-lg); margin: .3rem 0 .35rem; }
.timeline p { font-size: .93rem; }

/* Media / image placeholder blocks with brand treatment */
.media-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--grad-deep); aspect-ratio: 4 / 3;
  display: grid; place-items: center; box-shadow: var(--sh-lg);
}
.media-frame__art { position: absolute; inset: 0; opacity: .9; }
.media-frame__cap {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md);
  padding: .85rem 1rem; color: #fff; font-size: .85rem;
}

/* Value chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem .85rem; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  font-size: var(--t-xs); font-weight: 600; color: var(--slate);
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: var(--market); color: var(--market-deep); transform: translateY(-2px); }

/* ---------- 13. Footer --------------------------------------------------- */
.site-footer { background: #08152c; color: rgba(255,255,255,.6); padding-top: var(--s-10); font-size: .92rem; }
.site-footer h3, .site-footer h4 {
  color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: var(--s-4); font-weight: 700;
}
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(4, .92fr) 1.15fr; gap: var(--s-6) var(--s-5); }
.footer-about p { margin-top: var(--s-4); max-width: 34ch; font-size: .9rem; line-height: 1.7; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .9rem; transition: color .18s var(--ease), transform .18s var(--ease); display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact div { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--azure-300); flex: none; margin-top: .25rem; }
.footer-contact a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.social { display: flex; gap: .6rem; margin-top: var(--s-5); }
.social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); border-color: transparent; }
.social svg { width: 17px; height: 17px; }

.footer-bottom {
  margin-top: var(--s-9); padding-block: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  font-size: var(--t-xs); color: rgba(255,255,255,.45);
}
.footer-bottom nav { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Back to top */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--grad-brand);
  box-shadow: var(--sh-brand);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 13b. Floating WhatsApp CTA (small screens only) --------------
   Sits against the right edge and fades in once the visitor starts scrolling.
   Hidden on desktop so the wide layout is unchanged. */
.wa-float {
  position: fixed; right: 0; top: 50%; z-index: 900;
  display: none; align-items: center; gap: .5rem;
  padding: .8rem .9rem;
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  background: #25d366; color: #06301a;
  box-shadow: 0 10px 30px -8px rgba(6,48,26,.55);
  text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-50%) translateX(100%);
  /* visibility flips instantly on show, and only after the slide-out on hide,
     so the control is never left unreachable if the transition does not run. */
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.wa-float.is-visible {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear 0s;
}
.wa-float:hover, .wa-float:focus-visible { background: #1fbe5b; color: #06301a; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__label { display: none; }

@media (max-width: 980px) {
  .wa-float { display: inline-flex; }
}
/* Very narrow phones: icon only, so it never crowds the content. */
@media (max-width: 400px) {
  .wa-float { padding: .75rem .8rem; }
}

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

/* ---------- 14b. WhatsApp button ----------------------------------------- */
.btn--whatsapp { background: #25d366; color: #08321a; }
.btn--whatsapp:hover { background: #1fbe5b; color: #062a15; transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(37,211,102,.75); }
.btn--whatsapp svg { color: currentColor; }
/* On dark grounds keep it readable but on-brand for WhatsApp */
.cta-band .btn--whatsapp, .section--ink .btn--whatsapp, .hero .btn--whatsapp { color: #06301a; }

/* ---------- 14c. Made in Trinidad ---------------------------------------- */
.made-in {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding-block: var(--s-5) var(--s-6);
  border-top: 1px solid rgba(255,255,255,.07);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.made-in__flag {
  display: inline-flex; border-radius: 3px; overflow: hidden; flex: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ---------- 14d. Resources: blog cards ----------------------------------- */
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: var(--s-6); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--market-line); }
.post-card__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: var(--s-4); }
.post-card__cat {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--market-deep); background: var(--market-soft);
  border: 1px solid var(--market-line); border-radius: var(--r-pill); padding: .3rem .7rem;
}
.post-card__soon {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate-2); background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: .3rem .7rem;
}
.post-card h3 { font-size: var(--t-lg); margin-bottom: var(--s-3); }
.post-card p { font-size: .93rem; flex: 1; }
.post-card__read { margin-top: var(--s-5); font-size: var(--t-xs); color: var(--slate-2); font-weight: 600; }

/* ---------- 14e. Resources: scorecard ------------------------------------ */
.tool-shell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--sh-md);
}
.q-group { border-bottom: 1px solid var(--line-soft); padding-bottom: var(--s-6); margin-bottom: var(--s-6); }
.q-group:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.q-group__title {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink);
  margin-bottom: var(--s-5);
}
.q-group__title span {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-size: .78rem;
}
.q-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: .85rem 0; border-bottom: 1px dashed var(--line-soft);
}
.q-row:last-child { border-bottom: 0; }
.q-row__text { font-size: .95rem; color: var(--ink-2); flex: 1; }
.q-opts { display: flex; gap: .35rem; flex: none; }
.q-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.q-opts label {
  cursor: pointer; padding: .5rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--slate);
  transition: all .2s var(--ease); white-space: nowrap;
  /* Comfortable tap target on touch devices */
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.q-opts label:hover { border-color: var(--market-line); color: var(--market-deep); }
.q-opts input:checked + label { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--sh-brand); }
.q-opts input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

.score-panel {
  position: sticky; top: calc(var(--header-h) + 1.25rem);
  background: var(--grad-deep); color: rgba(255,255,255,.8);
  border-radius: var(--r-xl); padding: var(--s-7);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.score-panel h3 { color: #fff; }
.score-dial { position: relative; width: 168px; height: 168px; margin: 0 auto var(--s-5); }
.score-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-dial__val {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; line-height: 1;
}
.score-dial__val b { display: block; font-size: 2.6rem; color: #fff; letter-spacing: -.03em; }
.score-dial__val small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: .35rem; }
.score-band {
  text-align: center; font-family: var(--font-display); font-weight: 800;
  font-size: 1.05rem; color: #fff; margin-bottom: var(--s-3);
}
.score-note { text-align: center; font-size: .9rem; color: rgba(255,255,255,.72); }
.score-actions { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.14); }
.score-actions h4 { color: #fff; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: var(--s-4); }
.score-actions ul { display: grid; gap: .6rem; }
.score-actions li { position: relative; padding-left: 1.5rem; font-size: .88rem; color: rgba(255,255,255,.76); }
.score-actions li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; border-radius: 50%; background: #7fd4f7;
}

/* ---------- 14f. Resources: calculator ----------------------------------- */
.calc-field { margin-bottom: var(--s-5); }
.calc-field label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: .86rem; color: var(--ink-2);
  margin-bottom: .5rem;
}
.calc-field label output {
  font-variant-numeric: tabular-nums; color: var(--market-deep);
  background: var(--market-soft); border: 1px solid var(--market-line);
  border-radius: var(--r-pill); padding: .18rem .7rem; font-size: .82rem;
}
/* The input is 44px tall so it is comfortable to drag on a phone, while the
   visible track stays 6px and is drawn by the track pseudo-elements. */
.calc-field input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 44px; background: transparent; cursor: pointer; padding: 0; margin: 0;
}
.calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px; background: var(--line);
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%; margin-top: -8px;
  background: var(--grad-brand); border: 3px solid #fff; box-shadow: var(--sh-sm); cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 3px; background: var(--line);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff;
  background: var(--indigo-500); box-shadow: var(--sh-sm); cursor: pointer;
}
.calc-field input[type="range"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-field__hint { font-size: var(--t-xs); color: var(--slate-2); margin-top: .35rem; }

.calc-result {
  background: var(--grad-deep); color: rgba(255,255,255,.8);
  border-radius: var(--r-xl); padding: var(--s-7); box-shadow: var(--sh-lg);
  position: sticky; top: calc(var(--header-h) + 1.25rem);
}
.calc-result h3 { color: #fff; }
.calc-bars { display: grid; gap: var(--s-5); margin: var(--s-6) 0; }
.calc-bar__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.calc-bar__label { font-size: .86rem; color: rgba(255,255,255,.75); }
.calc-bar__val { font-family: var(--font-display); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.calc-bar__track { height: 12px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.calc-bar__fill { height: 100%; border-radius: 6px; width: 0; transition: width .5s var(--ease); }
.calc-bar__fill--inhouse { background: linear-gradient(90deg,#f0a04b,#e2703a); }
.calc-bar__fill--murad { background: linear-gradient(90deg,#7fd4f7,#a6b0f0); }
.calc-savings {
  text-align: center; padding: var(--s-5); border-radius: var(--r-lg);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
}
.calc-savings b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); line-height: 1; color: #fff;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.calc-savings small { display: block; margin-top: .5rem; font-size: .82rem; color: rgba(255,255,255,.68); }
.calc-breakdown { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: .55rem; }
.calc-breakdown div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.calc-breakdown span { color: rgba(255,255,255,.68); }
.calc-breakdown b { color: #fff; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Tool pages: a slightly wider input column than the sticky result panel.
   Declared as a class, not inline, so the responsive rules can still collapse it. */
.grid-2--tool { grid-template-columns: 1.25fr .95fr; }

/* ---------- 15. Responsive ----------------------------------------------- */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.35fr repeat(3, 1fr); row-gap: var(--s-8); }
  .footer-contact-col { grid-column: span 2; }
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--s-8); }
  .footer-about { grid-column: span 3; }
  .footer-contact-col { grid-column: span 3; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  /* On phones and tablets the headline leads and the glass panel follows it,
     rather than the panel pushing the message below the fold. */
  .hero__visual { order: 0; max-width: 520px; }

  /* "Consulting Limited" keeps the same ink as "MURAD" on small screens,
     where the light grey was too faint to read against the header. */
  .brand__sub { color: var(--ink); }
  .brand--light .brand__sub { color: rgba(255,255,255,.72); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  /* Tool panels stop being sticky once the two-column layout collapses */
  .score-panel, .calc-result { position: static; }
}

@media (max-width: 780px) {
  .grid-2 { grid-template-columns: 1fr; }
  /* Kept visible on phones, just tightened so it still fits beside the mark. */
  .brand__sub { font-size: .52rem; letter-spacing: .18em; margin-top: .25rem; }
  .brand__mark { width: 44px; height: 44px; }
  .site-footer .brand__mark { width: 52px; height: 52px; }
  .quote { padding: var(--s-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: span 2; }
  .footer-contact-col { grid-column: span 2; }
  .q-row { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .q-opts { width: 100%; }
  .q-opts label { flex: 1; text-align: center; }
}

@media (max-width: 620px) {
  .container, .container--narrow, .container--wide { width: calc(100% - 2rem); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .trust-strip__inner { gap: var(--s-5); }
  .tabs__list { width: 100%; justify-content: flex-start; overflow-x: auto; border-radius: var(--r-md); flex-wrap: nowrap; }
  .tabs__btn { flex: none; }
  .step { padding-left: 0; padding-top: 4.2rem; }
  .step__n { width: 46px; height: 46px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about, .footer-contact-col { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .acc__panel p { padding-right: 1rem; }
  .to-top { right: .85rem; bottom: .85rem; }
}

/* ---------- 16. Motion & print preferences ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-panel__bar i { transition: none; }
}

@media print {
  .site-header, .mobile-nav, .to-top, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
  .hero, .page-hero, .section--ink { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--ink h2 { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
