/* =========================================================
   Devgraze — brand stylesheet
   Brand: #6A00FF (primary) · #9854F6 (light) · #F0E1FF (tint)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #6A00FF;
  --brand-2: #9854F6;
  --tint: #F0E1FF;
  --tint-2: #F8F1FF;
  --grad: linear-gradient(100deg, #6A00FF 0%, #9854F6 100%);
  --ink: #0D0A14;
  --ink-2: #3A3546;
  --muted: #6E6880;
  --line: #ECE8F2;
  --bg: #FFFFFF;
  --bg-soft: #FAF8FD;
  --ok: #0E9F6E; --ok-bg: #E6F7F0;
  --warn: #B7791F; --warn-bg: #FDF4E3;
  --err: #D92D20; --err-bg: #FDECEA;
  --info: #2563EB; --info-bg: #E8F0FE;
  --r-sm: 10px; --r: 14px; --r-lg: 22px; --r-xl: 32px;
  --shadow: 0 1px 2px rgba(13,10,20,.04), 0 8px 24px rgba(13,10,20,.06);
  --shadow-lg: 0 24px 60px rgba(106,0,255,.14);
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1 inherit; font-family: inherit; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #5A00DB; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2433; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { background: var(--tint-2); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand); }
.btn-danger { background: var(--err-bg); color: var(--err); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--tint-2); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 85% 10%, rgba(152,84,246,.16), transparent 70%),
  radial-gradient(500px 360px at 0% 90%, rgba(106,0,255,.08), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--tint-2); border: 1px solid var(--tint); color: var(--brand); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.eyebrow b { background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero-lead { font-size: 19px; color: var(--ink-2); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
.avatars span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.avatars span:first-child { margin-left: 0; }
.hero-proof .stars { color: #F5A524; display: flex; gap: 2px; }
.hero-proof .stars .ic { fill: currentColor; }

/* Hero visual: design canvas + code card */
.hero-visual { position: relative; min-height: 500px; }
.mock-window { position: absolute; top: 0; right: 0; width: 92%; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2DCEA; }
.mock-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; flex: 1; max-width: 220px; }
.mock-body { display: grid; grid-template-columns: 56px 1fr; min-height: 340px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-side i { width: 26px; height: 26px; border-radius: 8px; background: var(--tint-2); }
.mock-side i:first-child { background: var(--brand); }
.mock-main { padding: 22px; }
.mock-h { height: 14px; width: 45%; background: var(--ink); border-radius: 6px; margin-bottom: 10px; }
.mock-p { height: 8px; width: 70%; background: #E8E3EF; border-radius: 6px; margin-bottom: 20px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-cards div { height: 70px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); padding: 10px; }
.mock-cards div::before { content: ""; display: block; width: 50%; height: 8px; border-radius: 4px; background: #DDD5E8; margin-bottom: 14px; }
.mock-cards div::after { content: ""; display: block; width: 70%; height: 14px; border-radius: 4px; background: var(--ink); }
.mock-cards div:first-child { background: var(--grad); border: 0; }
.mock-cards div:first-child::before { background: rgba(255,255,255,.5); }
.mock-cards div:first-child::after { background: #fff; }
.mock-chart { height: 110px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: flex-end; gap: 8px; padding: 14px; }
.mock-chart b { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--tint); }
.mock-chart b:nth-child(5), .mock-chart b:nth-child(8) { background: var(--brand); }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.float-card .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-2); color: var(--brand); }
.float-card strong { display: block; font-size: 15px; }
.float-card small { color: var(--muted); }
.fc-1 { left: 0; top: 56%; }
.fc-2 { right: -8px; bottom: 0; }
.code-card { position: absolute; left: 0; top: 14%; background: var(--ink); color: #CFC6E0; border-radius: var(--r); padding: 16px 18px; font: 12.5px/1.7 ui-monospace, 'SF Mono', Menlo, monospace; box-shadow: var(--shadow-lg); width: 240px; }
.code-card .k { color: #B48CFF; } .code-card .s { color: #7EE2B8; } .code-card .c { color: #6E6880; }

/* Logos strip */
.trusted { padding: 28px 0 8px; border-top: 1px solid var(--line); margin-top: 56px; position: relative; }
.trusted p { text-align: center; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 18px; }
.logo-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; color: #A9A2B8; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }
.page-hero { padding: 80px 0 64px; background: var(--bg-soft); border-bottom: 1px solid var(--line); text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.card:hover { border-color: #DCCDF4; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); }
.icon-box { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint-2); color: var(--brand); margin-bottom: 22px; }
.icon-box.solid { background: var(--brand); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.service-card { position: relative; overflow: hidden; }
.service-card ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.service-card li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); padding: 5px 0; font-size: 15px; }
.service-card li .ic { color: var(--brand); }
.service-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-card.featured p, .service-card.featured li { color: #CFC6E0; }
.service-card.featured .icon-box { background: var(--brand); color: #fff; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-weight: 800; font-size: 40px; letter-spacing: -0.04em; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--grad); border-radius: var(--r-xl); color: #fff; padding: 48px 32px; }
.stats div { text-align: center; padding: 0 12px; border-right: 1px solid rgba(255,255,255,.22); }
.stats div:last-child { border: 0; }
.stats strong { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stats span { opacity: .85; font-size: 15px; }

/* Portfolio */
.filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; }
.filters a.active, .filters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.work-thumb { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--tint-2); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 22px 24px 26px; }
.work-body h3 { font-size: 19px; margin-bottom: 6px; }
.work-body p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.cat-pill { position: absolute; top: 14px; left: 14px; background: #fff; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--brand); z-index: 2; }
/* generated placeholder art when no image is uploaded */
.ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph-ui-ux { background: linear-gradient(135deg, #F0E1FF, #E4D0FF); }
.ph-web-dev { background: linear-gradient(135deg, #0D0A14, #2B1B4A); }
.ph-full { background: var(--grad); }
.ph .ph-screen { width: 70%; height: 66%; background: #fff; border-radius: 12px; box-shadow: 0 20px 40px rgba(13,10,20,.18); padding: 12px; display: grid; grid-template-rows: 10px 1fr; gap: 10px; }
.ph .ph-screen::before { content: ""; width: 40%; background: var(--tint); border-radius: 5px; }
.ph .ph-screen::after { content: ""; border-radius: 8px; background: linear-gradient(90deg, var(--tint-2) 0 60%, var(--tint) 60%); }
.ph-web-dev .ph-screen { background: #1A1426; } .ph-web-dev .ph-screen::before { background: var(--brand); } .ph-web-dev .ph-screen::after { background: repeating-linear-gradient(180deg, #3A2E52 0 6px, transparent 6px 14px); }
.ph-letter { position: absolute; right: 18px; bottom: 10px; font-size: 64px; font-weight: 800; color: rgba(255,255,255,.35); letter-spacing: -0.05em; }
.ph-ui-ux .ph-letter { color: rgba(106,0,255,.18); }

/* Why us */
.why-item { display: flex; gap: 18px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.why-item h4 { font-size: 18px; margin-bottom: 6px; }
.why-item p { color: var(--muted); margin: 0; font-size: 15px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--bg-soft); font-size: 14px; }
.compare td:nth-child(2) { background: var(--tint-2); font-weight: 600; color: var(--brand); }
.compare .yes { color: var(--ok); } .compare .no { color: var(--muted); }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card .price { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 2px; }
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-card ul { flex: 1; }
.popular-flag { position: absolute; top: 20px; right: 20px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* Testimonials */
.quote-card blockquote { margin: 0 0 22px; font-size: 17px; color: var(--ink-2); }
.who { display: flex; gap: 12px; align-items: center; }
.who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--grad); }
.who strong { display: block; font-size: 15px; }
.who span { color: var(--muted); font-size: 14px; }

/* CTA */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 64px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(152,84,246,.45), transparent 70%); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.cta-band p { color: #CFC6E0; margin: 0; font-size: 18px; }
.cta-band .btns { display: flex; gap: 12px; position: relative; z-index: 1; flex-wrap: wrap; }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual { border-radius: var(--r-xl); background: var(--tint); aspect-ratio: 1/1; display: grid; place-items: center; position: relative; }
.about-visual img { width: 46%; }
.value-list { display: grid; gap: 16px; margin-top: 28px; }
.value-list div { display: flex; gap: 14px; }
.value-list .ic { color: var(--brand); margin-top: 3px; }
.team-card { text-align: center; }
.team-card .av { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #fff; background: var(--grad); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .item:last-child { border: 0; }
.contact-info .item strong { display: block; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(106,0,255,.08); }
textarea { min-height: 130px; resize: vertical; }
input[type=file] { padding: 10px; background: var(--bg-soft); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--brand); }
input[type=range] { padding: 0; accent-color: var(--brand); }
.hint { font-weight: 400; font-size: 13px; color: var(--muted); }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick .pick-in { border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; height: 100%; font-weight: 500; }
.pick .pick-in .ic { color: var(--brand); }
.pick .pick-in strong { font-size: 15px; color: var(--ink); }
.pick .pick-in span { font-size: 13px; color: var(--muted); }
.pick input:checked + .pick-in { border-color: var(--brand); background: var(--tint-2); box-shadow: 0 0 0 3px rgba(106,0,255,.1); }
.pkg-list { display: grid; gap: 10px; }
.pkg-list .pick-in { grid-template-columns: 1fr auto; align-items: center; }
.pkg-list .pick-in b { font-size: 18px; color: var(--ink); }

/* Alerts & badges */
.alert { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: 15px; font-weight: 500; }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-info { background: var(--tint-2); color: var(--brand); }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-accepted { background: var(--info-bg); color: var(--info); }
.badge-in_progress { background: var(--tint); color: var(--brand); }
.badge-review { background: #E0F2FE; color: #0369A1; }
.badge-revision { background: #FFEDD5; color: #C2410C; }
.badge-completed { background: var(--ok-bg); color: var(--ok); }
.badge-cancelled { background: #F1F0F4; color: var(--muted); }
.badge-pay-paid { background: var(--ok-bg); color: var(--ok); }
.badge-pay-partial { background: var(--warn-bg); color: var(--warn); }
.badge-pay-unpaid { background: var(--err-bg); color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #BDB4CF; padding: 72px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img { height: 34px; margin-bottom: 18px; }
.site-footer h5 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #BDB4CF; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2A2433; margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 14px; flex-wrap: wrap; gap: 12px; }

/* ---------- Auth ---------- */
.auth-body { background: var(--bg-soft); min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; }
.auth-logo { height: 32px; margin-bottom: 28px; }
.auth-card h1 { font-size: 28px; font-weight: 800; }
.auth-foot { text-align: center; margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ---------- Panel (customer / admin) ---------- */
.panel { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: var(--bg-soft); }
.panel-side { background: #fff; border-right: 1px solid var(--line); padding: 24px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.panel-side .logo { height: 30px; margin: 4px 10px 28px; }
.panel-side .role-tag { margin: -16px 10px 24px; font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.side-nav a:hover { background: var(--bg-soft); }
.side-nav a.active { background: var(--tint-2); color: var(--brand); font-weight: 600; }
.side-nav .count { margin-left: auto; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.side-user { display: flex; gap: 12px; align-items: center; padding: 8px 10px 14px; }
.side-user .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; }
.side-user strong { display: block; font-size: 14px; }
.side-user span { font-size: 12px; color: var(--muted); }
.panel-main { padding: 32px 40px 64px; min-width: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.panel-top h1 { font-size: 28px; font-weight: 800; margin: 0; }
.panel-top p { margin: 4px 0 0; color: var(--muted); }
.panel-burger { display: none; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.kpi span { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.kpi strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.kpi.accent { background: var(--grad); border: 0; color: #fff; }
.kpi.accent span { color: rgba(255,255,255,.85); }

.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 24px; }
.box-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.box-head h3 { font-size: 17px; margin: 0; }
.box-body { padding: 24px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 12px 24px; background: var(--bg-soft); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FCFBFE; }
.table .t-title { font-weight: 600; color: var(--ink); }
.table .t-sub { font-size: 13px; color: var(--muted); }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty .ic { color: var(--brand-2); margin: 0 auto 12px; }

.progress { height: 8px; border-radius: 999px; background: var(--tint-2); overflow: hidden; min-width: 80px; }
.progress i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }

.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.meta-list { display: grid; gap: 0; }
.meta-list div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.meta-list div:last-child { border: 0; }
.meta-list span { color: var(--muted); }
.meta-list b { text-align: right; }
.desc { white-space: pre-wrap; color: var(--ink-2); }

.tracker { display: flex; gap: 0; margin-bottom: 4px; }
.tracker div { flex: 1; text-align: center; position: relative; font-size: 12px; color: var(--muted); font-weight: 600; }
.tracker div::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 8px; background: var(--line); position: relative; z-index: 1; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.tracker div::after { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.tracker div:first-child::after { display: none; }
.tracker div.done { color: var(--brand); }
.tracker div.done::before { background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.tracker div.done::after { background: var(--brand); }

.thread { display: grid; gap: 16px; }
.msg { display: flex; gap: 12px; }
.msg .av { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: var(--ink); }
.msg.from-admin .av { background: var(--grad); }
.msg-body { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 12px 16px; max-width: 100%; }
.msg.from-admin .msg-body { background: var(--tint-2); border-color: var(--tint); }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.msg-meta b { color: var(--ink); }
.msg-text { white-space: pre-wrap; font-size: 15px; }
.msg-file { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.msg.system { justify-content: center; }
.msg.system .msg-body { background: none; border: 0; padding: 0; text-align: center; font-size: 13px; color: var(--muted); }
.msg.system .msg-body b { color: var(--brand); }
.delivery { background: var(--ok-bg); border: 1px solid #BFEBD8; border-radius: var(--r); padding: 18px; color: var(--ok); }
.delivery a { font-weight: 700; color: var(--ok); word-break: break-all; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-bar a { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); background: #fff; }
.filter-bar a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-bar form { margin-left: auto; display: flex; gap: 8px; }
.filter-bar input { padding: 8px 14px; border-radius: 999px; font-size: 14px; width: 220px; }
.inline-form { display: inline; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .about-split, .contact-grid, .order-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; max-width: 600px; }
  .g-4, .steps, .kpis { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 44px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions .hide-m { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stats div:nth-child(2) { border: 0; }
  .panel { grid-template-columns: 1fr; }
  .panel-side { position: fixed; z-index: 60; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: transform .2s; }
  .panel.side-open .panel-side { transform: none; box-shadow: var(--shadow-lg); }
  .panel-main { padding: 20px 16px 48px; }
  .panel-burger { display: inline-flex; }
  .pick-grid { grid-template-columns: 1fr; }
  .filter-bar form { margin-left: 0; width: 100%; }
  .filter-bar input { flex: 1; width: auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .hero-visual { min-height: 400px; }
  .code-card { display: none; }
  .mock-window { width: 100%; }
  .g-4, .steps, .kpis, .footer-grid, .form .row { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .cta-band { padding: 32px 24px; }
  .auth-card { padding: 28px 22px; }
  .stats strong { font-size: 34px; }
  .logo-row { gap: 24px; font-size: 17px; }
  .table th, .table td { padding: 12px 14px; }
}

/* ---------- Socials / WhatsApp ---------- */
.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1C1726; color: #CFC6E0; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials-light a { background: var(--tint-2); color: var(--brand); }
.socials-light a:hover { background: var(--brand); color: #fff; }
.wa-fab { position: fixed; left: 20px; bottom: 20px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.4); }
.wa-fab:hover { transform: translateY(-2px); }
.btn-on-dark { background: transparent; color: #fff; border-color: #3A3546; }
.btn-on-dark:hover { border-color: #fff; color: #fff; }

/* ---------- Admin inbox ---------- */
.mail { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.mail > * { min-width: 0; }
.mail-top-compose { display: none; }
.mail-side { position: sticky; top: 20px; }
.mail-compose { margin-bottom: 14px; border-radius: 16px; padding: 14px 18px; justify-content: flex-start; }
.mail-side nav { display: grid; gap: 2px; }
.mail-side nav a { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 0 999px 999px 0; color: var(--ink-2); font-size: 14.5px; }
.mail-side nav a span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-side nav a b { font-size: 12.5px; }
.mail-side nav a:hover { background: #fff; }
.mail-side nav a.active { background: var(--tint); color: var(--brand); font-weight: 700; }
.mail-main { margin: 0; overflow: hidden; min-width: 0; }
.mail-toolbar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mail-bulk { display: flex; align-items: center; gap: 2px; }
.mail-bulk select { width: auto; padding: 6px 10px; font-size: 13px; border-radius: 999px; margin-left: 4px; }
.mail-ic { all: unset; box-sizing: border-box; cursor: pointer; width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink-2); font-size: 20px; }
.mail-ic:hover { background: var(--bg-soft); color: var(--brand); }
.mail-check { width: 36px; height: 36px; display: inline-grid; place-items: center; flex-shrink: 0; }
.mail-filter { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.mail-filter.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mail-pager { margin-left: auto; display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); }
.mail-search { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mail-search input { border-radius: 999px; padding: 9px 16px; font-size: 14px; background: #fff; }
.mail-new { padding: 10px 16px; background: var(--tint-2); font-weight: 600; font-size: 14px; }
.mail-list { display: flex; flex-direction: column; }
.mail-row { display: grid; grid-template-columns: 36px 32px minmax(120px, 210px) 1fr auto; align-items: center; gap: 6px; padding: 0 14px 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); min-height: 46px; font-size: 14px; }
.mail-row:hover { box-shadow: inset 0 -1px 0 var(--line), 0 1px 3px rgba(13,10,20,.08); position: relative; z-index: 1; }
.mail-row.unread { background: #fff; }
.mail-row.unread .mail-from, .mail-row.unread .mail-subj, .mail-row.unread .mail-date { font-weight: 700; color: var(--ink); }
.mail-row a { color: var(--ink-2); padding: 12px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-date { font-size: 12.5px; text-align: right; color: var(--muted) !important; }
.mail-star { all: unset; cursor: pointer; color: #C9C2D6; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.mail-star:hover { background: var(--tint-2); }
.mail-star.on { color: #F5A524; }
.mail-star.on .ic { fill: currentColor; }
.mail-clip { color: var(--muted); vertical-align: -2px; }
.mail-replied { color: var(--muted); font-weight: 400; }
.mail-read { padding: 22px 26px 28px; }
.mail-read h2 { font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.mail-folder-tag { font-size: 12px; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; vertical-align: 3px; color: var(--muted); }
.mail-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.mail-av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.mail-head-main { flex: 1; min-width: 0; word-break: break-word; }
.mail-head-date { white-space: nowrap; }
.mail-imgbar { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.mail-frame { width: 100%; border: 0; min-height: 200px; height: 480px; display: block; }
.mail-plain { white-space: pre-wrap; word-wrap: break-word; font-size: 15px; line-height: 1.6; }
.mail-quote { color: var(--muted); }
.mail-atts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.mail-att { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--ink); max-width: 100%; }
.mail-att span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.mail-att small { color: var(--muted); }
.mail-att:hover { border-color: var(--brand); color: var(--brand); }
.mail-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.mail-compose-body { padding: 8px 22px 22px; }
.mail-compose-body .form { gap: 0; }
.mail-field { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); min-height: 48px; }
.mail-field > span { width: 64px; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.mail-field input { border: 0; box-shadow: none !important; padding: 12px 0; border-radius: 0; }
.mail-ccbtn { all: unset; cursor: pointer; color: var(--muted); white-space: nowrap; }
.mail-ccbtn:hover { color: var(--brand); }
.mail-body { border: 0; box-shadow: none !important; min-height: 340px; padding: 16px 0; font-size: 15px; line-height: 1.6; border-radius: 0; resize: vertical; }
.mail-send-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.mail-attach-btn { cursor: pointer; }
@media (max-width: 900px) {
  .mail { grid-template-columns: minmax(0, 1fr); }
  .mail-top-compose { display: inline-flex; }
  .mail-toolbar { gap: 2px; }
  .mail-row a { padding-right: 4px; }
  .mail-side { position: static; }
  .mail-side nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .mail-side nav a { border-radius: 999px; white-space: nowrap; background: #fff; border: 1px solid var(--line); padding: 7px 12px; }
  .mail-side nav a span { overflow: visible; }
  .mail-compose { display: none; }
  .mail-row { grid-template-columns: 30px 28px 1fr auto; grid-template-areas: "c s f d" "c s j j"; row-gap: 0; padding: 6px 10px; }
  .mail-row .mail-check { grid-area: c; } .mail-row form { grid-area: s; } .mail-from { grid-area: f; padding: 6px 0 0 !important; }
  .mail-subj { grid-area: j; padding: 0 0 8px !important; } .mail-date { grid-area: d; padding: 6px 0 0 !important; }
  .mail-read { padding: 18px 16px; }
  .mail-head { flex-wrap: wrap; }
  .mail-head-date { width: 100%; padding-left: 56px; }
  .mail-pager { margin-left: 0; }
}

/* ---------- Login / registration ---------- */
.auth-wrap { padding: 56px 0 24px; background:
  radial-gradient(700px 420px at 100% 0%, rgba(152,84,246,.12), transparent 70%),
  radial-gradient(500px 360px at 0% 100%, rgba(106,0,255,.06), transparent 70%); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(13,10,20,.08); min-height: 620px; }
.auth-aside { position: relative; background: linear-gradient(150deg, #5200D6 0%, #6A00FF 45%, #9854F6 100%); color: #fff; padding: 48px 44px; display: flex; flex-direction: column; overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -140px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.auth-aside::after { content: ""; position: absolute; width: 260px; height: 260px; left: -90px; bottom: -110px; border-radius: 50%; background: rgba(255,255,255,.07); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .kicker { color: rgba(255,255,255,.75); }
.auth-aside h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.auth-aside p { color: rgba(255,255,255,.82); }
.auth-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.92); }
.auth-points .tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.auth-quote { margin-top: auto; padding-top: 32px; }
.auth-quote blockquote { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 18px 20px; }
.auth-quote .who { color: rgba(255,255,255,.85); font-size: 14px; }
.auth-main { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-main h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.auth-main .sub { color: var(--muted); margin-bottom: 26px; }
.auth-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 20px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.btn-google:hover { border-color: #C9BDE0; box-shadow: 0 4px 14px rgba(13,10,20,.06); color: var(--ink); }
.pw-field { position: relative; }
.pw-field input { padding-right: 70px; }
.pw-toggle { all: unset; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: var(--brand); cursor: pointer; padding: 4px 6px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.auth-foot2 { text-align: center; margin-top: 24px; font-size: 15px; color: var(--muted); }

/* stepper */
.steps-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.steps-bar .track { flex: 1; height: 6px; border-radius: 999px; background: var(--tint-2); overflow: hidden; }
.steps-bar .track i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .35s ease; }
.steps-bar span { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.js .pane { display: none; }
.js .pane.on { display: block; animation: paneIn .28s ease-out; }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.pane + .pane { margin-top: 28px; }
.js .pane + .pane { margin-top: 0; }
.pane h1 { font-size: 28px; }
.pane .sub { margin-bottom: 22px; }
.pane .field-err { color: var(--err); font-size: 13.5px; font-weight: 500; margin-top: 8px; min-height: 0; }
.pane input.bad { border-color: var(--err); box-shadow: 0 0 0 4px rgba(217,45,32,.08); }
.big-input { font-size: 18px !important; padding: 16px 18px !important; border-radius: 14px !important; }
.type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type-card { position: relative; cursor: pointer; }
.type-card input { position: absolute; opacity: 0; }
.type-card .tc { border: 1.5px solid var(--line); border-radius: 18px; padding: 22px 20px; display: grid; gap: 10px; height: 100%; transition: border-color .15s, background .15s, box-shadow .15s; }
.type-card .tc .icon-box { margin: 0; width: 46px; height: 46px; }
.type-card .tc strong { font-size: 17px; }
.type-card .tc span { font-size: 14px; color: var(--muted); }
.type-card:hover .tc { border-color: #CDB8F2; }
.type-card input:checked + .tc { border-color: var(--brand); background: var(--tint-2); box-shadow: 0 0 0 4px rgba(106,0,255,.1); }
.type-card input:focus-visible + .tc { outline: 2px solid var(--brand); outline-offset: 2px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chips label { cursor: pointer; }
.size-chips input { position: absolute; opacity: 0; }
.size-chips span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.size-chips input:checked + span { border-color: var(--brand); background: var(--tint-2); color: var(--brand); }
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.pane-nav { display: flex; gap: 10px; margin-top: 26px; align-items: center; }
.pane-nav .btn-primary { flex: 1; }
.pane-nav .back { all: unset; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; padding: 10px 12px; border-radius: 999px; }
.pane-nav .back:hover { color: var(--brand); background: var(--tint-2); }
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: block; }
html:not(.js) .js-only { display: none !important; }
.pw-meter { height: 5px; border-radius: 999px; background: var(--tint-2); margin-top: 10px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.pw-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.signed-as { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 22px; background: var(--bg-soft); }
.signed-as img, .signed-as .av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; }
.email-hint { font-size: 13.5px; margin-top: 8px; }
@media (max-width: 900px) {
  .auth-grid { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .auth-aside { padding: 30px 26px; }
  .auth-aside .auth-points, .auth-aside .auth-quote, .auth-aside p { display: none; }
  .auth-aside h2 { font-size: 22px; margin: 0; }
  .auth-main { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .auth-wrap { padding: 20px 0 8px; }
  .type-cards { grid-template-columns: 1fr; }
  .auth-main h1, .pane h1 { font-size: 24px; }
}

/* ---------- Admin notifications bell ---------- */
.panel-bell { position: absolute; top: 24px; right: 32px; z-index: 30; }
.panel-main { position: relative; }
.panel-bell summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; position: relative; color: var(--ink-2); }
.panel-bell summary::-webkit-details-marker { display: none; }
.panel-bell summary:hover { color: var(--brand); border-color: #DCCDF4; }
.panel-bell summary b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #F04438; color: #fff; font-size: 11px; display: grid; place-items: center; border: 2px solid var(--bg-soft); }
.bell-pop { position: absolute; right: 0; top: 52px; width: 360px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(13,10,20,.16); overflow: hidden; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bell-head form button { all: unset; cursor: pointer; font-size: 13px; color: var(--brand); font-weight: 600; }
.bell-list { max-height: 380px; overflow-y: auto; }
.bell-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.bell-item:hover { background: var(--bg-soft); }
.bell-item.unread { background: var(--tint-2); }
.bell-item .bi { width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.bell-item strong { display: block; font-size: 14px; }
.bell-item span { display: block; font-size: 13px; color: var(--muted); }
.bell-item small { color: var(--muted); font-size: 12px; }
.bell-foot { display: block; text-align: center; padding: 11px; font-size: 13.5px; font-weight: 600; }
@media (max-width: 900px) { .panel-bell { top: 16px; right: 16px; } }
.panel-top { padding-right: 60px; }
.bell-toast { position: fixed; right: 24px; bottom: 24px; z-index: 3000; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: 0 18px 50px rgba(13,10,20,.3); max-width: 340px; animation: dgIn .25s ease-out; }
.bell-toast strong { display: block; font-size: 14.5px; } .bell-toast span { font-size: 13px; color: #CFC6E0; }
.bell-toast:hover { color: #fff; }
@keyframes dgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.copy-row span { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.copy-row code { font-size: 13px; background: var(--bg-soft); border: 1px solid var(--line); padding: 7px 10px; border-radius: 8px; word-break: break-all; }

/* ---------- Order wizard ---------- */
.badge-awaiting_payment { background: #FFF4E5; color: #B7791F; }
.wiz-wrap { padding: 48px 0 72px; background: radial-gradient(700px 400px at 100% 0%, rgba(152,84,246,.10), transparent 70%); }
.wiz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.wiz-main { padding: 36px 40px 32px; border-radius: 28px; }
.wiz-main .pane h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.wiz-main .pane .sub { color: var(--muted); margin-bottom: 22px; }
.type-cards.three { grid-template-columns: repeat(3, 1fr); }
.pkg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 14px; }
.pkg-card { position: relative; cursor: pointer; display: block; }
.pkg-card input { position: absolute; opacity: 0; }
.pkg-card .pc { display: block; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; height: 100%; transition: border-color .15s, background .15s, box-shadow .15s; }
.pkg-card .pc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pkg-card .pc-top strong { font-size: 16px; }
.pkg-card .pc-top strong em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--brand); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.pkg-card .pc-top b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.pkg-card .pc-sub { display: block; font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.pkg-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.pkg-card li { font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.pkg-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.pkg-card:hover .pc { border-color: #CDB8F2; }
.pkg-card input:checked + .pc { border-color: var(--brand); background: var(--tint-2); box-shadow: 0 0 0 4px rgba(106,0,255,.1); }
.pkg-card.custom .pc { border-style: dashed; }
.pkg-card.popular .pc { border-color: #CDB8F2; }
.login-inline { background: var(--tint-2); border: 1px solid var(--tint); border-radius: 14px; padding: 14px 16px; margin-top: 14px; font-size: 14px; }
.wiz-more { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-top: 16px; }
.wiz-more summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.review { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.rv-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rv-row:last-child { border-bottom: 0; }
.rv-row span { color: var(--muted); }
.rv-row b { font-weight: 600; word-break: break-word; }
.pay-note { display: grid; gap: 4px; background: var(--ink); color: #fff; border-radius: 16px; padding: 18px 20px; }
.pay-note b { font-size: 20px; }
.pay-note span { color: #CFC6E0; font-size: 14px; }
.wiz-side { position: sticky; top: 96px; }
.wiz-summary { padding: 24px; border-radius: 22px; }
.ws-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ws-row span { color: var(--muted); }
.ws-row b { text-align: right; }
.ws-total { border-bottom: 0; }
.ws-total b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); }
.ws-feats { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.ws-feats li { font-size: 13px; color: var(--ink-2); padding-left: 16px; position: relative; }
.ws-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); }
.wiz-trust { margin-top: 16px; display: grid; gap: 10px; padding: 0 8px; font-size: 13.5px; color: var(--ink-2); }
.wiz-trust div { display: flex; gap: 10px; align-items: center; }
.wiz-trust .ic { color: var(--brand); }
@media (max-width: 1000px) {
  .wiz-grid { grid-template-columns: 1fr; }
  .wiz-side { position: static; order: -1; }
  .wiz-summary { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 16px 18px; align-items: center; }
  .wiz-summary .kicker { width: 100%; margin: 0; }
  .ws-row { border: 0; padding: 2px 0; }
  .ws-feats, .wiz-summary .hint, .wiz-trust { display: none; }
  .type-cards.three { grid-template-columns: 1fr; }
  .wiz-main { padding: 24px 18px; border-radius: 20px; }
}

/* ---------- Invoice document ---------- */
.inv-doc { position: relative; background: #fff; padding: 40px 44px; font-size: 14.5px; }
.inv-stamp { position: absolute; top: 34px; right: 44px; border: 3px solid; border-radius: 10px; padding: 6px 14px; font-weight: 800; letter-spacing: .14em; font-size: 15px; transform: rotate(-8deg); opacity: .85; }
.inv-stamp.paid { color: #0E9F6E; border-color: #0E9F6E; } .inv-stamp.void { color: #6E6880; border-color: #6E6880; } .inv-stamp.due { color: #D92D20; border-color: #D92D20; }
.inv-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.inv-logo { height: 34px; margin-bottom: 14px; }
.inv-from { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.inv-meta h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 10px; text-align: right; color: var(--brand); }
.inv-meta table { border-collapse: collapse; margin-left: auto; }
.inv-meta td { padding: 3px 0 3px 18px; font-size: 13.5px; text-align: right; }
.inv-meta td:first-child { color: var(--muted); }
.inv-parties { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; }
.inv-label { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.inv-total-box { text-align: right; background: var(--tint-2); border-radius: 14px; padding: 14px 20px; min-width: 200px; }
.inv-total-box strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.inv-total-box small { color: var(--muted); }
.inv-items { width: 100%; border-collapse: collapse; }
.inv-items th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--ink); }
.inv-items td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.inv-items .r { text-align: right; white-space: nowrap; }
.inv-desc { color: var(--muted); font-size: 13px; margin-top: 3px; }
.inv-sum { display: flex; justify-content: flex-end; padding: 14px 0 6px; }
.inv-sum table { border-collapse: collapse; min-width: 280px; }
.inv-sum td { padding: 6px 8px; } .inv-sum td:last-child { text-align: right; white-space: nowrap; }
.inv-sum .inv-grand td { border-top: 2px solid var(--ink); font-weight: 800; font-size: 17px; padding-top: 10px; }
.inv-notes { display: grid; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.inv-payments { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.inv-foot { margin-top: 28px; text-align: center; color: var(--muted); font-size: 13px; }

/* public invoice page */
.inv-page { background: var(--bg-soft); }
.inv-topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.inv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding: 28px 24px 64px; align-items: start; }
.inv-paper { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.inv-side { position: sticky; top: 20px; }
.inv-paybox { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.inv-paybox h3 { font-size: 20px; }
.paid-box { text-align: center; }
.paid-box .icon-box { margin: 0 auto 14px; }
.inv-due { display: grid; gap: 2px; margin-bottom: 14px; }
.inv-due span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.inv-due strong { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.inv-due small { color: var(--muted); }
.inv-testmode { background: var(--warn-bg); color: var(--warn); font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 10px; margin-bottom: 14px; text-align: center; }
.pay-methods { display: grid; gap: 12px; }
.pay-method { border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.pay-method-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 12px; }
.pay-method-h b { font-size: 15px; }
.pay-method-h > span { font-size: 12.5px; color: var(--muted); }
.card-brands { display: flex; gap: 4px; margin-left: auto; }
.cb { font-style: normal; font-size: 9px; font-weight: 800; padding: 3px 5px; border-radius: 4px; color: #fff; letter-spacing: .04em; }
.cb.visa { background: #1A1F71; } .cb.mc { background: #EB001B; } .cb.amex { background: #2E77BC; }
.inv-manual { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.inv-manual summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.inv-manual .desc { margin-top: 10px; }
.inv-help { margin-top: 16px; text-align: center; }
@media (max-width: 900px) {
  .inv-layout { grid-template-columns: 1fr; padding: 16px 12px 48px; }
  .inv-side { position: static; order: -1; }
  .inv-doc { padding: 24px 18px; font-size: 13.5px; }
  .inv-head, .inv-parties { flex-direction: column; }
  .inv-meta h1, .inv-meta td { text-align: left; }
  .inv-meta table { margin-left: 0; } .inv-meta td { padding-left: 0; padding-right: 18px; }
  .inv-stamp { top: 12px; right: 12px; font-size: 12px; }
  .inv-total-box { text-align: left; }
}
@media print {
  .inv-topbar, .inv-side, .dg-edit-fab, .dgc, .wa-fab, .alert { display: none !important; }
  body, .inv-page { background: #fff !important; }
  .inv-layout { display: block; padding: 0; }
  .inv-paper { border: 0; box-shadow: none; border-radius: 0; }
  .inv-doc { padding: 0; }
  @page { margin: 16mm; }
}

/* admin invoice editor */
.combo { position: relative; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 280px; overflow-y: auto; }
.combo-list li { padding: 9px 12px; border-radius: 8px; cursor: pointer; display: grid; font-size: 14px; }
.combo-list li span { font-size: 12.5px; color: var(--muted); }
.combo-list li:hover { background: var(--tint-2); }
.combo-list li.none { color: var(--muted); cursor: default; }
.inv-edit td { padding: 10px 12px; vertical-align: top; }
.inv-edit input { padding: 9px 12px; font-size: 14px; }
.inv-edit .it-desc { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.inv-edit .it-qty { width: 84px; } .inv-edit .it-price { width: 130px; }
.inv-edit .r, .inv-edit .it-amount { text-align: right; white-space: nowrap; font-weight: 600; padding-top: 18px; }
.inv-sumbox { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.inv-adj { display: flex; gap: 16px; flex-wrap: wrap; }
.inv-adj label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.inv-totals { border-collapse: collapse; min-width: 260px; }
.inv-totals td { padding: 6px 4px; font-size: 14.5px; } .inv-totals td:last-child { text-align: right; font-weight: 600; }
.inv-totals .grand td { border-top: 2px solid var(--ink); font-size: 18px; font-weight: 800; padding-top: 10px; }

/* ---------- Portfolio: cards + pop-up ---------- */
.work-card { cursor: pointer; transition: transform .18s, box-shadow .18s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.work-open { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: #fff; color: var(--brand); font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s; }
.work-card:hover .work-open { opacity: 1; transform: none; }
.work-facts { font-size: 12.5px; color: var(--muted); margin: -6px 0 10px; }
html.pm-lock, html.pm-lock body { overflow: hidden; }
.pm-overlay[hidden] { display: none; }
.pm-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(13,10,20,.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 24px; animation: dgIn .2s ease-out; }
.pm-box { position: relative; width: min(1080px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: 24px; overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr; }
.pm-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; box-shadow: var(--shadow); }
.pm-close:hover { background: var(--ink); color: #fff; }
.pm-media { background: var(--bg-soft); padding: 20px; position: sticky; top: 0; align-self: start; }
.pm-main { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; position: relative; background: var(--tint-2); }
.pm-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pm-thumbs button { all: unset; cursor: pointer; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.pm-thumbs button.on { border-color: var(--brand); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-body { padding: 36px 36px 32px; }
.pm-head .cat-pill { position: static; display: inline-block; background: var(--tint-2); margin-bottom: 12px; }
.pm-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.pm-head p { color: var(--ink-2); font-size: 16px; }
.pm-result { display: inline-block; background: var(--ok-bg); color: var(--ok); font-weight: 700; padding: 8px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 10px; }
.pm-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pm-facts div { display: grid; font-size: 14px; }
.pm-facts span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.pm-text p { color: var(--ink-2); font-size: 15px; }
.pm-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0; }
.pm-label { width: 100%; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.pm-quote { margin: 18px 0; background: var(--tint-2); border-left: 3px solid var(--brand); padding: 14px 18px; border-radius: 0 14px 14px 0; font-size: 15px; color: var(--ink-2); }
.pm-quote footer { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 24px; cursor: pointer; color: var(--ink); z-index: 3; }
.pm-nav.prev { left: -58px; } .pm-nav.next { right: -58px; }
@media (max-width: 1220px) { .pm-nav.prev { left: 10px; } .pm-nav.next { right: 10px; } .pm-nav { top: 28%; } }
.pm-nav:hover { background: var(--brand); color: #fff; }
@media (max-width: 900px) {
  .pm-overlay { padding: 0; }
  .pm-box { grid-template-columns: 1fr; max-height: 100vh; height: 100vh; border-radius: 0; }
  .pm-media { position: static; padding: 14px; }
  .pm-body { padding: 22px 20px 32px; }
  .pm-facts { grid-template-columns: 1fr 1fr; }
  .pm-nav { display: none; }
}

/* admin portfolio editor */
.chips-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 6px 8px; background: #fff; cursor: text; }
.chips-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(106,0,255,.08); }
.chips-input input { border: 0; box-shadow: none !important; padding: 6px 4px; flex: 1; min-width: 140px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--tint-2); color: var(--brand); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.chip b { cursor: pointer; font-weight: 700; opacity: .7; } .chip b:hover { opacity: 1; }
.pf-cover { aspect-ratio: 4/3; border-radius: 14px; background: var(--bg-soft); border: 1.5px dashed var(--line); display: grid; place-items: center; overflow: hidden; }
.pf-cover.has { border-style: solid; }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.pf-thumb { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; cursor: pointer; display: block; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-thumb input { position: absolute; top: 6px; left: 6px; z-index: 2; }
.pf-thumb span { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(13,10,20,.6); color: #fff; font-size: 11px; text-align: center; padding: 3px; }
.pf-thumb input:not(:checked) ~ span { background: #D92D20; } .pf-thumb input:not(:checked) ~ img { opacity: .4; }
