/* ============================================================================
   ashal.css — Ashal (أسهل) brand layer for the static Bootstrap 5 posters.
   Loaded AFTER bootstrap.rtl.min.css so brand styles win. Ported 1:1 from the
   React/Tailwind source (resources/css/app.css + components/ui/*). Arabic, RTL.
   OFFICIAL ashal.om identity: teal #10A0C4 primary + gold #FBB436 accent on white.
   ========================================================================== */

:root {
    --ashal-blue: #10A0C4;   /* PRIMARY teal */
    --ashal-ink: #212529;    /* body text */
    --ashal-white: #FFFFFF;
    --ashal-orange: #FBB436; /* ACCENT gold */
    --ashal-deep: #0D7B97;   /* deep teal (gradients / hover) */
    --ashal-wa: #25D366;     /* WhatsApp green */

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    --shadow-joyful-blue: 0 12px 28px -10px rgba(16, 160, 196, .22), 0 4px 10px -4px rgba(16, 160, 196, .12);
    --shadow-joyful-orange: 0 12px 28px -10px rgba(251, 180, 54, .26), 0 4px 10px -4px rgba(251, 180, 54, .14);
    --shadow-card: 0 8px 24px rgba(33, 37, 41, .08);

    --font-sans: 'Tajawal', ui-sans-serif, system-ui, 'Segoe UI', Tahoma, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--ashal-ink);
    background: var(--ashal-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
* { scroll-margin-top: 6rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* scroll-reveal: add .reveal; common.js toggles .is-visible */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- layout ---------- */
.ash-container { width: 100%; max-width: 80rem; margin-inline: auto; }
.ash-narrow { max-width: 48rem; margin-inline: auto; }   /* max-w-3xl */
.ash-mid { max-width: 64rem; margin-inline: auto; }       /* max-w-5xl */
.ash-section { padding: 4rem 1.5rem; position: relative; }
@media (min-width: 768px) { .ash-section { padding: 5rem 1.5rem; } }

/* ---------- color/text helpers ---------- */
.text-ash-blue { color: var(--ashal-blue) !important; }
.text-ash-orange { color: var(--ashal-orange) !important; }
.text-ash-ink { color: var(--ashal-ink) !important; }
.text-ash-white { color: var(--ashal-white) !important; }
.text-ash-deep { color: var(--ashal-deep) !important; }
.text-ink-70 { color: rgba(33, 37, 41, .72); }
.text-ink-80 { color: rgba(33, 37, 41, .82); }
.text-white-90 { color: rgba(255, 255, 255, .9); }
.fw-black { font-weight: 900 !important; }
.bg-ash-blue { background: var(--ashal-blue); }
.bg-ash-orange { background: var(--ashal-orange); }
.bg-ash-white { background: var(--ashal-white); }
.shadow-card { box-shadow: var(--shadow-card); }
.shadow-joyful-blue { box-shadow: var(--shadow-joyful-blue); }
.shadow-joyful-orange { box-shadow: var(--shadow-joyful-orange); }

/* ---------- gradient / texture utilities (ported verbatim) ---------- */
.bg-ashal-hero { background-image: linear-gradient(135deg, #10A0C4 0%, #0D7B97 100%); }
.bg-ashal-warm { background-image: linear-gradient(135deg, #FBB436 0%, #F59E0B 100%); }
.bg-ashal-soft { background-image: linear-gradient(180deg, #FFFFFF 0%, #EBFBFF 100%); }
.bg-ashal-hero-pink { background-image: linear-gradient(180deg, #EBFBFF 0%, #F2FAFD 45%, #FFFFFF 100%); }
.bg-ashal-lavender { background-image: linear-gradient(180deg, #EBFBFF 0%, #FFFFFF 100%); }
.bg-ashal-mint { background-image: linear-gradient(180deg, #EBFBFF 0%, #FFFFFF 100%); }
.bg-ashal-cream { background-image: linear-gradient(180deg, #FFF8EB 0%, #FFFFFF 100%); }
.bg-dot-grid { background-image: radial-gradient(circle, rgba(16, 160, 196, .16) 2px, transparent 2.3px); background-size: 20px 20px; }
.bg-dot-grid-blue { background-image: radial-gradient(circle, rgba(16, 160, 196, .12) 1.6px, transparent 1.9px); background-size: 22px 22px; }
.bg-dot-grid-white { background-image: radial-gradient(circle, rgba(255, 255, 255, .28) 2px, transparent 2.3px); background-size: 22px 22px; }

/* gold highlighter swipe behind a headline keyword */
.marker-orange { background-image: linear-gradient(180deg, transparent 58%, rgba(251, 180, 54, .45) 58%, rgba(251, 180, 54, .45) 92%, transparent 92%); padding-inline: .12em; border-radius: .12em; }
.marker-lime { background-image: linear-gradient(180deg, transparent 58%, rgba(251, 180, 54, .5) 58%, rgba(251, 180, 54, .5) 92%, transparent 92%); padding-inline: .12em; border-radius: .12em; }

/* ---------- decorative dots layer ---------- */
.deco { position: absolute; pointer-events: none; }
.deco-dot { border-radius: 9999px; }

/* ---------- headings ---------- */
.ash-h1 { font-size: 1.875rem; font-weight: 900; line-height: 1.25; color: var(--ashal-blue); }
.ash-h2 { font-size: 1.5rem; font-weight: 900; line-height: 1.25; color: var(--ashal-blue); }
.ash-h3 { font-size: 1.125rem; font-weight: 900; color: var(--ashal-blue); }
@media (min-width: 768px) {
    .ash-h1 { font-size: 3rem; }
    .ash-h2 { font-size: 2.25rem; }
    .ash-h3 { font-size: 1.25rem; }
}
.ash-h2.on-color, .ash-h3.on-color { color: #fff; }

/* signature gold curved-swoosh underline (path M3 10 C 55 2, 145 2, 197 8) */
.ash-swoosh {
    display: block; height: .75rem; width: 9rem; margin-top: .75rem;
    background-repeat: no-repeat; background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' fill='none' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 55 2, 145 2, 197 8' stroke='%23FBB436' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ash-swoosh.center { margin-inline: auto; }

.lead-sub { margin-inline: auto; max-width: 48rem; font-size: 1rem; font-weight: 700; color: rgba(33,37,41,.8); }
.lead-body { margin-inline: auto; max-width: 48rem; font-size: 1rem; font-weight: 500; line-height: 1.625; color: rgba(33,37,41,.8); }
.on-color .lead-sub, .on-color .lead-body, .lead-sub.on-color, .lead-body.on-color { color: rgba(255,255,255,.9); }
@media (min-width: 768px) { .lead-sub, .lead-body { font-size: 1.125rem; } }

/* ---------- eyebrow pill ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    border-radius: 9999px; padding: .375rem 1rem;
    font-size: .875rem; font-weight: 700;
    background: rgba(251, 180, 54, .2); color: var(--ashal-ink);
}
@media (min-width: 768px) { .eyebrow { font-size: 1rem; } }
.eyebrow.blue { background: rgba(16, 160, 196, .12); color: var(--ashal-blue); }
.eyebrow.white-pill { background: #fff; color: var(--ashal-ink); box-shadow: var(--shadow-card); }
.eyebrow.on-color { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- buttons ---------- */
.ash-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border: none; cursor: pointer; border-radius: 9999px;
    padding: .75rem 1.75rem; font-size: 1rem; font-weight: 700; font-family: inherit;
    transition: filter .2s ease, transform .1s ease, background .2s, border-color .2s, color .2s;
    text-decoration: none; line-height: 1.2;
}
.ash-btn:active { transform: scale(.95); }
.ash-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(16,160,196,.3); }
.ash-btn-primary { background: var(--ashal-orange); color: #fff; box-shadow: var(--shadow-joyful-orange); }
.ash-btn-primary:hover { filter: brightness(1.05); color: #fff; }
.ash-btn-gradient { background-image: linear-gradient(135deg, #FBB436 0%, #F59E0B 100%); color: #fff; box-shadow: var(--shadow-joyful-orange); }
.ash-btn-gradient:hover { filter: brightness(1.05); color: #fff; }
.ash-btn-blue { background: var(--ashal-blue); color: #fff; box-shadow: var(--shadow-joyful-blue); }
.ash-btn-blue:hover { filter: brightness(1.05); color: #fff; }
.ash-btn-outline { border: 2px solid rgba(16,160,196,.25); background: #fff; color: var(--ashal-blue); }
.ash-btn-outline:hover { border-color: var(--ashal-blue); color: var(--ashal-blue); }
.ash-btn-white { background: #fff; color: var(--ashal-blue); box-shadow: var(--shadow-card); }
.ash-btn-white:hover { background: rgba(255,255,255,.9); color: var(--ashal-blue); }
/* on a teal block, outline becomes white-bordered */
.on-teal .ash-btn-outline, .ash-btn-outline.on-teal { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.on-teal .ash-btn-outline:hover, .ash-btn-outline.on-teal:hover { border-color: #fff; color: #fff; }
.ash-btn-block { width: 100%; }
.ash-btn:disabled { opacity: .7; cursor: not-allowed; }

/* trailing circular arrow chip (mirrored for RTL) */
.ash-btn .arrow-chip {
    display: inline-flex; align-items: center; justify-content: center;
    height: 1.75rem; width: 1.75rem; border-radius: 9999px; font-size: .875rem;
    background: rgba(255, 255, 255, .25);
}
.ash-btn .arrow-chip > span { display: inline-block; transform: scaleX(-1); }
.ash-btn.arrow { padding-inline-start: .75rem; }
.ash-btn-outline .arrow-chip, .ash-btn-white .arrow-chip { background: rgba(16,160,196,.1); color: var(--ashal-blue); }

/* ---------- icon tile / circle ---------- */
.icon-tile, .icon-circle {
    display: inline-flex; align-items: center; justify-content: center;
    height: 3.5rem; width: 3.5rem; font-size: 1.5rem; box-shadow: var(--shadow-card); flex-shrink: 0;
}
.icon-tile { border-radius: 1rem; }
.icon-circle { border-radius: 9999px; color: #fff; }
.icon-tile.blue, .icon-circle.blue { background: var(--ashal-blue); color: #fff; }
.icon-tile.orange { background: var(--ashal-orange); color: var(--ashal-ink); }
.icon-circle.orange { background: var(--ashal-orange); }
.icon-tile.sm { height: 2.5rem; width: 2.5rem; font-size: 1rem; }
.icon-tile.md { height: 3rem; width: 3rem; font-size: 1.125rem; }

/* ---------- cards ---------- */
.ash-card {
    background: #fff; border-radius: 1.5rem; padding: 1.5rem;
    box-shadow: var(--shadow-card); box-shadow: var(--shadow-card);
    border: 1px solid rgba(33,37,41,.05);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.ash-card.lift:hover { transform: translateY(-6px); }
.ash-card.top-blue { border-top: 4px solid var(--ashal-blue); }
.ash-card.top-orange { border-top: 4px solid var(--ashal-orange); }
.ash-card.start-blue { border-inline-start: 4px solid var(--ashal-blue); }
.ash-card.start-orange { border-inline-start: 4px solid var(--ashal-orange); }
.ash-card.lift.top-blue:hover, .ash-card.lift.start-blue:hover { box-shadow: var(--shadow-joyful-blue); }
.ash-card.lift.top-orange:hover, .ash-card.lift.start-orange:hover { box-shadow: var(--shadow-joyful-orange); }
.ash-card-soft { background: linear-gradient(180deg, #FFFFFF 0%, #EBFBFF 100%); border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow-card); height: 100%; }
.tint-blue { background: rgba(16,160,196,.05); }

/* small pill/badge */
.pill { display: inline-flex; align-items: center; gap: .4rem; border-radius: 9999px; padding: .25rem .75rem; font-size: .875rem; font-weight: 700; }
.pill-blue { background: rgba(16,160,196,.1); color: var(--ashal-blue); }
.pill-orange { background: rgba(251,180,54,.2); color: var(--ashal-ink); }
.pill-soft { background: rgba(16,160,196,.05); color: rgba(33,37,41,.75); }

/* checkmark list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .5rem; margin-bottom: .5rem; font-weight: 500; color: rgba(33,37,41,.82); }
.check-list li::before { content: "✓"; color: var(--ashal-blue); font-weight: 900; flex-shrink: 0; }
.on-color .check-list li { color: rgba(255,255,255,.9); }
.on-color .check-list li::before { color: var(--ashal-orange); }

/* ---------- sticky nav (teal pill) ---------- */
.ash-header { position: sticky; top: 0; z-index: 1040; padding: .75rem 1rem 0; }
@media (min-width: 576px) { .ash-header { padding: .75rem 1.5rem 0; } }
.ash-header.white-bar { background: #fff; padding-bottom: .75rem; }
.nav-pill {
    margin-inline: auto; max-width: 80rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--ashal-blue); border-radius: 9999px;
    padding: .625rem 1rem; box-shadow: var(--shadow-joyful-blue);
}
@media (min-width: 576px) { .nav-pill { padding: .625rem 1.5rem; } }
.nav-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-brand img { height: 2.25rem; width: auto; }
.nav-brand .divider { width: 1px; height: 2rem; background: rgba(255,255,255,.25); }
.nav-brand .brand-name { font-size: .875rem; font-weight: 900; color: #fff; line-height: 1.1; }
.nav-brand .brand-name.ltr { direction: ltr; }
.nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 992px) { .nav-links { display: flex; } }
.nav-links a { color: rgba(255,255,255,.85); font-size: .875rem; font-weight: 700; text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; gap: .25rem; }
.nav-links a:hover, .nav-links a.accent { color: var(--ashal-orange); }
.nav-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-cta { display: none; }
@media (min-width: 576px) { .nav-cta { display: inline-flex; padding: .5rem 1.25rem; font-size: .875rem; } }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border-radius: 9999px; border: none; background: transparent; color: #fff; font-size: 1.25rem; cursor: pointer; }
.nav-toggle:hover { background: rgba(255,255,255,.1); }
@media (min-width: 992px) { .nav-toggle { display: none; } }

/* mobile sheet */
.mobile-backdrop { position: fixed; inset: 0; z-index: 1045; background: rgba(33,37,41,.4); backdrop-filter: blur(4px); display: none; }
.mobile-sheet { position: absolute; inset-inline: 1rem; top: .75rem; z-index: 1050; background: #fff; border-radius: 1.5rem; padding: 1.25rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); display: none; }
@media (min-width: 576px) { .mobile-sheet { inset-inline: 1.5rem; } }
body.menu-open .mobile-backdrop, body.menu-open .mobile-sheet { display: block; }
@media (min-width: 992px) { body.menu-open .mobile-backdrop, body.menu-open .mobile-sheet { display: none; } }
.mobile-sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-sheet .sheet-head img { height: 2.25rem; }
.mobile-sheet nav { display: flex; flex-direction: column; gap: .25rem; margin-top: 1.25rem; }
.mobile-sheet nav a { border-radius: 1rem; padding: .75rem; font-size: 1rem; font-weight: 700; color: rgba(33,37,41,.8); text-decoration: none; }
.mobile-sheet nav a:hover { background: rgba(16,160,196,.05); }
.sheet-close { border: none; background: transparent; height: 2.25rem; width: 2.25rem; border-radius: 9999px; color: rgba(33,37,41,.6); cursor: pointer; font-size: 1rem; }

/* ---------- waves ---------- */
.ash-waves { pointer-events: none; position: absolute; inset-inline: 0; top: 0; height: 5rem; width: 100%; }

/* ---------- footer ---------- */
.ash-footer { padding: 1rem 1rem 2rem; }
@media (min-width: 576px) { .ash-footer { padding: 1rem 1.5rem 2rem; } }
.footer-card { position: relative; overflow: hidden; margin-inline: auto; max-width: 80rem; border-radius: 2.5rem; background: var(--ashal-blue); color: #fff; padding: 3rem 1.5rem; box-shadow: var(--shadow-joyful-blue); }
@media (min-width: 768px) { .footer-card { padding: 3rem; } }
.footer-card h3 { font-size: 1.5rem; font-weight: 900; }
.footer-card h4 { font-size: 1.125rem; font-weight: 900; }
.footer-links { list-style: none; padding: 0; margin: 1rem 0 0; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.footer-links a:hover { color: var(--ashal-orange); }
.footer-links a .chev { color: var(--ashal-orange); }
.socials { display: flex; flex-wrap: nowrap; gap: .5rem; margin-top: 1.25rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem; flex-shrink: 0; border-radius: 9999px; background: #fff; color: var(--ashal-blue); box-shadow: var(--shadow-card); transition: transform .2s, background .2s, color .2s; }
.socials a:hover { transform: translateY(-2px); background: var(--ashal-orange); color: #fff; }
.socials a svg { height: 18px; width: 18px; }
.socials a i { font-size: 18px; line-height: 1; }   /* Bootstrap Icons size in footer socials */
.footer-org { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .75rem; border-radius: 1rem; background: rgba(255,255,255,.1); padding: .625rem 1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.footer-org img { height: 1.75rem; }
.footer-bottom { position: relative; margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; font-size: .75rem; color: rgba(255,255,255,.7); display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; }
@media (min-width: 576px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-contact .ltr { direction: ltr; unicode-bidi: embed; }

/* ---------- carousel (custom frame + dots) ---------- */
.ash-carousel { position: relative; }
.ash-carousel-frame { overflow: hidden; border-radius: 2rem; background: #fff; box-shadow: var(--shadow-joyful-blue); border: 1px solid rgba(16,160,196,.1); }
.ash-carousel-track { display: flex; transition: transform .7s cubic-bezier(.4,0,.2,1); }
@media (prefers-reduced-motion: reduce) { .ash-carousel-track { transition: none; } }
.ash-carousel-slide { width: 100%; flex-shrink: 0; }
.ash-ratio { position: relative; width: 100%; }
.ash-ratio-4x5 { aspect-ratio: 4 / 5; }
.ash-ratio-16x9 { aspect-ratio: 16 / 9; }
.ash-ratio-1x1 { aspect-ratio: 1 / 1; }
.ash-carousel-slide img, .ash-ratio > img { width: 100%; height: 100%; object-fit: cover; user-select: none; display: block; }
.ash-dots { position: absolute; inset-inline: 0; bottom: .75rem; display: flex; justify-content: center; gap: .5rem; }
.ash-dots button { height: .625rem; width: .625rem; border-radius: 9999px; border: none; padding: 0; cursor: pointer; background: rgba(16,160,196,.3); transition: all .3s; }
.ash-dots button:hover { background: rgba(16,160,196,.5); }
.ash-dots button.active { width: 1.5rem; background: var(--ashal-blue); }
/* generic framed poster image (no carousel) */
.poster-frame { overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-joyful-blue); border: 1px solid rgba(16,160,196,.1); }

/* ---------- accordion (FAQ) ---------- */
.ash-acc { max-width: 48rem; margin-inline: auto; border-top: 1px solid rgba(33,37,41,.1); }
.ash-acc-item { border-bottom: 1px solid rgba(33,37,41,.1); }
.ash-acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: transparent; border: none; cursor: pointer; padding: 1.25rem .25rem; text-align: start; font-size: 1.125rem; font-weight: 900; color: var(--ashal-blue); font-family: inherit; }
@media (min-width: 768px) { .ash-acc-trigger { font-size: 1.25rem; } }
.ash-acc-trigger:hover { color: var(--ashal-deep); }
.ash-acc-trigger .chev { font-size: 1.5rem; transition: transform .2s; }
.ash-acc-item.open .ash-acc-trigger .chev { transform: rotate(180deg); }
.ash-acc-body { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.ash-acc-body-inner { padding: 0 .25rem 1.25rem; font-size: 1rem; font-weight: 600; line-height: 1.625; color: rgba(33,37,41,.85); }
@media (min-width: 768px) { .ash-acc-body-inner { font-size: 1.125rem; } }

/* ---------- modal (Bootstrap modal restyle) ---------- */
.modal-content.ash-modal { border: none; border-radius: 1.5rem; overflow: hidden; }
.ash-modal .modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; border-bottom: 1px solid rgba(33,37,41,.06); padding: 1.25rem; }
@media (min-width: 576px) { .ash-modal .modal-head { padding: 1.5rem; } }
.ash-modal .modal-title-ash { margin-top: .5rem; font-size: 1.25rem; font-weight: 900; color: var(--ashal-blue); }
@media (min-width: 576px) { .ash-modal .modal-title-ash { font-size: 1.5rem; } }
.ash-modal .modal-sub { margin-top: .25rem; font-size: 1rem; color: rgba(33,37,41,.7); }
.ash-modal .modal-body-ash { padding: 1.25rem; overflow-y: auto; }
@media (min-width: 576px) { .ash-modal .modal-body-ash { padding: 1.5rem; } }
.ash-modal .modal-foot { border-top: 1px solid rgba(33,37,41,.06); padding: 1rem; }
@media (min-width: 576px) { .ash-modal .modal-foot { padding: 1.25rem; } }
.modal-x { border: none; background: transparent; border-radius: 9999px; padding: .5rem; color: rgba(33,37,41,.5); cursor: pointer; font-size: 1rem; line-height: 1; }
.modal-x:hover { background: rgba(33,37,41,.05); }
/* make the custom head/body/foot scroll like Bootstrap's modal-dialog-scrollable */
.modal-dialog-scrollable .modal-content.ash-modal { max-height: 100%; overflow: hidden; }
.ash-modal { display: flex; flex-direction: column; }
.ash-modal > [data-view] { display: flex; flex-direction: column; min-height: 0; overflow: hidden; flex: 1 1 auto; }
.ash-modal > [data-view] > form { display: flex; flex-direction: column; min-height: 0; overflow: hidden; flex: 1 1 auto; }
.ash-modal .modal-body-ash { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.ash-modal .modal-head, .ash-modal .modal-foot { flex: 0 0 auto; }
[data-view][hidden] { display: none !important; }
/* side-by-side modal footer actions (methodology) */
.foot-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 576px) { .foot-row { flex-direction: row; } .foot-row > * { flex: 1; } }

/* ---------- forms ---------- */
.ash-field { display: block; margin-bottom: 1rem; }
.ash-field > .field-label { display: block; margin-bottom: .375rem; font-size: 1rem; font-weight: 700; color: rgba(33,37,41,.85); }
.field-req { color: #ef4444; }
.ash-input, .ash-select, .ash-textarea {
    width: 100%; border-radius: 1rem; border: 1px solid rgba(33,37,41,.15);
    background: #fff; padding: .75rem 1rem; color: var(--ashal-ink); font-family: inherit; font-size: 1rem;
    outline: none; transition: border-color .2s, box-shadow .2s;
}
.ash-input:focus, .ash-select:focus, .ash-textarea:focus { border-color: var(--ashal-blue); box-shadow: 0 0 0 4px rgba(16,160,196,.15); }
.ash-input.bad { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.2); }
.ash-textarea { min-height: 6rem; resize: vertical; }
.field-hint { margin-top: .25rem; display: block; font-size: .875rem; font-weight: 700; color: #ef4444; }
.field-note { border-radius: 1rem; background: rgba(251,180,54,.15); padding: .75rem 1rem; font-size: .9rem; color: rgba(33,37,41,.8); }
.section-label { margin-bottom: .75rem; font-weight: 900; color: var(--ashal-blue); }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 576px) { .grid-2.sm2 { grid-template-columns: 1fr 1fr; } }
.cta-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

/* toggle buttons (gender / option choice) */
.toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.toggle-btn { border: 2px solid rgba(33,37,41,.1); background: #fff; border-radius: 1rem; padding: .75rem 1rem; font-size: 1rem; font-weight: 700; color: rgba(33,37,41,.7); cursor: pointer; font-family: inherit; transition: all .2s; }
.toggle-btn:hover { border-color: rgba(16,160,196,.4); }
.toggle-btn.active { border-color: var(--ashal-blue); background: rgba(16,160,196,.05); color: var(--ashal-blue); box-shadow: 0 0 0 2px rgba(16,160,196,.25); }

/* agreement checkbox rows */
.agree-row { display: flex; gap: .75rem; border: 1px solid rgba(33,37,41,.1); border-radius: 1rem; padding: .75rem; cursor: pointer; margin-bottom: .625rem; transition: all .2s; }
.agree-row.checked { border-color: rgba(16,160,196,.4); background: rgba(16,160,196,.05); }
.agree-row input { margin-top: .25rem; height: 1.25rem; width: 1.25rem; flex-shrink: 0; accent-color: var(--ashal-blue); }
.agree-row span { font-size: 1rem; line-height: 1.6; color: rgba(33,37,41,.8); }
.agree-row b { color: var(--ashal-ink); }

/* success view */
.success-steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 0; }
.success-steps li { display: flex; gap: .75rem; margin-bottom: 1rem; }
.success-steps .num { flex-shrink: 0; height: 1.75rem; width: 1.75rem; border-radius: 9999px; background: var(--ashal-blue); color: #fff; font-size: .875rem; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- quiz / test ---------- */
.quiz-progress { height: .5rem; border-radius: 9999px; background: rgba(16,160,196,.12); overflow: hidden; }
.quiz-progress > span { display: block; height: 100%; background: var(--ashal-blue); border-radius: 9999px; transition: width .3s ease; }
.quiz-q { border-radius: 1rem; background: rgba(16,160,196,.05); padding: 1.25rem; font-weight: 700; }
.quiz-q.ltr { direction: ltr; text-align: left; }
.opt-list { display: flex; flex-direction: column; gap: .625rem; margin-top: 1rem; }
.opt-btn { display: flex; align-items: center; gap: .75rem; border: 2px solid rgba(33,37,41,.12); background: #fff; border-radius: 1rem; padding: .85rem 1rem; font-size: 1rem; font-weight: 600; color: var(--ashal-ink); cursor: pointer; font-family: inherit; text-align: start; transition: all .2s; }
.opt-btn:hover { border-color: rgba(16,160,196,.5); }
.opt-btn.selected { border-color: var(--ashal-blue); background: rgba(16,160,196,.06); }
.opt-btn .opt-mark { flex-shrink: 0; height: 1.75rem; width: 1.75rem; border-radius: 9999px; background: rgba(16,160,196,.1); color: var(--ashal-blue); font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-size: .875rem; }
.opt-btn.selected .opt-mark { background: var(--ashal-blue); color: #fff; }
.opt-btn.ltr { direction: ltr; text-align: left; }
.result-card { border-radius: 1.5rem; background: rgba(16,160,196,.08); box-shadow: inset 0 0 0 1px rgba(16,160,196,.15); padding: 1.5rem; text-align: center; }
.result-badge { height: 3rem; width: 3rem; border-radius: 9999px; background: var(--ashal-wa); color: #fff; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.result-level { font-size: 1.875rem; font-weight: 900; color: var(--ashal-blue); direction: ltr; }
.next-step-box { border-inline-start: 4px solid var(--ashal-blue); background: rgba(16,160,196,.05); border-radius: .75rem; padding: 1rem 1.25rem; margin-top: 1rem; text-align: start; }

/* ---------- floating actions ---------- */
.float-wa, .float-top {
    position: fixed; bottom: 1.25rem; z-index: 1030;
    height: 3.5rem; width: 3.5rem; border-radius: 9999px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; text-decoration: none;
    transition: opacity .3s, transform .3s, filter .2s;
    opacity: 0; transform: translateY(2rem); pointer-events: none;
}
.float-wa { inset-inline-start: 1rem; background: #fff; color: var(--ashal-wa); box-shadow: var(--shadow-card); animation: ashal-pulse-ring-green 2.4s ease-out infinite; }
.float-top { inset-inline-end: 1rem; height: 3rem; width: 3rem; background: var(--ashal-blue); color: #fff; font-size: 1.25rem; box-shadow: var(--shadow-joyful-blue); }
@media (min-width: 576px) { .float-wa { inset-inline-start: 1.5rem; } .float-top { inset-inline-end: 1.5rem; } }
.float-wa svg { height: 1.75rem; width: 1.75rem; }
.float-wa i { font-size: 1.75rem; line-height: 1; }   /* Bootstrap Icons size in floating WhatsApp */
body.fa-show .float-wa, body.fa-show .float-top { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-wa:hover, .float-top:hover { filter: brightness(1.08); }
body.modal-open .float-wa, body.modal-open .float-top { opacity: 0 !important; pointer-events: none !important; }

@keyframes ashal-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(251,180,54,.5), 0 10px 30px -5px rgba(251,180,54,.25); } 70% { box-shadow: 0 0 0 14px rgba(251,180,54,0), 0 10px 30px -5px rgba(251,180,54,.25); } 100% { box-shadow: 0 0 0 0 rgba(251,180,54,0), 0 10px 30px -5px rgba(251,180,54,.25); } }
.pulse-ring { animation: ashal-pulse-ring 2.4s ease-out infinite; }
@keyframes ashal-pulse-ring-green { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 10px 30px -5px rgba(37,211,102,.3); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 30px -5px rgba(37,211,102,.3); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px -5px rgba(37,211,102,.3); } }
@media (prefers-reduced-motion: reduce) { .pulse-ring, .float-wa { animation: none; } }

/* ---------- toast ---------- */
.ash-toast-wrap { position: fixed; top: 1rem; left: 0; right: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; gap: .5rem; pointer-events: none; padding: 0 1rem; }
.ash-toast { pointer-events: auto; max-width: 26rem; width: 100%; background: #fff; border-radius: 1rem; box-shadow: 0 12px 28px -8px rgba(0,0,0,.25); padding: .9rem 1.1rem; border-inline-start: 5px solid var(--ashal-blue); opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s; }
.ash-toast.show { opacity: 1; transform: translateY(0); }
.ash-toast.success { border-inline-start-color: var(--ashal-wa); }
.ash-toast.error { border-inline-start-color: #ef4444; }
.ash-toast .t-title { font-weight: 900; color: var(--ashal-ink); }
.ash-toast .t-body { font-size: .9rem; color: rgba(33,37,41,.7); margin-top: .15rem; }

/* ---------- helpers ---------- */
.dot-accent { display: block; height: .375rem; width: 2rem; border-radius: 9999px; margin: 0 auto .5rem; }
.dot-accent.blue { background: var(--ashal-blue); }
.dot-accent.orange { background: var(--ashal-orange); }
.muted { color: rgba(33,37,41,.6); }
.relative { position: relative; }
.text-center { text-align: center; }
