:root {
    --brand-red: #d71920;
    --brand-orange: #f97316;
    --ink: #111111;
    --muted: #6b7280;
    --soft: #f5f5f5;
    --line: #e5e7eb;
}

* {
    letter-spacing: 0;
}

body {
    background: #ffffff;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:hover {
    color: var(--brand-red);
}

.top-utility {
    background: #111111;
    color: #ffffff;
    font-size: .88rem;
    padding: .45rem 0;
}

.top-utility a {
    color: #ffffff;
    opacity: .9;
}

.site-header {
    box-shadow: 0 10px 30px rgba(17, 17, 17, .06);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    color: #111111;
}

.brand-mark span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
    color: #ffffff;
    border-radius: 8px;
}

.navbar {
    min-height: 74px;
}

.nav-link {
    font-weight: 650;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
    border: 0;
    color: #ffffff;
    font-weight: 700;
}

.btn-brand:hover,
.btn-brand:focus {
    background: linear-gradient(135deg, #b9151b, #dc5e0a);
    color: #ffffff;
}

.icon-button {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    padding: 0;
}

.hero-section {
    position: relative;
    color: #ffffff;
    padding: 94px 0 42px;
    background:
        linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.44)),
        url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-section h1,
.page-hero h1 {
    max-width: 820px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.02;
    font-weight: 850;
    margin: 0 0 1rem;
}

.hero-copy,
.page-hero p {
    max-width: 660px;
    color: rgba(255,255,255,.82);
    font-size: 1.12rem;
}

.eyebrow {
    color: var(--brand-orange);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: .65rem;
    text-transform: uppercase;
}

.expert-panel,
.search-console,
.filter-panel,
.content-panel,
.contact-form,
.sticky-enquiry,
.admin-panel,
.login-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(17, 17, 17, .08);
}

.expert-panel {
    color: #111111;
    padding: 1.5rem;
}

.expert-panel h2,
.sticky-enquiry h2,
.filter-panel h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.search-console {
    margin-top: 52px;
    padding: 1rem;
}

.search-console .nav-link {
    color: #111111;
    border-radius: 6px;
}

.search-console .nav-link.active {
    background: var(--brand-red);
}

.cta-strip {
    padding: 30px 0;
    background: #ffffff;
}

.cta-box {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 8px;
    background: #fff4ed;
    border: 1px solid #fed7aa;
    color: #111111;
    font-size: 1.35rem;
    font-weight: 850;
}

.cta-box.dark {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.section-pad {
    padding: 68px 0;
}

.muted-section {
    background: #f7f7f8;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 850;
    margin: 0;
}

.franchise-card {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17, 17, 17, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.franchise-card:hover {
    transform: translateY(-4px);
    border-color: #f97316;
    box-shadow: 0 18px 42px rgba(17, 17, 17, .11);
}

.badge-ribbon {
    position: absolute;
    top: 14px;
    right: -34px;
    width: 136px;
    transform: rotate(35deg);
    background: var(--brand-red);
    color: #ffffff;
    text-align: center;
    font-size: .72rem;
    font-weight: 800;
    padding: .28rem 0;
}

.franchise-logo {
    width: 74px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.franchise-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 850;
    padding-right: 1.7rem;
}

.rating {
    color: #f59e0b;
    font-weight: 800;
}

.franchise-summary {
    min-height: 72px;
    color: var(--muted);
    margin: 1rem 0;
    font-size: .94rem;
}

.listing-facts,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.listing-facts div,
.stats-grid div {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .75rem;
}

.listing-facts span,
.stats-grid span {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.listing-facts strong,
.stats-grid strong {
    display: block;
    margin-top: .2rem;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
}

.quick-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.quick-grid a {
    display: block;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 750;
}

.quick-grid a:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 10px 24px rgba(249, 115, 22, .14);
}

.register-band {
    background: #111111;
    color: #ffffff;
    padding: 46px 0;
}

.register-band .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.register-band h2 {
    margin: 0;
    font-weight: 850;
}

.page-hero {
    color: #ffffff;
    padding: 92px 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.38)),
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.small-hero {
    padding: 70px 0;
}

.filter-panel,
.content-panel,
.contact-form,
.sticky-enquiry {
    padding: 1.35rem;
}

.empty-state {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    color: var(--muted);
    background: #fafafa;
    text-align: center;
}

.detail-banner {
    color: #ffffff;
    min-height: 360px;
    display: flex;
    align-items: end;
    padding: 70px 0;
    background-size: cover;
    background-position: center;
}

.detail-identity {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.detail-identity img {
    width: 112px;
    height: 86px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid rgba(255,255,255,.35);
}

.detail-identity h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 850;
    margin: .35rem 0;
}

.content-panel h2 {
    font-size: 1.35rem;
    font-weight: 850;
    margin: 1.1rem 0 .65rem;
}

.content-panel h2:first-child {
    margin-top: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.tag-list span {
    padding: .45rem .7rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
}

.gallery-img,
.admin-gallery {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.sticky-enquiry {
    position: sticky;
    top: 116px;
}

.narrow {
    max-width: 920px;
}

.cms-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-lines {
    display: grid;
    gap: .8rem;
    margin-top: 1.4rem;
}

.site-footer {
    background: #141414;
    color: rgba(255,255,255,.78);
    padding: 56px 0 26px;
}

.site-footer h6 {
    color: #ffffff;
    font-weight: 850;
    margin-bottom: .9rem;
}

.site-footer a {
    display: block;
    color: rgba(255,255,255,.75);
    margin-bottom: .55rem;
}

.footer-brand {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: .75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 34px;
    padding-top: 20px;
    font-size: .88rem;
}

.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 20px;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    background: #111111;
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.cookie-consent.show {
    display: flex;
}

.floating-lead {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1rem;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(17, 17, 17, .24);
    font-weight: 800;
}

.floating-lead:hover {
    color: #ffffff;
    background: var(--brand-red);
}

.admin-body {
    background: #f4f5f7;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
}

.admin-sidebar {
    background: #111111;
    color: #ffffff;
    padding: 1.25rem;
}

.admin-brand {
    color: #ffffff;
    margin-bottom: 1.4rem;
}

.admin-sidebar nav {
    display: grid;
    gap: .4rem;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255,255,255,.76);
    padding: .75rem .8rem;
    border-radius: 8px;
    font-weight: 700;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    background: rgba(255,255,255,.1);
    color: #ffffff;
}

.admin-main {
    padding: 1.35rem;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-topbar h1 {
    font-size: 1.65rem;
    font-weight: 850;
    margin: 0;
}

.admin-topbar span {
    color: var(--muted);
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.admin-stat-card,
.admin-panel {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(17, 17, 17, .05);
}

.admin-stat-card span {
    color: var(--muted);
    font-weight: 700;
}

.admin-stat-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 850;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-panel-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 850;
}

.admin-thumb {
    width: 54px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.admin-preview {
    width: 120px;
    height: 92px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.admin-preview.wide {
    width: 220px;
}

.form-section-title {
    margin: 1.2rem 0 .85rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--line);
    font-weight: 850;
    color: #111111;
}

.detail-list {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: .8rem 1rem;
}

.detail-list dt {
    color: var(--muted);
}

.detail-list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(0,0,0,.88), rgba(0,0,0,.58)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
    padding: 1rem;
}

.login-card {
    width: min(100%, 420px);
    padding: 2rem;
}

.login-card h1 {
    margin-top: 1.3rem;
    font-size: 1.8rem;
    font-weight: 850;
    text-align: center;
}

.login-card p {
    color: var(--muted);
    text-align: center;
}

@media (max-width: 991.98px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .register-band .container,
    .footer-bottom,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sticky-enquiry {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .hero-section,
    .page-hero {
        padding: 54px 0;
    }

    .top-utility .container,
    .utility-links {
        justify-content: center;
    }

    .listing-facts,
    .stats-grid,
    .detail-list {
        grid-template-columns: 1fr;
    }

    .cookie-consent {
        left: 12px;
        right: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .floating-lead {
        right: 14px;
        bottom: 118px;
    }
}
