/* ==========================================================================
   ANBOOST UI — public pages /about, /contact, /amazing-themes. Builds on anboost-ui.css.
   Scoped to body.anboost-ui.au-public.
   ========================================================================== */

/* ---------- Shared: hero, section heads, tiles, CTA ---------- */
.au-public .au-pb-hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 6vw, 84px)) 0 clamp(36px, 5vw, 64px); isolation: isolate; }
.au-public .au-pb-hero--compact { padding-bottom: clamp(20px, 3vw, 34px); }
.au-public .au-pb-hero::before { content: ""; position: absolute; inset: 0 0 -160px; z-index: -1; pointer-events: none; background: radial-gradient(620px 300px at 14% 16%, rgba(15, 184, 170, .13), transparent 70%), radial-gradient(420px 240px at 92% 8%, rgba(233, 85, 43, .06), transparent 70%); }
.au-public.is-rtl .au-pb-hero::before { background: radial-gradient(620px 300px at 86% 16%, rgba(15, 184, 170, .13), transparent 70%), radial-gradient(420px 240px at 8% 8%, rgba(233, 85, 43, .06), transparent 70%); }
.au-public .au-pb-hero .au-kicker { margin-bottom: 12px; }
.au-public .au-pb-hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.au-public.is-rtl .au-pb-hero__title, .au-public .au-pb-hero__title:dir(rtl) { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.au-public .au-pb-hero__lead { margin-top: 16px; max-width: 60ch; color: var(--navy-2); font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.85; overflow-wrap: anywhere; }
.au-public .au-pb-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.au-public .au-pb-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--navy-2); font-size: 14px; }
.au-public .au-pb-note .au-i { color: var(--teal-ink); }
.au-public .au-pb-sec { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 0; } /* block only: keeps .au-wrap's inline gutter */
.au-public .au-pb-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.au-public .au-pb-head__title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.au-public.is-rtl .au-pb-head__title, .au-public .au-pb-head__title:dir(rtl), .au-public [lang="ar"] .au-pb-head__title { font-family: "Readex Pro", "IBM Plex Sans Arabic", var(--display); font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.au-public [lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--body); }
.au-public [lang] .au-kicker:lang(ar) { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; } /* Arabic kickers in the English chrome: no tracking (it breaks letter joining) */
/* Arabic content blocks inside the English interface read right-to-left: their direction arrows turn too. */
.au-public.is-ltr [dir="rtl"] .au-dir { transform: scaleX(-1); }
.au-public .au-tile { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--teal-soft); }
.au-public .au-tile img { width: 30px; height: 30px; object-fit: contain; }
.au-public .au-tile--dark { background: var(--navy); }
.au-public .au-pb-cta { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px 40px; padding: clamp(28px, 4vw, 52px); border-radius: 32px; background: radial-gradient(520px 260px at 90% 0%, rgba(15, 184, 170, .35), transparent 70%), linear-gradient(135deg, #13233B, #0E3A4A); color: var(--ivory); overflow: hidden; isolation: isolate; }
.au-public.is-rtl .au-pb-cta { background: radial-gradient(520px 260px at 10% 0%, rgba(15, 184, 170, .35), transparent 70%), linear-gradient(225deg, #13233B, #0E3A4A); }
.au-public .au-pb-cta > div:first-child { max-width: 620px; min-width: 0; }
.au-public .au-pb-cta__title { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.02em; }
.au-public [lang="ar"] .au-pb-cta__title, .au-public.is-rtl .au-pb-cta__title { font-family: "Readex Pro", "IBM Plex Sans Arabic", var(--display); font-weight: 700; letter-spacing: 0; line-height: 1.45; }
.au-public .au-pb-cta__text { margin-top: 10px; color: rgba(247, 243, 236, .78); white-space: pre-line; }
.au-public .au-pb-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.au-public .au-btn--light { background: var(--paper); color: var(--navy); }
.au-public .au-btn--light:hover { background: #fff; }
.au-public .au-btn__img { width: 18px; height: 18px; object-fit: contain; }

/* ---------- About ---------- */
.au-about .au-pb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.au-about .au-pb-hero__text { min-width: 0; }
.au-about .au-ab-brand { margin-top: 18px; font-family: var(--latin); font-weight: 800; font-size: 20px; letter-spacing: .02em; color: var(--teal-ink); }
.au-about .au-ab-visual { min-width: 0; }
.au-about .au-ab-visual picture { display: block; }
.au-about .au-ab-visual__art { display: block; width: 100%; height: auto; border-radius: 28px; background: #E9EDF0; box-shadow: 0 40px 80px -50px rgba(13, 26, 44, .5); }
.au-public .au-ab-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #F4F1EB; border-bottom: 1px solid var(--line); font-family: var(--latin); font-size: 11.5px; color: var(--mute); }
.au-public .au-ab-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(19, 35, 59, .18); }
.au-public .au-ab-bar span { margin-inline-start: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-about .au-ab-stats { padding-top: clamp(40px, 6vw, 84px); }
.au-about .au-ab-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 26px 50px -44px rgba(13, 26, 44, .5); overflow: hidden; }
.au-about .au-ab-stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: clamp(20px, 2.6vw, 30px); min-width: 0; }
.au-about .au-ab-stat + .au-ab-stat { border-inline-start: 1px solid var(--line); }
.au-about .au-ab-stat dt { color: var(--mute); font-size: 15px; overflow-wrap: anywhere; }
.au-about .au-ab-stat dd { margin: 0; font-family: var(--latin); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; color: var(--teal-2); line-height: 1.1; }
.au-about.is-rtl .au-ab-stat dd { text-align: end; }
.au-about .au-ab-stat dd b { color: var(--navy); }
.au-about .au-ab-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.au-about .au-ab-mv__card { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--paper); border: 1px solid var(--line); }
.au-about .au-ab-mv__card.is-vision { background: linear-gradient(160deg, rgba(15, 184, 170, .1), rgba(255, 253, 249, .9)); }
.au-about .au-ab-mv__title { font-family: "Readex Pro", "IBM Plex Sans Arabic", var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; }
.au-about .au-ab-mv__text { color: var(--navy-2); font-size: 16.5px; line-height: 1.9; overflow-wrap: anywhere; }
.au-about .au-ab-why__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(28px, 4vw, 56px); }
.au-about .au-ab-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.au-about .au-ab-feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.au-about .au-ab-feature > div { min-width: 0; }
.au-about .au-ab-feature__title { font-weight: 700; font-size: 17px; line-height: 1.45; }
.au-about .au-ab-feature__text { margin-top: 4px; color: var(--mute); font-size: 15px; line-height: 1.8; }
.au-about .au-ab-shots { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.au-about .au-ab-shots > div { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(13, 26, 44, .55); }
.au-about .au-ab-shots img { width: 100%; height: auto; }
.au-about .au-ab-shots__one { grid-column: 1 / -1; }
.au-public .au-ab-bar--sm { padding: 6px 10px; font-size: 10.5px; }
.au-about .au-ab-journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.au-about .au-ab-step { position: relative; display: grid; gap: 6px; align-content: start; padding: 24px 22px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.au-about .au-ab-step__dot { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: var(--navy); color: var(--ivory); font-weight: 800; }
.au-about .au-ab-step:last-child .au-ab-step__dot { background: linear-gradient(145deg, #0FB8AA, #0A7F86); }
.au-about .au-ab-step__when { color: var(--teal-ink); font-weight: 700; font-size: 14px; }
.au-about .au-ab-step__title { font-family: "Readex Pro", "IBM Plex Sans Arabic", var(--display); font-weight: 700; font-size: 20px; line-height: 1.4; }
.au-about .au-ab-step__text { color: var(--mute); font-size: 15px; line-height: 1.8; }
.au-about .au-ab-values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.au-about .au-ab-value { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.au-about .au-ab-value__title { font-weight: 700; font-size: 18px; line-height: 1.45; }
.au-about .au-ab-value__text { color: var(--mute); font-size: 15px; line-height: 1.8; }
.au-about main > :last-child, .au-public main > :last-child { padding-bottom: clamp(64px, 8vw, 110px); }

/* ---------- Contact ---------- */
.au-contact .au-ct-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.au-contact .au-ct-form { min-width: 0; }
.au-contact .au-ct-form__title, .au-contact .au-ct-side__title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.35; }
.au-contact .au-ct-form__hint { margin: 4px 0 18px; }
/* The form-builder markup (FormBuilderCustom), unchanged, styled here. */
.au-contact .custom-form-builder-land { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; margin: 0; }
.au-contact .custom-form-builder-land .form-group { display: grid; gap: 7px; margin: 0; min-width: 0; }
.au-contact .custom-form-builder-land .form-group.textarea, .au-contact .custom-form-builder-land .error-message, .au-contact .custom-form-builder-land .btn-wrapper { grid-column: 1 / -1; }
.au-contact .custom-form-builder-land .fp-fields { display: contents; }
.au-contact .custom-form-builder-land label { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.au-contact .custom-form-builder-land .form-group:has([required]) label::after { content: " *"; color: #B42318; }
.au-contact .custom-form-builder-land .fp-hp label::after { content: none; }
.au-contact .custom-form-builder-land .form-control { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.au-contact .custom-form-builder-land textarea.form-control { min-height: 150px; resize: vertical; line-height: 1.6; }
.au-contact .custom-form-builder-land .form-control::placeholder { color: #8A8F99; }
.au-contact .custom-form-builder-land .form-control:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px var(--teal-soft); }
.au-contact .custom-form-builder-land .btn-wrapper { display: flex; align-items: center; gap: 12px; }
.au-contact .custom-form-builder-land .submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 180px; height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--cta); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 14px 30px -14px var(--cta-glow); transition: transform .2s var(--ease), background .2s; }
.au-contact .custom-form-builder-land .submit-btn:hover { background: var(--cta-hover); transform: translateY(-2px); }
.au-contact .custom-form-builder-land .submit-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.au-contact .custom-form-builder-land .ajax-loading-wrap, .au-contact .custom-form-builder-land .ajax-loading-wrap.hide { display: none; }
.au-contact .custom-form-builder-land .error-message:empty { display: none; }
.au-contact .custom-form-builder-land .alert { display: block; margin: 0; padding: 14px 16px; border-radius: 16px; border: 1px solid; font-size: 15px; line-height: 1.6; list-style: none; }
.au-contact .custom-form-builder-land .alert-success { background: #ECFDF3; border-color: #ABEFC6; color: #085D3A; }
.au-contact .custom-form-builder-land .alert-danger { background: #FEF3F2; border-color: #FECDCA; color: #912018; }
.au-contact .custom-form-builder-land ul.alert li + li { margin-top: 4px; }
.au-contact .au-ct-side { display: grid; gap: 14px; min-width: 0; }
.au-contact .au-ct-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.au-contact .au-ct-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.au-contact .au-ct-card__body { display: grid; gap: 2px; min-width: 0; }
.au-contact .au-ct-card__title { color: var(--mute); font-size: 14px; font-weight: 600; }
.au-contact .au-ct-card__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--latin); font-weight: 700; font-size: 18px; color: var(--navy); overflow-wrap: anywhere; justify-self: start; }
.au-contact .au-ct-card__link:hover { color: var(--teal-ink); }
.au-contact .au-ct-card__line { font-weight: 700; font-size: 17px; line-height: 1.6; }
.au-contact .au-ct-tickets { display: grid; gap: 8px; justify-items: start; padding: 20px; border-radius: 22px; background: var(--navy); color: var(--ivory); }
.au-contact .au-ct-tickets__title { font-weight: 700; }
.au-contact .au-ct-tickets__lead { color: rgba(247, 243, 236, .75); font-size: 14.5px; }
.au-contact .au-ct-tickets .au-btn { margin-top: 6px; background: var(--paper); color: var(--navy); height: 44px; }

/* ---------- Showroom ---------- */
.au-showroom .au-sr-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; }
.au-showroom .au-sr-hero__cta { flex: none; }
.au-showroom .au-sr-body { display: grid; gap: clamp(22px, 3vw, 34px); }
/* Chips wrap; on phones they become one swipeable row. */
.au-showroom .au-sr-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.au-showroom .au-sr-filters::-webkit-scrollbar { display: none; }
.au-showroom .au-sr-filters button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--navy-2); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.au-showroom .au-sr-filters button small { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ivory-2); color: var(--mute); font-family: var(--latin); font-weight: 700; font-size: 12px; }
.au-showroom .au-sr-filters button:hover { border-color: rgba(10, 140, 149, .45); }
.au-showroom .au-sr-filters button.is-active { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.au-showroom .au-sr-filters button.is-active small { background: rgba(255, 255, 255, .16); color: var(--ivory); }
.au-showroom .au-sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.au-showroom .au-sr-card { display: flex; flex-direction: column; min-width: 0; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -54px rgba(13, 26, 44, .6); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.au-showroom .au-sr-card[hidden] { display: none; }
.au-showroom .au-sr-card:hover { transform: translateY(-4px); border-color: rgba(10, 140, 149, .3); box-shadow: 0 40px 70px -44px rgba(13, 26, 44, .55); }
.au-showroom .au-sr-card__shot { margin: 12px 12px 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.au-showroom .au-sr-card__bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #F4F1EB; border-bottom: 1px solid var(--line); font-family: var(--latin); font-size: 11.5px; color: var(--mute); }
.au-showroom .au-sr-card__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(19, 35, 59, .18); }
.au-showroom .au-sr-card__bar span { margin-inline-start: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-showroom .au-sr-card__frame { aspect-ratio: 4 / 5; overflow: hidden; }
/* The preview scrolls down the store while hovered (the tall screenshot's full page). */
.au-showroom .au-sr-card__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 3.2s ease-in-out; }
.au-showroom .au-sr-card:hover .au-sr-card__frame img { object-position: bottom center; }
.au-showroom .au-sr-card__body { display: grid; gap: 14px; padding: 16px 18px 18px; }
.au-showroom .au-sr-card__id { min-width: 0; }
.au-showroom .au-sr-card__name { font-family: var(--latin); font-weight: 800; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.au-showroom.is-rtl .au-sr-card__name { text-align: end; }
.au-showroom .au-sr-card__group { color: var(--mute); font-size: 14px; }
.au-showroom .au-sr-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.au-showroom .au-sr-card__actions .au-btn { flex: 1 1 auto; height: 46px; padding: 0 16px; }
.au-showroom .au-sr-cta { margin-top: clamp(12px, 2vw, 24px); margin-bottom: clamp(64px, 8vw, 110px); }

@media (prefers-reduced-motion: reduce) {
    .au-showroom .au-sr-card__frame img { transition: none; }
    .au-showroom .au-sr-card:hover .au-sr-card__frame img { object-position: top center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .au-about .au-pb-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .au-about .au-ab-visual { width: 100%; max-width: 720px; margin-inline: auto; }
    .au-about .au-ab-why__grid { grid-template-columns: minmax(0, 1fr); }
    .au-about .au-ab-shots { position: static; width: 100%; max-width: 520px; margin-inline: auto; }
    .au-contact .au-ct-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .au-about .au-ab-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .au-about .au-ab-stat:nth-child(3) { border-inline-start: 0; }
    .au-about .au-ab-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .au-about .au-ab-mv { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    .au-showroom .au-sr-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
    .au-public .au-pb-ctas .au-btn, .au-public .au-pb-cta__actions, .au-public .au-pb-cta__actions .au-btn, .au-showroom .au-sr-hero__cta { width: 100%; }
    .au-about .au-ab-features { grid-template-columns: minmax(0, 1fr); }
    .au-contact .custom-form-builder-land { grid-template-columns: minmax(0, 1fr); }
    .au-contact .custom-form-builder-land .submit-btn { width: 100%; }
    .au-public .au-pb-cta { border-radius: 26px; }
}
@media (max-width: 400px) {
    .au-about .au-ab-stat { padding: 16px; }
    .au-about .au-ab-stat dd { font-size: 28px; }
    .au-showroom .au-sr-card__actions .au-btn { flex-basis: 100%; }
}
