/* Salexi — site styles */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --navy-950: #071328;
  --navy-900: #0b1d3a;
  --navy-800: #11284d;
  --navy-700: #1a3766;
  --blue: #3473c8;
  --blue-soft: #e9f0fa;
  --gold: #ffca0f;
  --gold-dark: #9a7400;
  --ink: #0f1b2d;
  --body: #3d4b61;
  --muted: #6b7a90;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 29, 58, .04), 0 8px 24px rgba(11, 29, 58, .06);
  --shadow-lg: 0 2px 4px rgba(11, 29, 58, .04), 0 20px 48px rgba(11, 29, 58, .12);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-900); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px;
  font: 600 .95rem/1 "Poppins", sans-serif; letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #ffd84a; color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 202, 15, .35); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--navy-900); color: var(--navy-900); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--body); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-950); color: #b9c6dc; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #dbe4f3; }
.topbar a:hover { color: var(--gold); }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social svg { color: #dbe4f3; }
.topbar__social a:hover svg { color: var(--gold); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 29, 58, .06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 8px;
  font-size: .93rem; font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--blue); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav__item:hover .nav__link svg, .nav__item.is-open .nav__link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); }
.dropdown a strong { display: block; font-weight: 600; font-size: .93rem; }
.dropdown a span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.dropdown a:hover, .dropdown a.is-active { background: var(--bg-soft); }
.dropdown a:hover strong { color: var(--blue); }

.header__cta { margin-left: 12px; }
.header__cta.btn { padding: .75em 1.25em; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: var(--navy-900);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(52, 115, 200, .35), transparent 60%),
    linear-gradient(100deg, rgba(7, 19, 40, .96) 0%, rgba(11, 29, 58, .9) 45%, rgba(11, 29, 58, .55) 100%);
}
.hero .container { padding-top: 120px; padding-bottom: 130px; }
.hero__content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #c8d4e8; font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; }
.hero .eyebrow { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e3eaf6;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* page hero (inner pages) */
.page-hero .container { padding-top: 96px; padding-bottom: 96px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: #9fb0cc; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: #dbe4f3; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Stats strip ---------- */
.strip { position: relative; margin-top: -56px; z-index: 2; }
.strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.strip__item { padding: 28px 28px; display: flex; gap: 16px; align-items: flex-start; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__item strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.strip__item span { font-size: .86rem; color: var(--muted); line-height: 1.5; }

.icon-badge {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--gold { background: #fff6d1; color: var(--gold-dark); }
.icon-badge--navy { background: var(--navy-900); color: var(--gold); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin: 22px 0 10px; }
.card p { font-size: .95rem; margin-bottom: 0; }
.card .icon-badge { transition: background .25s, color .25s; }
.card:hover .icon-badge { background: var(--navy-900); color: var(--gold); }

.card--service { padding: 34px; }
.card--service .checklist { margin-top: 18px; }
.card__link { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; color: var(--navy-900); }
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link { color: var(--blue); }
.card:hover .card__link svg { transform: translateX(4px); }
.card__num { position: absolute; top: 26px; right: 30px; font-size: .8rem; font-weight: 600; color: #b8c3d4; letter-spacing: .08em; }

.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: .93rem; color: var(--body); line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233473c8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checklist--light li { color: #c8d4e8; }
.checklist--light li::before { background-color: rgba(255, 202, 15, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffca0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist--cols { columns: 2; column-gap: 28px; }
.checklist--cols li { break-inside: avoid; }

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--wide-text { grid-template-columns: 1.1fr .9fr; }
.media { position: relative; }
.media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.media::before {
  content: ""; position: absolute; z-index: -1; inset: 28px -22px -22px 28px;
  border-radius: var(--radius); background: var(--gold);
}
.media { isolation: isolate; }
.media__badge {
  position: absolute; left: -24px; bottom: 32px; background: var(--navy-900); color: #fff;
  padding: 20px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); max-width: 240px;
}
.media__badge strong { display: block; color: var(--gold); font-size: 1.6rem; line-height: 1.1; margin-bottom: 4px; }
.media__badge span { font-size: .85rem; color: #c8d4e8; line-height: 1.45; display: block; }

/* ---------- Sectors ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Process ---------- */
.dark { background: var(--navy-900); color: #c8d4e8; position: relative; overflow: hidden; }
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 400px at 100% 0%, rgba(52, 115, 200, .3), transparent 60%),
              radial-gradient(700px 300px at 0% 100%, rgba(255, 202, 15, .08), transparent 60%);
}
.dark > .container { position: relative; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.step__num { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 202, 15, .8); margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .92rem; margin: 0; color: #a9b8d1; }

/* ---------- CTA ---------- */
.cta {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: 20px; padding: 56px; color: #c8d4e8; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(255, 202, 15, .12);
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; max-width: 560px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Offices / contact ---------- */
.office { padding: 30px; }
.office__tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); background: #fff6d1; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.office h3 { margin: 0 0 14px; }
.office__line { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; margin-bottom: 10px; color: var(--body); }
.office__line svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }
.office__line a { color: var(--body); }
.office__line a:hover { color: var(--blue); }

.form-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 40px; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(52, 115, 200, .12); }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: #e9f7ef; color: #1d6b3f; font-size: .9rem; }
.form-status.is-visible { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb0cc; padding: 80px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.footer__brand img { height: 56px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a { color: #c8d4e8; }
.footer a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #dbe4f3; transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold); color: var(--navy-900); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1140px) {
  :root { --header-h: 68px; }
  .topbar__info span.topbar__addr { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 20px 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  /* backdrop-filter would make the fixed menu position relative to the header */
  .header { backdrop-filter: none; background: #fff; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link.is-active::after { display: none; }
  .nav__item:hover .nav__link svg { transform: none; }
  .nav__item.is-open .nav__link svg { transform: rotate(180deg); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 8px; display: none; min-width: 0; }
  .nav__item:hover .dropdown, .nav__item:focus-within .dropdown { display: none; }
  .nav__item.is-open .dropdown { display: block; }
  .header__cta { margin: 20px 0 0; justify-content: center; }
  body.nav-open { overflow: hidden; }
  .dropdown--wide { display: none; }
  .nav__item.is-open .dropdown--wide { display: block; }
}

@media (max-width: 960px) {
  .split, .split--wide-text { grid-template-columns: 1fr; gap: 56px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 40px 32px; }
  .media__badge { left: 16px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .logo img { height: 44px; }
  .hero .container { padding-top: 80px; padding-bottom: 104px; }
  .page-hero .container { padding-top: 64px; padding-bottom: 64px; }
  .grid--2, .grid--3, .grid--4, .steps, .strip__grid, .form-grid { grid-template-columns: 1fr; }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid var(--line); }
  .checklist--cols { columns: 1; }
  .card, .card--service { padding: 26px; }
  .form-card { padding: 26px 20px; }
  .media::before { inset: 18px -10px -10px 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Components added for the detailed service pages
   ========================================================= */

/* wide (two-column) dropdown */
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown__all a strong { color: var(--blue); }
@media (max-width: 1140px) {
  .dropdown--wide { min-width: 0; grid-template-columns: 1fr; }
  .dropdown__all { border: 0; margin: 0; padding: 0; }
}

/* hero meta pills on inner pages */
.page-hero .hero__pills { margin: 26px 0 0; }

/* service highlight panel */
.visual {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #c8d4e8; border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg);
}
.visual::before {
  content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 260px; height: 260px;
  border-radius: 50%; border: 36px solid rgba(255, 202, 15, .12);
}
.visual::after {
  content: ""; position: absolute; z-index: -1; left: -60px; bottom: -120px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(52, 115, 200, .35), transparent 70%);
}
.visual__head { display: flex; gap: 16px; align-items: center; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.visual__head strong { display: block; color: #fff; font-size: 1.15rem; line-height: 1.3; }
.visual__head span { font-size: .85rem; color: #9fb0cc; }
.visual__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.visual__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.visual__list svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.visual__list strong { display: block; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.visual__list span { font-size: .85rem; color: #a9b8d1; line-height: 1.5; display: block; }

/* clickable cards */
a.card { color: inherit; }
a.card:hover { color: inherit; }
.card--compact { padding: 26px; }
.card--compact h3 { margin-top: 18px; font-size: 1.08rem; }

/* benefit rows */
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.benefit p { margin: 0; font-size: .93rem; }

/* tag grid (roles, laws) */
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tag {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.35;
}
.tag svg { flex: none; width: 18px; height: 18px; color: var(--blue); }
.tag small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .93rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.compare tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.compare tbody th a { color: var(--ink); }
.compare tbody th a:hover { color: var(--blue); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: var(--bg-soft); }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; color: var(--ink); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233473c8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: #fff6d1; }
.faq details p { padding: 0 22px 20px; margin: 0; font-size: .95rem; }

/* note / callout */
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: #fff6d1; color: #5c4600; font-size: .9rem; margin-top: 28px; }
.note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold-dark); }

/* intro split stats */
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.mini-stats div { padding: 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.mini-stats strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.mini-stats span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* section group heading with link */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

@media (max-width: 640px) {
  .visual { padding: 26px 22px; }
  .mini-stats { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px; }
}

/* FAQ layout: heading left, questions right; stacks on smaller screens */
.split--faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
@media (max-width: 960px) { .split--faq { grid-template-columns: 1fr; gap: 32px; } }

/* keep dropdown buttons and plain links the same height in the menu */
.nav__link { line-height: 1.6; }

/* grid children may shrink below their content's intrinsic width (e.g. date inputs) */
.split > *, .grid > *, .form-grid > * { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; }

/* ---------- Stats strip (numbers) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 28px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.1; color: var(--navy-900); letter-spacing: -.02em; }
.stat strong em { font-style: normal; color: var(--gold-dark); }
.stat span { display: block; margin-top: 6px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .strip { margin-top: 0; padding-top: 20px; background: var(--bg-soft); padding-bottom: 4px; }
  .stats { box-shadow: var(--shadow); }
  .stat { padding: 20px 16px; }
  .stat span { font-size: .8rem; }
}
.stat { min-width: 0; }
@media (max-width: 400px) { .stat strong { font-size: 1.35rem; } .stat { padding: 18px 12px; } }
