/* barbualin.com brand layer. Source: C:\work\barbualin.com\site (managed by Claude). */

@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/wp-content/uploads/fonts/plex-mono/plexmono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/wp-content/uploads/fonts/plex-mono/plexmono-400-latinext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/wp-content/uploads/fonts/plex-mono/plexmono-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/wp-content/uploads/fonts/plex-mono/plexmono-500-latinext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ba-navy: #1B3A5E;
  --ba-navy-2: #13294A;
  --ba-steel: #4A6F94;
  --ba-orange: #E07A2B;
  --ba-ink: #1A1F26;
  --ba-grey: #5E6773;
  --ba-mist: #C9D5E3;
  --ba-tint: #F4F6F9;
  --ba-line: #D3DAE2;
  --ba-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ba-radius: 4px;
  --ba-wrap: 1200px;
}

/* ---------- Global polish ---------- */
h1, h2, h3, h4 { letter-spacing: -0.01em; }
/* text-wrap only inside brand sections, never in forms (SureForms + global text-wrap froze Chrome on /contact/) */
:is(.ba-section, .ba-hero) :is(h1, h2, h3) { text-wrap: balance; }
:is(.ba-section, .ba-hero) p:not(form p) { text-wrap: pretty; }
:where(a, button, input, textarea, select, .wp-block-button__link):focus-visible {
  outline: 2px solid var(--ba-orange); outline-offset: 3px;
}
.ba-mono { font-family: var(--ba-mono); font-feature-settings: "tnum"; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Shared section frame ---------- */
.entry-content .ba-section.ba-section { padding: 96px 24px; background: #fff; }
.entry-content .ba-section.is-tint { background: var(--ba-tint); }
.entry-content .ba-section.is-navy { background: var(--ba-navy); }
.ba-section > * { max-width: var(--ba-wrap); margin-left: auto !important; margin-right: auto !important; }
.ba-section.is-tint { background: var(--ba-tint); }
.ba-section.is-navy { background: var(--ba-navy); color: #fff; }
.ba-section h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: var(--ba-navy); margin: 0 0 16px; }
.ba-section.is-navy h2, .ba-section.is-navy h3 { color: #fff; }
.ba-section p { color: var(--ba-ink); max-width: 62ch; }
.ba-section.is-navy p { color: var(--ba-mist); }
/* the brand marker: a short orange rule above section headings (used sparingly) */
.ba-marker::before { content: ""; display: block; width: 32px; height: 3px; background: var(--ba-orange); margin-bottom: 20px; }

/* direct-child text in a section: keep reading width but align to the content edge, not the centre */
.ba-section > p, .ba-hero-compact > p {
  max-width: min(62ch, var(--ba-wrap)) !important;
  margin-left: max(0px, calc((100% - var(--ba-wrap)) / 2)) !important;
}

/* ---------- Buttons ---------- */
.ba-btns { gap: 12px; margin-top: 32px; }
.ba-btns .wp-block-button__link {
  border-radius: var(--ba-radius); font-weight: 500; font-size: 16px; padding: 14px 22px; line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
  white-space: nowrap;
}
.ba-btns .wp-block-button__link:active { transform: translateY(1px); }
.ba-btn-light .wp-block-button__link { background: #fff; color: var(--ba-navy); border: 1px solid #fff; }
.ba-btn-light .wp-block-button__link:hover { background: var(--ba-mist); border-color: var(--ba-mist); color: var(--ba-navy-2); }
.ba-btn-ghost .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.ba-btn-ghost .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ba-btn-navy .wp-block-button__link { background: var(--ba-navy); color: #fff; border: 1px solid var(--ba-navy); }
.ba-btn-navy .wp-block-button__link:hover { background: var(--ba-navy-2); }
.ba-link { font-weight: 500; color: var(--ba-navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ba-orange); }
.ba-link:hover { color: var(--ba-steel); }

/* ---------- Hero ---------- */
.entry-content .ba-hero.ba-hero { background: var(--ba-navy); padding: 176px 24px 96px; }
.ba-hero .wp-block-columns { max-width: var(--ba-wrap); margin: 0 auto; gap: 64px; align-items: center; }
.ba-hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.08; margin: 0 0 20px; }
.ba-hero p { color: var(--ba-mist); font-size: 19px; line-height: 1.55; max-width: 44ch; margin: 0; }
.ba-hero figure { margin: 0; }
.ba-hero figure img { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: 60% 50%; border-radius: var(--ba-radius); display: block; }

/* ---------- Credentials strip ---------- */
.ba-creds { background: #fff; border-bottom: 1px solid var(--ba-line); padding: 0 24px; }
.ba-creds ul { list-style: none; margin: 0 auto !important; padding: 0; max-width: var(--ba-wrap);
  display: grid; grid-template-columns: repeat(5, 1fr); }
.ba-creds li { padding: 28px 20px 26px; border-left: 1px solid var(--ba-line); margin: 0; }
.ba-creds li:first-child { border-left: 0; padding-left: 0; }
.ba-creds strong { display: block; font-family: var(--ba-mono); font-weight: 500; color: var(--ba-navy); font-size: 15px; letter-spacing: .01em; }
.ba-creds span { display: block; color: #4F5864; font-size: 14px; line-height: 1.4; margin-top: 4px; }

/* ---------- Services ---------- */
.ba-services .wp-block-columns { gap: 64px; }
.ba-svc { border-top: 1px solid var(--ba-line); padding: 28px 0; }
.ba-svc:last-child { border-bottom: 1px solid var(--ba-line); }
.ba-svc h3 { font-size: 22px; color: var(--ba-navy); margin: 0 0 8px; }
.ba-svc p { margin: 0 0 10px; }
.ba-svc .ba-std { font-family: var(--ba-mono); font-size: 13.5px; color: var(--ba-steel); margin: 0; }
.ba-svc figure { margin: 0; }
.ba-svc figure img { border-radius: var(--ba-radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ba-sticky { position: sticky; top: 32px; }

/* ---------- Clients ---------- */
.entry-content .ba-clients.ba-clients { padding: 56px 24px; }
.ba-clients p { max-width: var(--ba-wrap) !important; }
.ba-clients p.ba-clients-label { font-size: 15px; color: #4F5864; margin-top: 0 !important; margin-bottom: 14px !important; }
.ba-clients p.ba-clients-names { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--ba-navy); letter-spacing: -0.01em; margin-top: 0 !important; margin-bottom: 0 !important; }

/* client logos: navy monochrome, optically balanced heights */
.ba-logos { list-style: none; margin: 0 auto !important; padding: 0; max-width: var(--ba-wrap); display: flex; flex-wrap: wrap; align-items: center; gap: 28px 64px; }
.ba-logos li { margin: 0; line-height: 0; }
.ba-logos img { width: auto; display: block; }
.ba-logos .is-aramco img { height: 40px; }
.ba-logos .is-adnoc img { height: 58px; }
.ba-logos .is-petrobras img { height: 28px; }
.ba-logos .is-linde img { height: 44px; }
@media (max-width: 781px) {
  .ba-logos { gap: 24px 40px; }
  .ba-logos .is-aramco img { height: 32px; } .ba-logos .is-adnoc img { height: 46px; }
  .ba-logos .is-petrobras img { height: 22px; } .ba-logos .is-linde img { height: 36px; }
}

/* ---------- About ---------- */
.ba-about .wp-block-columns { gap: 64px; align-items: center; }
.ba-about figure { margin: 0; }
.ba-about figure img { border-radius: var(--ba-radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; max-height: 560px; }
.ba-timeline { list-style: none; padding: 0; margin: 24px 0 28px; }
.ba-timeline li { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--ba-line); margin: 0; }
.ba-timeline li:last-child { border-bottom: 1px solid var(--ba-line); }
.ba-timeline .ba-mono { color: var(--ba-steel); font-size: 14px; padding-top: 2px; }

/* ---------- Contact band ---------- */
.ba-contact .wp-block-columns { align-items: center; gap: 48px; }
.ba-contact .ba-btns { margin-top: 0; justify-content: flex-end; }
.ba-contact .ba-email { margin-top: 14px; font-size: 15px; text-align: right; max-width: none; }
.ba-contact .ba-email a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ba-orange); }

/* ---------- Services page ---------- */
.entry-content .ba-hero.ba-hero-compact { padding-bottom: 72px; }
.ba-hero-compact > * { max-width: var(--ba-wrap); margin-left: auto !important; margin-right: auto !important; }
.ba-svc-block .wp-block-columns { gap: 64px; align-items: center; }
.ba-svc-block figure { margin: 0; }
.ba-svc-block figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ba-radius); max-height: 600px; }
.ba-section .ba-std { font-family: var(--ba-mono); font-size: 13.5px; color: var(--ba-steel); margin-top: 20px; }
.ba-checks { list-style: none; padding: 0; margin: 20px 0 0; }
.ba-checks li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--ba-line); margin: 0; color: var(--ba-ink); }
.ba-checks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; background: var(--ba-orange); }
.ba-tpi .wp-block-columns { gap: 0 48px; margin-top: 8px; }
.ba-wide-img { margin: 32px auto 8px !important; }
.ba-wide-img figure { margin: 0; }
.ba-wide-img figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--ba-radius); }
.ba-proof { list-style: none; padding: 0; margin: 32px auto 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ba-proof li { margin: 0; }
.ba-proof img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--ba-radius); display: block; }
.ba-proof span { display: block; font-size: 14px; color: #4F5864; margin-top: 10px; }
.ba-training h2 { margin-bottom: 0; }
.ba-certs { list-style: none; padding: 0; margin: 32px auto 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.ba-certs li { margin: 0; padding: 22px 0; border-top: 1px solid var(--ba-line); }
.ba-certs strong { display: block; font-family: var(--ba-mono); font-weight: 500; color: var(--ba-navy); font-size: 16px; }
.ba-certs span { display: block; color: var(--ba-ink); font-size: 15px; line-height: 1.45; margin-top: 6px; }
.ba-certs em { display: block; font-style: normal; color: #4F5864; font-size: 14px; margin-top: 6px; }
@media (max-width: 1024px) { .ba-certs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ba-certs { grid-template-columns: 1fr; } }
@media (max-width: 781px) {
  .ba-svc-block .wp-block-columns { gap: 32px; }
  .ba-svc-block figure img { aspect-ratio: 4 / 3; }
  .ba-wide-img figure img { aspect-ratio: 3 / 2; }
  .ba-proof { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ba-tpi .wp-block-columns .wp-block-column + .wp-block-column .ba-checks { margin-top: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ba-creds ul { grid-template-columns: repeat(3, 1fr); }
  .ba-creds li:nth-child(4) { border-left: 0; padding-left: 0; }
  .ba-creds li { border-top: 1px solid var(--ba-line); }
  .ba-creds li:nth-child(-n+3) { border-top: 0; }
}
@media (max-width: 781px) {
  .entry-content .ba-section.ba-section { padding: 64px 20px; }
  .entry-content .ba-hero.ba-hero { padding: 132px 20px 64px; }
  .ba-hero .wp-block-columns { gap: 40px; }
  .ba-hero figure img { aspect-ratio: 4 / 3; }
  .ba-creds { padding: 0 20px; }
  .ba-creds ul { grid-template-columns: 1fr 1fr; padding: 20px 0 8px; }
  .ba-creds li, .ba-creds li:first-child, .ba-creds li:nth-child(4), .ba-creds li:nth-child(-n+3) { padding: 0 12px 16px 0; border: 0; }
  .ba-sticky { position: static; }
  .ba-timeline li { grid-template-columns: 1fr; gap: 2px; }
  .ba-contact .ba-btns { justify-content: flex-start; }
  .ba-contact .ba-email { text-align: left; }
  .ba-btns .wp-block-button { width: 100%; }
  .ba-btns .wp-block-button__link { width: 100%; text-align: center; }
}

/* ---------- Services page: certifications, duo, process ---------- */
.ba-certs { list-style: none; padding: 0; margin: 32px auto 0 !important; max-width: var(--ba-wrap); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.ba-certs li { margin: 0; padding: 22px 0; border-top: 1px solid var(--ba-line); }
.ba-certs strong { display: block; font-family: var(--ba-mono); font-weight: 500; color: var(--ba-navy); font-size: 16px; }
.ba-certs span { display: block; color: var(--ba-ink); font-size: 15px; line-height: 1.45; margin-top: 6px; }
.ba-certs em { display: block; font-style: normal; color: #4F5864; font-size: 14px; margin-top: 6px; }
.ba-duo-wrap .wp-block-columns { gap: 32px; align-items: stretch; }
.ba-duo { background: #fff; border: 1px solid var(--ba-line); border-top: 3px solid var(--ba-navy); padding: 32px 32px 28px; border-radius: 0 0 var(--ba-radius) var(--ba-radius); }
.ba-duo h3 { font-size: 24px; color: var(--ba-navy); margin: 0 0 10px; }
.ba-process { list-style: none; padding: 0; margin: 36px auto 0 !important; max-width: var(--ba-wrap); display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: none; }
.ba-process li { margin: 0; padding: 22px 20px 0 0; border-top: 2px solid var(--ba-line); position: relative; }
.ba-process li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--ba-orange); }
.ba-process strong { display: block; color: var(--ba-navy); font-size: 17px; margin-bottom: 6px; }
.ba-process span { display: block; color: var(--ba-ink); font-size: 15px; line-height: 1.45; }
@media (max-width: 1024px) {
  .ba-certs { grid-template-columns: 1fr 1fr; }
  .ba-process { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
}
@media (max-width: 600px) {
  .ba-certs { grid-template-columns: 1fr; }
  .ba-process { grid-template-columns: 1fr; row-gap: 0; }
  .ba-process li { border-top: 0; border-left: 2px solid var(--ba-line); padding: 0 0 22px 22px; }
  .ba-process li::before { top: 4px; left: -6px; }
  .ba-duo { padding: 24px 20px; }
}

/* ---------- Header: text wordmark + phone ---------- */
.ba-wordmark { display: inline-flex; flex-direction: column; text-decoration: none !important; line-height: 1; padding: 4px 0; }
.ba-wm-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
.ba-wm-name::before { content: ""; width: 10px; height: 10px; background: var(--ba-orange); flex: none; }
.ba-wm-sub { font-family: var(--ba-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .05em; color: var(--ba-mist); margin-top: 7px; padding-left: 20px; white-space: nowrap; }
.ba-wordmark:hover .ba-wm-name { color: var(--ba-mist); }
.ba-header-phone { color: #fff !important; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ba-header-phone:hover { color: var(--ba-mist) !important; }
@media (max-width: 921px) {
  .ba-wm-name { font-size: 19px; }
  .ba-wm-sub { font-size: 10.5px; }
}

/* ---------- About page ---------- */
.ba-jobs { list-style: none; padding: 0; margin: 32px auto 0 !important; max-width: var(--ba-wrap); }
.ba-jobs > li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--ba-line); margin: 0; }
.ba-jobs > li:last-child { border-bottom: 1px solid var(--ba-line); }
.ba-jobs .ba-mono { color: var(--ba-steel); font-size: 14px; padding-top: 4px; }
.ba-jobs h3 { font-size: 22px; color: var(--ba-navy); margin: 0; }
.ba-jobs .ba-org { color: #4F5864; margin: 4px 0 12px; font-size: 15px; }
.ba-jobs ul { margin: 0; padding-left: 18px; }
.ba-jobs ul li { margin: 0 0 6px; color: var(--ba-ink); }
.ba-jobs ul li::marker { color: var(--ba-orange); }
.ba-about-certs .wp-block-columns { gap: 56px; align-items: flex-start; }
.ba-about-certs .ba-certs { grid-template-columns: 1fr 1fr; }
.ba-cert-img figure { margin: 0; }
.ba-cert-img img { width: 100%; border: 1px solid var(--ba-line); border-radius: var(--ba-radius); box-shadow: 0 12px 32px -18px rgba(27, 58, 94, .45); }
.ba-motto-wrap { text-align: left; }
.ba-section p.ba-motto { font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--ba-navy); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 12px !important; }
.ba-section p.ba-motto-sub { color: #4F5864; }
.ba-facts { display: grid; grid-template-columns: 200px 1fr; margin: 0; }
.ba-facts dt, .ba-facts dd { padding: 14px 0; border-top: 1px solid var(--ba-line); margin: 0; }
.ba-facts dt { color: #4F5864; font-size: 15px; }
.ba-facts dd { color: var(--ba-ink); }

/* ---------- Contact page ---------- */
.ba-channels { list-style: none; padding: 0; margin: 0 auto !important; max-width: var(--ba-wrap); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-channels li { margin: 0; padding: 28px 28px 26px; border: 1px solid var(--ba-line); border-top: 3px solid var(--ba-navy); border-radius: 0 0 var(--ba-radius) var(--ba-radius); background: #fff; }
.ba-ch-label { display: block; font-family: var(--ba-mono); font-size: 13px; letter-spacing: .05em; color: var(--ba-steel); text-transform: uppercase; }
.ba-channels a { display: block; font-size: 21px; font-weight: 600; color: var(--ba-navy); margin: 10px 0 8px; text-decoration: none; overflow-wrap: anywhere; }
.ba-channels a[href^="mailto:"] { font-size: 16.5px; letter-spacing: -0.01em; }
.ba-channels a:hover { color: var(--ba-steel); text-decoration: underline; text-decoration-color: var(--ba-orange); text-underline-offset: 4px; }
.ba-ch-note { display: block; color: #4F5864; font-size: 15px; }
.ba-section p.ba-based { margin-top: 28px !important; color: #4F5864; }
.ba-form-wrap .wp-block-columns { gap: 56px; align-items: flex-start; }
.ba-form { background: #fff; border: 1px solid var(--ba-line); border-radius: var(--ba-radius); padding: 32px; }

@media (max-width: 781px) {
  .ba-jobs > li { grid-template-columns: 1fr; gap: 6px; }
  .ba-about-certs .ba-certs { grid-template-columns: 1fr; }
  .ba-cert-img { max-width: 360px; }
  .ba-facts { grid-template-columns: 1fr; }
  .ba-facts dd { border-top: 0; padding-top: 0; }
  .ba-channels { grid-template-columns: 1fr; }
  .ba-form { padding: 20px; }
}

/* ---------- Home: bento gallery (12 cells, 4 x 3) ---------- */
.ba-bento { list-style: none; padding: 0; margin: 32px auto 28px !important; max-width: var(--ba-wrap);
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
.ba-bento li { position: relative; margin: 0; overflow: hidden; border-radius: var(--ba-radius); background: var(--ba-navy); }
.ba-bento li.is-wide { grid-column: span 2; }
.ba-bento li.is-tall { grid-row: span 2; }
.ba-bento img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ba-bento li:hover img { transform: scale(1.03); }
.ba-bento span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; font-weight: 500; color: #fff;
  background: linear-gradient(to top, rgba(19, 41, 74, .85), rgba(19, 41, 74, 0)); }
@media (prefers-reduced-motion: reduce) { .ba-bento img { transition: none; } .ba-bento li:hover img { transform: none; } }
@media (max-width: 1024px) { .ba-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 600px) { .ba-bento { grid-auto-rows: 150px; gap: 10px; } .ba-bento li.is-wide { grid-column: span 2; } }

/* ---------- Mobile menu panel (light background): phone becomes a navy button ---------- */
:is(.ast-mobile-header-content, .ast-mobile-popup-content, .ast-mobile-popup-drawer) .ba-header-phone {
  display: block; margin: 8px 0 4px; padding: 14px 18px; text-align: center;
  background: var(--ba-navy); color: #fff !important; border-radius: var(--ba-radius); font-weight: 600;
}
:is(.ast-mobile-header-content, .ast-mobile-popup-content, .ast-mobile-popup-drawer) .ba-header-phone::before { content: "Call "; font-weight: 500; }
:is(.ast-mobile-header-content, .ast-mobile-popup-content, .ast-mobile-popup-drawer) .ba-header-phone:hover { background: var(--ba-navy-2); color: #fff !important; }
.ast-mobile-header-content .main-header-menu .menu-item > .menu-link { border-bottom: 1px solid var(--ba-line); }
.ast-mobile-header-content .main-header-menu .menu-item.current-menu-item > .menu-link { color: var(--ba-navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--ba-orange); }

/* ---------- Legal pages ---------- */
.ba-legal h2 { font-size: 22px !important; max-width: var(--ba-wrap); margin: 40px auto 10px !important; }
.ba-legal h2:first-child { margin-top: 0 !important; }
.ba-legal p { margin-bottom: 12px; }
.ba-legal a { color: var(--ba-navy); text-decoration: underline; text-decoration-color: var(--ba-orange); text-underline-offset: 3px; }
.ba-form-note { font-size: 14px; color: #4F5864; margin-top: 16px !important; }
.ba-form-note a { color: var(--ba-navy); }

/* ---------- Service detail pages ---------- */
.ba-process.is-5 { grid-template-columns: repeat(5, 1fr); }
.ba-groups .wp-block-columns { gap: 40px; }
.ba-groups h3 { font-size: 20px; color: var(--ba-navy); margin: 0 0 4px; }
.ba-certs.is-compact { grid-template-columns: repeat(3, 1fr); }
.entry-content .ba-related-wrap.ba-section { padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--ba-line); }
.ba-section p.ba-related { color: #4F5864; max-width: none !important; margin-bottom: 0 !important; }
@media (max-width: 1024px) { .ba-process.is-5 { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } .ba-certs.is-compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ba-process.is-5 { grid-template-columns: 1fr; row-gap: 0; } .ba-certs.is-compact { grid-template-columns: 1fr; } }

/* Selected projects (Services page) */
.ba-projects { list-style: none; padding: 0; margin: 32px auto 0 !important; max-width: var(--ba-wrap); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ba-projects > li { background: #fff; border: 1px solid var(--ba-line); border-top: 3px solid var(--ba-navy); border-radius: var(--ba-radius); padding: 20px 22px 18px; margin: 0; }
.ba-projects .ba-mono { color: var(--ba-orange); font-size: 13px; letter-spacing: .04em; }
.ba-projects h3 { font-size: 19px; line-height: 1.3; color: var(--ba-navy); margin: 6px 0 4px; }
.ba-section .ba-projects p { margin: 0; color: #4F5864; font-size: 15px; line-height: 1.5; }
.ba-section .ba-projects p.ba-proj-scope { color: var(--ba-ink); font-weight: 600; margin-bottom: 8px; }

/* Guide page: table + FAQ */
.ba-table-wrap { overflow-x: auto; margin: 24px 0 0; max-width: var(--ba-wrap); }
.ba-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.ba-table th { text-align: left; font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ba-steel); padding: 12px 14px; border-bottom: 2px solid var(--ba-navy); }
.ba-table td { padding: 14px; border-bottom: 1px solid var(--ba-line); vertical-align: top; color: var(--ba-ink); }
.ba-table td:first-child { font-weight: 600; color: var(--ba-navy); white-space: nowrap; }
.ba-faq { max-width: var(--ba-wrap); margin-top: 24px; }
.ba-faq details { border-top: 1px solid var(--ba-line); padding: 18px 0; }
.ba-faq details:last-child { border-bottom: 1px solid var(--ba-line); }
.ba-faq summary { cursor: pointer; font-weight: 600; color: var(--ba-navy); font-size: 18px; list-style: none; position: relative; padding-right: 32px; }
.ba-faq summary::-webkit-details-marker { display: none; }
.ba-faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; color: var(--ba-orange); font-size: 24px; font-weight: 400; }
.ba-faq details[open] summary::after { content: "\2212"; }
.ba-section .ba-faq details p { margin: 12px 0 0; color: #4F5864; }
@media (max-width: 640px) {
  .ba-table { min-width: 0; }
  .ba-table thead { display: none; }
  .ba-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--ba-line); }
  .ba-table td { display: block; border: 0; padding: 3px 0; }
  .ba-table td:first-child { white-space: normal; font-size: 18px; padding-bottom: 6px; }
  .ba-table td[data-label]::before { content: attr(data-label); display: block; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ba-steel); margin-top: 6px; }
}
