/* Sceniox — agency theme */
:root {
  --ink: #0b1020; --ink2: #131a30; --paper: #ffffff; --bg: #f6f7fb;
  --text: #1a2138; --muted: #5b6478; --line: #e3e6ef;
  --brand: #6d28d9; --brand2: #0891b2; --accent: #f59e0b;
  --grad: linear-gradient(92deg, #6d28d9, #0891b2 55%, #f59e0b 130%);
  --radius: 14px; --shadow: 0 10px 30px rgba(11,16,32,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px 56px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.spacer { flex: 1; }

/* header */
header.site { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
header.site .bar { max-width: 1140px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; }
.logo { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.logo .dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo:hover { text-decoration: none; }
nav.main { display: flex; gap: 18px; }
nav.main a { color: #cfd6ea; font-weight: 600; font-size: 15px; }
nav.main a:hover { color: #fff; text-decoration: none; }

/* buttons */
.btn { display: inline-block; border: 1px solid transparent; border-radius: 999px; padding: 9px 20px; font-weight: 700; font-size: 15px; cursor: pointer; background: #e8eaf3; color: var(--ink); }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.primary { background: var(--grad); color: #fff; }
.btn.ghost { background: transparent; border-color: #46507a; color: #e6e9f5; }
main .btn.ghost, .panel .btn.ghost, .auth-card .btn.ghost { border-color: var(--brand); color: var(--brand); }
.btn.big { padding: 13px 30px; font-size: 17px; }
.btn.sm { padding: 5px 14px; font-size: 13px; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.danger { background: #b91c1c; color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }

/* hero */
.hero { background: radial-gradient(1100px 500px at 85% -10%, rgba(109,40,217,.45), transparent 60%), radial-gradient(800px 420px at 8% 110%, rgba(8,145,178,.35), transparent 60%), var(--ink); color: #fff; padding: 72px 0 30px; margin-bottom: 44px; }
.hero .wrap { padding-bottom: 40px; }
.kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: #a5b4fc; margin: 0 0 14px; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -1.5px; }
.lead { font-size: 19px; color: #c6cde4; max-width: 640px; }
.lead-sm { font-size: 17px; color: var(--muted); }
.tagline { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 17px; }
.cta-row { display: flex; gap: 12px; margin: 26px 0 34px; flex-wrap: wrap; }
.stats { display: flex; gap: 34px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
.stats b { display: block; font-size: 26px; }
.stats span { color: #9aa5c4; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

h2.sec { font-size: 30px; letter-spacing: -.5px; margin: 44px 0 8px; }
.sec-sub { margin: 0 0 22px; font-size: 16px; }
.page-title { font-size: clamp(30px, 5vw, 44px); letter-spacing: -1px; margin: 36px 0 10px; }
.crumbs { color: var(--muted); margin-top: 28px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: 0 2px 10px rgba(11,16,32,.04); display: flex; flex-direction: column; }
.card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); transition: .15s; }
.card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-art { height: 180px; background: var(--grad); opacity: .9; }
.card-art.alt { background: linear-gradient(120deg, #0ea5e9, #6d28d9); }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 19px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
.chip { display: inline-block; align-self: flex-start; background: #eef2ff; color: var(--brand); border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.from b { color: var(--brand); font-size: 18px; }
.go { font-weight: 700; color: var(--brand); font-size: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step .num { font-weight: 800; font-size: 14px; color: var(--brand2); letter-spacing: 2px; }
.step h3 { margin: 6px 0; }

/* detail + packages */
.detail-head { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; margin-top: 10px; }
.detail-img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.detail-img.wide { max-height: 380px; margin: 10px 0 18px; }
.prose { font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin-top: 30px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 20px; }
.pkg { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pkg.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.pkg h3 { margin: 0 0 4px; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; color: var(--brand); }
.pkg .price { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.feat { list-style: none; padding: 0; margin: 0 0 12px; }
.feat li { padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.reviews { display: grid; gap: 14px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* CEO */
.ceo-strip { display: flex; gap: 22px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.ceo-monogram, .ceo-photo.monogram { width: 92px; height: 92px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; flex: none; }
.ceo-head { display: flex; gap: 26px; align-items: center; margin-top: 30px; }
.ceo-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex: none; }
.highlights { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 16.5px; }
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px; text-align: center; margin: 30px 0; }
.cta-band p { color: #c6cde4; }

/* footer */
footer.site { background: var(--ink); color: #cfd6ea; margin-top: 20px; }
.foot-grid { max-width: 1140px; margin: 0 auto; padding: 40px 20px 10px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 26px; }
.foot-grid h4 { color: #fff; margin: 0 0 12px; }
.foot-grid a { display: block; color: #cfd6ea; padding: 3px 0; }
.foot-base { max-width: 1140px; margin: 0 auto; padding: 16px 20px 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #8b96b5; }

/* app (dashboard/admin/auth) */
body.app { background: var(--bg); }
.appbar { background: var(--ink); color: #fff; display: flex; align-items: center; gap: 16px; padding: 10px 20px; position: sticky; top: 0; z-index: 40; }
.appbar-title { font-weight: 700; color: #cfd6ea; }
.app-main { max-width: 1240px; margin: 0 auto; padding: 24px 20px 60px; }
.app-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }
.admin-cols { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.admin-nav { display: flex; flex-direction: column; gap: 6px; }
.admin-nav button { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 11px 14px; font-weight: 600; cursor: pointer; font-size: 15px; }
.admin-nav button.on { background: var(--ink); color: #fff; }
.badge { background: #b91c1c; color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { margin-top: 0; }
.auth-wrap { min-height: 88vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 6px; font-size: 26px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 13px 0 0; }
input, select, textarea { width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 15px; background: #fff; }
textarea { resize: vertical; }
.form-err { color: #b91c1c; min-height: 18px; font-size: 14px; }
.form-ok { color: #15803d; min-height: 18px; font-size: 14px; }
.orders-list { display: grid; gap: 10px; margin-bottom: 16px; }
.order-row { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; text-align: left; width: 100%; font: inherit; }
.order-row:hover, .order-row.on { border-color: var(--brand); }
.order-row .t { font-weight: 700; }
.status { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.status.pending_payment { background: #fef3c7; color: #92400e; }
.status.in_progress, .status.revision_requested { background: #dbeafe; color: #1e40af; }
.status.delivered { background: #ede9fe; color: #5b21b6; }
.status.completed { background: #dcfce7; color: #166534; }
.status.cancelled { background: #fee2e2; color: #991b1b; }
.msg { border-top: 1px solid var(--line); padding: 10px 0; }
.msg .who { font-weight: 700; font-size: 13px; }
.msg .when { color: var(--muted); font-size: 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.tbl th, table.tbl td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; vertical-align: top; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.stat-tile { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat-tile b { font-size: 26px; display: block; }
.stat-tile span { color: var(--muted); font-size: 13px; }
.contact-form { margin: 26px 0; }

@media (max-width: 900px) {
  .app-cols, .admin-cols { grid-template-columns: 1fr; }
  .detail-head { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; }
  .ceo-head, .ceo-strip { flex-direction: column; align-items: flex-start; }
}
