/* Argix website styles */
:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;

  --bg: #EDF1F0;
  --surface: #FFFFFF;
  --ink: #10262B;
  --muted: #465F64;
  --line: #C6D2D1;
  --signal: #F2A900;
  --signal-hover: #FFC01F;
  --signal-ink: #10262B;
  --focus: #0F4C57;
  --tick: #0F6E7A;

  --alt-bg: #0F4C57;
  --alt-fg: #EAF3F1;
  --alt-muted: #B7D0CE;
  --alt-line: rgba(234, 243, 241, 0.22);

  --code-bg: #0E2A30;
  --code-fg: #D9E7E4;
  --flag: #F2A900;
  --ok: #4FD1B0;
  --footer-bg: #082A31;

  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0A181C;
    --surface: #11262B;
    --ink: #E4EEEC;
    --muted: #9DB5B5;
    --line: #27414A;
    --focus: #F2A900;
    --tick: #4FD1B0;
    --alt-bg: #143840;
    --alt-muted: #AFC9C7;
    --alt-line: rgba(234, 243, 241, 0.2);
    --code-bg: #071417;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A181C;
  --surface: #11262B;
  --ink: #E4EEEC;
  --muted: #9DB5B5;
  --line: #27414A;
  --focus: #F2A900;
  --tick: #4FD1B0;
  --alt-bg: #143840;
  --alt-muted: #AFC9C7;
  --alt-line: rgba(234, 243, 241, 0.2);
  --code-bg: #071417;
}

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.panel-sec :focus-visible, .cta-band :focus-visible, .code :focus-visible, .site-footer :focus-visible { outline-color: var(--signal); }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--signal); color: var(--signal-ink);
  padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: 6px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--signal); color: var(--signal-ink); }
.btn-primary:hover { background: var(--signal-hover); }
.btn-outline { border-color: currentColor; background: transparent; color: inherit; }
.btn-outline:hover { background: rgba(127, 127, 127, 0.12); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.link:hover { text-decoration-thickness: 3px; }
.more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark { display: block !important; }
}
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
.site-footer .logo-light { display: none !important; }
.site-footer .logo-dark { display: block !important; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .sub-btn {
  padding: 10px 12px; border-radius: 6px; border: 0; background: none; cursor: pointer;
  font: 500 0.98rem/1.2 var(--font-body); color: var(--ink); text-decoration: none;
}
.nav > a:hover, .sub-btn:hover { background: rgba(127, 127, 127, 0.12); }
.sub-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.has-sub { position: relative; }
.sub {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; z-index: 50;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px;
  box-shadow: 0 14px 34px rgba(16, 38, 43, 0.16);
}
.has-sub.open .sub { display: block; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-size: 0.96rem; color: var(--ink); }
.sub a:hover { background: var(--bg); }
.sub a.all { font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; margin-bottom: 4px; }
.nav-cta { display: none; }
.menu-btn {
  display: none; min-height: 42px; padding: 0 14px; background: none; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px; font: 600 0.95rem/1 var(--font-body); cursor: pointer;
}

/* Hero (home) */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { text-wrap: pretty; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.hero .lead { margin-top: 24px; font-size: 1.2rem; line-height: 1.55; max-width: 34em; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.fine { margin-top: 18px; font-size: 0.95rem; color: var(--muted); }

/* Hero services panel */
.hero-panel { background: var(--alt-bg); color: var(--alt-fg); border-radius: 12px; padding: 6px clamp(22px, 3vw, 34px); }
.hp-item { display: block; padding: 24px 0; border-top: 1px solid var(--alt-line); text-decoration: none; color: inherit; }
.hp-item:first-child { border-top: 0; }
.hp-item b { display: inline-block; font: 600 1.5rem/1.1 var(--font-display); letter-spacing: -0.02em; padding-bottom: 8px; border-bottom: 3px solid var(--signal); }
.hp-item span { display: block; margin-top: 12px; color: var(--alt-muted); font-size: 1.02rem; line-height: 1.5; }
.hp-item:hover b { color: #FFFFFF; }
.hp-item:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; border-radius: 6px; }

/* Frameworks strip */
.frameworks { border-block: 1px solid var(--line); }
.frameworks-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding: 22px 0; }
.frameworks-label { color: var(--muted); font-size: 0.95rem; margin-right: 4px; }
.frameworks-row span { font-weight: 600; }

/* Inner page hero */
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 0.95rem; color: var(--tick); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; max-width: 20em; }
.page-hero .lead { margin-top: 20px; font-size: 1.18rem; color: var(--muted); max-width: 42em; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); font-weight: 700; max-width: 20em; }
.section-lead { margin-top: 16px; max-width: 42em; color: var(--muted); font-size: 1.1rem; }
.note { margin-top: 28px; max-width: 50em; padding: 14px 16px; border-left: 3px solid var(--signal); background: var(--surface); color: var(--muted); font-size: 0.97rem; }
.section.alt .note { background: var(--bg); }

.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.row-item { padding: 22px 0; border-top: 1px solid var(--line); }
.row-item h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.row-item p { color: var(--muted); }

/* Home: services duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.panel { padding: clamp(24px, 4vw, 44px); }
.panel-dev { background: var(--surface); }
.panel-sec { background: var(--alt-bg); color: var(--alt-fg); }
.panel h3 { font-size: 1.6rem; font-weight: 700; }
.panel .panel-lead { margin: 8px 0 22px; color: var(--muted); }
.panel-sec .panel-lead { color: var(--alt-muted); }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { padding: 16px 0; border-top: 1px solid var(--line); }
.panel-sec .svc li { border-top-color: var(--alt-line); }
.svc h4 { font-size: 1.08rem; font-weight: 600; margin-bottom: 3px; letter-spacing: -0.01em; }
.svc h4 a { text-decoration: none; }
.svc h4 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc p { color: var(--muted); font-size: 0.98rem; }
.panel-sec .svc p { color: var(--alt-muted); }

/* Industries rows */
.inds { margin-top: 36px; }
.ind { display: grid; grid-template-columns: minmax(200px, 4fr) minmax(0, 8fr); gap: 16px 48px; padding: 28px 0; border-top: 1px solid var(--line); }
.ind:last-child { border-bottom: 1px solid var(--line); }
.ind h3 { font-size: 1.5rem; font-weight: 700; }
.ind p { color: var(--muted); max-width: 40em; }
.ind .chips { margin-top: 14px; }

/* Steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.step { border-top: 3px solid var(--ink); padding-top: 16px; }
.step-n { display: block; font: 600 0.9rem/1 var(--font-body); color: var(--muted); margin-bottom: 8px; }
.step h3 { font-size: 1.3rem; font-weight: 700; }
.task { font-size: 0.96rem; line-height: 1.5; margin-top: 14px; color: var(--muted); }
.task strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.task-sec { border-left: 3px solid var(--signal); padding-left: 12px; }

/* Split panes and lists */
.split2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: 40px; }
.pane { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.section.alt .pane { background: var(--bg); }
.pane h3 { font-size: 1.35rem; font-weight: 700; }
.pane > p { margin-top: 8px; color: var(--muted); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 13px; height: 7px; border-left: 3px solid var(--tick); border-bottom: 3px solid var(--tick); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-weight: 500; font-size: 0.92rem; }
.section.alt .chip { background: var(--bg); }
.ind .chips { margin-top: 14px; }

/* Certifications */
.cred-group { margin-top: 40px; }
.cred-group h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }
.creds { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cred { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.section.alt .cred { background: var(--bg); }
.cred .logo { flex: none; width: 64px; height: 64px; border-radius: 10px; display: block; }
.cred .mono { flex: none; width: 64px; height: 64px; border-radius: 10px; background: #0C1A33; color: var(--alt-fg); display: grid; place-items: center; text-align: center; padding: 4px; font: 600 0.74rem/1.15 var(--font-display); overflow-wrap: normal; }
.cred .mono.sm { font-size: 0.62rem; }
.cred b { display: block; font: 600 1.02rem/1.25 var(--font-display); letter-spacing: -0.01em; }
.cred span { display: block; font-size: 0.88rem; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.cred small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 3px; opacity: 0.85; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 36px; }
.client { aspect-ratio: 2 / 1; border-radius: 10px; background: #0C1A33; color: #EAF3F1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.client img { width: 100%; height: 100%; object-fit: cover; display: block; }
.client span { padding: 12px 16px; text-align: center; font: 600 1.15rem/1.3 var(--font-display); letter-spacing: -0.01em; }

/* FAQ */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 1.12rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 500; line-height: 1; transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 42em; }

/* CTA band */
.cta-band { background: var(--alt-bg); color: var(--alt-fg); padding: clamp(56px, 8vw, 96px) 0; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; max-width: 18em; }
.cta-band p.lead { margin-top: 16px; color: var(--alt-muted); font-size: 1.1rem; max-width: 40em; }
.cta-band .cta-row { margin-top: 28px; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--alt-line); color: var(--alt-muted); font-size: 0.98rem; }
.contact-lines a { color: var(--alt-fg); font-weight: 500; }
.copy-btn { margin-left: 8px; padding: 3px 9px; border: 1px solid var(--alt-line); border-radius: 5px; background: none; color: var(--alt-fg); font: 500 0.82rem/1.3 var(--font-body); cursor: pointer; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* Contact page and forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.detail-list { list-style: none; margin: 24px 0 0; padding: 0; }
.detail-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list b { display: block; font-weight: 600; }
.detail-list span, .detail-list a { color: var(--muted); }
.next-steps { margin: 28px 0 0; padding-left: 20px; color: var(--muted); }
.next-steps li { padding: 4px 0; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.status { color: var(--muted); font-size: 0.95rem; max-width: 32em; }

/* Prose (privacy) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose a { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #DCEBE8; padding: 60px 0 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.site-footer img { height: 38px; width: auto; }
.foot-about { margin-top: 18px; color: #B7D0CE; font-size: 0.97rem; max-width: 26em; }
.site-footer h3 { font: 600 0.95rem/1.2 var(--font-display); letter-spacing: 0; margin-bottom: 14px; color: #FFFFFF; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #B7D0CE; text-decoration: none; font-size: 0.96rem; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.foot-base { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(234, 243, 241, 0.16); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 0.88rem; color: #8FB0AD; }

/* Responsive */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav.open { display: flex; max-height: calc(100vh - 96px); overflow-y: auto; }
  .has-sub { display: block; }
  .sub-btn { width: 100%; }
  .nav > a, .sub-btn { padding: 13px 4px; border-top: 1px solid var(--line); border-radius: 0; text-align: left; }
  .sub-btn { pointer-events: none; font-weight: 600; }
  .sub-btn::after { display: none; }
  .sub { display: block; position: static; min-width: 0; border: 0; box-shadow: none; background: none; padding: 0 0 6px 12px; }
  .sub a { padding: 8px 4px; }
  .sub a.all { border-bottom: 0; margin-bottom: 0; font-weight: 500; }
}
@media (max-width: 960px) {
  .hero-grid, .duo, .split, .split2, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .ind { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .btn-header { display: none; }
  .nav > a.nav-cta { display: inline-flex; justify-content: center; align-items: center; margin-top: 14px; padding: 0 24px; min-height: 50px; border-top: 0; border-radius: 6px; background: var(--signal); color: var(--signal-ink); font-weight: 600; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Certification badge wall (home) */
.badge-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 22px 14px; margin-top: 36px; }
.badge-wall figure { margin: 0; text-align: center; }
.badge-wall .logo, .badge-wall .mono { width: 76px; height: 76px; border-radius: 12px; margin: 0 auto; display: grid; place-items: center; }
.badge-wall .mono { background: #0C1A33; color: var(--alt-fg); font: 600 0.8rem/1.15 var(--font-display); text-align: center; }
.badge-wall figcaption { margin-top: 8px; font-weight: 600; font-size: 0.85rem; line-height: 1.25; }

/* Social icons */
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(234, 243, 241, 0.28); border-radius: 50%; color: #DCEBE8; }
.social a:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }


/* ================= Final update ================= */
.section-tight { padding: 0 0 clamp(40px, 6vw, 72px); }
.after-cards { margin-top: 26px; }
.prose-list { max-width: 46em; }
.next-title { margin-top: 32px; font-size: 1.15rem; }

/* Two-column Services menu */
.sub.sub-wide { min-width: 560px; left: 50%; transform: translateX(-50%); }
.sub-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.sub .grp { margin: 10px 12px 4px; font: 600 0.76rem/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Inner page header with a diagram or standards panel */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-aside { min-width: 0; }
.diagram { margin: 0; padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.dg-title { margin: 0 0 12px; font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.diagram svg { display: block; width: 100%; height: auto; max-height: 360px; }
.dg-box { fill: var(--surface); stroke: var(--tick); stroke-width: 1.5; }
.dg-key { fill: var(--surface); stroke: var(--signal); stroke-width: 2.2; }
.dg-num { fill: var(--signal); }
.dg-numt { fill: #10262B; font: 700 11px var(--font-body); }
.dg-t { fill: var(--ink); font: 600 13px var(--font-body); }
.dg-muted { fill: var(--muted); font: 500 11px var(--font-body); }
.dg-line { stroke: var(--signal); stroke-width: 2; fill: none; }
.dg-arrow { fill: var(--signal); }
.dg-lock { fill: none; stroke: var(--tick); stroke-width: 1.6; stroke-linecap: round; }
.std-panel { background: var(--alt-bg); color: var(--alt-fg); border-radius: 12px; padding: 24px; }
.std-panel .dg-title { color: var(--alt-muted); }
.std-panel .chips { margin-top: 0; }
.std-panel .chip { background: rgba(255, 255, 255, 0.07); border-color: var(--alt-line); color: var(--alt-fg); }

/* Service and industry cards (whole card is clickable) */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-top: 36px; }
.svc-cards.compact { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color 0.15s; }
.section.alt .svc-card { background: var(--bg); }
.svc-card:hover { border-color: var(--tick); }
.svc-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.svc-card h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.svc-card p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }
.svc-card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.svc-card li { position: relative; padding: 4px 0 4px 24px; font-size: 0.95rem; }
.svc-card li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 11px; height: 6px; border-left: 2.5px solid var(--tick); border-bottom: 2.5px solid var(--tick); transform: rotate(-45deg); }
.card-link { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 0.96rem; text-decoration: underline; text-underline-offset: 4px; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.card-link:focus-visible { outline: none; }
.card-title-link { text-decoration: none; }
.card-title-link::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.card-title-link:focus-visible { outline: none; }
.svc-card:hover .card-title-link { text-decoration: underline; text-underline-offset: 4px; }
.svc-cards.compact .svc-card { padding: 20px; }
.card-arrow { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--tick); }

/* Numbers strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 32px; }
.stat { padding-top: 16px; border-top: 3px solid var(--signal); }
.stat b { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--font-display); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* Client logo tiles */
.client { background: #FFFFFF; border: 1px solid var(--line); }
.client img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* About: offices */
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.office { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.office b { display: block; font: 600 1.2rem/1.2 var(--font-display); }
.office span { display: block; margin-top: 6px; color: var(--muted); }

/* Footer */
.foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
.foot-offices { margin-top: 12px; color: #B7D0CE; font-size: 0.92rem; }
.foot-gap { margin-top: 22px; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: #0E7A3F; color: #FFFFFF; font: 600 0.98rem/1 var(--font-body); text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }
.wa-float:hover { background: #0B6433; }
.wa-float:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* Contact form spam trap */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1020px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sub.sub-wide { min-width: 0; transform: none; }
  .sub-cols { grid-template-columns: 1fr; }
  .sub .grp { margin: 8px 4px 2px; }
}
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-aside { max-width: 480px; }
}
@media (max-width: 700px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .wa-float { right: 12px; min-height: 46px; padding: 0 16px 0 12px; }
}

body.menu-open .wa-float { display: none; }
