/* Apex Dental Academy — component styles. Reads tokens.css variables only. RTL-first (logical properties). */
body.apex-canvas { margin: 0; background: var(--bg-page); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 28px; -webkit-font-smoothing: antialiased; }
.ax-root { direction: rtl; text-align: start; font-family: var(--font-sans); color: var(--text); }
.ax-root *, .ax-root *::before, .ax-root *::after { box-sizing: border-box; }
.ax-root :where(h1, h2, h3, p, figure, blockquote, dl, dd, ul) { margin: 0; }
.ax-root :where(ul) { padding: 0; list-style: none; }
.ax-root :where(a) { color: inherit; text-decoration: none; }
.ax-root :where(h1, h2, h3, h4, h5, h6) { color: inherit; font-family: inherit; letter-spacing: 0; text-transform: none; }
.ax-root :where(button, input, select, textarea) { font-family: inherit; letter-spacing: 0; text-transform: none; }
.ax-root :where(img) { max-width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.ax-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ax-icon { flex: none; display: inline-block; vertical-align: middle; }
.ax-root :focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* ---------- Button ---------- */
.ax-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: inherit; font-weight: 500; white-space: nowrap; border: 1.5px solid transparent; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.ax-btn--sm { height: 36px; padding-inline: 14px; font-size: 13px; line-height: 20px; }
.ax-btn--md { height: 44px; padding-inline: 20px; font-size: 15px; line-height: 24px; }
.ax-btn--lg { height: 52px; padding-inline: 28px; font-size: 16px; line-height: 24px; font-weight: 700; }
.ax-btn--icon.ax-btn--md { width: 44px; padding: 0; }
.ax-btn--icon.ax-btn--sm { width: 36px; padding: 0; }
.ax-btn--block { display: flex; width: 100%; }
.ax-btn--primary { background: var(--brand); color: var(--on-brand); }
.ax-btn--primary:hover { background: var(--brand-hover); }
.ax-btn--primary:active { background: var(--brand-pressed); }
.ax-btn--secondary { background: var(--surface); color: var(--brand); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.ax-btn--secondary:hover { border-color: var(--brand); background: var(--bg-subtle); }
.ax-btn--soft { background: var(--accent-soft); color: var(--brand); }
.ax-btn--soft:hover { background: var(--navy-200); }
.ax-btn--ghost { background: transparent; color: var(--brand); }
.ax-btn--ghost:hover { background: var(--bg-subtle); }
.ax-btn--inverse { background: var(--bg-page); color: var(--brand-deep); }
.ax-btn--inverse:hover { background: var(--navy-100); }
.ax-btn--outline-inverse { background: transparent; color: var(--text-inverse); border-color: var(--navy-300); }
.ax-btn--outline-inverse:hover { border-color: var(--text-inverse); background: var(--navy-700); }
.ax-btn:disabled, .ax-btn[aria-disabled="true"] { background: var(--bg-muted); color: var(--text-subtle); border-color: var(--border); box-shadow: none; cursor: not-allowed; }
.ax-btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Badge ---------- */
.ax-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 26px; padding-inline: 10px; border-radius: var(--radius-pill); font-size: 13px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.ax-badge--neutral { background: var(--bg-muted); color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--border); }
.ax-badge--brand { background: var(--surface-brand-soft); color: var(--brand); }
.ax-badge--accent { background: var(--accent-soft); color: var(--brand); }
.ax-badge--success { background: var(--success-soft); color: var(--success); }
.ax-badge--warning { background: var(--warning-soft); color: var(--warning); }
.ax-badge--danger { background: var(--danger-soft); color: var(--danger); }
.ax-badge--inverse { background: var(--surface-brand); color: var(--text-inverse); }

/* ---------- Tag ---------- */
.ax-tag { display: inline-flex; align-items: center; gap: var(--space-2); height: 38px; padding-inline: 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s ease; }
.ax-tag:hover { border-color: var(--brand); color: var(--brand); }
.ax-tag.is-selected { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ax-tag__count { font-size: 12px; line-height: 18px; padding-inline: 7px; border-radius: var(--radius-pill); background: var(--bg-muted); color: var(--text-muted); }
.ax-tag.is-selected .ax-tag__count { background: var(--navy-700); color: var(--text-inverse); }

/* ---------- TextLink ---------- */
.ax-link { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--link); font-weight: 700; font-size: 15px; line-height: 24px; border-radius: var(--radius-xs); }
.ax-link:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 6px; }
.ax-link:hover .ax-icon { transform: translateX(-3px); }
.ax-link .ax-icon { transition: transform .15s ease; }
.ax-link--inverse { color: var(--accent-on-dark); }
.ax-link--inverse:hover { color: var(--text-inverse); }

/* ---------- Media ---------- */
.ax-media { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-md); background: var(--bg-muted); }
.ax-media--square { border-radius: 0; }
.ax-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ax-media__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); color: var(--accent); background: var(--surface-brand-soft); font-size: 13px; }
.ax-media__ph span { color: var(--brand); font-weight: 500; }

/* ---------- Field ---------- */
.ax-field { display: flex; flex-direction: column; gap: 6px; }
.ax-field__label { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text); }
.ax-field__req { color: var(--danger); }
.ax-field__wrap { position: relative; }
.ax-field__control { width: 100%; min-height: 48px; padding: 11px 14px; font-family: inherit; font-size: 15px; line-height: 24px; color: var(--text); background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none; }
.ax-field__control::placeholder { color: var(--text-subtle); }
.ax-field__control[dir="ltr"] { text-align: right; }
.ax-field.has-icon .ax-field__control[dir="ltr"] { padding-inline-start: 14px; padding-inline-end: 42px; }
.ax-field__control:hover { border-color: var(--navy-300); }
.ax-field__control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--accent-soft); }
.ax-field.has-icon .ax-field__control { padding-inline-start: 42px; }
.ax-field.is-select .ax-field__control { padding-inline-end: 40px; }
.ax-field__icon { position: absolute; inset-inline-start: 14px; top: 15px; color: var(--text-subtle); pointer-events: none; }
.ax-field__chev { position: absolute; inset-inline-end: 14px; top: 15px; color: var(--text-muted); pointer-events: none; }
textarea.ax-field__control { resize: vertical; min-height: 112px; }
.ax-field__msg { font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ax-field.is-error .ax-field__control { border-color: var(--danger); }
.ax-field.is-error .ax-field__control:focus { box-shadow: 0 0 0 3px var(--danger-soft); }
.ax-field.is-error .ax-field__msg { color: var(--danger); }
.ax-field__control:disabled { background: var(--bg-muted); color: var(--text-subtle); cursor: not-allowed; }

/* ---------- Checkbox ---------- */
.ax-check { position: relative; display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; line-height: 24px; }
.ax-check__input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.ax-check__box { flex: none; width: 22px; height: 22px; margin-top: 1px; display: grid; place-items: center; border: 1.5px solid var(--border-strong); background: var(--surface); color: transparent; border-radius: var(--radius-xs); transition: all .15s ease; }
.ax-check--radio .ax-check__box { border-radius: var(--radius-pill); }
.ax-check__input:checked + .ax-check__box { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ax-check--radio .ax-check__input:checked + .ax-check__box { background: var(--surface); box-shadow: inset 0 0 0 5px var(--brand); }
.ax-check__input:focus-visible + .ax-check__box { box-shadow: var(--shadow-focus); }
.ax-check__text { display: flex; flex-direction: column; }
.ax-check__text small { font-size: 13px; line-height: 20px; color: var(--text-muted); }

/* ---------- PriceTag ---------- */
.ax-price { display: flex; flex-direction: column; gap: 2px; }
.ax-price__was { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 20px; }
.ax-price__was del { color: var(--text-subtle); }
.ax-price__off { color: var(--danger); background: var(--danger-soft); padding-inline: 6px; border-radius: var(--radius-xs); font-weight: 700; font-size: 12px; }
.ax-price__row { display: flex; align-items: baseline; gap: 6px; }
.ax-price__now { font-size: 20px; line-height: 30px; font-weight: 900; color: var(--text); }
.ax-price__cur { font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ax-price--lg .ax-price__now { font-size: 28px; line-height: 40px; }
.ax-price--lg .ax-price__was { font-size: 15px; }

/* ---------- Card base ---------- */
.ax-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
a.ax-card:hover, .ax-course:hover, .ax-article:hover, .ax-inst:hover, .ax-pod:hover { box-shadow: var(--shadow-md); border-color: var(--navy-200); }
.ax-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ax-meta .ax-icon { color: var(--accent-strong); }
.ax-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ax-rating .ax-icon { color: var(--rating); }
.ax-rating b { color: var(--text); font-weight: 700; }

/* ---------- CourseCard ---------- */
.ax-course__media { position: relative; display: block; }
.ax-course__flags { position: absolute; inset-inline-start: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ax-course__flags .ax-badge--brand { background: var(--surface); box-shadow: var(--shadow-xs); }
.ax-course__body { display: flex; flex-direction: column; gap: 10px; padding: var(--space-5); flex: 1; }
.ax-course__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.ax-course__cat { font-size: 13px; line-height: 20px; font-weight: 700; color: var(--accent-strong); }
.ax-course__title { font-size: 18px; line-height: 30px; font-weight: 700; color: var(--text); }
.ax-course__title a:hover { color: var(--brand); }
.ax-course__by { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 22px; color: var(--text-muted); }
.ax-course__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; border-top: 1px solid var(--border); }
.ax-course__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); padding: 14px var(--space-5); border-top: 1px solid var(--border); background: var(--bg-subtle); }
.ax-course.is-full .ax-course__media { filter: grayscale(.6); }
.ax-seats { display: flex; flex-direction: column; gap: 6px; }
.ax-seats__row { display: flex; justify-content: space-between; font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ax-seats__row b { color: var(--text); font-weight: 500; }
.ax-seats__bar { height: 6px; border-radius: var(--radius-pill); background: var(--slate-100); overflow: hidden; }
.ax-seats__bar span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }

/* ---------- CourseBuyBox ---------- */
.ax-buybox { gap: var(--space-5); padding: var(--space-6); box-shadow: var(--shadow-md); }
.ax-buybox__head { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ax-buybox__inst { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 22px; color: var(--brand); background: var(--accent-soft); padding: 8px 12px; border-radius: var(--radius-sm); }
.ax-buybox__info { display: flex; flex-direction: column; gap: var(--space-2); }
.ax-buybox__info .ax-meta { font-size: 14px; color: var(--text); }
.ax-buybox__cta { display: flex; flex-direction: column; gap: var(--space-2); }
.ax-buybox__list { display: flex; flex-direction: column; gap: 10px; padding-top: var(--space-5); border-top: 1px solid var(--border); }
.ax-buybox__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 24px; color: var(--text); }
.ax-buybox__list .ax-icon { color: var(--accent-strong); margin-top: 3px; }
.ax-buybox__note { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ax-buybox__note .ax-icon { color: var(--success); }

/* ---------- Accordion ---------- */
.ax-acc { display: flex; flex-direction: column; gap: 12px; }
.ax-acc__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color .15s ease, box-shadow .15s ease; }
.ax-acc__item.is-open { border-color: var(--navy-200); box-shadow: var(--shadow-sm); }
.ax-acc__h { font-size: inherit; }
.ax-acc__btn { width: 100%; display: flex; align-items: center; gap: var(--space-3); padding: 16px 20px; background: none; border: 0; border-radius: inherit; font-family: inherit; font-size: 16px; line-height: 28px; font-weight: 700; color: var(--text); text-align: start; cursor: pointer; }
.ax-acc__btn:hover { color: var(--brand); }
.ax-acc__title { flex: 1; }
.ax-acc__meta { font-size: 13px; line-height: 20px; font-weight: 400; color: var(--text-muted); white-space: nowrap; }
.ax-acc__num { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--surface-brand-soft); color: var(--brand); font-size: 14px; }
.ax-acc__ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--bg-subtle); color: var(--brand); }
.ax-acc__item.is-open .ax-acc__ic { background: var(--brand); color: var(--on-brand); }
.ax-acc__panel { padding: 0 20px 18px; font-size: 15px; line-height: 28px; color: var(--text-muted); }
.ax-acc__lessons { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.ax-acc__lessons li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; line-height: 24px; }
.ax-acc__lessons li:last-child { border-bottom: 0; }
.ax-acc__lessons li > span { flex: 1; }
.ax-acc__lessons .ax-icon { color: var(--accent-strong); }
.ax-acc__lessons small { color: var(--text-muted); font-size: 13px; }

/* ---------- InstructorCard ---------- */
.ax-inst { text-align: center; }
.ax-inst__body { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: var(--space-4) var(--space-4) var(--space-5); }
.ax-inst__name { font-size: 17px; line-height: 28px; font-weight: 700; }
.ax-inst__name a:hover { color: var(--brand); }
.ax-inst__title { font-size: 14px; line-height: 22px; color: var(--text-muted); }
.ax-inst__courses { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; color: var(--brand); background: var(--surface-brand-soft); padding: 2px 10px; border-radius: var(--radius-pill); }

/* ---------- ArticleCard ---------- */
.ax-article__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: var(--space-5); flex: 1; }
.ax-article__title { font-size: 17px; line-height: 28px; font-weight: 700; }
.ax-article__title a:hover { color: var(--brand); }
.ax-article__ex { font-size: 14px; line-height: 24px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-article__foot { margin-top: auto; padding-top: 10px; display: flex; gap: 16px; width: 100%; border-top: 1px solid var(--border); }

/* ---------- PodcastCard ---------- */
.ax-pod__cover { position: relative; }
.ax-pod__cover .ax-media__ph { background: var(--surface-brand); color: var(--accent-on-dark); }
.ax-pod__play { position: absolute; inset-inline-end: 14px; bottom: -24px; width: 52px; height: 52px; display: grid; place-items: center; border: 4px solid var(--surface); border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); cursor: pointer; box-shadow: var(--shadow-md); transition: background-color .15s ease; }
.ax-pod__play:hover { background: var(--brand-hover); }
.ax-pod.is-playing .ax-pod__play { background: var(--brand-deep); }
.ax-pod__body { display: flex; flex-direction: column; gap: 6px; padding: 28px var(--space-4) var(--space-4); }
.ax-pod__ep { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 20px; font-weight: 700; color: var(--accent-strong); }
.ax-pod__title { font-size: 17px; line-height: 28px; font-weight: 700; }
.ax-pod__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 20px; color: var(--text-muted); }

/* ---------- TestimonialCard ---------- */
.ax-testi { gap: var(--space-4); padding: var(--space-6); }
.ax-testi__top { display: flex; align-items: center; justify-content: space-between; }
.ax-testi__q { color: var(--accent); }
.ax-testi__stars { display: inline-flex; gap: 2px; }
.ax-testi__stars .on { color: var(--rating); }
.ax-testi__stars .off { color: var(--slate-300); }
.ax-testi__text { font-size: 16px; line-height: 30px; color: var(--text); }
.ax-testi__who { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: var(--space-4); border-top: 1px solid var(--border); }
.ax-testi__who > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 150px; }
.ax-testi__who b { font-size: 15px; line-height: 24px; }
.ax-testi__who small { font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ax-testi__av { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--radius-pill); overflow: hidden; background: var(--surface-brand-soft); color: var(--brand); }
.ax-testi__av img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SectionHeader ---------- */
.ax-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.ax-sh--center { flex-direction: column; align-items: center; text-align: center; }
.ax-sh__text { display: flex; flex-direction: column; gap: var(--space-2); max-width: 680px; }
.ax-sh--center .ax-sh__text { align-items: center; }
.ax-sh__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 22px; font-weight: 700; color: var(--accent-strong); }
.ax-sh__eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); }
.ax-sh__title { font-size: 32px; line-height: 50px; font-weight: 700; color: var(--text); }
.ax-sh__desc { font-size: 17px; line-height: 30px; color: var(--text-muted); }
.ax-sh--inverse .ax-sh__title { color: var(--text-inverse); }
.ax-sh--inverse .ax-sh__desc { color: var(--text-inverse-muted); }
.ax-sh--inverse .ax-sh__eyebrow { color: var(--accent-on-dark); }

/* ---------- SiteHeader ---------- */
.ax-header { position: relative; background: var(--bg-page); border-bottom: 1px solid var(--border); }
.ax-header__top { background: var(--surface-brand); color: var(--text-inverse-muted); font-size: 13px; line-height: 20px; }
.ax-header__topin { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.ax-header__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--text-inverse); direction: ltr; }
.ax-header__bar { display: flex; align-items: center; gap: var(--space-8); height: var(--header-h); }
.ax-header__logo { display: flex; align-items: center; flex: none; border-radius: var(--radius-xs); }
.ax-header__logo img { display: block; height: 40px; width: auto; }
.ax-header__nav { flex: 1; }
.ax-header__nav ul { display: flex; align-items: center; gap: 4px; }
.ax-header__nav a { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding-inline: 12px; border-radius: var(--radius-sm); font-size: 15px; line-height: 24px; font-weight: 500; color: var(--text); }
.ax-header__nav a:hover { background: var(--bg-subtle); color: var(--brand); }
.ax-header__nav a.is-active { color: var(--brand); font-weight: 700; }
.ax-header__actions { display: flex; align-items: center; gap: var(--space-2); }
.ax-header__cart { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-sm); color: var(--brand); }
.ax-header__cart:hover { background: var(--bg-subtle); }
.ax-header__count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding-inline: 4px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font-size: 11px; line-height: 1; font-weight: 700; }
.ax-header__burger { display: none; }
@media (max-width: 960px) {
  .ax-header__bar { gap: var(--space-3); height: 64px; }
  .ax-header__nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--bg-page); border-bottom: 1px solid var(--border); padding: var(--space-3) var(--gutter-m); z-index: 20; box-shadow: var(--shadow-md); }
  .ax-header__nav.is-open { display: block; }
  .ax-header__nav ul { flex-direction: column; align-items: stretch; }
  .ax-header__login span { display: none; }
  .ax-header__login { width: 44px; padding: 0; }
  .ax-header__burger { display: inline-flex; }
  .ax-header__logo img { height: 32px; }
  .ax-header__actions { margin-inline-start: auto; }
}

/* ---------- Hero ---------- */
.ax-hero { background: var(--bg-page); padding-block: var(--space-16) var(--space-20); overflow: hidden; }
.ax-hero__in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--space-12); }
.ax-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.ax-hero__title { font-size: 52px; line-height: 80px; font-weight: 900; color: var(--text); }
.ax-hero__title em { font-style: normal; color: var(--brand); }
.ax-hero__desc { font-size: 18px; line-height: 32px; color: var(--text-muted); max-width: 520px; }
.ax-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.ax-hero__proof { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; line-height: 22px; color: var(--text-muted); margin-top: var(--space-2); }
.ax-hero__proof b { color: var(--text); font-weight: 900; }
.ax-hero__avs { display: inline-flex; }
.ax-hero__avs span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--surface-brand-soft); color: var(--brand); border: 2px solid var(--bg-page); margin-inline-start: -10px; }
.ax-hero__avs span:first-child { margin-inline-start: 0; }
.ax-hero__media { position: relative; }
.ax-hero__media .ax-media { border-radius: var(--radius-xl); }
.ax-hero__badge { position: absolute; inset-inline-end: -16px; bottom: 32px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 22px; font-weight: 700; color: var(--text); }
.ax-hero__badge .ax-icon { color: var(--accent); }
@media (max-width: 860px) {
  .ax-hero { padding-block: var(--space-10) var(--space-16); }
  .ax-hero__in { grid-template-columns: 1fr; gap: var(--space-8); }
  .ax-hero__title { font-size: 34px; line-height: 52px; }
  .ax-hero__desc { font-size: 15px; line-height: 27px; }
  .ax-hero__badge { inset-inline-end: 12px; bottom: 12px; }
}

/* ---------- StatsBand ---------- */
.ax-stats { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: var(--space-10); padding: var(--space-12) var(--space-10); background: var(--surface-brand); color: var(--text-inverse); border-radius: var(--radius-xl); }
.ax-stats__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.ax-stats__text h2 { font-size: 28px; line-height: 44px; font-weight: 900; }
.ax-stats__text p { font-size: 15px; line-height: 28px; color: var(--text-inverse-muted); }
.ax-stats__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.ax-stats__item { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: var(--space-6) var(--space-5); background: var(--navy-700); border: 1px solid var(--navy-600); border-radius: var(--radius-lg); }
.ax-stats__item .ax-icon { color: var(--accent-on-dark); margin-bottom: var(--space-2); }
.ax-stats__item dd { order: 2; font-size: 40px; line-height: 52px; font-weight: 900; color: var(--text-inverse); }
.ax-stats__item dt { order: 3; font-size: 14px; line-height: 22px; color: var(--text-inverse-muted); }
@media (max-width: 860px) {
  .ax-stats { grid-template-columns: 1fr; padding: var(--space-8) var(--space-5); border-radius: var(--radius-lg); }
  .ax-stats__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
  .ax-stats__item { padding: var(--space-4) var(--space-3); }
  .ax-stats__item dd { font-size: 26px; line-height: 36px; }
}

/* ---------- BenefitStrip ---------- */
.ax-benefits { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title action" "list list"; align-items: center; gap: var(--space-6) var(--space-8); padding: var(--space-8); background: var(--bg-subtle); border: 1px solid var(--navy-100); border-radius: var(--radius-xl); }
.ax-benefits__title { grid-area: title; font-size: 20px; line-height: 32px; font-weight: 900; color: var(--brand-deep); }
.ax-benefits > .ax-btn { grid-area: action; }
.ax-benefits__list { grid-area: list; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-4); }
.ax-benefits__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text); }
.ax-benefits__ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--surface); color: var(--brand); box-shadow: var(--shadow-xs); }
@media (max-width: 860px) {
  .ax-benefits { grid-template-columns: 1fr; grid-template-areas: "title" "list" "action"; padding: var(--space-6) var(--space-5); }
  .ax-benefits__list { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}

/* ---------- CtaBanner ---------- */
.ax-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); padding: var(--space-12) var(--space-10); border-radius: var(--radius-xl); background: var(--surface-brand); color: var(--text-inverse); position: relative; overflow: hidden; }
.ax-cta::after { content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid var(--navy-700); pointer-events: none; }
.ax-cta__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-3); max-width: 620px; }
.ax-cta__text h2 { font-size: 30px; line-height: 46px; font-weight: 900; }
.ax-cta__text p { font-size: 16px; line-height: 30px; color: var(--text-inverse-muted); }
.ax-cta .ax-sh__eyebrow { color: var(--accent-on-dark); }
.ax-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--space-3); flex: none; }
.ax-cta--light { background: var(--bg-subtle); color: var(--text); border: 1px solid var(--navy-100); }
.ax-cta--light::after { border-color: var(--navy-100); }
.ax-cta--light .ax-cta__text p { color: var(--text-muted); }
.ax-cta--light .ax-sh__eyebrow { color: var(--accent-strong); }
@media (max-width: 860px) {
  .ax-cta { flex-direction: column; align-items: flex-start; padding: var(--space-8) var(--space-5); }
  .ax-cta__text h2 { font-size: 24px; line-height: 38px; }
}

/* ---------- SiteFooter ---------- */
.ax-footer { background: var(--surface-brand); color: var(--text-inverse-muted); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: var(--space-12) var(--space-10) 0; font-size: 14px; line-height: 24px; }
.ax-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-8); padding-bottom: var(--space-10); }
.ax-footer__about { display: flex; flex-direction: column; gap: var(--space-4); }
.ax-footer__about img { height: 44px; width: auto; align-self: flex-start; }
.ax-footer__col h3 { font-size: 16px; line-height: 26px; font-weight: 700; color: var(--text-inverse); margin-bottom: var(--space-4); }
.ax-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.ax-footer__col a { color: var(--text-inverse-muted); border-radius: var(--radius-xs); }
.ax-footer__col a:hover { color: var(--text-inverse); }
.ax-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.ax-footer__contact .ax-icon { color: var(--accent-on-dark); margin-top: 3px; }
.ax-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid var(--navy-600); font-size: 13px; line-height: 20px; }
.ax-footer__blinks { display: flex; gap: var(--space-5); }
.ax-footer__blinks a:hover { color: var(--text-inverse); }
@media (max-width: 860px) {
  .ax-footer { padding: var(--space-10) var(--space-5) 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .ax-footer__grid { grid-template-columns: 1fr 1fr; }
  .ax-footer__about { grid-column: 1 / -1; }
  .ax-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Page layout (sections, grids) — used by the WordPress shortcodes and the HomePage showcase ---------- */
.ax-section { padding-block: var(--section-y); background: var(--bg-page); }
.ax-section--subtle { background: var(--bg-subtle); }
.ax-section--tight { padding-block: var(--space-10); }
.ax-section--flush-top { padding-top: 0; }
.ax-section--flush-bottom { padding-bottom: 0; }
.ax-section > .ax-container > .ax-sh { margin-bottom: var(--space-8); }
.ax-grid { display: grid; gap: var(--space-6); }
.ax-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ax-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ax-narrow { max-width: var(--container-narrow); margin-inline: auto; }
.ax-empty { padding: var(--space-8); text-align: center; color: var(--text-muted); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
@media (max-width: 1024px) {
  .ax-grid--3, .ax-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .ax-section { padding-block: var(--section-y-m); }
  .ax-container { padding-inline: var(--gutter-m); }
  .ax-sh { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .ax-sh--center { align-items: center; }
  .ax-sh__title { font-size: 24px; line-height: 38px; }
  .ax-sh__desc { font-size: 15px; line-height: 27px; }
  .ax-section > .ax-container > .ax-sh { margin-bottom: var(--space-6); }
  .ax-grid--2 { grid-template-columns: 1fr; }
  /* cards become a horizontal swipe row on phones */
  .ax-grid--scroll { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter-m) * -1); padding-inline: var(--gutter-m); padding-bottom: var(--space-2); scrollbar-width: none; }
  .ax-grid--scroll::-webkit-scrollbar { display: none; }
  .ax-grid--scroll > * { scroll-snap-align: start; }
  .ax-grid--4.ax-grid--scroll { grid-auto-columns: 62%; }
  .ax-grid--3:not(.ax-grid--scroll), .ax-grid--4:not(.ax-grid--scroll) { grid-template-columns: 1fr; }
}

/* Boxed footer used on the site (SiteFooter inside the container) */
.ax-footer-wrap { background: var(--bg-page); padding-top: var(--space-10); }
.ax-footer__blinks ul { display: flex; gap: var(--space-5); }
@media (max-width: 767px) { .ax-footer-wrap > .ax-container { padding-inline: 0; } .ax-footer-wrap .ax-footer { border-radius: var(--radius-lg) var(--radius-lg) 0 0; } }

/* WordPress menus inside SiteHeader / SiteFooter */
.ax-header__nav li { position: relative; }
.ax-header__nav .current-menu-item > a, .ax-header__nav .current-menu-ancestor > a { color: var(--brand); font-weight: 700; }
.ax-header__nav .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; margin-inline-start: 6px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.ax-header__nav .sub-menu { position: absolute; top: 100%; inset-inline-start: 0; min-width: 220px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); z-index: 30; }
.ax-header__nav li:hover > .sub-menu, .ax-header__nav li:focus-within > .sub-menu { display: flex; }
.ax-header__nav .sub-menu a { width: 100%; height: auto; padding-block: 8px; }
.ax-header__search { display: none; border-top: 1px solid var(--border); background: var(--bg-page); }
.ax-header__search.is-open { display: block; }
.ax-header__search form { display: flex; gap: var(--space-2); padding-block: var(--space-3); }
.ax-header__search .ax-field { flex: 1; }
.ax-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .ax-header { top: 32px; }
@media (max-width: 960px) {
  .ax-header__nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 var(--space-4) 0 0; min-width: 0; }
  .ax-header__nav .menu-item-has-children > a::after { display: none; }
}
.ax-swap-b { display: none; }
.is-open > .ax-swap-a, .is-open .ax-acc__ic .ax-swap-a, .is-playing .ax-swap-a, [aria-expanded="true"] > .ax-swap-a { display: none; }
.is-open > .ax-swap-b, .is-open .ax-acc__ic .ax-swap-b, .is-playing .ax-swap-b, [aria-expanded="true"] > .ax-swap-b { display: inline-block; }

/* ---------- Preview helpers (cards galleries) ---------- */
.ax-pv { padding: var(--space-6); background: var(--bg-subtle); min-height: 100%; }
.ax-pv--white { background: var(--bg-page); }
.ax-pv__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.ax-pv__grid { display: grid; gap: var(--space-6); align-items: stretch; }
.ax-pv__label { font-size: 12px; line-height: 20px; color: var(--text-muted); margin-bottom: var(--space-2); }
.ax-pv__stack { display: flex; flex-direction: column; gap: var(--space-5); }
