/* CreoVision Tech — black & white theme */
:root {
  --ink: #0A0A0A;
  --ink-2: #4A4A4A;
  --ink-3: #6A6A6A;
  --line: #E6E6E6;
  --line-2: #D4D4D4;
  --soft: #F4F4F4;
  --white: #FFFFFF;
  --dark-line: #2E2E2E;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--white); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 104px 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section.soft { background: var(--soft); }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 14px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #5A5A5A;
}
.dark .eyebrow { color: #A8A8A8; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.lead { font-size: 18px; color: var(--ink-2); }
.dark .lead { color: #C8C8C8; }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.muted { color: var(--ink-3); font-size: 14px; }
.dark .muted { color: #A8A8A8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 16px; }
.bar .spacer { flex: 1 1 0; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-size: 17px;
  padding: 10px 22px; border-radius: 999px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { color: var(--ink); background: #F7F7F7; }
.nav a.active { background: #F0F0F0; color: var(--ink); }
.brand { flex: 1 1 0; display: flex; justify-content: flex-end; }
.brand a { display: flex; align-items: center; }
.brand img { width: 38px; height: 42px; object-fit: contain; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--ink); background: var(--white); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}

@media (max-width: 820px) {
  .bar { flex-wrap: wrap; }
  .bar .spacer { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    order: 3; flex-basis: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 4px;
  }
  .nav.open { display: flex; }
  .nav a { justify-content: flex-start; }
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btns.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 28px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2E2E2E; border-color: #2E2E2E; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: #E6E6E6; border-color: #E6E6E6; }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 72px; }
.hero-copy { max-width: 920px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--soft);
  text-decoration: none; font-size: 14px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.025em; }
.rot { display: inline-block; transition: filter 0.4s ease, opacity 0.4s ease; }
.rot.out { filter: blur(12px); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rot { transition: none; } .rot.out { filter: none; opacity: 1; } }
.hero-copy .lead { max-width: 660px; font-size: 19px; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; padding-top: 8px; }
.stat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 28px; line-height: 1.2; }
.stat span { color: #5A5A5A; font-size: 14px; }

.hero-visual { position: relative; width: 100%; max-width: 720px; aspect-ratio: 560 / 480; }
.mock-browser {
  position: absolute; left: 0; top: 4%; width: 78%; height: 74%;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12); overflow: hidden; display: flex; flex-direction: column;
}
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1.5px solid var(--ink); background: var(--soft); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.mock-url {
  margin-left: 12px; flex: 1; height: 20px; border-radius: 999px; background: var(--line);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #5A5A5A;
  display: flex; align-items: center; padding-left: 10px;
}
.mock-body { flex: 1; padding: 4% 4.5%; display: flex; flex-direction: column; gap: 6%; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-nav b { font-family: 'Space Grotesk', sans-serif; font-size: clamp(9px, 1.6vw, 13px); letter-spacing: 0.08em; }
.mock-nav span { display: flex; gap: 8px; }
.mock-nav span i { width: 28px; height: 6px; background: var(--line-2); border-radius: 3px; }
.mock-main { display: flex; gap: 4%; flex: 1; }
.mock-text { flex: 1.2; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mock-text i { display: block; border-radius: 4px; background: var(--ink); height: 12px; }
.mock-text i.l { background: var(--line-2); height: 6px; }
.mock-text i.b { height: 20px; border-radius: 999px; width: 46%; margin-top: 6px; }
.mock-art { flex: 1; border-radius: 10px; background: #F0F0F0; display: flex; align-items: center; justify-content: center; }
.mock-art svg { width: 70%; height: auto; }
.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 30%; height: 70%;
  background: var(--ink); border-radius: 26px; padding: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.mock-screen { width: 100%; height: 100%; background: var(--white); border-radius: 19px; display: flex; flex-direction: column; overflow: hidden; }
.mock-chat-head { background: var(--ink); color: var(--white); padding: 10px 12px; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mock-chat-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--white); }
.mock-chat { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 7px; font-size: clamp(8px, 1.4vw, 11px); line-height: 1.35; }
.bubble { align-self: flex-start; background: #EDEDED; padding: 7px 9px; border-radius: 10px 10px 10px 2px; max-width: 88%; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--white); border-radius: 10px 10px 2px 10px; }
.mock-input { margin: 8px; height: 22px; border: 1px solid var(--line-2); border-radius: 999px; }
.float-key { position: absolute; left: 30%; bottom: -4%; width: 20%; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .float-key { animation: none; transform: rotate(-8deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 20px 0; background: var(--ink); }
.marquee-track {
  display: flex; width: max-content; gap: 32px; animation: marquee 30s linear infinite;
  font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: var(--white);
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 32px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.card-art { height: 170px; background: var(--soft); border-bottom: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.card-art.inv { background: var(--ink); }
.card-art svg { width: 200px; height: 120px; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { font-size: 22px; }
.card-body p { color: var(--ink-2); font-size: 16px; }

.tile {
  border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start; text-decoration: none; background: var(--white);
  transition: background 0.2s, color 0.2s;
}
.tile:hover { background: var(--ink); color: var(--white); }
.tile:hover p { color: #C8C8C8; }
.tile:hover .tile-icon { background: var(--white); }
.tile:hover .tile-icon svg { stroke: var(--ink); }
.tile-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.tile-icon svg { width: 24px; height: 24px; stroke: var(--white); }
.tile h3 { font-size: 20px; }
.tile p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

.soft-card { background: var(--soft); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.soft-card h3 { font-size: 22px; }
.soft-card p { color: var(--ink-2); font-size: 16px; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.icon-box svg { width: 24px; height: 24px; }

.step { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--ink);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 22px; }
.step p { color: #B8B8B8; font-size: 16px; }

/* ---------- Offer ---------- */
.offer { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.stack { flex: 999 1 560px; min-width: 0; border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.stack-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--dark-line); }
.stack-left { display: flex; align-items: flex-start; gap: 14px; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.stack-item { font-weight: 600; }
.stack-detail { color: #A8A8A8; font-size: 15px; }
.stack-value { font-family: 'IBM Plex Mono', monospace; color: #E0E0E0; white-space: nowrap; font-size: 15px; }
.stack-total { display: flex; justify-content: space-between; padding: 20px 24px; font-weight: 600; font-size: 18px; background: #161616; }
.stack-total span:last-child { font-family: 'IBM Plex Mono', monospace; }
.price-card { flex: 1 1 320px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.tag { align-self: flex-start; background: var(--ink); color: var(--white); font-family: 'IBM Plex Mono', monospace; font-size: 13px; padding: 6px 12px; border-radius: 999px; letter-spacing: 0.06em; }
.price-was { color: #5A5A5A; font-size: 16px; }
.price-now { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: -0.02em; }
.price-card p { color: #3A3A3A; font-size: 16px; }
.price-card p.strong { color: var(--ink); font-weight: 600; }

/* ---------- Keychains ---------- */
.shot { aspect-ratio: 4 / 3; background: var(--soft); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.shot.inv { background: var(--ink); }
.shot svg { width: 86%; height: auto; }
.pack { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.pack-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pack h3 { font-size: 22px; }
.badge { background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pack-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; line-height: 1.1; }
.pack p { color: var(--ink-2); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip { border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 15px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 96px 0 64px; text-align: center; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.05; letter-spacing: -0.025em; max-width: 900px; }
.page-hero .lead { max-width: 680px; font-size: 19px; }

.prose { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: #2E2E2E; }

/* ---------- CTA ---------- */
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta-inner h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.02em; }
.cta-inner .lead { max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-info { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-line { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 17px; }
.contact-line .icon-box { width: 44px; height: 44px; }
.contact-line:hover span { text-decoration: underline; }
.form {
  flex: 1 1 400px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; background: var(--white); color: var(--ink);
  border: 1.5px solid #CFCFCF; border-radius: 10px; padding: 12px 14px; min-height: 46px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.status { font-size: 15px; min-height: 1.6em; }
.status.ok { color: var(--ink); font-weight: 600; }
.status.err { color: #B00020; }

/* ---------- Blog ---------- */
.coming { max-width: 720px; margin: 0 auto; border: 1.5px dashed #9A9A9A; border-radius: var(--radius); padding: 48px 28px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer-brand .row { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 30px; height: 34px; object-fit: contain; }
.footer-brand b { font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.04em; }
.footer-brand p { color: var(--ink-2); font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols .label { color: var(--ink-3); font-family: 'IBM Plex Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .stats { gap: 28px; }
  .stack-row { padding: 16px; }
  .price-now { font-size: 48px; }
}

/* ---------- Admin ---------- */
.admin-body { background: var(--soft); min-height: 100vh; }
.admin-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-bar img { width: 32px; height: 36px; object-fit: contain; }
.admin-bar b { font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.admin-bar .grow { flex: 1; }
.admin-bar .who { font-size: 14px; color: var(--ink-3); }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 32px 20px 80px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.center-panel { max-width: 520px; margin: 48px auto; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs button {
  font: inherit; font-size: 16px; padding: 10px 22px; border-radius: 999px; border: none; cursor: pointer;
  background: transparent; color: var(--ink-2); min-height: 44px;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.count { display: inline-block; margin-left: 6px; background: #E0E0E0; color: var(--ink); border-radius: 999px; font-size: 12px; padding: 1px 8px; }
.tabs button[aria-selected="true"] .count { background: var(--white); }
.msg { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.msg.unread { border: 1.5px solid var(--ink); }
.msg-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.msg-head strong { font-size: 17px; }
.msg-meta { font-size: 14px; color: var(--ink-3); }
.msg-text { white-space: pre-wrap; font-size: 16px; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.fieldset legend { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; padding: 0 6px; }
.repeat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) auto; gap: 10px; align-items: end; padding: 12px; background: var(--soft); border-radius: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; min-height: 46px; }
.check input { width: 20px; height: 20px; }
.save-bar { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--line); padding: 14px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hidden { display: none !important; }

/* ---------- Videos ---------- */
.video-card { border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.video-body h3 { font-size: 20px; }
.video-body p { color: var(--ink-2); font-size: 15px; }

/* ---------- Testimonials ---------- */
.quote-card { margin: 0; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.quote-card blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.quote-card figcaption { display: flex; flex-direction: column; font-size: 15px; }
.quote-card figcaption span { color: var(--ink-3); }

/* ---------- Newsletter ---------- */
.footer-news { display: flex; flex-direction: column; gap: 8px; flex: 1 1 300px; max-width: 420px; }
.footer-news .label { color: var(--ink-3); font-family: 'IBM Plex Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.nl-label { font-size: 15px; color: var(--ink-2); }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-row input {
  flex: 1 1 200px; min-width: 0; font: inherit; font-size: 16px; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid #CFCFCF; border-radius: 999px; background: var(--white); color: var(--ink);
}
.nl-row input:focus { outline: none; border-color: var(--ink); }
.newsletter-form .status { min-height: 0; font-size: 14px; }
.coming .newsletter-form { max-width: 460px; text-align: left; }
.sub-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.video-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto; }
.video-media { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.video-media input[type="file"] { padding: 10px; min-height: 46px; }
.admin-preview { width: 100%; max-width: 360px; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 10px; }

/* ---------- Service links & pages ---------- */
.card-link { text-decoration: none; color: inherit; }
.card-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; margin-top: 6px; }
.card-price:not(:empty)::before { content: 'From '; font-weight: 500; color: var(--ink-3); }
.card-price.on-request::before { content: none; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; margin-top: 4px; }
.card-link:hover .card-more { text-decoration: underline; }
.back-link { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.back-link:hover { color: var(--ink); text-decoration: underline; }
.service-box { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.service-price { border: 1.5px solid var(--ink); position: sticky; top: 96px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-dark { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.chip-link { text-decoration: none; color: inherit; background: var(--white); }
.chip-link:hover { background: var(--ink); color: var(--white); }
@media (max-width: 860px) { .service-price { position: static; } }

/* ---------- Maintenance screen ---------- */
.maint-on body:not(.admin-body) > *:not(#maint):not(.preview-flag) { display: none !important; }
.maint-on #maint { display: flex !important; }
.maint-screen {
  position: fixed; inset: 0; z-index: 100; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 24px; text-align: center;
}
.maint-screen[hidden] { display: none; }
.maint-screen h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.maint-screen p { font-size: 19px; color: var(--ink-2); max-width: 560px; white-space: pre-line; }
.preview-flag { position: sticky; top: 0; z-index: 60; background: #FFD43B; color: var(--ink); text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: var(--white); text-align: center; font-size: 15px; font-weight: 500; }
.announce a { display: block; padding: 10px 20px; color: inherit; text-decoration: none; }
.announce a[href]:hover { text-decoration: underline; }

/* ---------- Language switch ---------- */
.brand { gap: 12px; align-items: center; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap;
}
.lang-switch:hover { background: var(--ink); color: var(--white); }
.lang-switch[lang="ar"] { font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif; }
.footer-social { display: contents; }

/* ---------- Arabic (right-to-left) ---------- */
html[lang="ar"] body, html[lang="ar"] .btn, html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] select {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .stat strong, html[lang="ar"] .pack-price,
html[lang="ar"] .price-now, html[lang="ar"] .card-price, html[lang="ar"] .eyebrow, html[lang="ar"] .tag {
  font-family: 'IBM Plex Sans Arabic', 'Space Grotesk', sans-serif; letter-spacing: 0; text-transform: none;
}
html[lang="ar"] h1, html[lang="ar"] h2 { line-height: 1.3; }
html[lang="ar"] .hero h1 { line-height: 1.25; }
html[lang="ar"] .eyebrow { font-size: 15px; font-weight: 600; }
html[lang="ar"] .card-price:not(:empty)::before { content: 'يبدأ من '; }
html[lang="ar"] .card-price.on-request::before { content: none; }
html[lang="ar"] .hero-visual, html[lang="ar"] .marquee, html[lang="ar"] .stack-value,
html[lang="ar"] .pack-price, html[lang="ar"] .price-now, html[lang="ar"] .card-price { direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .card-price, html[lang="ar"] .price-now { display: inline-block; }
[dir="rtl"] svg:has(path[d="M5 12h14M13 6l6 6-6 6"]) { transform: scaleX(-1); }
[dir="rtl"] .tile-icon svg, [dir="rtl"] .icon-box svg { transform: none; }

/* ---------- Admin layout ---------- */
.admin-body { background: #F2F2F2; }
.admin-bar { position: sticky; top: 0; z-index: 30; }
.admin-bar .inner { max-width: none; padding: 12px 24px; }
.admin-app { display: flex; align-items: flex-start; min-height: calc(100vh - 62px); }
.side {
  position: sticky; top: 62px; flex: none; width: 240px; padding: 20px 12px; display: flex; flex-direction: column; gap: 4px;
  min-height: calc(100vh - 62px); background: var(--white); border-right: 1px solid var(--line);
}
.side a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; min-height: 46px;
  text-decoration: none; color: var(--ink-2); font-weight: 500;
}
.side a:hover { background: var(--soft); color: var(--ink); }
.side a.active { background: var(--ink); color: var(--white); }
.side a span { flex: 1; }
.nbadge { font-style: normal; font-size: 12px; font-weight: 700; background: #E03131; color: #fff; border-radius: 999px; padding: 1px 8px; }
.nbadge:empty { display: none; }
.nbadge.light { background: #DADADA; color: var(--ink); }
.side a.active .nbadge.light { background: #fff; }
.admin-app .admin-main { flex: 1; min-width: 0; max-width: 1040px; margin: 0; padding: 32px 32px 120px; }
.sec-head { margin-bottom: 24px; display: flex; flex-direction: column; gap: 4px; }
.sec-head h1 { font-size: 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.stat-card strong { font-family: 'Space Grotesk', sans-serif; font-size: 40px; line-height: 1; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.acard { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.dash-grid .acard { margin-bottom: 0; }
.acard-head { display: flex; flex-direction: column; gap: 4px; }
.acard-head h2 { font-size: 20px; }
.sub-h { font-size: 16px; margin-top: 6px; }
.hint { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.notice { background: var(--soft); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--ink-2); }
.en-ref { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.status-pill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-pill.ok { background: #E6F7EC; color: #1B7A3D; }
.status-pill.warn { background: #FFF3D6; color: #8A5A00; }
.seg { display: inline-flex; background: #E4E4E4; border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 20px; }
.seg button { font: inherit; font-weight: 500; border: 0; background: transparent; padding: 8px 20px; border-radius: 999px; cursor: pointer; min-height: 40px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.mini-msg { font: inherit; text-align: left; background: var(--soft); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.mini-msg.unread { border-color: var(--ink); background: var(--white); }
.mini-msg:hover { border-color: var(--ink); }

/* toggle switch */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--soft); border-radius: 12px; cursor: pointer; }
.switch-text { display: flex; flex-direction: column; gap: 2px; }
.switch { position: relative; flex: none; width: 54px; height: 32px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #BDBDBD; transition: background .2s; }
.switch i::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 3px; }

/* save bar */
.save-bar {
  position: fixed; left: 240px; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px;
  padding: 14px 32px; background: var(--white); border-top: 1px solid var(--line); flex-wrap: wrap;
}
.save-bar .grow { flex: 1; }
.save-state { font-size: 15px; color: var(--ink-3); }
.save-bar.dirty .save-state { color: var(--ink); font-weight: 600; }
.save-bar.dirty .save-state::before { content: '● '; color: #E8590C; }
.save-bar.error .save-state { color: #B00020; font-weight: 600; }

@media (max-width: 860px) {
  .admin-app { flex-direction: column; }
  .side { position: sticky; top: 0; z-index: 20; width: 100%; min-height: 0; flex-direction: row; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side a { flex: none; padding: 8px 12px; }
  .side a span { flex: none; }
  .admin-bar { position: static; }
  .admin-bar .who { display: none; }
  .admin-app .admin-main { padding: 20px 16px 140px; }
  .save-bar { left: 0; padding: 12px 16px; }
}
.acard > .btn { align-self: flex-start; }
.signin-google { width: 100%; max-width: 360px; }
.or-line { width: 100%; max-width: 360px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pw-form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.pw-form .field input { font: inherit; font-size: 16px; border: 1.5px solid #CFCFCF; border-radius: 10px; padding: 12px 14px; min-height: 46px; width: 100%; }
.pw-form .field input:focus { outline: none; border-color: var(--ink); }
.linkish { background: none; border: 0; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; cursor: pointer; align-self: center; min-height: 44px; }
.linkish:hover { color: var(--ink); }
.acard .status-pill { margin-right: 6px; }
