/* Organic main site - mega nav + article layout (SOP-compliant chrome) */
:root {
  --topbar: 34px;
}

.hero-home {
  --hero-image: url("/assets/hero-advisor.jpg");
  --hero-position: center 35%;
}
.hero-page {
  --hero-image: url("/assets/hero-wealth.jpg");
  --hero-position: center 40%;
  padding: 36px 0 32px;
}
.hero-page .hero-grid {
  grid-template-columns: 1fr;
  max-width: 48rem;
}
.hero-page .hero-intro h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}
.crumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.crumb a:hover { color: #fff; }
.crumb a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.crumb-sep { opacity: 0.5; }

/* Top info bar + header / mega nav */
.site-topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 550;
  position: sticky;
  top: 0;
  z-index: 32;
}
.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: var(--topbar);
  padding: 7px 0;
}
.topbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-width: 0;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.topbar-item svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.9;
}
.topbar-item:hover { color: #fff; }
.topbar-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.topbar-lang {
  flex: none;
  margin-left: auto;
  color: var(--mark);
  font-weight: 650;
}

.site-header {
  overflow: visible;
  position: sticky;
  top: var(--topbar);
  z-index: 31;
}
.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-cta-row {
  display: none;
  position: sticky;
  top: calc(var(--topbar) + var(--header));
  z-index: 29;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  gap: 6px;
}
.mobile-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}
.mobile-cta-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.mobile-cta-call {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.mobile-cta-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.mobile-cta-row a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 6px;
}
.nav-item { position: relative; }
.nav-trigger,
.site-nav > a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-trigger:hover,
.nav-item.is-open > .nav-trigger,
.site-nav > a.nav-link:hover {
  background: var(--mint);
  color: var(--navy);
}
.nav-trigger:focus-visible,
.site-nav > a.nav-link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.18s ease;
}
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

.nav-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, calc(100vw - 48px));
  padding: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(10, 31, 58, 0.14);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}
.nav-item.is-open > .nav-mega,
.nav-item:hover > .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (min-width: 981px) {
  .nav-mega {
    position: fixed;
    top: var(--header);
    left: 50%;
    right: auto;
    max-height: calc(100vh - var(--header) - 16px);
    overflow-y: auto;
  }
  .nav-mega-areas { width: min(720px, calc(100vw - 48px)); }
  .nav-mega-blog { width: min(560px, calc(100vw - 48px)); }
}
.nav-mega-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nav-mega-kicker {
  margin: 0 0 6px;
  color: var(--gold-deep);
  font-weight: 650;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.nav-mega-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 40rem;
}
.nav-mega-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nav-mega-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-mega-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
}
.nav-mega-col-title svg {
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.nav-mega-links a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}
.nav-mega-links a:hover {
  background: var(--mint);
}
.nav-mega-links a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.nav-mega-links strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--navy);
}
.nav-mega-links small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
  font-weight: 500;
}

/* Header logo wordmark */
.logo span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
}
.logo small {
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}
.nav-mega-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.nav-mega-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.header-actions .btn { flex: none; }

/* Mobile drawer */
.nav-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 58, 0.45);
  z-index: 45;
}
.nav-drawer-backdrop.is-open { display: block; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: #fff;
  z-index: 50;
  transform: translateX(110%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 40px rgba(10, 31, 58, 0.16);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--mint);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.nav-drawer-close:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.nav-drawer-body {
  overflow-y: auto;
  padding: 10px 14px 28px;
  flex: 1;
}
.drawer-cta {
  display: grid;
  gap: 8px;
  margin: 18px 4px 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.drawer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}
.drawer-cta-book {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.drawer-cta-call {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.drawer-cta-btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.drawer-meta {
  display: grid;
  gap: 10px;
  margin: 8px 4px 0;
  padding: 16px 2px 4px;
  border-top: 1px solid var(--line);
}
.drawer-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.35;
}
.drawer-meta-item svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--gold-deep);
}
a.drawer-meta-item:hover {
  color: var(--navy);
}
.drawer-meta-note {
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}
.nav-drawer-foot {
  display: none;
}
.nav-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 650;
  color: var(--navy);
  cursor: pointer;
  border-radius: 12px;
  text-align: left;
}
.nav-acc-trigger:hover { background: var(--mint); }
.nav-acc-trigger:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.nav-acc-panel {
  padding: 0 8px 12px 12px;
}
.nav-acc-group {
  margin-bottom: 12px;
}
.nav-acc-group-title {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-deep);
}
.nav-drawer a.drawer-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
}
.nav-drawer a.drawer-link:hover { background: var(--mint); }

.mobile-nav-toggle {
  display: none;
  border: 0;
  background: var(--mint);
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-nav-toggle:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ——— Services hub cards ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px 22px;
  display: grid;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(196, 161, 90, 0.45);
}
.service-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.service-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.15rem; }
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.service-card a {
  color: var(--gold-deep);
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.service-card a:hover { color: var(--navy); }
.service-card a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
#services {
  padding: 72px 0 64px;
  background: var(--mint);
}
#services .lede { margin: 0; }

.lang-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(196, 161, 90, 0.12);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 550;
}

.hub-section {
  padding: 56px 0 72px;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}
.hub-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: #fff;
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.hub-card h3 {
  font-size: 1.1rem;
  margin: 0;
}
.hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Article shell: TOC left + content + form right (desktop) ——— */
.article-band {
  padding: 40px 0 72px;
  background: linear-gradient(180deg, #f4f7fb 0%, #fff 40%);
}
.article-band > .wrap {
  width: min(1480px, calc(100% - 44px));
  margin-left: 14px;
  margin-right: 30px;
  box-sizing: border-box;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(168px, 210px) minmax(0, 1fr) min(340px, 30%);
  gap: 24px;
  align-items: start;
}
.article-toc {
  position: sticky;
  top: calc(var(--header) + 16px);
  min-width: 0;
}
.article-toc .page-toc {
  margin: 0;
}
.article-main { min-width: 0; }
.page-toc {
  margin: 0 0 22px;
  padding: 18px 18px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(10, 31, 58, 0.05);
}
.page-toc-label {
  margin: 0 0 10px;
  color: var(--gold-deep);
  font-weight: 650;
  font-size: 0.72rem;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: grid;
  gap: 4px;
}
.toc-list > li {
  counter-increment: toc;
}
.toc-list > li::before {
  content: counter(toc) ". ";
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 650;
}
.toc-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.92rem;
}
.toc-link:hover,
.toc-link.is-active {
  color: var(--gold-deep);
}
.toc-link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.page-toc--rail {
  margin: 0;
  padding: 16px 14px 12px;
}
.page-toc--rail .toc-list > li::before { display: none; }
.page-toc--rail .toc-link {
  display: block;
  padding: 7px 0 7px 10px;
  border-left: 2px solid transparent;
  font-size: 0.84rem;
  line-height: 1.35;
  margin-left: -2px;
}
.page-toc--rail .toc-link.is-active {
  border-left-color: var(--gold);
  color: var(--navy);
}

@media (max-width: 1180px) and (min-width: 981px) {
  .article-shell {
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr) min(300px, 28%);
    gap: 18px;
  }
  .page-toc--rail .toc-link { font-size: 0.78rem; }
}

.article-rail {
  position: sticky;
  top: calc(var(--header) + 16px);
  display: grid;
  gap: 14px;
  min-width: 0;
}
.article-rail .form-card {
  margin: 0;
}
.article-rail .form-card h2 {
  font-size: 1.25rem;
}
.page-toc--mobile {
  display: none;
}
.page-toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.page-toc-toggle:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.page-toc-current {
  display: block;
  font-weight: 650;
  color: var(--navy);
  font-size: 0.92rem;
  margin-top: 2px;
}
.page-toc--mobile.is-collapsed .page-toc-panel { display: none; }
.page-toc--mobile.is-collapsed .nav-chevron { transform: none; }
.page-toc--mobile .nav-chevron { transform: rotate(180deg); }

/* Long-form content blocks */
.content-callout {
  margin: 1.25rem 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--gold-soft);
  border: 1px solid rgba(196, 161, 90, 0.35);
  color: var(--ink);
}
.content-callout strong { color: var(--navy); }
.content-steps {
  display: grid;
  gap: 12px;
  margin: 1.25rem 0;
}
.content-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mint);
}
.content-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.content-step h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.content-step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.content-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.content-table th,
.content-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.content-table th {
  background: var(--mint);
  color: var(--navy);
  font-weight: 700;
}
.content-table tr:last-child td { border-bottom: 0; }
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 1.25rem 0;
  list-style: none;
  padding: 0;
}
.feature-cards li {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.feature-cards h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}
.feature-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.article-faq {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 8px;
}
.article-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.article-faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
}
.article-faq summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.article-faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.article-prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 28px 32px;
  box-shadow: 0 10px 30px rgba(10, 31, 58, 0.04);
}
.article-prose .lede {
  margin: 0 0 1.25rem;
}
.article-section {
  scroll-margin-top: calc(var(--header) + 24px);
}
.article-section + .article-section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.article-heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}
.article-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.article-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}
.article-prose li { margin-bottom: 0.4rem; }
.article-prose a {
  color: var(--gold-deep);
  font-weight: 600;
}
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 10px;
}
.icon-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: var(--ink);
}
.icon-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
}

/* Mobile sticky: phone + WhatsApp */
.sticky-bar {
  display: none;
}
.sticky-duo {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 35;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
}
.sticky-duo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  font-size: 0.95rem;
}
.sticky-duo .sticky-phone {
  background: var(--navy);
  color: #fff;
}
.sticky-duo .sticky-wa {
  background: #25d366;
  color: #fff;
}
.sticky-duo svg {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (max-width: 980px) {
  .site-nav.desktop-nav { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .nav-mega { display: none; }
  .header-cta-desktop { display: none; }
  .mobile-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mobile-cta-wa { display: none; }
  body {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .site-header { top: var(--topbar); }
  .topbar-hide-md { display: none; }
  .services-grid,
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-band > .wrap {
    width: min(var(--max), calc(100% - 36px));
    margin-left: auto;
    margin-right: auto;
  }
  .article-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .article-toc {
    display: none;
  }
  .page-toc--mobile {
    display: block;
    order: 1;
    position: static;
    z-index: auto;
  }
  .article-main {
    order: 2;
  }
  .article-rail {
    order: 3;
    position: static;
  }
  .page-toc--rail { display: none; }
  .article-section {
    scroll-margin-top: calc(var(--topbar) + var(--header) + 16px);
  }
  .feature-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .services-grid,
  .hub-grid { grid-template-columns: 1fr; }
  .header-actions .phone-link,
  .header-actions .header-wa { display: none; }
  .topbar-hide-sm { display: none; }
  .site-topbar-inner {
    gap: 8px;
    justify-content: space-between;
  }
  .topbar-left {
    flex: 1;
    min-width: 0;
    justify-content: space-between;
    gap: 8px;
  }
  .topbar-left .topbar-item {
    min-width: 0;
  }
  .topbar-left .topbar-item span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .article-prose { padding: 20px 18px 24px; }
  .sticky-duo { display: none; }
  .wa-float { bottom: 18px; }
  body { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .hub-card,
  .nav-trigger,
  .nav-mega,
  .nav-drawer { transition: none; }
  .service-card:hover,
  .hub-card:hover { transform: none; }
}
