/* =====================================================================
   AS Group — Theme
   ===================================================================== */
:root {
    --gold: #c9a24b;
    --gold-2: #b3893a;
    --yellow: #f2b705;
    --dark: #2b2a28;
    --dark-2: #211f1d;
    --cream: #f3efea;
    --text: #2b2b2b;
    --muted: #6c6c6c;
    --line: #e7e2da;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-serif: 'Marcellus', Georgia, serif;
    --shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #fff;
    margin: 0;
    line-height: 1.65;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; color: var(--dark); }
a { text-decoration: none; }
img { max-width: 100%; }

.section { padding: 90px 0; }
.section--cream { background: var(--cream); }
.text-muted-2 { color: var(--muted); }
.text-muted-3 { color: #b9b3a8; }

/* ---------- Section headings ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 14px;
}
.section-label::before { content: "\2742"; color: var(--gold); font-size: .9rem; }
.section-label--center { justify-content: center; }
.section-label--light { color: var(--gold); }
.section-title { font-size: 2.3rem; line-height: 1.2; margin-bottom: 18px; }
@media (max-width: 768px) { .section-title { font-size: 1.7rem; } .section { padding: 60px 0; } }

/* ---------- Buttons ---------- */
.btn-gold {
    background: var(--yellow);
    color: #1f1d1a;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .2s;
}
.btn-gold:hover { background: #d9a503; color: #1f1d1a; transform: translateY(-2px); }
.btn-dark-pill {
    background: var(--dark);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .2s;
}
.btn-dark-pill:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 44px; width: auto; display: block; object-fit: contain; }
.brand__logo--dark { display: none; }
.site-header--light .brand__logo--light { display: none; }
.site-header--light .brand__logo--dark { display: block; }
.site-header--transparent.is-scrolled .brand__logo--light { display: block; }
.site-header--transparent.is-scrolled .brand__logo--dark { display: none; }
.brand--footer .brand__logo { height: 48px; }


/* ---------- Topbar ---------- */
.topbar { background: var(--yellow); color: #1f1d1a; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar-left a { color: #1f1d1a; font-weight: 700; text-decoration: underline; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a { color: #1f1d1a; }
.topbar-sep { width: 1px; height: 14px; background: rgba(0,0,0,.25); }
@media (max-width: 768px) { .topbar-right { display: none; } }

/* ---------- Header ---------- */
.site-header { width: 100%; z-index: 1030; transition: .3s; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 20px; }
.site-header--light { position: sticky; top: 0; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.site-header--transparent { position: absolute; top: 0; left: 0; background: transparent; }
.site-header--transparent.is-scrolled { position: fixed; background: var(--dark); box-shadow: 0 4px 20px rgba(0,0,0,.25); animation: slideDown .3s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a, .nav-dropdown__toggle {
    color: #fff;
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    transition: .2s;
    cursor: pointer;
}
.site-header--light .main-nav > a, .site-header--light .nav-dropdown__toggle { color: var(--dark); }
.main-nav > a:hover, .main-nav > a.active,
.nav-dropdown__toggle:hover, .nav-dropdown__toggle.active { color: var(--gold); }

.nav-dropdown { position: relative; }
.nav-dropdown__menu {
    position: absolute;
    top: 130%;
    left: 0;
    min-width: 230px;
    background: var(--dark);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s;
    z-index: 50;
}
.nav-dropdown:hover .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown__menu a { display: block; padding: 10px 20px; color: #e7e2da; font-size: .9rem; font-weight: 500; }
.nav-dropdown__menu a:hover { background: rgba(255,255,255,.06); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-icon {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: .2s;
}
.header-icon:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.site-header--light .header-icon { border-color: var(--line); color: var(--dark); }
.site-header--light .header-icon:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.header-burger { display: none; }
@media (max-width: 991px) { .header-burger { display: inline-flex; } }

/* ---------- Mobile menu ---------- */
.mobile-menu { width: 320px; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a, .mobile-nav__toggle {
    padding: 12px 4px; border-bottom: 1px solid var(--line);
    color: var(--dark); font-weight: 500; background: none; border-left: 0; border-right: 0; border-top: 0;
    text-align: left; display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.mobile-nav a.active { color: var(--gold); }
.mobile-nav__submenu { display: flex; flex-direction: column; padding-left: 14px; }
.mobile-nav__submenu a { font-size: .9rem; }
.mobile-menu__contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu__contact a { color: var(--muted); font-size: .9rem; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background-size: cover; background-position: center; color: #fff; padding: 220px 0 130px; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,14,13,.85) 0%, rgba(15,14,13,.55) 60%, rgba(15,14,13,.3) 100%); }
.hero .container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; }
.hero__content { max-width: 620px; }
.hero__title { font-size: 4rem; line-height: 1.05; color: #fff; margin: 8px 0 20px; font-weight: 800; }
.hero__text { color: rgba(255,255,255,.85); max-width: 520px; margin-bottom: 26px; }
.hero__points { list-style: none; padding: 0; margin: 0; text-align: right; }
.hero__points li { color: rgba(255,255,255,.75); margin-bottom: 10px; font-size: .95rem; }
.hero__points span { color: var(--gold); font-weight: 700; margin-right: 6px; }
@media (max-width: 991px) { .hero__title { font-size: 2.6rem; } .hero { padding: 180px 0 90px; } .hero__points { display: none; } }

/* ---------- Feature cards ---------- */
.features { margin-top: -70px; position: relative; z-index: 5; padding-bottom: 30px; }
.feature-card { background: var(--dark); color: #fff; border-radius: 12px; padding: 32px 28px; height: 100%; transition: .25s; }
.feature-card:hover { transform: translateY(-6px); }
.feature-card__icon { width: 56px; height: 56px; border-radius: 10px; background: rgba(201,162,75,.15); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.feature-card__title { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.feature-card__text { color: rgba(255,255,255,.7); font-size: .92rem; margin: 0; }
.section--cream .feature-card { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.section--cream .feature-card__title { color: var(--dark); }
.section--cream .feature-card__text { color: var(--muted); }

/* ---------- About ---------- */
.about-section { padding: 90px 0; }
.about-section__media img { box-shadow: var(--shadow); }
.about-tabs { list-style: none; display: flex; gap: 26px; padding: 0; margin: 22px 0 14px; border-bottom: 1px solid var(--line); }
.about-tab { background: none; border: none; padding: 0 0 12px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.about-tab.active { color: var(--gold); border-color: var(--gold); }
.about-tab-content p { color: var(--muted); }
.about-tab-content p:not(.active) { display: none; }
.about-section__footer { display: flex; align-items: center; gap: 30px; margin-top: 24px; flex-wrap: wrap; }
.about-stat { display: flex; align-items: center; gap: 12px; }
.about-stat__num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--gold); }
.about-stat__label { font-size: .85rem; color: var(--muted); line-height: 1.2; }

/* ---------- Services ---------- */
.services { padding: 90px 0; background: var(--cream); }
.service-card { background: #fff; border-radius: 12px; padding: 30px 26px; height: 100%; box-shadow: var(--shadow); transition: .25s; border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.service-card__icon { width: 60px; height: 60px; border-radius: 12px; background: var(--dark); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px; }
.service-card__title { font-size: 1.15rem; margin-bottom: 10px; }
.service-card__text { color: var(--muted); font-size: .9rem; }
.service-card__link { color: var(--gold); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Project CTA band ---------- */
.project-cta { background: var(--dark); padding: 60px 0; color: #fff; }
.project-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.project-cta__title { color: #fff; font-size: 2rem; margin: 0; }
.project-cta__right { text-align: right; }
.project-cta__right h4 { color: var(--gold); margin-bottom: 6px; }
.project-cta__right p { color: rgba(255,255,255,.7); margin-bottom: 14px; }
@media (max-width: 768px) { .project-cta__right { text-align: left; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); overflow: hidden; padding: 16px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 22px; animation: marquee 22s linear infinite; }
.marquee__item { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #1f1d1a; text-transform: uppercase; }
.marquee__star { color: #1f1d1a; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.projects { padding: 90px 0; }
.project-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 24px 0 40px; }
.project-filter { background: #f3efea; border: none; border-radius: 6px; padding: 8px 18px; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: .2s; }
.project-filter.active, .project-filter:hover { background: var(--yellow); color: #1f1d1a; }
.project-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 100%; transition: .25s; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.project-card__media { height: 220px; position: relative; overflow: hidden; border-radius: 12px 12px 0 0; }
.project-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.project-card:hover .project-card__img { transform: scale(1.08); }
.project-card__media-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 100%); z-index: 1; transition: background .3s; }
.project-card:hover .project-card__media-overlay { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%); }
.project-card__logo { position: absolute; bottom: 16px; left: 20px; right: 20px; font-family: var(--font-serif); color: #fff; font-size: 1.4rem; text-shadow: 0 2px 8px rgba(0,0,0,.5); z-index: 2; }
.project-card__body { padding: 22px 24px; }
.project-card__cat { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.project-card__title { font-size: 1.2rem; color: var(--dark); margin-bottom: 12px; }
.project-card__link { color: var(--muted); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.project-card:hover .project-card__link { color: var(--gold); }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; background-size: cover; background-position: center; padding: 90px 0; text-align: center; color: #fff; }
.page-hero__overlay { position: absolute; inset: 0; background: rgba(20,18,16,.66); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title { color: #fff; font-size: 2.8rem; margin-bottom: 14px; }
.page-hero__rule { display: block; width: 90px; height: 3px; background: var(--yellow); margin: 0 auto 18px; }
.page-hero__subtitle { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
@media (max-width: 768px) { .page-hero__title { font-size: 1.9rem; } }

/* ---------- Subsidiary detail ---------- */
.subsidiary { max-width: 920px; margin: 0 auto; }
.subsidiary__media { background: linear-gradient(135deg, #2b2a28, #3b3935); border-radius: 14px; min-height: 360px; display: flex; align-items: center; justify-content: center; margin-bottom: 44px; padding: 30px; }
.subsidiary__logo { font-family: var(--font-serif); color: var(--gold); font-size: 2.6rem; text-align: center; }
.subsidiary__block { margin-bottom: 36px; }
.subsidiary__quote { border-left: 3px solid var(--gold); padding-left: 18px; font-style: italic; color: var(--dark); font-weight: 500; margin-top: 18px; }
.subsidiary__divider { border-color: var(--line); margin: 10px 0 36px; }
.subsidiary__nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.subsidiary__nav-item { flex: 1; }
.subsidiary__nav-item--next { text-align: right; }
.subsidiary__nav-item a { display: inline-flex; align-items: center; gap: 14px; color: var(--dark); }
.subsidiary__nav-item--next a { flex-direction: row; justify-content: flex-end; }
.subsidiary__nav-item small { display: block; color: var(--muted); font-size: .78rem; }
.subsidiary__nav-item strong { color: var(--dark); font-weight: 600; }
.subsidiary__nav-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: .2s; }
.subsidiary__nav-item a:hover .subsidiary__nav-arrow { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 36px; }
.blog-card__media { position: relative; display: block; }
.blog-card__media img { width: 100%; height: 320px; object-fit: cover; }
.blog-card__cat { position: absolute; top: 16px; left: 16px; background: var(--yellow); color: #1f1d1a; font-weight: 700; font-size: .75rem; padding: 6px 14px; border-radius: 4px; }
.blog-card__cat--inline { position: static; display: inline-block; }
.blog-card__body { padding: 26px 28px; }
.blog-card__meta { display: flex; gap: 18px; color: var(--muted); font-size: .82rem; margin-bottom: 10px; }
.blog-card__meta i { color: var(--gold); }
.blog-card__title { font-size: 1.5rem; margin-bottom: 12px; }
.blog-card__title a { color: var(--dark); }
.blog-card__title a:hover { color: var(--gold); }
.blog-card__excerpt { color: var(--muted); margin-bottom: 16px; }
.blog-card__link { color: var(--dark); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.blog-card__link:hover { color: var(--gold); }

.blog-sidebar { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 26px; position: sticky; top: 100px; }
.blog-sidebar__title { font-size: 1.2rem; margin-bottom: 6px; }
.blog-sidebar__rule { display: block; width: 50px; height: 3px; background: var(--yellow); margin-bottom: 18px; }
.recent-posts { list-style: none; padding: 0; margin: 0; }
.recent-posts li { margin-bottom: 16px; }
.recent-post { display: flex; gap: 12px; align-items: center; }
.recent-post__media img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.recent-post__date { display: block; color: var(--gold); font-size: .75rem; margin-bottom: 4px; }
.recent-post__title { color: var(--dark); font-weight: 600; font-size: .92rem; }
.recent-post:hover .recent-post__title { color: var(--gold); }

.blog-single__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.blog-single__meta i { color: var(--gold); }
.blog-single__media img { width: 100%; border-radius: 14px; margin-bottom: 26px; }
.blog-single__content { color: #3a3a3a; }
.blog-single__content h3 { margin: 26px 0 12px; }
.blog-single__content p { margin-bottom: 16px; }
.blog-pagination { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); padding: 50px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band__title { color: #1f1d1a; font-size: 2.2rem; margin: 0; }
@media (max-width: 768px) { .cta-band__title { font-size: 1.6rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.brand--footer { margin-bottom: 18px; }
.footer-about { color: rgba(255,255,255,.6); font-size: .92rem; margin-bottom: 18px; }
.footer-contact { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-title { color: #fff; font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-subscribe__field { position: relative; background: rgba(255,255,255,.07); border-radius: 8px; padding: 6px; display: flex; }
.footer-subscribe__field input { background: transparent; border: none; color: #fff; box-shadow: none; }
.footer-subscribe__field input::placeholder { color: rgba(255,255,255,.4); }
.footer-subscribe__field input:focus { background: transparent; color: #fff; box-shadow: none; }
.footer-subscribe__field button { background: var(--yellow); border: none; color: #1f1d1a; width: 44px; border-radius: 6px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.footer-social a:hover { background: var(--gold); }
.form-success { color: var(--gold); font-size: .85rem; margin-top: 8px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-legal a:hover { color: var(--gold); }
.footer-copy { color: rgba(255,255,255,.5); font-size: .85rem; }

/* ---------- Newsletter modal ---------- */
.newsletter-modal .modal-content { border: none; border-radius: 14px; overflow: hidden; position: relative; }
.newsletter-modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.newsletter-modal__media { background: #2b2a28; min-height: 100%; }
.newsletter-modal__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.newsletter-modal__body { padding: 40px 36px; }
.newsletter-modal__body h3 { font-size: 1.7rem; margin-bottom: 10px; }
.newsletter-modal__body p { color: var(--muted); margin-bottom: 20px; }
.newsletter-modal__field { display: flex; gap: 8px; }
@media (max-width: 768px) { .newsletter-modal__media { display: none; } }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; background: rgba(20,18,16,.95); z-index: 2000; display: none; align-items: center; justify-content: center; }
.search-overlay.open { display: flex; }
.search-form { width: min(640px, 90%); }
.search-form input { font-size: 1.4rem; padding: 18px; border-radius: 8px; border: none; }
.search-close { position: absolute; top: 30px; right: 30px; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: #1f1d1a; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; z-index: 1000; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* =====================================================================
   Admin dashboard
   ===================================================================== */
.admin-body { background: #f5f6f8; font-family: var(--font-body); }
.admin-topbar { background: var(--dark); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 12px 26px; }
.admin-topbar__tag { font-size: .7rem; background: var(--gold); color: #1f1d1a; padding: 2px 8px; border-radius: 4px; margin-left: 8px; font-weight: 700; letter-spacing: .5px; }
.admin-topbar__right { display: flex; align-items: center; gap: 16px; }
.admin-topbar__link, .admin-topbar__user { color: rgba(255,255,255,.8); font-size: .88rem; }
.admin-topbar__link:hover { color: var(--gold); }

.admin-shell { display: flex; min-height: calc(100vh - 58px); }
.admin-sidebar { width: 240px; background: #fff; border-right: 1px solid #eceef1; padding: 22px 14px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px; color: #4a4a4a; font-weight: 500; font-size: .92rem; }
.admin-sidebar a:hover { background: #f3efea; }
.admin-sidebar a.active { background: var(--dark); color: #fff; }
.admin-main { flex: 1; padding: 30px; }
@media (max-width: 768px) { .admin-shell { flex-direction: column; } .admin-sidebar { width: 100%; } }

.admin-page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 14px; flex-wrap: wrap; }
.admin-page-title { font-size: 1.6rem; margin: 0; }
.admin-page-sub { color: var(--muted); margin: 2px 0 0; font-size: .9rem; }
.admin-card { background: #fff; border: 1px solid #eceef1; border-radius: 12px; padding: 22px; margin-bottom: 20px; }
.admin-card__title { font-size: 1rem; margin-bottom: 14px; }
.admin-table thead th { background: #faf8f5; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid #eceef1; }
.admin-table__title { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.admin-table__thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.badge-cat { background: #f3efea; color: var(--gold); font-weight: 600; font-size: .78rem; padding: 4px 10px; border-radius: 4px; }
.admin-form__preview { width: 100%; border-radius: 8px; object-fit: cover; max-height: 180px; }

/* Admin login */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2b2a28, #46433d); padding: 20px; }
.admin-login__card { background: #fff; width: min(420px, 100%); border-radius: 16px; padding: 40px 36px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.admin-login__brand { margin-bottom: 20px; }
.admin-login__title { font-size: 1.6rem; margin-bottom: 4px; }
.admin-login__sub { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.admin-login__back { display: block; text-align: center; margin-top: 18px; color: var(--muted); font-size: .85rem; }
.admin-login__back:hover { color: var(--gold); }
