:root {
    --coffee: #4b2f25;
    --coffee-dark: #241611;
    --cream: #f8f3ec;
    --beige: #e8dccb;
    --gold: #c9a86a;
    --ink: #1f1b18;
    --muted: #73675d;
    --line: #e4d7c8;
    --white: #fffaf4;
    --success: #315f52;
}

* { box-sizing: border-box; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); }
a { color: inherit; }
.btn { border-radius: 6px; }
.btn-gold { background: var(--gold); color: var(--coffee-dark); border: 0; }
.btn-gold:hover { background: #b99450; color: var(--coffee-dark); }
.muted-small { color: var(--muted); font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }

.public-body { background: var(--cream); }
.hero {
    min-height: 92vh;
    display: grid;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,22,17,.82), rgba(36,22,17,.42), rgba(36,22,17,.12)); }
.hero > .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5.75rem); line-height: .95; letter-spacing: 0; margin: 0; }
.hero-logo { width: 74px; height: 74px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.hero-logo img { max-width: 58px; max-height: 58px; object-fit: contain; }
.hero-logo span { color: var(--gold); font-size: 2rem; font-weight: 900; }
.hero .hair-studio { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.hero p { max-width: 620px; color: #f3e9dd; font-size: 1.06rem; }
.section-band { padding: 76px 0; }
.section-band.alt { background: #fffaf4; }
.section-title { max-width: 760px; margin-bottom: 28px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 10px; }
.service-tile, .metric-card, .list-card, .panel {
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}
.service-tile { height: 100%; }
.price { color: var(--coffee); font-weight: 800; }
.gallery-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.contact-band { background: var(--coffee-dark); color: var(--white); }
.contact-band .form-control, .contact-band .form-select { background: #fffaf4; border: 0; }

.auth-body { min-height: 100vh; display: grid; place-items: center; background: var(--cream); }
.auth-shell { width: min(440px, calc(100% - 32px)); }
.auth-card { background: #fffdf9; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: 0 18px 60px rgba(36, 22, 17, .1); }

.admin-body { background: #f7f4ef; }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { background: var(--coffee-dark); color: #f6ebdd; padding: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: block; color: var(--gold); font-weight: 800; text-decoration: none; font-size: 1.18rem; margin-bottom: 20px; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { color: #f6ebdd; text-decoration: none; padding: 9px 10px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; }
.admin-nav a:hover { background: rgba(255,255,255,.09); }
.admin-main { padding: 22px; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.admin-topbar h1 { margin: 0; font-size: 1.7rem; }
.panel { margin-bottom: 18px; box-shadow: 0 8px 32px rgba(36, 22, 17, .05); }
.table { margin-bottom: 0; }
.table th { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.status-pill { display: inline-block; padding: 4px 8px; border-radius: 999px; background: var(--beige); font-size: .82rem; }
.status-pending { background: #fde6bd; }
.status-approved { background: #d5eee3; }
.status-completed { background: #d7e6ff; }
.status-cancelled { background: #ffd7d7; }
.form-section-title { font-size: 1.05rem; margin: 0 0 14px; color: var(--coffee); font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 960px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .admin-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero { min-height: 86vh; }
    .section-band { padding: 52px 0; }
    .admin-main { padding: 14px; }
    .admin-topbar { align-items: flex-start; flex-direction: column; }
}
