/* =========================================================
   Maher Law Firm — original design system (no template used)
   ========================================================= */

:root {
    --navy-950: #071427;
    --navy-900: #0b1e33;
    --navy-800: #122a44;
    --navy-700: #1c3a5a;
    --gold-500: #c9a24b;
    --gold-400: #e0bf72;
    --gold-100: #f6ecd4;
    --ivory: #faf8f3;
    --ink: #1b2430;
    --muted: #5f6b7a;
    --success: #2e8b57;
    --danger: #c0392b;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --shadow-soft: 0 20px 45px -20px rgba(7, 20, 39, 0.35);
    --shadow-card: 0 12px 30px -12px rgba(7, 20, 39, 0.22);
    --font-body: 'Cairo', 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Cairo', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.icon-inline svg { width: 1em; height: 1em; vertical-align: -0.15em; margin-inline-end: 6px; }
.whatsapp-link { color: #25D366; display: inline-flex; align-items: center; margin-inline-end: 6px; }
.whatsapp-link svg { width: 1.1em; height: 1.1em; }
.whatsapp-link:hover { opacity: 0.8; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: #cdd8e3; font-size: 0.85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 24px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.topbar-address { color: var(--gold-400); }
.lang-switcher select {
    background: var(--navy-900); color: var(--gold-100); border: 1px solid var(--navy-700);
    border-radius: var(--radius-sm); padding: 4px 10px; font-family: var(--font-body); cursor: pointer;
}
.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-flag {
    display: flex; align-items: center; justify-content: center; min-width: 32px; height: 26px; padding: 0 8px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px; border-radius: 999px; border: 1.5px solid rgba(205,216,227,0.35);
    color: #cdd8e3; opacity: 0.8; transition: all .2s;
}
.lang-flag:hover { opacity: 1; border-color: var(--gold-500); color: var(--gold-400); transform: translateY(-2px); }
.lang-flag.active { opacity: 1; border-color: var(--gold-500); background: rgba(201,162,75,0.15); color: var(--gold-400); }

/* ---------- Header ---------- */
.site-header { background: var(--ivory); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 18px rgba(7,20,39,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { color: var(--gold-500); }
.brand-icon svg { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); }
.brand-tagline { font-size: 0.78rem; color: var(--gold-500); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; color: var(--navy-800); transition: all .2s; }
.main-nav a:hover, .main-nav a.active { background: var(--navy-900); color: var(--gold-100); }
.main-nav a.btn-nav { background: var(--gold-500); color: var(--navy-950); }
.main-nav a.btn-nav:hover { background: var(--gold-400); color: var(--navy-950); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy-900); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 13px 28px; border-radius: 999px; font-weight: 700; border: 2px solid transparent;
    cursor: pointer; transition: all .25s ease; font-family: var(--font-body); font-size: 1rem;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--gold-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-outline { background: transparent; border-color: rgba(250,248,243,0.5); color: var(--ivory); }
.btn-outline:hover { background: rgba(250,248,243,0.12); }
.btn-dark { background: var(--navy-900); color: var(--gold-100); }
.btn-dark:hover { background: var(--navy-800); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--ivory);
    background: radial-gradient(1200px 600px at 15% -10%, #16324f 0%, var(--navy-900) 55%, var(--navy-950) 100%);
    padding: 110px 0 130px;
}
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; opacity: 0.12; background: var(--gold-500);
}
.hero::before { width: 420px; height: 420px; top: -160px; inset-inline-end: -120px; }
.hero::after { width: 260px; height: 260px; bottom: -120px; inset-inline-start: -80px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,162,75,0.15); border: 1px solid rgba(201,162,75,0.4); color: var(--gold-400); padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; margin-bottom: 18px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.25; margin: 0 0 20px; }
.hero p { color: #c8d3e0; font-size: 1.08rem; max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg);
    padding: 34px; backdrop-filter: blur(6px);
}
.hero-badge ul { display: flex; flex-direction: column; gap: 18px; }
.hero-badge li { display: flex; align-items: flex-start; gap: 14px; }
.hero-badge .bullet { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--gold-500); color: var(--navy-950); display: flex; align-items: center; justify-content: center; }
.hero-badge .bullet svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { color: var(--gold-500); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 0.82rem; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy-900); margin: 10px 0 14px; }
.section-head p { color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-visual { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); padding: 50px; color: var(--gold-100); position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.about-visual .visual-icon svg { width: 130px; height: 130px; color: var(--gold-500); }

/* ---------- Digital business card (fallback for the about photo) ---------- */
.biz-card {
    border-radius: var(--radius-lg); width: 100%; min-height: 340px; display: flex; flex-direction: column;
    justify-content: center; padding: 40px 32px; text-align: center; box-shadow: var(--shadow-soft);
}
.biz-card.style-ar { background: linear-gradient(135deg, #f6e6b4, #e9c877); color: #5a1e1e; }
.biz-card.style-intl { background: linear-gradient(135deg, #0d1b2a, #16324f); color: #fff; }
.biz-card .biz-emblem { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.biz-card .biz-emblem svg { width: 30px; height: 30px; }
.biz-card.style-ar .biz-emblem { background: #5a1e1e; color: #f6e6b4; }
.biz-card.style-intl .biz-emblem { background: rgba(201,162,75,0.15); border: 2px solid var(--gold-500); color: var(--gold-500); }
.biz-card h4 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 4px; }
.biz-card .biz-role { font-weight: 800; letter-spacing: 1px; margin-bottom: 16px; font-size: 0.85rem; text-transform: uppercase; }
.biz-card.style-ar .biz-role { color: #5a1e1e; }
.biz-card.style-intl .biz-role { color: var(--gold-400); }
.biz-card .biz-specialties { font-size: 0.82rem; line-height: 1.8; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(0,0,0,0.15); }
.biz-card.style-intl .biz-specialties { border-bottom-color: rgba(255,255,255,0.2); color: #dce4ee; }
.biz-card .biz-contact { font-size: 0.85rem; display: flex; flex-direction: column; gap: 8px; }
.biz-card.style-intl .biz-contact { color: #cdd8e3; }
.about-text h3 { font-family: var(--font-display); color: var(--navy-900); font-size: 1.6rem; margin-top: 0; }
.about-points { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy-800); }
.about-points .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-100); color: var(--gold-500); display: flex; align-items: center; justify-content: center; }
.about-points .tick svg { width: 15px; height: 15px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service-card {
    background: #fff; border-radius: var(--radius-md); padding: 32px 28px; box-shadow: var(--shadow-card);
    border: 1px solid rgba(11,30,51,0.05); transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--navy-900); color: var(--gold-500); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-900); margin: 0 0 10px; }
.service-card p { color: var(--muted); margin: 0 0 16px; font-size: 0.96rem; }
.service-card img { border-radius: var(--radius-sm); margin-bottom: 16px; height: 160px; width: 100%; object-fit: cover; }
.service-link { color: var(--gold-500); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.service-link svg { width: 16px; height: 16px; }

/* ---------- Suggest banner ---------- */
.suggest-banner {
    background: linear-gradient(120deg, var(--navy-900), var(--navy-950)); color: var(--ivory);
    border-radius: var(--radius-lg); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.suggest-banner h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 10px; }
.suggest-banner p { color: #c8d3e0; margin: 0; max-width: 480px; }

/* ---------- Contact / address / map ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; margin-bottom: 50px; }
.contact-card { background: #fff; border-radius: var(--radius-md); padding: 28px; text-align: center; box-shadow: var(--shadow-card); }
.contact-card .contact-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-100); color: var(--gold-500); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-card .contact-icon svg { width: 24px; height: 24px; }
.contact-card h4 { margin: 0 0 8px; color: var(--navy-900); font-family: var(--font-display); }
.contact-card p { margin: 0; color: var(--muted); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 0; width: 100%; height: 380px; }

/* ---------- Visitor counter ---------- */
.visitor-strip { background: var(--ivory); padding: 0 0 44px; text-align: center; }
.visitor-strip .container { display: flex; justify-content: center; width: 100%; }
.visitor-counter {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: min(300px, 100%); min-height: 126px; margin: 0 auto; padding: 18px 38px;
    border: 1px solid rgba(201,162,75,0.45); border-radius: 24px; background: #fff;
    color: var(--navy-800); box-shadow: 0 14px 30px -20px rgba(7,20,39,0.65); position: relative; overflow: hidden;
}
.visitor-counter::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 5px; background: var(--gold-500); }
.visitor-counter-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-100); color: var(--gold-500); }
.visitor-counter-icon svg { display: block; width: 20px !important; height: 20px !important; max-width: 20px; max-height: 20px; }
.visitor-counter-label { color: var(--muted); font-size: 0.95rem; font-weight: 700; }
.visitor-counter strong { color: var(--navy-900); font-size: 2.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-soft); max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; color: var(--navy-900); font-size: 0.92rem; }
.form-group input, .form-group textarea {
    border: 1.5px solid #e1e4ea; border-radius: var(--radius-sm); padding: 13px 16px; font-family: var(--font-body);
    font-size: 1rem; background: #fbfbfd; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201,162,75,0.15); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.file-drop { border: 1.5px dashed #d7cba0; border-radius: var(--radius-sm); padding: 20px; text-align: center; color: var(--muted); background: var(--gold-100); cursor: pointer; }
.file-drop svg { width: 26px; height: 26px; color: var(--gold-500); margin-bottom: 6px; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #e7f6ed; color: var(--success); border: 1px solid #bfe6cc; }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f4c7c1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b6c2d1; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: var(--gold-100); }
.footer-about { color: #8fa0b5; font-size: 0.94rem; }
.footer-col h4 { color: var(--gold-400); font-family: var(--font-display); margin-bottom: 18px; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 0.94rem; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; color: #a9b8c9; }
.footer-bottom { text-align: center; padding: 22px 0; font-size: 0.85rem; color: #7a8b9e; }
.footer-bottom p { margin: 8px 0 0; }

.scroll-top {
    position: fixed; inset-inline-end: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--gold-500); color: var(--navy-950); border: none; cursor: pointer; display: none;
    align-items: center; justify-content: center; box-shadow: var(--shadow-card); z-index: 90;
}
.scroll-top svg { width: 20px; height: 20px; }
.scroll-top.visible { display: flex; }

/* ---------- Chat widget ---------- */
.chat-widget { position: fixed; inset-inline-start: 24px; bottom: 24px; z-index: 95; font-family: var(--font-body); }
.chat-toggle {
    width: 60px; height: 60px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400);
    border: none; cursor: pointer; box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center;
    position: relative; transition: transform .2s;
}
.chat-toggle:hover { transform: translateY(-3px); }
.chat-toggle-icon svg { width: 26px; height: 26px; }
.chat-unread {
    position: absolute; top: -4px; inset-inline-end: -4px; background: var(--danger); color: #fff; font-size: 0.7rem;
    font-weight: 800; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.chat-panel {
    position: absolute; bottom: 74px; inset-inline-start: 0; width: 320px; max-width: calc(100vw - 48px);
    background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); overflow: hidden;
    display: flex; flex-direction: column; max-height: 460px;
}
.chat-panel[hidden] { display: none; }
.chat-panel-header {
    background: var(--navy-900); color: var(--gold-100); padding: 14px 18px; font-weight: 700;
    display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display);
}
.chat-new { background: none; border: 0; color: var(--gold-100); font: inherit; font-size: 0.78rem; cursor: pointer; margin-inline-start: auto; margin-inline-end: 14px; }
.chat-close { background: none; border: none; color: var(--gold-100); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.chat-pre { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-pre p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.chat-pre input {
    border: 1.5px solid #e1e4ea; border-radius: var(--radius-sm); padding: 11px 14px; font-family: var(--font-body);
}
.chat-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f7f8fb; }
.chat-msg { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; word-wrap: break-word; }
.chat-msg.visitor { align-self: flex-end; background: var(--gold-500); color: var(--navy-950); border-bottom-right-radius: 4px; }
.chat-msg.admin { align-self: flex-start; background: var(--navy-900); color: var(--gold-100); border-bottom-left-radius: 4px; }
html[dir="rtl"] .chat-msg.visitor { border-bottom-right-radius: 14px; border-bottom-left-radius: 4px; }
html[dir="rtl"] .chat-msg.admin { border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #eef0f4; }
.chat-input-row input {
    flex: 1; border: 1.5px solid #e1e4ea; border-radius: 999px; padding: 10px 16px; font-family: var(--font-body);
}
.chat-input-row input:focus { outline: none; border-color: var(--gold-500); }
.chat-send-btn {
    width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--gold-500); color: var(--navy-950);
    cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none;
}
.chat-send-btn svg { width: 18px; height: 18px; }
.chat-send-btn:disabled { cursor: wait; opacity: .65; }
.chat-status { margin: 0; padding: 0 12px 10px; color: var(--muted); font-size: .8rem; }
.chat-status.error { color: var(--danger); }
@media (max-width: 600px) {
    .chat-widget { inset-inline-start: 14px; bottom: 14px; }
    .chat-panel { width: calc(100vw - 28px); }
}


/* ---------- Admin (lightweight) ---------- */
.admin-body { background: #eef1f6; min-height: 100vh; font-family: var(--font-body); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--navy-950); color: var(--gold-100); padding: 26px 18px; flex: none; }
.admin-sidebar .brand-name { font-size: 1rem; color: var(--gold-100); }
.admin-sidebar nav { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; }
.admin-sidebar a { padding: 11px 14px; border-radius: 10px; font-weight: 600; color: #cdd8e3; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: var(--navy-800); color: #fff; }
.admin-main { flex: 1; padding: 34px; }
.admin-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 24px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid #eef0f4; font-size: 0.92rem; }
.admin-table th { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.5px; }
.badge { padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge-pending { background: #fdf3d8; color: #93690b; }
.badge-answered { background: #e2f5e8; color: var(--success); }
.badge-new { background: #e3ecfb; color: #2f5fa8; }
.badge-approved { background: #e2f5e8; color: var(--success); }
.badge-rejected { background: #fdecea; color: var(--danger); }
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy-950); }
.login-card { background: #fff; padding: 44px; border-radius: var(--radius-lg); width: 100%; max-width: 400px; box-shadow: var(--shadow-soft); }

.admin-mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 35;
    padding: 12px 16px;
    background: linear-gradient(180deg, #0b1e33 0%, #071427 100%);
    color: var(--gold-100);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(7, 20, 39, 0.15);
}
.admin-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.admin-mobile-brand .brand-icon { color: var(--gold-500); }
.admin-mobile-brand .brand-icon svg { width: 22px; height: 22px; }
.admin-mobile-brand .brand-name {
    color: var(--gold-100);
    font-size: 0.98rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-mobile-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.admin-mobile-toggle:hover {
    border-color: rgba(224,191,114,0.7);
    background: rgba(224,191,114,0.08);
    transform: translateY(-1px);
}
.admin-mobile-toggle span {
    width: 20px;
    height: 2px;
    background: var(--gold-100);
    border-radius: 999px;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.admin-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.admin-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.admin-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.admin-mobile-nav {
    display: none;
    background: rgba(11,30,51,0.98);
    padding: 12px 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.admin-mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.admin-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    color: #edf3f9;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    font-weight: 700;
    transition: all 0.2s ease;
}
.admin-mobile-nav a::after {
    content: "›";
    color: var(--gold-400);
    font-size: 1.2rem;
    line-height: 1;
}
.admin-mobile-nav a.active,
.admin-mobile-nav a:hover {
    background: rgba(201,162,75,0.12);
    color: #fff;
    border-color: rgba(201,162,75,0.25);
    box-shadow: 0 8px 24px rgba(201,162,75,0.08);
}
.admin-mobile-nav.open { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner, .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-shell { display: block; }
    .admin-sidebar { display: none; }
    .admin-main { padding: 20px 16px 30px; }
    .admin-mobile-header { display: flex; }
    .admin-topline { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 100%; inset-inline: 0; background: var(--ivory); flex-direction: column;
        align-items: stretch; padding: 12px; gap: 4px; box-shadow: 0 12px 20px rgba(0,0,0,0.08);
        display: none;
    }
    .main-nav.open { display: flex; }
    .header-inner { position: relative; }
    .form-grid { grid-template-columns: 1fr; }
    .topbar-address { display: none; }
}
