/* =========================================================
   مدرسة أبو علاء — site.css
   Palette: Sky & Coral (Blue + Orange)
   ========================================================= */

:root {
    /* Brand */
    --brand: #2563eb;
    --brand-d: #1e40af;
    --brand-soft: rgba(37,99,235,.10);
    /* Accent */
    --accent: #f97316;
    --accent-d: #ea580c;
    --accent-soft: rgba(249,115,22,.12);
    /* Neutral */
    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --card: #ffffff;
    /* Status */
    --success: #10b981;
    --danger: #ef4444;
    /* Shape */
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(15,23,42,.06);
    --shadow-lg: 0 24px 60px rgba(15,23,42,.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Tajawal','Cairo',sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cairo',sans-serif;
    line-height: 1.4
}

img {
    max-width: 100%
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1180px,92%);
    margin-inline: auto
}

section {
    padding: 90px 0
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-soft);
    color: var(--brand-d);
    font-weight: 700;
    font-size: .85rem;
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 16px;
}

    .eyebrow::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent)
    }

.section-title {
    font-size: clamp(1.7rem,3.5vw,2.5rem);
    font-weight: 900;
    color: var(--ink)
}

.section-sub {
    color: var(--muted);
    max-width: 640px;
    margin-top: 12px;
    font-size: 1.05rem
}

/* ===== Header ===== */
header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    transition: .35s;
}

    header.scrolled {
        background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
        backdrop-filter: blur(14px);
        box-shadow: 0 4px 24px rgba(15,23,42,.06);
    }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cairo';
    font-weight: 900;
    font-size: 1.25rem;
    color: #f97316;
    transition: .35s;
}

header.scrolled .logo {
    color: white;
}

/* Image logo */
.logo-img {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 10px;
    object-fit: contain;
    flex: 0 0 auto;
    display: block;
    box-shadow: 0 6px 16px rgba(15,23,42,.20);
    transition: .3s;
}

.logo:hover .logo-img {
    transform: scale(1.05)
}

header.scrolled .logo-img {
    box-shadow: 0 6px 16px rgba(15,23,42,.12)
}

/* Legacy SVG mark (kept for compatibility) */
.logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--accent),var(--accent-d));
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(249,115,22,.35);
}

    .logo-mark svg {
        width: 26px;
        height: 26px
    }

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none
}

    .nav-links a {
        color: #ea580c;
        font-weight: 700;
        font-size: .95rem;
        position: relative;
        padding: 6px 0;
        transition: .3s;
    }

header.scrolled .nav-links a {
    color: #fff
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
    transition: .3s;
}

.nav-links a:hover::after {
    width: 100%
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 99px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(249,115,22,.35);
    transition: .3s;
}

    .nav-cta::after {
        display: none
    }

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(249,115,22,.45)
    }

.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 42px;
    height: 42px
}

    .burger span {
        display: block;
        height: 3px;
        width: 24px;
        background: #f97316;
        margin: 5px auto;
        border-radius: 3px;
        transition: .3s
    }

header.scrolled .burger span {
    background: white;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(900px 500px at 85% -10%,rgba(249,115,22,.12),transparent 60%), radial-gradient(700px 500px at -10% 110%,rgba(37,99,235,.14),transparent 55%), linear-gradient(160deg,#f8fafc 0%,#eef2f7 60%,#e2e8f0 130%);
    padding: 140px 0 90px;
    color: var(--ink);
    overflow: hidden;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .06;
    background-image: linear-gradient(rgba(15,23,42,.6) 1px,transparent 1px), linear-gradient(90deg,rgba(15,23,42,.6) 1px,transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 70% 30%,#000 30%,transparent 75%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 18px;
    border-radius: 99px;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

    .hero-badge .dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--success);
        box-shadow: 0 0 0 5px rgba(16,185,129,.2);
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 9px rgba(16,185,129,.05)
    }
}

.hero h1 {
    font-size: clamp(2.2rem,5vw,3.6rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--ink);
}

    .hero h1 .hl {
        color: var(--accent);
        position: relative
    }

.hero p.lead {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 520px;
    margin-bottom: 34px
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    transition: .3s;
    border: 0;
    cursor: pointer;
    font-family: 'Tajawal';
}

.btn-gold, .btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 28px rgba(249,115,22,.32);
}

    .btn-gold:hover, .btn-primary:hover {
        background: var(--accent-d);
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(249,115,22,.42);
    }

.btn-ghost {
    background: var(--brand-soft);
    color: var(--brand-d);
    border: 1px solid var(--line);
}

    .btn-ghost:hover {
        background: rgba(37,99,235,.16)
    }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 52px;
    flex-wrap: wrap
}

.stat .num {
    font-family: 'Cairo';
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent)
}

.stat .lbl {
    color: var(--muted);
    font-size: .9rem
}

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

    .hero-card h3 {
        font-size: 1.2rem;
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--ink);
    }

        .hero-card h3 svg {
            color: var(--accent)
        }

.mini-step {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line)
}

    .mini-step:last-child {
        border-bottom: 0
    }

    .mini-step .n {
        flex: none;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(249,115,22,.14);
        color: var(--accent);
        display: grid;
        place-items: center;
        font-family: 'Cairo';
        font-weight: 900;
    }

    .mini-step b {
        display: block;
        font-size: .98rem;
        color: var(--ink);
    }

    .mini-step span {
        color: var(--muted);
        font-size: .85rem
    }

/* ===== Marquee ===== */
.marquee {
    background: #f97316;
    color: #fff;
    padding: 14px 0;
    overflow: hidden;
    position: relative
}

.marquee-track {
    display: flex;
    gap: 56px;
    white-space: nowrap;
    animation: mq 26s linear infinite;
    font-weight: 700;
    font-family: 'Cairo';
}

    .marquee-track span {
        display: flex;
        align-items: center;
        gap: 14px
    }

    .marquee-track svg {
        flex: none
    }

@keyframes mq {
    to {
        transform: translateX(50%)
    }
}

/* ===== Services ===== */
.services {
    background: #fff
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(255px,1fr));
    gap: 24px;
    margin-top: 50px
}

.svc {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: .35s;
    position: relative;
    overflow: hidden;
}

    .svc::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg,var(--accent),var(--brand));
        transform: scaleX(0);
        transform-origin: right;
        transition: .4s;
    }

    .svc:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: transparent
    }

        .svc:hover::before {
            transform: scaleX(1)
        }

.svc-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg,rgba(37,99,235,.12),rgba(249,115,22,.15));
    display: grid;
    place-items: center;
    color: #f97316;
    margin-bottom: 20px;
    transition: .35s;
}

.svc:hover .svc-icon {
    background: linear-gradient(135deg,var(--brand),var(--brand-d));
    color: #fff
}

.svc h3 {
    font-size: 1.15rem;
    margin-bottom: 10px
}

.svc p {
    color: var(--muted);
    font-size: .94rem
}

.svc .tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--accent-soft);
    color: var(--accent-d);
    font-size: .75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 99px;
}

/* ===== Steps timeline ===== */
.steps {
    background: linear-gradient(180deg,var(--bg),#eef2f7)
}

.timeline {
    margin-top: 60px;
    position: relative
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 29px;
        width: 3px;
        background: linear-gradient(var(--accent),var(--brand));
        border-radius: 3px;
        opacity: .35;
    }

.step {
    display: flex;
    gap: 28px;
    margin-bottom: 44px;
    position: relative
}

    .step:last-child {
        margin-bottom: 0
    }

.step-dot {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand);
    display: grid;
    place-items: center;
    font-family: 'Cairo';
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--brand-d);
    box-shadow: 0 0 0 8px rgba(37,99,235,.10);
    z-index: 2;
}

.step-body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 30px;
    flex: 1;
    box-shadow: var(--shadow);
    transition: .3s;
}

    .step-body:hover {
        transform: translateX(-6px)
    }

    .step-body h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        color: var(--ink)
    }

    .step-body .dept {
        display: inline-block;
        background: var(--brand-soft);
        color: var(--brand-d);
        font-size: .8rem;
        font-weight: 800;
        padding: 3px 14px;
        border-radius: 99px;
        margin-bottom: 12px;
    }

    .step-body p {
        color: var(--muted);
        font-size: .97rem
    }

.step-time {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-d);
    font-weight: 800;
    font-size: .9rem;
}

/* ===== Schedule ===== */
.schedule-wrap {
    margin-top: 50px;
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg)
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 640px
}

th {
    background: var(--ink-2);
    color: #fff;
    font-family: 'Cairo';
    font-weight: 800;
    padding: 16px 20px;
    text-align: right;
    font-size: .95rem;
}

    th:first-child {
        border-radius: 0 var(--radius) 0 0
    }

    th:last-child {
        border-radius: var(--radius) 0 0 0
    }

td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-size: .95rem
}

tr:last-child td {
    border-bottom: 0
}

tr:nth-child(even) td {
    background: #fafbfd
}

td b {
    color: var(--brand-d)
}

.pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 99px;
    font-size: .8rem;
    font-weight: 800
}

    .pill.gold {
        background: var(--accent-soft);
        color: var(--accent-d)
    }

    .pill.teal {
        background: var(--brand-soft);
        color: var(--brand-d)
    }

/* ===== Why us ===== */
.why {
    background: #fff;
    color: var(--ink);
    position: relative;
    overflow: hidden
}

    .why::before {
        content: "";
        position: absolute;
        top: -120px;
        left: -120px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(249,115,22,.10),transparent 70%);
    }

    .why .section-title {
        color: var(--ink)
    }

    .why .section-sub {
        color: var(--muted)
    }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 24px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.why-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: .3s;
}

    .why-card:hover {
        background: #fff;
        box-shadow: var(--shadow-lg);
        transform: translateY(-6px)
    }

    .why-card .ic {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: var(--accent-soft);
        color: var(--accent);
        display: grid;
        place-items: center;
        margin-bottom: 18px;
    }

    .why-card h3 {
        font-size: 1.08rem;
        margin-bottom: 8px;
        color: var(--ink);
    }

    .why-card p {
        color: var(--muted);
        font-size: .9rem
    }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: start
}

.contact-info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: .3s;
}

    .contact-info-card:hover {
        transform: translateY(-4px)
    }

    .contact-info-card .ic {
        flex: none;
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: linear-gradient(135deg,var(--brand),var(--brand-d));
        color: #fff;
        display: grid;
        place-items: center;
    }

    .contact-info-card h4 {
        margin-bottom: 4px;
        font-size: 1.05rem
    }

    .contact-info-card p {
        color: var(--muted);
        font-size: .92rem;
        direction: ltr;
        text-align: right
    }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 38px;
    box-shadow: var(--shadow-lg)
}

    .form-card h3 {
        font-size: 1.3rem;
        margin-bottom: 6px
    }

    .form-card .fs {
        color: var(--muted);
        font-size: .92rem;
        margin-bottom: 24px
    }

.f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.field {
    margin-bottom: 16px
}

    .field label {
        display: block;
        font-weight: 700;
        font-size: .88rem;
        margin-bottom: 7px
    }

    .field input, .field select, .field textarea {
        width: 100%;
        padding: 13px 16px;
        border: 1.5px solid var(--line);
        border-radius: 12px;
        font-family: 'Tajawal';
        font-size: .95rem;
        background: #fbfcfd;
        transition: .25s;
        outline: none;
    }

        .field input:focus, .field select:focus, .field textarea:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 4px rgba(37,99,235,.12);
            background: #fff;
        }

.form-ok {
    display: none;
    background: rgba(16,185,129,.12);
    border: 1px solid rgba(16,185,129,.4);
    color: #047857;
    padding: 14px 18px;
    border-radius: 12px;
    margin-top: 16px;
    font-weight: 700;
}

/* ===== Footer ===== */
footer {
    background: #f1f5f9;
    color: var(--ink-2);
    padding: 70px 0 0;
    border-top: 1px solid var(--line);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px
}

    .foot-grid h4 {
        color: var(--ink);
        font-size: 1.05rem;
        margin-bottom: 18px;
        position: relative;
        padding-bottom: 10px
    }

        .foot-grid h4::after {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 34px;
            height: 3px;
            background: var(--accent);
            border-radius: 3px;
        }

    .foot-grid ul {
        list-style: none
    }

    .foot-grid li {
        margin-bottom: 10px;
        color: var(--muted);
    }

    .foot-grid a:hover {
        color: var(--accent)
    }

.foot-about p {
    font-size: .92rem;
    margin-top: 14px;
    color: var(--muted);
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px
}

    .socials a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid var(--line);
        color: var(--ink-2);
        display: grid;
        place-items: center;
        transition: .3s;
    }

        .socials a:hover {
            background: var(--accent);
            border-color: var(--accent);
            color: #fff;
            transform: translateY(-3px)
        }

.foot-bottom {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    text-align: center;
    font-size: .86rem;
    color: var(--muted);
}

/* ===== Floating WhatsApp ===== */
.wa-float {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 90;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 10px 28px rgba(37,211,102,.45);
    transition: .3s;
    animation: waPulse 2.6s infinite;
}

    .wa-float:hover {
        transform: scale(1.1)
    }

@keyframes waPulse {
    50% {
        box-shadow: 0 10px 28px rgba(37,211,102,.45),0 0 0 12px rgba(37,211,102,.08)
    }
}

/* ===== Reveal animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: .8s cubic-bezier(.2,.7,.3,1)
}

    .reveal.in {
        opacity: 1;
        transform: none
    }

/* ===== Exam feature ===== */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-top: 40px
}

.exam-cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: .3s;
}

    .exam-cat-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg)
    }

    .exam-cat-card h3 {
        margin-bottom: 10px
    }

.exam-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px
}

    .exam-list a {
        background: var(--brand-soft);
        color: var(--brand-d);
        padding: 6px 14px;
        border-radius: 99px;
        font-weight: 800;
        font-size: .85rem;
    }

.exam-question-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

    .exam-question-card .q-num {
        color: var(--accent-d);
        font-weight: 800;
        margin-bottom: 8px
    }

    .exam-question-card img.sign-img {
        max-width: 180px;
        display: block;
        margin: 14px 0;
        border-radius: 12px;
    }

.exam-answers {
    display: grid;
    gap: 10px;
    margin-top: 14px
}

    .exam-answers label {
        display: flex;
        gap: 10px;
        align-items: center;
        padding: 12px 14px;
        border: 1.5px solid var(--line);
        border-radius: 12px;
        cursor: pointer;
        transition: .2s;
    }

        .exam-answers label:hover {
            border-color: var(--brand)
        }

    .exam-answers input {
        accent-color: var(--brand)
    }

img.answer-inline-sign {
    max-width: 60px;
    vertical-align: middle;
    margin-inline-start: 6px;
    border-radius: 6px;
}

#examResult {
    margin-top: 24px;
    padding: 20px;
    border-radius: var(--radius);
    display: none;
    background: rgba(16,185,129,.10);
    border: 1px solid rgba(16,185,129,.35);
}

/* ===== Responsive ===== */
@media(max-width:980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 44px
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:760px) {
    .nav-links {
        position: fixed;
        inset: 76px 0 auto 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 6px;
        box-shadow: 0 20px 40px rgba(15,23,42,.15);
        transform: translateY(-140%);
        transition: .4s;
        border-radius: 0 0 22px 22px;
    }

        .nav-links.open {
            transform: none
        }

        .nav-links a {
            color: var(--ink) !important;
            padding: 12px 8px;
            border-bottom: 1px solid var(--line)
        }

    header .nav-links a {
        color: var(--ink)
    }

    .burger {
        display: block
    }

    section {
        padding: 64px 0
    }

    .f-row {
        grid-template-columns: 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr
    }

    .hero-stats {
        gap: 26px
    }
}

/* ===== Traffic Signs Page — append this block to the end of site.css ===== */

.signs-toolbar {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    margin: 40px 0 10px;
    align-items: end;
}

    .signs-toolbar .field label {
        font-weight: 700;
        font-size: .88rem;
        margin-bottom: 7px;
        display: block;
    }

    .signs-toolbar select,
    .signs-toolbar input {
        width: 100%;
        padding: 13px 16px;
        border: 1.5px solid var(--line);
        border-radius: 12px;
        font-family: 'Tajawal';
        font-size: .95rem;
        background: #fbfcfd;
        outline: none;
        transition: .25s;
    }

        .signs-toolbar select:focus,
        .signs-toolbar input:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 4px rgba(37,99,235,.12);
            background: #fff;
        }

.signs-empty {
    text-align: center;
    color: var(--muted);
    padding: 40px 0;
    font-weight: 700;
}

.signs-category-section {
    margin-top: 50px;
}

.signs-category-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--brand-d);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--line);
}

.sign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 18px;
}

.sign-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .3s;
}

    .sign-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.sign-card-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

    .sign-card-img img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.sign-card-text {
    font-size: .92rem;
    color: var(--ink-2);
    margin-bottom: 8px;
    min-height: 42px;
}

.sign-card-cat {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-d);
    font-size: .75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 99px;
}

@media(max-width:760px) {
    .signs-toolbar {
        grid-template-columns: 1fr;
    }
}
