/*
 * Site components and sections. On a client build this file is where the
 * approved design is implemented; every value should come from a token.
 */

/* ---------- Header ---------- */
.sx-announce { background: var(--c-dark); color: var(--c-on-dark); font-size: var(--fs-small); text-align: center; }
.sx-announce p { margin: 0; padding: 0.5rem 0; }
.sx-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.sx-header__inner { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.sx-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--c-ink); flex: 0 1 auto; min-width: 0; }
.sx-logo__img { height: auto; max-height: 2.5rem; width: auto; max-width: min(12rem, 100%); object-fit: contain; object-position: left center; }
[dir="rtl"] .sx-logo__img { object-position: right center; }
.sx-header__actions { flex: 0 0 auto; }
@media (min-width: 640px) { .sx-header__inner { gap: var(--space-5); } }
.sx-logo__text { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 1.25rem; line-height: 1.1; }
.sx-header__actions { display: flex; align-items: center; gap: var(--space-4); margin-inline-start: auto; }
.sx-header__phone { display: none; align-items: center; gap: 0.4rem; font-weight: var(--fw-strong); color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.sx-header__phone:hover { color: var(--c-brand); }
.sx-header__cta { display: none; white-space: nowrap; }
.sx-burger { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.85rem; background: transparent; color: var(--c-ink); border: 1.5px solid var(--c-ink-soft); border-radius: var(--radius-pill); font-weight: var(--fw-strong); }
.sx-burger:hover { background: var(--c-surface); }

/* Navigation (shared list markup; layout differs per context) */
.sx-nav--desktop { display: none; }
.sx-nav__list { display: flex; gap: var(--space-2); }
.sx-nav__item { position: relative; display: flex; align-items: center; }
.sx-nav__link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.7rem; color: var(--c-ink); font-weight: var(--fw-strong); font-size: 1rem; text-decoration: none; border-radius: var(--radius-s); }
.sx-nav__link:hover { color: var(--c-brand); background: var(--c-surface); }
.sx-nav__link[aria-current="page"] { color: var(--c-brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.sx-nav__toggle { display: inline-grid; place-items: center; width: 2rem; height: 2.75rem; margin-inline-start: -0.4rem; background: transparent; border: 0; border-radius: var(--radius-s); color: var(--c-ink); }
.sx-nav__toggle:hover { background: var(--c-surface); }
.sx-nav__toggle .sx-icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s ease; }
.sx-nav__toggle[aria-expanded="true"] .sx-icon { transform: rotate(180deg); }
.sx-nav--desktop .sx-nav__sub { position: absolute; inset-block-start: calc(100% + 0.25rem); inset-inline-start: 0; min-width: 15rem; padding: var(--space-2); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); box-shadow: var(--shadow-2); z-index: 60; }
.sx-nav__sublink { display: block; padding: 0.6rem 0.8rem; color: var(--c-ink); text-decoration: none; border-radius: var(--radius-s); }
.sx-nav__sublink:hover { background: var(--c-surface); color: var(--c-brand); }
.sx-nav__sublink[aria-current="page"] { color: var(--c-brand); font-weight: var(--fw-strong); }

/* Language switcher */
.sx-lang-switch ul { display: flex; flex-wrap: wrap; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.sx-lang-switch a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--c-ink); text-decoration: none; }
.sx-lang-switch a:hover { background: var(--c-surface); }
.sx-lang-switch a[aria-current="true"] { background: var(--c-ink); color: var(--c-bg); }
.sx-lang-switch--header { display: none; position: relative; }
.sx-lang-dd summary { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.4rem 0.8rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-strong); cursor: pointer; list-style: none; white-space: nowrap; }
.sx-lang-dd summary::-webkit-details-marker { display: none; }
.sx-lang-dd summary::after { content: ""; width: 0.45rem; height: 0.45rem; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(45deg) translateY(-0.12rem); }
.sx-lang-dd summary:hover { background: var(--c-surface); }
.sx-lang-dd ul { position: absolute; inset-block-start: calc(100% + 0.35rem); inset-inline-end: 0; flex-direction: column; min-width: 10rem; padding: var(--space-2); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); box-shadow: var(--shadow-2); z-index: 60; }
.sx-lang-dd ul a { width: 100%; border-radius: var(--radius-s); }
.sx-footer .sx-lang-switch a { color: var(--c-on-dark); }
.sx-footer .sx-lang-switch a:hover { background: rgb(255 255 255 / 0.12); }
.sx-footer .sx-lang-switch a[aria-current="true"] { background: var(--c-on-dark); color: var(--c-dark); }

@media (min-width: 1100px) {
  .sx-nav--desktop { display: block; }
  .sx-burger { display: none; }
  .sx-header__cta { display: inline-flex; }
  .sx-lang-switch--header { display: block; }
}
@media (min-width: 1280px) { .sx-header__phone { display: inline-flex; } }

/* ---------- Off-canvas menu ---------- */
.sx-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear 0.32s; }
.sx-drawer.is-open { visibility: visible; transition-delay: 0s; }
.sx-drawer__backdrop { position: absolute; inset: 0; background: rgb(10 16 13 / 0.55); opacity: 0; transition: opacity 0.32s ease; }
.sx-drawer.is-open .sx-drawer__backdrop { opacity: 1; }
.sx-drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(24rem, 88vw); background: var(--c-bg); box-shadow: var(--shadow-2); transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1); overflow-y: auto; overscroll-behavior: contain; }
[dir="rtl"] .sx-drawer__panel { transform: translateX(-100%); }
.sx-drawer.is-open .sx-drawer__panel { transform: none; }
.sx-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--c-line); position: sticky; inset-block-start: 0; background: var(--c-bg); z-index: 1; }
.sx-drawer__title { font-family: var(--font-display); font-weight: var(--fw-heading); font-size: 1.25rem; }
.sx-drawer__close { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; background: transparent; border: 1.5px solid var(--c-ink-soft); border-radius: 50%; color: var(--c-ink); }
.sx-drawer__close:hover { background: var(--c-surface); }
.sx-nav--drawer { padding: var(--space-3) var(--space-5); }
.sx-nav--drawer .sx-nav__list { flex-direction: column; gap: 0; }
.sx-nav--drawer .sx-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
.sx-nav--drawer .sx-nav__link { flex: 1 1 auto; min-height: 3.25rem; padding-inline: 0; font-size: 1.125rem; border-radius: 0; }
.sx-nav--drawer .sx-nav__link:hover { background: transparent; }
.sx-nav--drawer .sx-nav__toggle { width: 3rem; height: 3rem; margin: 0; }
.sx-nav--drawer .sx-nav__sub { flex: 1 0 100%; padding: 0 0 var(--space-3) var(--space-4); }
.sx-nav--drawer .sx-nav__sublink { padding: 0.7rem 0.5rem; }
.sx-drawer__bottom { display: grid; gap: var(--space-4); margin-top: auto; padding: var(--space-5); }
.sx-drawer__phone { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: var(--fw-strong); color: var(--c-ink); text-decoration: none; }
body.sx-drawer-open { overflow: hidden; }

/* ---------- Sections ---------- */
.sx-main { display: block; min-height: 40vh; }
.sx-section { padding-block: var(--section-y); }
.sx-section + .sx-section { border-top: 0; }
.sx-section--cards, .sx-section--faq, .sx-section--stats, .sx-section--pricing, .sx-section--logos { background: var(--c-surface); }
.sx-heading { margin-bottom: var(--space-7); max-width: 44rem; }
.sx-heading--center { margin-inline: auto; text-align: center; }
.sx-heading__title { margin: 0; }
.sx-heading__intro { margin: var(--space-4) 0 0; font-size: var(--fs-lead); color: var(--c-ink-soft); }
.sx-heading--center .sx-heading__intro { margin-inline: auto; }

.sx-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .sx-grid--2, .sx-grid--3, .sx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Hero */
.sx-section--hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); background: var(--c-surface); }
.sx-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
.sx-hero__title { font-size: var(--fs-display); font-weight: var(--fw-display); line-height: var(--lh-tight); margin: 0 0 var(--space-5); }
.sx-hero__media .sx-img, .sx-hero__media .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.sx-points { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.sx-points li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--fs-small); font-weight: var(--fw-strong); }
.sx-points .sx-icon { color: var(--c-brand); margin-top: 0.15em; }
.sx-points--stack { flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); }
.sx-points--stack li { font-size: var(--fs-body); font-weight: var(--fw-body); }
@media (min-width: 1000px) { .sx-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); } }

/* Page banner */
.sx-section--page-header { position: relative; padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); background: var(--c-surface); }
.sx-section--page-header .sx-heading__title { font-size: var(--fs-h1); }
.sx-section--page-header .sx-lead { margin-top: var(--space-4); margin-bottom: 0; }
.sx-section--page-header.has-image { background: var(--c-dark); color: var(--c-on-dark); }
.sx-section--page-header.has-image h1, .sx-section--page-header.has-image .sx-lead, .sx-section--page-header.has-image .sx-eyebrow, .sx-section--page-header.has-image .sx-breadcrumbs a, .sx-section--page-header.has-image .sx-breadcrumbs span { color: var(--c-on-dark); }
.sx-pagehead__bg { position: absolute; inset: 0; }
.sx-pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.sx-pagehead__inner { position: relative; }
.sx-breadcrumbs { margin-bottom: var(--space-4); font-size: var(--fs-small); }
.sx-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.sx-breadcrumbs li + li::before { content: "/"; margin-inline-end: 0.4rem; color: var(--c-ink-soft); }
.sx-section--page-header.has-image .sx-breadcrumbs li + li::before { color: var(--c-on-dark-soft); }
.sx-breadcrumbs a { color: var(--c-ink-soft); }
.sx-breadcrumbs [aria-current] { color: var(--c-ink); font-weight: var(--fw-strong); }

/* Text with image */
.sx-split { display: grid; gap: var(--space-7); align-items: center; }
.sx-split__media .sx-img, .sx-split__media .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.sx-split .sx-heading { margin-bottom: var(--space-5); }
@media (min-width: 900px) {
  .sx-split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .is-reversed .sx-split__media { order: -1; }
}

/* Cards */
.sx-card { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); overflow: hidden; }
.sx-card__media .sx-img, .sx-card__media img, .sx-card__media .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; border-inline: 0; border-top: 0; }
.sx-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); flex: 1 1 auto; }
.sx-card__body > * { margin: 0; }
.sx-card__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-m); background: color-mix(in srgb, var(--c-brand) 12%, var(--c-bg)); color: var(--c-brand); }
.sx-card__icon .sx-icon { width: 1.5rem; height: 1.5rem; }
.sx-card__title { font-size: var(--fs-h3); }
.sx-card__title a { color: inherit; text-decoration: none; }
.sx-card__title a:hover { color: var(--c-brand); text-decoration: underline; }
.sx-card__meta { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-card__more { margin-top: auto !important; padding-top: var(--space-2); }

/* Steps */
.sx-steps { display: grid; gap: var(--space-6); counter-reset: step; }
.sx-step { position: relative; padding-inline-start: 4rem; }
.sx-step__num { position: absolute; inset-inline-start: 0; inset-block-start: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); font-family: var(--font-display); font-weight: var(--fw-heading); font-size: 1.125rem; }
.sx-step__title { font-size: var(--fs-h3); margin-bottom: 0.35em; }
.sx-step p { margin: 0; color: var(--c-ink-soft); }
@media (min-width: 900px) { .sx-steps { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } .sx-step { padding-inline-start: 0; padding-block-start: 3.75rem; } }

/* Figures */
.sx-stats { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0; }
.sx-stat { display: flex; flex-direction: column-reverse; padding: var(--space-5); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); text-align: center; }
.sx-stat dd { margin: 0; font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: 1.1; color: var(--c-brand); }
.sx-stat dt { margin-top: 0.4rem; color: var(--c-ink-soft); font-size: var(--fs-small); }

/* Testimonials */
.sx-quote { position: relative; padding: var(--space-5); background: var(--c-surface); border-radius: var(--radius-m); }
.sx-quote figure { margin: 0; display: grid; gap: var(--space-4); }
.sx-quote blockquote { margin: 0; font-size: var(--fs-lead); }
.sx-quote blockquote p { margin: 0; }
.sx-quote figcaption { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-small); }
.sx-quote__photo { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.sx-quote__role { color: var(--c-ink-soft); }
.sx-quote__sample { display: inline-block; margin: 0 0 var(--space-3); padding: 0.2rem 0.6rem; background: var(--c-bg); border: 1.5px dashed var(--c-ink-soft); border-radius: var(--radius-s); font-size: var(--fs-eyebrow); font-weight: var(--fw-strong); }

/* FAQ */
.sx-faq { display: grid; gap: var(--space-3); }
.sx-faq__item { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); }
.sx-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); cursor: pointer; list-style: none; border-radius: var(--radius-m); }
.sx-faq__item summary::-webkit-details-marker { display: none; }
.sx-faq__q { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); font-weight: var(--fw-strong); line-height: 1.4; }
.sx-faq__item summary .sx-icon { color: var(--c-brand); transition: transform 0.2s ease; }
.sx-faq__item[open] summary .sx-icon { transform: rotate(45deg); }
.sx-faq__a { padding: 0 var(--space-5) var(--space-5); color: var(--c-ink-soft); }
.sx-faq__a p { margin: 0; }

/* Call to action */
.sx-section--cta { padding-block: var(--space-8); background: var(--c-bg); }
.sx-cta { display: grid; gap: var(--space-5); align-items: center; padding: clamp(1.75rem, 1rem + 3.4vw, 3.5rem); background: var(--c-dark); color: var(--c-on-dark); border-radius: var(--radius-l); }
.sx-cta__title { margin: 0 0 0.35em; color: var(--c-on-dark); }
.sx-cta p { margin: 0; color: var(--c-on-dark-soft); font-size: var(--fs-lead); }
.sx-cta .sx-actions { margin-top: 0; }
@media (min-width: 900px) { .sx-cta { grid-template-columns: 1fr auto; } }

/* Contact */
.sx-contact { display: grid; gap: var(--space-7); }
.sx-contact .sx-heading { margin-bottom: var(--space-5); }
.sx-contact__details { display: grid; gap: var(--space-5); align-content: start; padding: var(--space-5); background: var(--c-surface); border-radius: var(--radius-l); }
.sx-contact-list { display: grid; gap: var(--space-3); }
.sx-contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.sx-contact-list .sx-icon { margin-top: 0.2em; color: var(--c-brand); }
.sx-contact-list--lg { gap: var(--space-5); }
.sx-contact-list address { margin: 0; }
.sx-hours { display: flex; justify-content: space-between; gap: var(--space-4); }
@media (min-width: 900px) { .sx-contact { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-8); } }

/* Gallery, team, logos */
.sx-gallery figure { margin: 0; }
.sx-gallery .sx-img, .sx-gallery .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); }
.sx-gallery figcaption { margin-top: 0.5rem; font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-person .sx-img, .sx-person .sx-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-m); margin-bottom: var(--space-4); }
.sx-person__name { font-size: var(--fs-h4); margin: 0; }
.sx-person__role { margin: 0.15rem 0 0.6rem; color: var(--c-brand); font-weight: var(--fw-strong); font-size: var(--fs-small); }
.sx-person p:last-child { color: var(--c-ink-soft); font-size: var(--fs-small); margin: 0; }
.sx-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-6) var(--space-7); }
.sx-logos li { flex: 0 1 9rem; }
.sx-logos .sx-img { max-height: 3.5rem; width: auto; margin-inline: auto; object-fit: contain; }

/* Pricing */
.sx-plan { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-l); }
.sx-plan.is-featured { border: 2px solid var(--c-brand); box-shadow: var(--shadow-2); }
.sx-plan__name { margin: 0; font-size: var(--fs-h3); }
.sx-plan__price { margin: 0; }
.sx-plan__price span { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: 1; }
.sx-plan__price small { color: var(--c-ink-soft); }
.sx-plan .sx-points { margin-top: 0; flex: 1 1 auto; }
.sx-plan p:last-child { margin: 0; }
.sx-pricing__note { margin: var(--space-5) auto 0; max-width: 44rem; text-align: center; font-size: var(--fs-small); color: var(--c-ink-soft); }

/* Legal, site map, blog */
.sx-section--legal { padding-block-start: var(--space-6); }
.sx-legal__date { color: var(--c-ink-soft); font-size: var(--fs-small); }
.sx-sitemap, .sx-sitemap ul, .sx-searchlist { list-style: disc; padding-inline-start: 1.4em; }
.sx-sitemap li, .sx-searchlist li { margin-bottom: 0.4em; }
.sx-postlist { margin-bottom: var(--space-6); }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.6rem; border: 1px solid var(--c-line); border-radius: var(--radius-s); text-decoration: none; }
.nav-links .current { background: var(--c-ink); color: var(--c-bg); }

/* ---------- Footer ---------- */
.sx-footer { background: var(--c-dark); color: var(--c-on-dark-soft); }
.sx-footer a { color: var(--c-on-dark); }
.sx-footer a:hover { color: var(--c-on-dark); text-decoration: underline; }
.sx-footer__grid { display: grid; gap: var(--space-7); padding-block: var(--space-8); }
.sx-footer .sx-logo { color: var(--c-on-dark); margin-bottom: var(--space-4); }
.sx-footer__about { max-width: 26rem; }
.sx-footer__title { margin: 0 0 var(--space-4); font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: var(--fw-strong); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-on-dark); }
.sx-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.sx-footer__link { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; }
.sx-footer__link:hover { text-decoration: underline; }
.sx-footer .sx-contact-list .sx-icon { color: var(--c-on-dark); }
.sx-footer .sx-contact-list a { text-decoration: none; }
.sx-footer .sx-contact-list a:hover { text-decoration: underline; }
.sx-social { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.sx-social__link { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid rgb(255 255 255 / 0.35); border-radius: 50%; }
.sx-social__link:hover { background: var(--c-on-dark); color: var(--c-dark) !important; }
.sx-social__link .sx-icon { width: 1.15rem; height: 1.15rem; }
.sx-footer__bar { border-top: 1px solid rgb(255 255 255 / 0.16); }
.sx-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); padding-block: var(--space-4); font-size: var(--fs-small); }
.sx-footer__copy { margin: 0; }
.sx-footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); list-style: none; margin: 0; padding: 0; }
.sx-footer .sx-linkbtn { color: var(--c-on-dark); text-decoration: none; min-height: 2.25rem; }
.sx-footer .sx-linkbtn:hover { text-decoration: underline; }
@media (min-width: 700px) { .sx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sx-footer__grid { grid-template-columns: 1.4fr repeat(auto-fit, minmax(9rem, 1fr)); grid-auto-flow: column; } .sx-footer__bar-inner .sx-lang-switch { margin-inline-start: auto; } }

/* ---------- WooCommerce: inherit the site's type and buttons ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { min-height: 2.875rem; padding: 0.7rem 1.35rem; background: var(--c-brand); color: var(--c-on-brand); border-radius: var(--radius-pill); font-weight: var(--fw-strong); }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--c-brand-strong); color: var(--c-on-brand); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--c-ink); font-weight: var(--fw-strong); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 2.875rem; padding: 0.65rem 0.85rem; border: 1.5px solid var(--c-ink-soft); border-radius: var(--radius-s); }

/* ==========================================================================
   Rationale Services — the approved design.
   Everything above this line is the kit's baseline. Everything below applies
   the art direction in design/ART-DIRECTION.md: ruled columns, one arc, a
   full-bleed banner on every page, and a calm motion layer.
   ========================================================================== */

/* ---------- The ruled columns ----------
   The grid is drawn, not implied: hairlines at the container edges and the two
   inner column positions, the way a ledger page is ruled before anything is
   written on it. Decorative, so they never carry meaning. */
.sx-rules { position: absolute; inset: 0; display: none; pointer-events: none; }
.sx-rules i { border-inline-start: 1px solid var(--c-line); }
@media (min-width: 900px) {
  .sx-rules { display: grid; grid-template-columns: repeat(4, 1fr); width: min(var(--container), 100%); margin-inline: auto; inset-inline: 0; }
}
.sx-ruled { position: relative; }
.sx-banner .sx-rules i { border-inline-start-color: rgb(255 255 255 / 0.22); }

/* ---------- The banner: hero and every page header ---------- */
.sx-section--hero, .sx-section--page-header { position: relative; overflow: hidden; background: var(--c-dark); color: var(--c-on-dark); }
.sx-section--hero { padding-block: clamp(3.25rem, 2rem + 5vw, 7rem); }
.sx-section--page-header { padding-block: clamp(2.75rem, 1.8rem + 3.6vw, 5rem); }
.sx-banner__bg { position: absolute; inset: 0; }
.sx-banner__bg .sx-img, .sx-banner__bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.sx-banner__bg .sx-ph { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important;
  border-radius: 0; background: var(--c-dark); border: 0; display: block; }
/* With no photograph yet, the band still has to read as a banner: the label
   sits as a caption in the corner rather than floating in the middle of the
   headline, and names the shot that belongs there. */
.sx-banner__bg .sx-ph__text { position: absolute; inset-inline-end: var(--space-4); inset-block-end: var(--space-4);
  max-width: 30ch; padding: 0.5rem 0.75rem; background: rgb(1 51 95 / 0.72); border: 1px solid var(--c-focus-on-dark);
  border-radius: var(--radius-s); color: var(--c-on-dark); font-size: var(--fs-eyebrow); line-height: 1.45; text-align: start; }
.sx-banner__bg .sx-ph__text small { display: block; margin-top: 0.2rem; color: var(--c-on-dark-soft); max-width: none; }
@media (max-width: 899px) {
  .sx-banner__bg .sx-ph__text { position: static; display: block; margin: 0; max-width: none; }
  .sx-banner__bg .sx-ph { display: grid; align-content: end; padding: var(--space-4); }
}
.sx-banner__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(1 51 95 / 0.80) 0%, rgb(1 51 95 / 0.94) 72%); }
@media (min-width: 900px) {
  .sx-banner__scrim { background: linear-gradient(to right, rgb(1 51 95 / 0.94) 0%, rgb(1 51 95 / 0.88) 46%, rgb(1 51 95 / 0.42) 100%); }
}
.sx-banner__inner { position: relative; }
.sx-banner__inner > :last-child { margin-bottom: 0; }
.sx-section--hero .sx-hero__title { max-width: 18ch; color: var(--c-on-dark); }
.sx-section--hero .sx-lead, .sx-section--page-header .sx-lead { color: var(--c-on-dark-soft); max-width: 36rem; }
.sx-section--hero .sx-eyebrow, .sx-section--page-header .sx-eyebrow { color: var(--c-focus-on-dark); }
.sx-section--page-header .sx-heading__title { max-width: 20ch; color: var(--c-on-dark); }
.sx-banner .sx-points { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--c-focus-on-dark); }
.sx-banner .sx-points li { color: var(--c-on-dark); font-weight: var(--fw-body); }
.sx-banner .sx-points .sx-icon { color: var(--c-focus-on-dark); }
.sx-points--banner { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .sx-points--banner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
/* The old split hero is gone; neutralise its grid so nothing half-applies. */
.sx-hero__grid { display: block; }

/* ---------- The one arc ----------
   Lifted from the orbit in the mark. Twice a page: the hero and the closing
   band. A third appearance would make it wallpaper. */
.sx-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sx-arc path { fill: none; stroke-linecap: round; }
.sx-arc__a { stroke: var(--c-on-dark); stroke-width: var(--arc-stroke); opacity: 0.5; }
.sx-arc__b { stroke: var(--c-focus-on-dark); stroke-width: 2.5; }

/* ---------- Buttons ---------- */
.sx-btn { border-radius: var(--radius-m); }
.sx-btn--invert { background: var(--c-on-dark); color: var(--c-dark); border-color: transparent; }
.sx-btn--invert:hover { background: var(--c-focus-on-dark); color: var(--c-dark); }
.sx-btn--on-dark { background: transparent; color: var(--c-on-dark); border: 1.5px solid var(--c-on-dark-soft); }
.sx-btn--on-dark:hover { background: rgb(255 255 255 / 0.10); color: var(--c-on-dark); }
.sx-btn .sx-icon { transition: transform var(--duration-fast) var(--ease-out); }
.sx-btn:hover .sx-icon { transform: translateX(2px); }
[dir="rtl"] .sx-btn:hover .sx-icon { transform: translateX(-2px); }

/* ---------- Section rhythm ----------
   No two neighbouring sections share both a layout and a background. */
.sx-section--cards, .sx-section--faq, .sx-section--stats, .sx-section--logos { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.sx-section--pricing { background: var(--c-surface); }

/* ---------- Images: the ruled frame ----------
   Hard-edged, no radius, a 2px brand rule on the leading edge. The frame is
   the ruled-column idea applied to a picture. */
.sx-split__media .sx-img, .sx-split__media .sx-ph,
.sx-gallery .sx-img, .sx-gallery .sx-ph {
  border-radius: 0; border-inline-start: 2px solid var(--c-brand);
}
.is-reversed .sx-split__media .sx-img, .is-reversed .sx-split__media .sx-ph {
  border-inline-start: 0; border-inline-end: 2px solid var(--c-brand);
}
.sx-ph { background: var(--c-surface-alt); border: 0; }
.sx-ph__text { color: var(--c-ink-soft); font-size: var(--fs-small); }
.sx-ph__text small { display: block; margin-top: 0.4rem; max-width: 34ch; }

/* ---------- Cards: on the rules, not floating above them ---------- */
.sx-card { border-radius: var(--radius-m); box-shadow: none; transition: transform var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out); position: relative; }
.sx-card::before { content: ""; position: absolute; inset-inline: -1px; inset-block-start: -1px; height: 2px; background: var(--c-brand); opacity: 0; transition: opacity var(--duration-fast) var(--ease-out); }
.sx-card:hover { transform: translateY(-2px); border-color: var(--c-brand); }
.sx-card:hover::before { opacity: 1; }
.sx-card__icon { width: auto; height: auto; background: none; border-radius: 0; color: var(--c-accent); }
.sx-card__icon .sx-icon { width: 1.65rem; height: 1.65rem; }
.sx-card__title a:hover { color: var(--c-brand-strong); }

/* ---------- The industries hub: a ruled table, not a second card grid ----------
   The home page already carries a card grid; two grids in a row is the single
   most generic thing this site could do. */
@media (min-width: 760px) {
  #sectors .sx-grid { display: block; border-top: 1px solid var(--c-line); }
  #sectors .sx-card { display: grid; grid-template-columns: 16rem 1fr auto; align-items: center; gap: var(--space-5);
    border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; padding: 0; background: transparent; }
  #sectors .sx-card::before { content: none; }
  #sectors .sx-card:hover { transform: none; background: var(--c-surface-alt); }
  #sectors .sx-card__body { display: contents; }
  #sectors .sx-card__icon { display: none; }
  #sectors .sx-card__title { padding-block: var(--space-4); padding-inline-start: var(--space-4); font-family: var(--font-body); font-size: var(--fs-body); }
  #sectors .sx-card__title a { color: var(--c-brand); font-weight: var(--fw-strong); }
  #sectors .sx-card p { color: var(--c-ink); }
  #sectors .sx-card__more { margin: 0 !important; padding-inline-end: var(--space-4); }
}

/* ---------- Steps: a ruled band, not a row of circles ---------- */
.sx-step { padding-inline-start: 0; padding-block-start: var(--space-5); border-top: 1px solid var(--c-line); }
.sx-step:first-child { border-top: 2px solid var(--c-brand); }
.sx-step__num { position: static; width: auto; height: auto; background: none; border-radius: 0; color: var(--c-accent); font-size: var(--fs-small); letter-spacing: var(--ls-eyebrow); margin-bottom: var(--space-3); display: block; }
@media (min-width: 900px) { .sx-step { padding-block-start: var(--space-5); } }

/* ---------- Questions: a ruled list ---------- */
.sx-faq { gap: 0; border-top: 1px solid var(--c-line); }
.sx-faq__item { background: transparent; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; }
.sx-faq__item summary { padding-inline: 0; min-height: 2.75rem; }
.sx-faq__item summary:hover .sx-faq__q { color: var(--c-brand); }
.sx-faq__q { font-size: var(--fs-h4); }
.sx-faq__a { padding-inline: 0; padding-bottom: var(--space-5); color: var(--c-ink); max-width: var(--container-narrow); }

/* ---------- Running text keeps its measure ---------- */
.sx-section--richtext .sx-prose, .sx-section--legal .sx-prose { max-width: var(--container-narrow); }
.sx-prose h3 { margin-top: var(--space-6); }

/* ---------- Call to action: the mirrored arc ---------- */
.sx-cta { border-radius: var(--radius-m); position: relative; overflow: hidden; }
.sx-section--cta { background: var(--c-bg); }

/* ---------- Focus: two rings, so one indicator works on every ground ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--c-focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--c-bg);
}
.sx-banner :where(a, button, summary):focus-visible,
.sx-footer :where(a, button, summary):focus-visible,
.sx-cta :where(a, button):focus-visible {
  outline-color: var(--c-focus-on-dark); box-shadow: 0 0 0 2px var(--c-dark);
}
/* Nothing is ever hidden behind the sticky header when it takes focus (2.4.11). */
:target, [id] { scroll-margin-top: calc(var(--header-h) + var(--space-4)); }

/* ---------- Form controls: a control boundary needs 3:1, the hairline does not reach it ---------- */
.sx-field input, .sx-field select, .sx-field textarea, .sx-input { border-color: var(--c-ink-soft); border-radius: var(--radius-s); }
.sx-field input:hover, .sx-field select:hover, .sx-field textarea:hover { border-color: var(--c-brand); }

/* ---------- Motion ----------
   Every starting state is scoped to .sx-motion, which site.js adds to <html>
   only when reduced motion is not requested. With scripts off, or reduced
   motion on, the page renders settled with nothing hidden. */
.sx-motion .sx-reveal { opacity: 0; transform: translateY(var(--reveal-distance)); }
.sx-motion .sx-reveal.is-in { opacity: 1; transform: none; transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out); }
.sx-motion .sx-reveal > * { transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out); }
.sx-motion .sx-reveal--stagger > * { opacity: 0; transform: translateY(var(--reveal-distance)); }
.sx-motion .sx-reveal--stagger.is-in > * { opacity: 1; transform: none; }
.sx-motion .sx-reveal--stagger.is-in > :nth-child(2) { transition-delay: var(--stagger); }
.sx-motion .sx-reveal--stagger.is-in > :nth-child(3) { transition-delay: calc(var(--stagger) * 2); }
.sx-motion .sx-reveal--stagger.is-in > :nth-child(4) { transition-delay: calc(var(--stagger) * 3); }
.sx-motion .sx-reveal--stagger.is-in > :nth-child(5) { transition-delay: calc(var(--stagger) * 4); }
.sx-motion .sx-reveal--stagger.is-in > :nth-child(6) { transition-delay: calc(var(--stagger) * 5); }
.sx-motion .sx-reveal--stagger.is-in > :nth-child(7) { transition-delay: calc(var(--stagger) * 6); }
.sx-motion .sx-reveal--stagger.is-in > :nth-child(8) { transition-delay: calc(var(--stagger) * 7); }

/* The hero's orchestrated entrance: under 900ms, headline in place at 240ms. */
.sx-motion .sx-banner .sx-arc path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: sx-draw var(--duration-slow) var(--ease-emphasis) 80ms forwards; }
.sx-motion .sx-banner .sx-rules i { transform: scaleY(0); transform-origin: top; animation: sx-rule var(--duration-slow) var(--ease-out) forwards; }
.sx-motion .sx-banner__inner > * { opacity: 0; transform: translateY(20px); animation: sx-rise var(--duration-base) var(--ease-emphasis) forwards; }
.sx-motion .sx-banner__inner > :nth-child(1) { animation-delay: 60ms; }
.sx-motion .sx-banner__inner > :nth-child(2) { animation-delay: 120ms; }
.sx-motion .sx-banner__inner > :nth-child(3) { animation-delay: 180ms; }
.sx-motion .sx-banner__inner > :nth-child(4) { animation-delay: 240ms; }
.sx-motion .sx-banner__inner > :nth-child(5) { animation-delay: 300ms; }
@keyframes sx-draw { to { stroke-dashoffset: 0; } }
@keyframes sx-rule { to { transform: scaleY(1); } }
@keyframes sx-rise { to { opacity: 1; transform: none; } }

/* A revealing element that takes keyboard focus shows at once. */
.sx-motion .sx-reveal:focus-within { opacity: 1; transform: none; }
.sx-motion .sx-reveal--stagger:focus-within > * { opacity: 1; transform: none; }

/* The header condenses past 80px rather than jumping. */
.sx-header { transition: box-shadow var(--duration-base) var(--ease-out), min-height var(--duration-base) var(--ease-out); }
.sx-header.is-stuck { box-shadow: var(--shadow-1); }
.sx-header.is-stuck .sx-header__inner { min-height: calc(var(--header-h) - 0.75rem); }

@media (prefers-reduced-motion: reduce) {
  .sx-motion .sx-reveal, .sx-motion .sx-reveal--stagger > *,
  .sx-motion .sx-banner__inner > * { opacity: 1; transform: none; animation: none; }
  .sx-motion .sx-banner .sx-arc path { stroke-dashoffset: 0; animation: none; }
  .sx-motion .sx-banner .sx-rules i { transform: none; animation: none; }
}

/* Navigation labels never wrap: a two-line menu item reads as a bug. */
.sx-nav--desktop .sx-nav__link { white-space: nowrap; }
/* Keep the banner's content clear of the placeholder caption in the corner. */
@media (min-width: 900px) { .sx-section--hero .sx-banner__inner { padding-block-end: var(--space-7); } }

/* A grid or flex child that holds running text, a field or a table must be
   allowed to shrink, or it pushes the page sideways at 320px (WCAG 1.4.10). */
.sx-contact > *, .sx-contact__form, .sx-formwrap, .sx-form, .sx-form__row, .sx-field,
.sx-split > *, .sx-grid > *, .sx-steps > *, .sx-footer__grid > * { min-width: 0; }
.sx-field input, .sx-field select, .sx-field textarea, .sx-input { max-width: 100%; width: 100%; box-sizing: border-box; }

/* Breadcrumbs sit on the navy banner now, so they take the on-dark pair.
   (The baseline rule keyed off .has-image, which the banner template replaced.) */
.sx-banner .sx-breadcrumbs a { color: var(--c-on-dark-soft); }
.sx-banner .sx-breadcrumbs a:hover { color: var(--c-on-dark); }
.sx-banner .sx-breadcrumbs [aria-current] { color: var(--c-on-dark); }
.sx-banner .sx-breadcrumbs li + li::before { color: var(--c-on-dark-soft); }
