/* ==========================================================================
   RB Consultant — Core stylesheet
   Light, elegant theme built from the logo's own colours:
   navy #0F3460, gold #F7A707, with cyan #1A97B5 as a quiet third.
   ========================================================================== */

/* ----------------------------- 1. Tokens -------------------------------- */
:root {
  /* Brand */
  --navy: #0F3460;
  --navy-700: #16406f;
  --navy-500: #2d5a8e;
  --gold: #F7A707;
  --gold-600: #d98f00;
  --gold-100: #fff4dd;
  --cyan: #1A97B5;
  --cyan-100: #e4f4f8;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-tint: #eef3f9;
  --surface: #ffffff;

  /* Ink */
  --ink: #0e1e33;
  --ink-soft: #4a5c77;
  --ink-mute: #7d8ca3;

  /* Lines */
  --line: rgba(15, 52, 96, 0.10);
  --line-strong: rgba(15, 52, 96, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-xs: 0 1px 2px rgba(15, 52, 96, 0.06);
  --shadow-sm: 0 4px 14px rgba(15, 52, 96, 0.07);
  --shadow: 0 14px 40px -14px rgba(15, 52, 96, 0.22);
  --shadow-lg: 0 28px 70px -26px rgba(15, 52, 96, 0.32);
  --shadow-gold: 0 12px 30px -10px rgba(247, 167, 7, 0.45);

  --font: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 78px;
  --maxw: 1240px;
}

/* ----------------------------- 2. Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--gold); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-tint); }
::-webkit-scrollbar-thumb { background: var(--navy-500); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ----------------------------- 3. Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { position: relative; padding: clamp(70px, 8.5vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(26, 151, 181, 0.07), transparent 62%),
    var(--bg-tint);
}

.section-head { max-width: 720px; margin: 0 auto clamp(42px, 5vw, 68px); text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  margin-bottom: 18px;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  border: 1px solid rgba(247, 167, 7, 0.35);
  border-radius: 100px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.95rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title em {
  position: relative;
  font-style: normal;
  color: var(--gold-600);
  white-space: nowrap;
}
.section-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.3em;
  background: rgba(247, 167, 7, 0.22);
  border-radius: 3px;
  z-index: -1;
}

.section-sub { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--ink-soft); }

/* ----------------------------- 4. Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              background-color 0.28s var(--ease), border-color 0.28s var(--ease),
              color 0.28s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow); }

.btn--gold { background: var(--gold); color: #3a2600; box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-600); color: #fff; }

.btn--ghost { background: #fff; border-color: var(--line-strong); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ----------------------------- 5. Header -------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), height 0.35s var(--ease);
}
.header.is-stuck {
  height: 66px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; }
.brand__logo { height: 44px; width: auto; transition: height 0.35s var(--ease); }
.header.is-stuck .brand__logo { height: 36px; }

.nav { display: flex; align-items: center; gap: 2px; }

.nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav__link:hover { color: var(--navy); background: var(--bg-tint); }
.nav__link.is-active { color: var(--navy); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 3px;
  width: 18px; height: 2px;
  transform: translateX(-50%);
  background: var(--gold);
  border-radius: 2px;
}

.header__cta { margin-left: 10px; padding: 11px 22px; font-size: 0.87rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: #fff;
}
.nav-toggle__bar { position: relative; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: background-color 0.2s var(--ease); }
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------- 6. Hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
  background:
    radial-gradient(820px 520px at 82% 18%, rgba(26, 151, 181, 0.10), transparent 62%),
    radial-gradient(620px 420px at 8% 88%, rgba(247, 167, 7, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fd 58%, #ffffff 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__canvas.is-ready { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 26%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(0deg, #fff 1%, rgba(255, 255, 255, 0) 22%);
}

.hero__inner { position: relative; z-index: 2; max-width: 640px; }

.hero__title {
  font-size: clamp(2.2rem, 4.9vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.033em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero__title span { display: block; color: var(--gold-600); }

.hero__lead {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 550px;
  margin-bottom: 32px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 38px; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.86rem; color: var(--ink-soft); }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof i { color: var(--cyan); }

.hero__cue {
  position: absolute;
  left: 50%; bottom: 24px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { opacity: 0.25; transform: scaleY(0.55); transform-origin: top; }
  50%      { opacity: 1;    transform: scaleY(1);    transform-origin: top; }
}

/* ----------------------------- 7. Stats --------------------------------- */
.stats { position: relative; z-index: 3; padding: 0 0 clamp(54px, 7vw, 88px); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat { padding: 32px 22px; text-align: center; background: #fff; transition: background-color 0.3s var(--ease); }
.stat:hover { background: var(--bg-soft); }
.stat__num {
  font-size: clamp(1.9rem, 3.3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.stat__num span { color: var(--gold); }
.stat__label {
  margin-top: 9px;
  font-size: 0.77rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ----------------------------- 8. Cards --------------------------------- */
.card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }

.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 22px; }

.service { display: flex; flex-direction: column; cursor: pointer; }

.service__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--navy);
  background: var(--cyan-100);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.card:hover .service__icon { transform: translateY(-2px) rotate(-6deg); background: var(--gold-100); color: var(--gold-600); }

.service__title { font-size: 1.16rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service__text { font-size: 0.93rem; color: var(--ink-soft); flex-grow: 1; margin-bottom: 20px; }
.service__more { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 700; color: var(--gold-600); }
.service__more i { transition: transform 0.3s var(--ease); }
.card:hover .service__more i { transform: translateX(5px); }

/* ----------------------------- 9. About --------------------------------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__lead { font-size: 1.04rem; color: var(--ink-soft); margin-bottom: 18px; }
.about__lead strong { color: var(--navy); font-weight: 700; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.pillar {
  display: flex;
  gap: 13px;
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pillar:hover { border-color: rgba(247, 167, 7, 0.45); background: #fff; transform: translateY(-3px); }
.pillar i { color: var(--gold); font-size: 1.05rem; margin-top: 3px; }
.pillar h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.pillar p { font-size: 0.83rem; color: var(--ink-mute); }

.about__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__figure img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.about__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.about__badge strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; color: var(--navy); }
.about__badge span { font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

/* -------------------- 10. Permission finder (interactive) --------------- */
.finder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.finder__side { padding: clamp(26px, 3.4vw, 38px); background: var(--bg-soft); border-right: 1px solid var(--line); }
.finder__legend { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.finder__group { margin-bottom: 26px; }
.finder__group:last-child { margin-bottom: 0; }

.finder__opts { display: grid; gap: 9px; }

.opt {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.28s var(--ease);
}
.opt i { color: var(--ink-mute); transition: color 0.28s var(--ease); width: 18px; text-align: center; }
.opt:hover { border-color: var(--line-strong); transform: translateX(3px); }
.opt.is-on {
  color: var(--navy);
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 167, 7, 0.16);
}
.opt.is-on i { color: var(--gold); }

.finder__out { padding: clamp(26px, 3.4vw, 38px); }
.finder__outhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.finder__outhead h3 { font-size: 1.18rem; font-weight: 800; color: var(--navy); }
.finder__count { font-size: 0.82rem; color: var(--ink-mute); }

/* Indicative timeline bar */
.gauge { margin: 22px 0 26px; }
.gauge__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.gauge__label { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.gauge__value { font-size: 1.02rem; font-weight: 800; color: var(--navy); }
.gauge__track { position: relative; height: 10px; background: var(--bg-tint); border-radius: 100px; overflow: hidden; }
.gauge__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 0.85s var(--ease);
}
.gauge__scale { display: flex; justify-content: space-between; margin-top: 7px; font-size: 0.71rem; color: var(--ink-mute); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cyan-100);
  border: 1px solid rgba(26, 151, 181, 0.28);
  border-radius: 100px;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  animation: chipIn 0.45s var(--ease) forwards;
}
.chip i { color: var(--cyan); font-size: 0.78rem; }
.chip--gold { background: var(--gold-100); border-color: rgba(247, 167, 7, 0.4); }
.chip--gold i { color: var(--gold-600); }
@keyframes chipIn { to { opacity: 1; transform: none; } }

.finder__note {
  margin-top: 22px;
  padding: 14px 16px;
  font-size: 0.81rem;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.finder__cta { margin-top: 20px; }

/* ---------------------------- 11. Process ------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process__rail {
  position: absolute;
  top: 27px; left: 10%; right: 10%;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
.process__rail span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 1.6s var(--ease);
}
.process.is-in .process__rail span { width: 100%; }

.step { position: relative; text-align: center; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
              color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover .step__num,
.step:focus-within .step__num {
  transform: translateY(-4px) scale(1.07);
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.step p { font-size: 0.85rem; color: var(--ink-mute); }

/* ------------------- 12. Duration comparison (chart) -------------------- */
.bars { max-width: 820px; margin: 0 auto; display: grid; gap: 20px; }
.bar__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bar__name { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.bar__val { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.bar__track { position: relative; height: 14px; background: var(--bg-tint); border-radius: 100px; overflow: hidden; }
.bar__fill {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transition: width 1.1s var(--ease), left 1.1s var(--ease);
}
.bar:nth-child(2) .bar__fill { background: linear-gradient(90deg, var(--cyan), #46b6cf); }
.bar:nth-child(3) .bar__fill { background: linear-gradient(90deg, var(--gold-600), var(--gold)); }
.bar:nth-child(4) .bar__fill { background: linear-gradient(90deg, #b07a00, var(--gold-600)); }
.bars__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.72rem; color: var(--ink-mute); }
.bars__foot { margin-top: 26px; text-align: center; font-size: 0.82rem; color: var(--ink-mute); }

/* ---------------------------- 13. Projects ------------------------------ */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-bottom: 40px; }
.filter {
  padding: 10px 22px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--navy); border-color: var(--line-strong); }
.filter.is-active { color: #fff; background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-sm); }

.projects__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

.project {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.project:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.project.is-hidden { display: none; }

.project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s var(--ease); }
.project:hover .project__media img { transform: scale(1.06); }

.project__tag {
  position: absolute;
  top: 13px; left: 13px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 100px;
  box-shadow: var(--shadow-xs);
}

.project__body { padding: 24px; }
.project__title { font-size: 1.14rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.project__place { display: inline-flex; align-items: center; gap: 7px; font-size: 0.81rem; color: var(--cyan); margin-bottom: 11px; }
.project__text { font-size: 0.89rem; color: var(--ink-soft); margin-bottom: 15px; }
.project__doc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--gold-100);
  border-radius: 100px;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.project__doc:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* -------------------------- 14. Testimonials ---------------------------- */
.quotes { position: relative; max-width: 860px; margin: 0 auto; }
.quotes__view { overflow: hidden; border-radius: var(--radius-lg); }
.quotes__track { display: flex; transition: transform 0.6s var(--ease); }

.quote {
  flex: 0 0 100%;
  padding: clamp(32px, 4.4vw, 50px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.quote__mark { font-size: 1.9rem; color: var(--gold); opacity: 0.5; margin-bottom: 16px; }
.quote__text { font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.7; color: var(--ink); margin-bottom: 24px; }
.quote__avatar {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}
.quote__name { font-weight: 700; color: var(--navy); }
.quote__role { font-size: 0.82rem; color: var(--ink-mute); }

.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.quotes__btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.quotes__btn:hover { background: var(--navy); color: #fff; transform: scale(1.07); }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: all 0.3s var(--ease); }
.quotes__dot.is-active { width: 26px; border-radius: 100px; background: var(--gold); }

/* ------------------------------ 15. FAQ --------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq__item.is-open { border-color: rgba(247, 167, 7, 0.5); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.faq__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  color: var(--gold-600);
  background: var(--gold-100);
  border-radius: 50%;
  transition: transform 0.35s var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 21px; font-size: 0.93rem; color: var(--ink-soft); }

/* ---------------------------- 16. Contact ------------------------------- */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.info { display: grid; gap: 13px; }
.info__item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info__item:hover { border-color: var(--line-strong); transform: translateX(4px); box-shadow: var(--shadow-xs); }
.info__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  color: var(--navy);
  background: var(--cyan-100);
  border-radius: 12px;
}
.info__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.info__value { font-size: 0.93rem; color: var(--ink); }
.info__value a:hover { color: var(--gold-600); }
.info__note { font-size: 0.79rem; color: var(--ink-mute); margin-top: 3px; }

.map { margin-top: 4px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 230px; border: 0; }

.form { padding: clamp(26px, 3.4vw, 38px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-mute); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.93rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 167, 7, 0.16);
}
.field textarea { resize: vertical; min-height: 128px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form__note { margin-top: 13px; font-size: 0.78rem; color: var(--ink-mute); text-align: center; }
.form__status { margin-top: 15px; padding: 14px 18px; font-size: 0.88rem; border-radius: var(--radius-sm); border: 1px solid transparent; }
.form__status.is-ok { color: #15803d; background: #f0fdf4; border-color: #bbf7d0; }
.form__status.is-err { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }

/* ------------------------------ 17. CTA --------------------------------- */
.cta {
  position: relative;
  padding: clamp(46px, 5.6vw, 72px) clamp(28px, 5vw, 64px);
  text-align: center;
  border-radius: clamp(20px, 3vw, 30px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(620px 280px at 50% 0%, rgba(247, 167, 7, 0.28), transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, #14487f 100%);
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 0 auto 28px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; }
.cta .btn--ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }

/* ----------------------------- 18. Footer ------------------------------- */
.footer { padding: clamp(50px, 6vw, 74px) 0 28px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 42px; }
.footer__logo { height: 48px; width: auto; margin-bottom: 18px; }
.footer__about { font-size: 0.88rem; color: var(--ink-soft); max-width: 330px; }
.footer h3 { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 17px; }
.footer__list { display: grid; gap: 10px; font-size: 0.88rem; }
.footer__list a, .footer__list li { color: var(--ink-soft); transition: color 0.25s var(--ease); }
.footer__list a:hover { color: var(--gold-600); }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.social {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: all 0.3s var(--ease);
}
.social:hover { color: #fff; background: var(--navy); transform: translateY(-3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.81rem;
  color: var(--ink-mute);
}

/* ----------------------------- 19. Modal -------------------------------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(14, 30, 51, 0.5); backdrop-filter: blur(4px); }
.modal__box {
  position: relative;
  width: min(660px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.38s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.modal__head h2 { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.modal__close {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: all 0.25s var(--ease);
}
.modal__close:hover { color: #fff; background: var(--navy); border-color: var(--navy); transform: rotate(90deg); }
.modal__body { padding: 26px; font-size: 0.93rem; color: var(--ink-soft); }
.modal__body p + p, .modal__body ul + p { margin-top: 13px; }
.modal__body h3 { margin: 22px 0 10px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); }
.modal__body ul { display: grid; gap: 8px; }
.modal__body li { position: relative; padding-left: 24px; font-size: 0.9rem; }
.modal__body li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0; top: 1px;
  font-size: 0.7rem;
  color: var(--cyan);
}

/* ---------------------------- 20. Floating ------------------------------ */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { display: grid; place-items: center; width: 50px; height: 50px; font-size: 1.15rem; border-radius: 50%; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab--wa { color: #fff; background: #25d366; }
.fab--top { color: #fff; background: var(--navy); opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* ---------------------------- 21. Loader -------------------------------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #fff; transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease); }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { width: 44px; height: 44px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------- 22. Reveal -------------------------------- */
/* Scroll reveals are opt-in: without JavaScript the `js` class is never added
   and every section stays visible, so the page can never render blank. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.08s; }
.reveal[data-delay='2'] { transition-delay: 0.16s; }
.reveal[data-delay='3'] { transition-delay: 0.24s; }
.reveal[data-delay='4'] { transition-delay: 0.32s; }
.reveal[data-delay='5'] { transition-delay: 0.40s; }

/* --------------------------- 23. Responsive ----------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__figure img { min-height: 300px; }
  .finder { grid-template-columns: 1fr; }
  .finder__side { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 16px; font-size: 0.97rem; }
  .nav__link.is-active::after { display: none; }
  .header__cta { margin: 10px 0 0; }
  .nav-toggle { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process__rail { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); }
  .hero__cue { display: none; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .pillars { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .section-title em { white-space: normal; }
}

@media (max-width: 420px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* ------------------------ 24. Motion / print ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chip { opacity: 1; transform: none; }
}

@media print {
  .header, .fab-stack, .hero__canvas, .loader, .modal, elevenlabs-convai { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   25. Multi-page chrome — dropdown nav, page headers, article layouts
   ========================================================================== */

/* ------------------------------ Dropdown -------------------------------- */
.nav__item { position: relative; }

.nav__trigger { display: inline-flex; align-items: center; gap: 7px; }
.nav__trigger i { font-size: 0.65rem; transition: transform 0.28s var(--ease); }
.nav__item.is-open > .nav__trigger i { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  width: 290px;
  padding: 9px;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s var(--ease);
}
.nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: translateX(-50%); }

.nav__panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}
.nav__panel a:hover { background: var(--bg-soft); color: var(--navy); }
.nav__panel a.is-current { color: var(--navy); background: var(--gold-100); }
.nav__panel i { width: 18px; text-align: center; color: var(--cyan); font-size: 0.9rem; }

/* ----------------------------- Page header ------------------------------ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 62px) 0 clamp(48px, 6vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 88% 12%, rgba(26, 151, 181, 0.10), transparent 62%),
    radial-gradient(520px 300px at 6% 92%, rgba(247, 167, 7, 0.10), transparent 62%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f7fc 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(15, 52, 96, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 52, 96, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(820px 360px at 80% 28%, #000, transparent 72%);
  mask-image: radial-gradient(820px 360px at 80% 28%, #000, transparent 72%);
}
.page-hero > .container { position: relative; z-index: 1; }

.page-hero__title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 16ch;
  margin-bottom: 16px;
}
.page-hero__title em { font-style: normal; color: var(--gold-600); }
.page-hero__lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--ink-soft); max-width: 620px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ----------------------------- Breadcrumbs ------------------------------ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.crumbs a { color: var(--ink-mute); transition: color 0.22s var(--ease); }
.crumbs a:hover { color: var(--gold-600); }
.crumbs i { font-size: 0.58rem; opacity: 0.6; }
.crumbs [aria-current='page'] { color: var(--navy); font-weight: 600; }

/* -------------------------- Article + sidebar --------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: start;
}

.prose { font-size: 1rem; color: var(--ink-soft); }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: 44px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin-top: 30px; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose a { color: var(--gold-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.prose .lead { font-size: 1.1rem; color: var(--ink); }

.checklist { display: grid; gap: 11px; }
.checklist li {
  position: relative;
  padding: 13px 16px 13px 46px;
  font-size: 0.93rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.checklist li:hover { border-color: rgba(247, 167, 7, 0.45); transform: translateX(3px); }
.checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 0.72rem;
  color: var(--gold-600);
}

.numlist { counter-reset: n; display: grid; gap: 15px; }
.numlist li { position: relative; counter-increment: n; padding-left: 48px; font-size: 0.95rem; }
.numlist li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold-100);
  border-radius: 50%;
}
.numlist strong { display: block; color: var(--navy); }

.callout {
  padding: 20px 22px;
  font-size: 0.92rem;
  background: var(--cyan-100);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout strong { color: var(--navy); }

/* Sticky sidebar */
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }

.sidecard {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.sidecard h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 15px;
}
.sidecard p { font-size: 0.89rem; color: var(--ink-soft); margin-bottom: 18px; }

.sidecard--dark {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(420px 200px at 50% 0%, rgba(247, 167, 7, 0.3), transparent 70%),
    linear-gradient(135deg, var(--navy), #14487f);
}
.sidecard--dark h3 { color: rgba(255, 255, 255, 0.65); }
.sidecard--dark p { color: rgba(255, 255, 255, 0.82); }

.sidelist { display: grid; gap: 3px; }
.sidelist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.sidelist a i { font-size: 0.68rem; opacity: 0; transform: translateX(-5px); transition: all 0.25s var(--ease); }
.sidelist a:hover { background: var(--bg-soft); color: var(--navy); }
.sidelist a:hover i { opacity: 1; transform: none; }
.sidelist a.is-current { background: var(--gold-100); color: var(--navy); }

/* --------------------------- Related tiles ------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.tile i { font-size: 1.1rem; color: var(--cyan); }
.tile h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.tile p { font-size: 0.86rem; color: var(--ink-soft); }
.tile span { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--gold-600); }

/* ------------------------------ Offices --------------------------------- */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.office {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.office__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cyan-100);
  border-radius: 100px;
}
.office h3 { font-size: 1.14rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.office address { font-style: normal; font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 16px; }
.office__row { display: flex; align-items: center; gap: 10px; font-size: 0.89rem; color: var(--ink-soft); margin-bottom: 7px; }
.office__row i { width: 16px; color: var(--cyan); }

@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; }
  .aside { position: static; }
}

@media (max-width: 900px) {
  .nav__panel {
    position: static;
    display: none;
    width: 100%;
    padding: 4px 0 4px 12px;
    transform: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__item.is-open > .nav__panel { display: block; transform: none; }
  .nav__trigger { width: 100%; justify-content: space-between; }
}
