/* ==========================================================================
   Ansari Global Solutions — Design System
   1. Tokens  2. Base  3. Layout  4. Typography  5. Buttons & links
   6. Header & navigation  7. Heroes  8. Cards & grids  9. Sections
   10. Blog & article  11. Forms  12. Accordion  13. Footer  14. Utilities
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --navy-950: #06142a;
  --navy-900: #0b1f3a;
  --navy-800: #12305c;
  --navy-700: #1d3f70;
  --navy-100: #e6ecf5;

  --ink: #0b1f3a;
  --body: #36475f;
  --muted: #586a83;
  --line: #e1e7ef;
  --line-strong: #cbd5e2;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-alt: #eef2f7;

  --accent: #2bb8a6;          /* on dark surfaces */
  --accent-ink: #0b7a6e;      /* accessible on white (≥ 4.5:1) */
  --accent-soft: #e3f4f1;

  --surface: #ffffff;          /* cards, panels, inputs */
  --header-bg: rgba(255, 255, 255, 0.96);
  --brand: #0b1f3a;            /* solid brand fills: primary buttons, active states */
  --brand-hover: #1d3f70;
  --brand-ink: #ffffff;        /* text on --brand */
  --icon-bg: #e6ecf5;
  --icon-ink: #12305c;
  --prose: #2e3e55;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;

  --on-dark: #ffffff;
  --on-dark-muted: #b9c7dc;

  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --fs-display: clamp(2.35rem, 1.4rem + 3.6vw, 4.1rem);
  --fs-h1: clamp(2.1rem, 1.45rem + 2.6vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.78rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, 0.18);
  --shadow-lg: 0 30px 60px -25px rgba(6, 20, 42, 0.35);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark theme — toggled by the header button (stored in localStorage). */
:root[data-theme='dark'] {
  --ink: #eef3fa;
  --body: #c3cedd;
  --muted: #97a7bd;
  --line: #1f3150;
  --line-strong: #314a6e;
  --bg: #071022;
  --bg-soft: #0a162b;
  --bg-alt: #0c1a31;
  --surface: #0f1e37;
  --header-bg: rgba(7, 16, 34, 0.92);
  --brand: #eef3fa;
  --brand-hover: #ffffff;
  --brand-ink: #0b1f3a;
  --accent-ink: #4fd1bf;
  --accent-soft: #0e3433;
  --icon-bg: #16294a;
  --icon-ink: #9fe6dc;
  --prose: #cbd6e4;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef3fa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -25px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}
:root[data-theme='dark'] .section--navy,
:root[data-theme='dark'] .hero,
:root[data-theme='dark'] .page-hero--navy { background: #0b1f3a; }
:root[data-theme='dark'] .cta-band,
:root[data-theme='dark'] .article-service,
:root[data-theme='dark'] .side-box--navy { background: #0d2547; border: 1px solid #1f3a63; }
:root[data-theme='dark'] .card--hover:hover .card-icon { background: var(--accent); color: #06142a; }
:root[data-theme='dark'] .site-footer { background: #040b18; border-top: 1px solid var(--line); }
:root[data-theme='dark'] .announce { background: #040b18; }
:root[data-theme='dark'] .legal-note,
:root[data-theme='dark'] .form-status.is-info { background: #2a2210; color: #f3dc9b; border-color: #5a4a1d; }
:root[data-theme='dark'] .form-status.is-success { background: #0e3433; color: #a6eee3; border-color: #1d5c56; }
:root[data-theme='dark'] .form-status.is-error { background: #3a1513; color: #f7b8b1; border-color: #6b2a24; }
:root[data-theme='dark'] .req, :root[data-theme='dark'] .field-error { color: #ff9b91; }
:root[data-theme='dark'] .input[aria-invalid='true'], :root[data-theme='dark'] .select[aria-invalid='true'], :root[data-theme='dark'] .textarea[aria-invalid='true'] { border-color: #ff9b91; }
:root[data-theme='dark'] .brand-mark { box-shadow: 0 0 0 1px rgba(159, 182, 214, .25); }

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 3. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--text { max-width: 760px; }

.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-900); color: var(--on-dark-muted); }
.section--navy h2, .section--navy h3, .section--navy .h2 { color: var(--on-dark); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.section + .section--border { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 960px) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } }

/* 4. Typography ----------------------------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-head); color: var(--ink); margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800;
}
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }
.display { font-size: var(--fs-display); line-height: 1.06; letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--body); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--muted); letter-spacing: 0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .on-dark .eyebrow { color: var(--accent); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 2rem + 1.5vw, 3.5rem); }
.section-head p { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }

/* 5. Buttons & links ------------------------------------------------------ */
.btn {
  --bh: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-hover); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: var(--navy-950); }
.btn--accent:hover { background: #4fcab9; box-shadow: 0 10px 30px -12px rgba(43, 184, 166, .6); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  color: var(--accent-ink); text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.on-dark .link-arrow, .section--navy .link-arrow { color: var(--accent); }

.prose a, .text-link { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .text-link:hover { text-decoration-thickness: 2px; }

/* 6. Header & navigation -------------------------------------------------- */
.announce {
  background: var(--navy-950); color: var(--on-dark-muted); font-size: 0.8rem; letter-spacing: 0.02em;
  text-align: center; padding: 9px var(--gutter);
}
.announce strong { color: #fff; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile nav. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 31, 58, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 11px; background: #000; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(11, 31, 58, .08); }

.theme-toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: border-color .2s, background-color .2s;
}
.theme-toggle:hover { border-color: var(--line-strong); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle .i-sun, :root[data-theme='dark'] .theme-toggle .i-moon { display: none; }
:root[data-theme='dark'] .theme-toggle .i-sun { display: inline-flex; }
.theme-toggle span { display: inline-flex; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.12em; line-height: 1.2; }
.brand-text span { display: block; font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink); text-decoration: none; white-space: nowrap;
  background: none; border: 0; cursor: pointer; line-height: 1.2;
}
.nav-link:hover, .nav-toggle:hover, .nav-item:focus-within > .nav-toggle { background: var(--bg-soft); }
.nav-link[aria-current='page'], .nav-toggle.is-current { color: var(--accent-ink); }
.nav-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-toggle[aria-expanded='true'] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
@media (hover: hover) and (min-width: 1241px) {
  .nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
}
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--bg-soft); }
.dropdown .icon { width: 20px; height: 20px; color: var(--accent-ink); flex-shrink: 0; }
.dropdown .dropdown-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown .dropdown-all a { color: var(--accent-ink); font-weight: 700; font-family: var(--font-head); }
.dropdown .dropdown-all .icon { width: 16px; height: 16px; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.menu-btn .icon { width: 22px; height: 22px; }

@media (max-width: 1240px) {
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, 0) 0 0 0; z-index: 99; background: var(--bg);
    padding: 12px var(--gutter) 40px; overflow-y: auto; border-top: 1px solid var(--line); display: none;
  }
  .nav.is-open { display: block; animation: nav-in .22s var(--ease); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-toggle:hover, .nav-item:focus-within > .nav-toggle { background: none; }
  .dropdown, .dropdown--wide {
    position: static; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 12px; grid-template-columns: 1fr;
  }
  .nav-item.is-open > .dropdown { display: block; }
  .dropdown a { padding: 12px 8px; }
  .nav-mobile-cta { display: grid !important; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
.nav-mobile-cta { display: none !important; }

/* 7. Heroes --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark-muted);
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem) clamp(4rem, 3rem + 4vw, 6.5rem);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(43, 184, 166, .16), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(29, 63, 112, .7), transparent 70%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(159, 182, 214, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 182, 214, .08) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-muted); max-width: 600px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .hero-layout { grid-template-columns: minmax(0, 1fr); } }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 2rem 0 0; font-size: 0.88rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--accent); }

/* Hero visual: operations console */
.hero-visual { position: relative; min-height: 460px; }
.hero-globe { position: absolute; inset: -6% -10% auto auto; width: 105%; max-width: 620px; opacity: .9; }
.console {
  position: relative; margin-top: 70px; margin-left: auto; width: min(100%, 470px);
  background: rgba(10, 26, 51, .82); border: 1px solid rgba(159, 182, 214, .22); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 20px;
}
.console-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(159, 182, 214, .16); margin-bottom: 14px; }
.console-title { font-family: var(--font-head); color: #fff; font-weight: 700; font-size: 0.92rem; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(159, 182, 214, .35); display: block; }
.console-dots i:first-child { background: var(--accent); }
.flow-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.flow-row + .flow-row { margin-top: 6px; }
.flow-row:nth-child(odd) { background: rgba(255, 255, 255, .035); }
.flow-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(43, 184, 166, .14); color: var(--accent); }
.flow-icon .icon { width: 20px; height: 20px; }
.flow-label { color: #fff; font-weight: 600; font-size: 0.88rem; line-height: 1.3; }
.flow-steps { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.flow-steps span { font-size: 0.68rem; padding: 2px 8px; border-radius: 99px; background: rgba(159, 182, 214, .12); color: var(--on-dark-muted); }
.flow-steps span.on { background: rgba(43, 184, 166, .18); color: #9fe6dc; }
.flow-state { font-size: 0.7rem; font-weight: 600; color: #9fe6dc; display: inline-flex; align-items: center; gap: 6px; }
.flow-state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(43, 184, 166, .18); }
.console-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface); color: var(--ink);
  border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 0.8rem; font-weight: 600; font-family: var(--font-head);
}
.console-chip .icon { width: 20px; height: 20px; color: var(--accent-ink); }
.console-chip--a { left: -4%; top: -24px; }
.console-chip--b { right: -2%; bottom: -26px; }
@media (max-width: 1000px) {
  .hero-visual { min-height: 0; }
  .hero-globe { inset: -20px -30% auto auto; width: 90%; opacity: .5; }
  .console { margin: 40px auto 0; }
  .console-chip--a { left: 0; top: -14px; }
  .console-chip--b { right: 0; }
}
@media (max-width: 520px) {
  .console-chip { display: none; }
  .flow-row { grid-template-columns: 34px 1fr; }
  .flow-state { display: none; }
}

/* Inner page hero */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 2.4rem + 3vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero--navy { background: var(--navy-900); border-bottom: 0; color: var(--on-dark-muted); }
.page-hero--navy h1 { color: #fff; }
.page-hero--navy .lead { color: var(--on-dark-muted); }
.page-hero--navy .breadcrumb, .page-hero--navy .breadcrumb a { color: var(--on-dark-muted); }
.page-hero .lead { max-width: 720px; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 11; background: var(--navy-800); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* 8. Cards & grids -------------------------------------------------------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2vw, 30px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: .45em; }
.card p { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--icon-bg); color: var(--icon-ink);
}
.card-icon .icon { width: 26px; height: 26px; }
.card--hover:hover .card-icon { background: var(--navy-900); color: var(--accent); }
.card-icon, .card-icon .icon { transition: background-color .25s, color .25s; }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(159, 182, 214, .18); color: var(--on-dark-muted); }
.card--dark h3 { color: #fff; }
.card--dark .card-icon { background: rgba(43, 184, 166, .12); color: var(--accent); }

/* Highlight cards */
.highlight { padding: 30px 26px; border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.highlight:nth-child(2) { border-top-color: var(--accent-ink); }
.highlight-value { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: .45rem; }
.highlight-label { font-size: 0.95rem; color: var(--body); margin: 0; }
.highlight-note { font-size: var(--fs-caption); color: var(--muted); margin-top: 12px; display: block; }

/* Numbered feature list (Why AGS) */
.feature { padding: 30px 28px; border-radius: var(--radius); }
.feature-num { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; color: var(--accent-ink); letter-spacing: .1em; display: block; margin-bottom: 18px; }
.section--navy .feature-num { color: var(--accent); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.process::before { content: ''; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: var(--line-strong); }
.process-step { position: relative; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--surface); border: 1.5px solid var(--brand); color: var(--brand); font-family: var(--font-head); font-weight: 800; font-size: 1rem; margin-bottom: 22px;
  transition: background-color .25s, color .25s;
}
.process-step:hover .process-num { background: var(--brand); color: var(--brand-ink); }
.process-step h3 { margin-bottom: .35em; }
.process-step p { font-size: 0.95rem; margin: 0; }
.section--soft .process-num, .section--alt .process-num { background: var(--bg-soft); }
.section--soft .process-step:hover .process-num { background: var(--brand); }
@media (max-width: 960px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; }
  .process-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 28px; }
  .process-num { margin-bottom: 0; }
}

/* Industry cards */
.industry { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.industry .card-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.industry h3 { font-size: 1.08rem; margin-bottom: .3em; }
.industry p { font-size: 0.92rem; color: var(--muted); }

/* Check list */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist .icon { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 2px; }
.section--navy .checklist .icon { color: var(--accent); }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 680px) { .checklist--2 { grid-template-columns: 1fr; } }

/* Mission */
.mission { text-align: center; }
.mission-quote {
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.65rem);
  line-height: 1.25; letter-spacing: -0.02em; max-width: 980px; margin: 0 auto 1.6rem;
}
.mission-quote em { font-style: normal; color: var(--accent); }
.mission-rule { width: 56px; height: 3px; background: var(--accent); border: 0; margin: 0 auto 2rem; border-radius: 3px; }
.mission p.support { max-width: 680px; margin: 0 auto; color: var(--on-dark-muted); font-size: var(--fs-lead); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .founder { grid-template-columns: minmax(0, 1fr); } }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); display: grid; place-items: center; color: var(--on-dark-muted);
  max-width: 480px; width: 100%;
}
.portrait::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(159, 182, 214, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 182, 214, .08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.portrait picture, .portrait > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait img { object-fit: cover; object-position: center 22%; }
.portrait-inner { position: relative; text-align: center; padding: 24px; }
.portrait-initials {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  border: 1.5px solid rgba(43, 184, 166, .6); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 2rem; letter-spacing: .06em;
}
.portrait-tag { z-index: 1; position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 12px; padding: 14px 16px; }
.portrait-tag strong { display: block; font-family: var(--font-head); font-size: 1rem; color: #0b1f3a; }
.portrait-tag span { font-size: 0.84rem; color: #586a83; }
.founder-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.8rem 0 2rem; }
@media (max-width: 560px) { .founder-points { grid-template-columns: 1fr; } }
.founder-point { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.founder-point .icon { width: 22px; height: 22px; color: var(--accent-ink); flex-shrink: 0; margin-top: 2px; }
.founder-point strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 0.95rem; line-height: 1.3; }
.founder-point span { font-size: 0.85rem; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 72px); color: var(--on-dark-muted); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(43, 184, 166, .22), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 760px; }
.cta-band p { max-width: 640px; font-size: var(--fs-lead); }
.cta-band .btn-row { margin-top: 2rem; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
@media (max-width: 860px) { .newsletter { grid-template-columns: minmax(0, 1fr); } }
.newsletter h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
.newsletter p { margin: 0; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .inline-form { flex-direction: column; } }

/* Media figure */
.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--logo { background: #000; aspect-ratio: 1 / 1; max-width: 520px; justify-self: center; width: 100%; }

/* Service overview list (services page) */
.svc-row { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 28px; align-items: start; padding: 34px 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .card-icon { margin: 0; }
.svc-row h2 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: .4em; }
.svc-row h3 { font-size: 0.76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .6em; }
.svc-row p { margin: 0; font-size: 0.95rem; }
@media (max-width: 1080px) { .svc-row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); } .svc-row .svc-cta { grid-column: 2 / -1; } .svc-row .svc-problem { grid-column: 2; } }
@media (max-width: 700px) { .svc-row { grid-template-columns: minmax(0, 1fr); gap: 16px; } .svc-row .svc-cta, .svc-row .svc-problem { grid-column: auto; } }

/* Values */
.value { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.value .icon { width: 28px; height: 28px; color: var(--accent-ink); margin-bottom: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-card:first-of-type { padding-top: 0; }
.contact-card .card-icon { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.placeholder-note { display: inline-block; font-size: var(--fs-caption); background: #fff8e6; color: #7a5300; border: 1px solid #f1dca7; border-radius: 6px; padding: 2px 8px; margin-top: 6px; }

/* Case studies empty state */
.cs-template { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); background: var(--surface); }
.cs-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cs-field { padding: 22px; border-right: 1px solid var(--line); background: var(--bg-soft); }
.cs-field:last-child { border-right: 0; }
.cs-field span { font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; color: var(--accent-ink); letter-spacing: .1em; }
.cs-field h3 { font-size: 1rem; margin: 8px 0 6px; }
.cs-field p { font-size: 0.88rem; margin: 0; color: var(--muted); }
@media (max-width: 960px) { .cs-fields { grid-template-columns: minmax(0, 1fr); } .cs-field { border-right: 0; border-bottom: 1px solid var(--line); } .cs-field:last-child { border-bottom: 0; } }

/* 9. Sections — misc ------------------------------------------------------ */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1080px) { .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stat-strip { grid-template-columns: minmax(0, 1fr); } }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .2s, background-color .2s;
}
a.tag:hover { border-color: var(--ink); }
.tag[aria-current='page'] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* 10. Blog & article ------------------------------------------------------ */
.post-card { display: flex; flex-direction: column; position: relative; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.035); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-family: var(--font-head); font-size: 0.74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; position: relative; z-index: 2; }
.post-card h3 { font-size: 1.2rem; margin: 10px 0 10px; line-height: 1.32; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.post-card p { font-size: 0.94rem; color: var(--muted); margin-bottom: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--muted); margin-top: auto; align-items: center; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.post-read { margin-left: auto; font-family: var(--font-head); font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
.post-read .icon { width: 15px; height: 15px; }

.post-card--feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.post-card--feature .post-media { aspect-ratio: auto; min-height: 100%; }
.post-card--feature .post-body { padding: clamp(28px, 3.5vw, 48px); justify-content: center; }
.post-card--feature h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); letter-spacing: -0.02em; }
.post-card--feature p { font-size: 1.02rem; }
@media (max-width: 860px) { .post-card--feature { grid-template-columns: minmax(0, 1fr); } .post-card--feature .post-media { aspect-ratio: 16 / 9; } }

.post-list-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); position: relative; }
.post-list-item:last-child { border-bottom: 1px solid var(--line); }
.post-list-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--line-strong); line-height: 1; }
.post-list-item h3 { font-size: 1rem; margin: 4px 0 6px; line-height: 1.4; }
.post-list-item h3 a { text-decoration: none; }
.post-list-item h3 a::after { content: ''; position: absolute; inset: 0; }
.post-list-item h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 1080px) { .blog-layout { grid-template-columns: minmax(0, 1fr); } }
.sidebar { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1080px) { .sidebar { position: static; } }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.side-box h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 1rem; }
.side-box--navy { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark-muted); }
.side-box--navy h2 { color: #fff; }

.empty-state { text-align: center; padding: clamp(32px, 5vw, 64px) 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--accent-ink); }

/* Article */
.article-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) 0; }
.article-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); max-width: 920px; letter-spacing: -0.025em; }
.article-intro { font-family: var(--font-serif); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.55; color: var(--body); max-width: 800px; margin-bottom: 1.8rem; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.byline-author { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.byline-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .05em; }
.byline-item { display: inline-flex; align-items: center; gap: 8px; }
.byline-item .icon { width: 17px; height: 17px; }
.article-figure { margin: clamp(2rem, 3vw, 3rem) 0 0; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-800); }
.article-figure figcaption { margin-top: 10px; }

.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 80px); padding-block: clamp(2.5rem, 4vw, 4rem); }
@media (max-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 720px); } }
.toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.toc h2 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.88rem; line-height: 1.4; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent-ink); font-weight: 600; }
.toc-mobile { display: none; }
@media (max-width: 1080px) {
  .toc { display: none; }
  .toc-mobile { display: block; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 2rem; background: var(--bg-soft); }
  .toc-mobile summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary .icon { width: 18px; height: 18px; transition: transform .2s; }
  .toc-mobile[open] summary .icon { transform: rotate(180deg); }
  .toc-mobile ol { margin: 0; padding: 0 20px 16px 40px; }
  .toc-mobile li { padding: 5px 0; }
  .toc-mobile a { color: var(--body); }
}

.prose { font-size: 1.075rem; line-height: 1.78; color: var(--prose); }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem); margin: 2.2em 0 0; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 0; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent-ink);
  font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-style: italic;
}
@media (max-width: 600px) { .prose { font-size: 1.04rem; line-height: 1.75; } .prose blockquote { font-size: 1.15rem; padding-left: 18px; } }

.takeaways { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); margin-bottom: 2.5rem; }
.takeaways h2 { font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 0; display: flex; align-items: center; gap: 10px; }
.takeaways h2 .icon { width: 22px; height: 22px; color: var(--accent-ink); }

.article-service { margin-top: 3rem; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--navy-900); color: var(--on-dark-muted); }
.article-service .card-icon { margin: 0; background: rgba(43, 184, 166, .14); color: var(--accent); }
.article-service h2 { color: #fff; font-size: 1.15rem; margin-bottom: .3em; letter-spacing: 0; }
.article-service p { margin: 0 0 12px; font-size: 0.95rem; }
.article-service .link-arrow { color: var(--accent); }
.article-tags { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* 11. Forms --------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.req { color: #b42318; }
.field .hint { font-size: var(--fs-caption); color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.select { background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:hover, .select:hover, .textarea:hover { border-color: #9aa9bd; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(43, 184, 166, .25); }
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: #b42318; }
.field-error { font-size: 0.82rem; color: #b42318; min-height: 0; }
.field-error:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 10px; font-size: 0.92rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: var(--accent-soft); color: #0a5a51; border: 1px solid #b8e3dc; }
.form-status.is-info { background: #fff8e6; color: #6b4900; border: 1px solid #f1dca7; }
.form-status.is-error { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.on-dark .input { border-color: rgba(159, 182, 214, .35); background: rgba(255, 255, 255, .06); color: #fff; }
.on-dark .input::placeholder { color: var(--on-dark-muted); }

/* 12. Accordion ----------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 4px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, .96rem + .2vw, 1.1rem); color: var(--ink); line-height: 1.4;
}
.acc-trigger:hover { color: var(--accent-ink); }
.acc-icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; position: relative; transition: background-color .2s, border-color .2s; }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; width: 12px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded='true'] .acc-icon { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.acc-trigger[aria-expanded='true'] .acc-icon::after { transform: rotate(0deg); }
.acc-panel { padding: 0 56px 24px 4px; color: var(--body); }
.acc-panel p { margin: 0; }
.acc-panel[hidden] { display: none; }
.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group > h2 { font-size: 1.35rem; margin-bottom: 1rem; }

/* 13. Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: 3.5rem; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand-mark { box-shadow: 0 0 0 1px rgba(159, 182, 214, .25); }
.footer-brand .brand-text span { color: var(--on-dark-muted); }
.footer-brand p { max-width: 340px; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--on-dark-muted); transition: color .2s; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(159, 182, 214, .16); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; }
.footer-contact { display: grid; gap: 8px; margin-top: 18px; font-size: 0.86rem; }
.footer-contact span, .footer-contact a { display: inline-flex; gap: 8px; align-items: center; color: var(--on-dark-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--accent); }

/* 14. Utilities & motion -------------------------------------------------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.legal-note { background: #fff8e6; border: 1px solid #f1dca7; color: #6b4900; padding: 16px 20px; border-radius: 12px; font-size: 0.92rem; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .06s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .12s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .18s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .3s; }
.js .reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

@media print {
  .announce, .site-header, .site-footer, .newsletter, .cta-band, .toc, .toc-mobile { display: none !important; }
  body { color: #000; }
}

@media (max-width: 1360px) {
  .brand-text span { display: none; }
  .nav-link, .nav-toggle { padding-inline: 8px; }
}
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .brand { gap: 10px; min-width: 0; flex-shrink: 1; }
  .brand-text { min-width: 0; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text { font-size: 0.72rem; letter-spacing: 0.05em; }
  .header-cta { gap: 8px; }
  .theme-toggle, .menu-btn { width: 42px; height: 42px; }
}
