:root {
    --brand-magenta: #c0006e;
    --brand-purple: #6a0dad;
    --brand-orange: #e86e1a;
    --brand-blue: #0077cc;
    --brand-red: #cc2222;
    --dark: #111016;
    --dark2: #1c1b24;
    --dark3: #26253a;
    --accent: #f0c040;
    --text: #f2f0f8;
    --text-muted: #9d9bb8;
    --border: rgba(255,255,255,0.08);
    --card: rgba(255,255,255,0.04);
    --radius: 14px;
    --radius-sm: 8px;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-brand: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-frame: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ---- STATUS PAGE ---- */
  .status-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192,0,110,0.16) 0%, transparent 70%),
      var(--dark);
  }
  .status-card {
    width: min(100%, 520px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.045);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  }
  .status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(85,221,170,0.14);
    color: #55ddaa;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
  .status-card h1 {
    margin-top: 1rem;
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.1;
  }
  .status-card p:last-child {
    margin-top: 0.75rem;
    color: var(--text-muted);
  }

  /* ---- NAV ---- */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(17,16,22,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
  }
  .nav-logo {
    font-family: var(--font-body);
    font-weight: 800; font-size: 1.15rem;
    background: linear-gradient(90deg, #e040fb, #f0c040);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    white-space: nowrap;
  }
  .nav-tabs { display: flex; gap: 4px; }
  .nav-tab {
    padding: 8px 20px; border-radius: 999px;
    background: none; border: none;
    color: var(--text-muted); font-family: var(--font-body);
    font-size: 0.9rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s;
  }
  .nav-tab:hover { color: var(--text); background: rgba(255,255,255,0.05); }
  .nav-tab.active {
    background: rgba(192,0,110,0.18);
    color: #f06ac0;
    border: 1px solid rgba(192,0,110,0.3);
  }

  /* ---- HERO ---- */
  .hero {
    padding: 5rem 2rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192,0,110,0.15) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .hero h1 span { color: #e040fb; }
  .hero p {
    margin-top: 1rem;
    font-size: 1.05rem; color: var(--text-muted);
    letter-spacing: 0.12em; text-transform: uppercase; font-weight: 300;
  }

  /* ---- PAGES ---- */
  .page { display: none; padding: 0 2rem 4rem; max-width: 1100px; margin: 0 auto; }
  .page.active { display: block; }

  /* ---- SERVICES PAGE ---- */
  .service-cats {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 2rem 0 2.5rem;
  }
  .cat-btn {
    padding: 10px 24px; border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text-muted); font-family: var(--font-body);
    font-size: 0.9rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 8px;
  }
  .cat-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
  .cat-btn.active { color: #fff; border-color: transparent; }
  .cat-btn[data-cat="printing"].active { background: #1a1a3a; border-color: #4455ee; color: #99aaff; }
  .cat-btn[data-cat="souvenirs"].active { background: #0d2a2a; border-color: #00aabb; color: #55ddee; }
  .cat-btn[data-cat="framing"].active { background: #2a1e0a; border-color: #e86e1a; color: #ffaa55; }
  .cat-btn[data-cat="branding"].active { background: #2a0a0a; border-color: #cc2222; color: #ff7777; }
  .cat-dot { width: 10px; height: 10px; border-radius: 50%; }
  .dot-printing { background: #4455ee; }
  .dot-souvenirs { background: #00aabb; }
  .dot-framing { background: #e86e1a; }
  .dot-branding { background: #cc2222; }

  .services-panel { display: none; }
  .services-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    transition: border-color 0.2s, transform 0.15s;
    cursor: default;
  }
  .service-card:hover { transform: translateY(-2px); }
  .service-card[data-theme="printing"] { border-left: 3px solid #4455ee; }
  .service-card[data-theme="souvenirs"] { border-left: 3px solid #00aabb; }
  .service-card[data-theme="framing"] { border-left: 3px solid #e86e1a; }
  .service-card[data-theme="branding"] { border-left: 3px solid #cc2222; }
  .service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
  .service-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
  .service-card-price {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
  }
  .service-card-price span {
    font-weight: 300;
    color: var(--text-muted);
  }

  /* ---- PRICE LIST PAGE ---- */
  .price-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin: 2rem 0 1.5rem; flex-wrap: wrap; gap: 12px;
  }
  .price-toolbar h2,
  .section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
  }
  .section-title { margin-top: 2rem; margin-bottom: 0.3rem; }
  .section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  .toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .cloud-sync-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: -0.5rem 0 1.8rem;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.03);
  }
  .cloud-token-input {
    min-width: 220px;
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 9px 14px;
  }
  .cloud-token-input:focus {
    outline: none;
    border-color: rgba(192,0,110,0.5);
  }
  .cloud-sync-status {
    color: var(--text-muted);
    font-size: 0.82rem;
  }
  .cloud-sync-status.ok { color: #55ddaa; }
  .cloud-sync-status.warn { color: #ffaa55; }
  .cloud-sync-status.busy { color: #99aaff; }
  .btn-primary {
    padding: 10px 22px; border-radius: 999px;
    background: linear-gradient(135deg, #c0006e, #6a0dad);
    border: none; color: #fff;
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: opacity 0.2s;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  }
  .btn-primary:hover { opacity: 0.85; }
  .btn-ghost {
    padding: 9px 20px; border-radius: 999px;
    background: none; border: 1.5px solid var(--border);
    color: var(--text-muted); font-family: var(--font-body);
    font-size: 0.88rem; cursor: pointer; transition: all 0.18s;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }
  .btn-danger {
    padding: 6px 14px; border-radius: var(--radius-sm);
    background: rgba(200,30,30,0.15); border: 1px solid rgba(200,30,30,0.3);
    color: #ff8888; font-size: 0.8rem; cursor: pointer;
    transition: background 0.15s;
  }
  .btn-danger:hover { background: rgba(200,30,30,0.3); }

  .price-section { margin-bottom: 2.5rem; }
  .price-section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem; padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
  }
  .price-section-header h3 {
    font-family: var(--font-display); font-size: 1.35rem;
    display: flex; align-items: center; gap: 10px;
  }
  .price-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 16px; border-radius: 999px; font-size: 1rem;
    font-family: var(--font-body); font-weight: 700;
  }
  .badge-printing { background: rgba(68,85,238,0.15); color: #99aaff; }
  .badge-souvenirs { background: rgba(0,170,187,0.15); color: #55ddee; }
  .badge-framing { background: rgba(232,110,26,0.15); color: #ffaa55; }
  .badge-branding { background: rgba(204,34,34,0.15); color: #ff7777; }

  table.price-table { width: 100%; border-collapse: collapse; }
  table.price-table th {
    text-align: left; padding: 8px 12px;
    font-size: 0.78rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  table.price-table td {
    padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.9rem; vertical-align: middle;
  }
  table.price-table tr:hover td { background: rgba(255,255,255,0.02); }
  .price-service-col { width: 35%; }
  .price-amount-col { width: 130px; }
  .price-unit-col { width: 120px; }
  .price-action-col { width: 60px; }
  .price-input {
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 6px 10px;
    color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
    width: 120px; transition: border-color 0.15s;
  }
  .price-input:focus { outline: none; border-color: rgba(192,0,110,0.5); }
  .unit-input {
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 6px 10px;
    color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
    width: 110px;
  }
  .unit-input:focus { outline: none; border-color: rgba(192,0,110,0.5); }
  .svc-name-input {
    background: transparent; border: none;
    color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
    width: 100%; padding: 4px 0;
  }
  .svc-name-input:focus { outline: none; border-bottom: 1px solid rgba(192,0,110,0.4); }

  .add-row-btn {
    margin-top: 10px; padding: 7px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.12);
    color: var(--text-muted); font-size: 0.85rem; cursor: pointer;
    transition: all 0.15s;
  }
  .add-row-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); }

  .save-banner {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--dark2); border: 1px solid rgba(192,0,110,0.4);
    border-radius: var(--radius); padding: 1rem 1.5rem;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
    z-index: 999;
  }
  .save-banner.show { opacity: 1; pointer-events: all; }
  .save-banner span { font-size: 0.9rem; color: var(--text-muted); }

  /* ---- CALCULATOR PAGE ---- */
  .calc-layout {
    display: grid; grid-template-columns: 300px 1fr; gap: 2rem;
    margin-top: 2rem; align-items: start;
  }
  @media (max-width: 700px) { .calc-layout { grid-template-columns: 1fr; } }
  .presets-panel {
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.2rem;
  }
  .presets-panel h3 {
    font-family: var(--font-display); font-size: 1rem;
    margin-bottom: 1rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .preset-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
  .preset-item {
    padding: 9px 13px; border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: var(--card); cursor: pointer;
    font-size: 0.88rem; font-weight: 500;
    transition: all 0.15s; display: flex; align-items: center; justify-content: space-between;
  }
  .preset-item:hover { background: rgba(255,255,255,0.07); }
  .preset-item.active {
    background: rgba(192,0,110,0.12);
    border-color: rgba(192,0,110,0.3);
    color: #f06ac0;
  }
  .preset-name-btn {
    flex: 1;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
  }
  .preset-del {
    opacity: 0; padding: 2px 6px; border-radius: 4px;
    background: rgba(200,0,0,0.2); border: none; color: #ff8888;
    font-size: 0.75rem; cursor: pointer; transition: opacity 0.15s;
  }
  .preset-item:hover .preset-del { opacity: 1; }

  .new-preset-panel {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
  }
  .new-preset-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
  }
  .new-preset-form {
    display: flex; gap: 6px; margin-top: 8px;
  }
  .new-preset-input {
    flex: 1; padding: 7px 10px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    color: var(--text); font-family: var(--font-body); font-size: 0.85rem;
  }
  .new-preset-input:focus { outline: none; border-color: rgba(192,0,110,0.5); }
  .btn-small {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .calc-panel {
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
  }
  .calc-panel h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 1.5rem; }
  .calc-group { margin-bottom: 1.8rem; }
  .calc-group-title {
    font-size: 1.08rem; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--text); margin-bottom: 0.9rem; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
  }
  .calc-group-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
  }
  .calc-rows { display: flex; flex-direction: column; gap: 10px; }
  .calc-row {
    display: grid; grid-template-columns: 1fr 90px 60px 80px;
    gap: 10px; align-items: center; font-size: 0.88rem;
  }
  .calc-row label { color: var(--text-muted); }
  .calc-row input[type=number] {
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 6px 8px;
    color: var(--text); font-family: var(--font-body); font-size: 0.88rem;
    width: 100%;
  }
  .calc-row input[type=number]:focus { outline: none; border-color: rgba(192,0,110,0.5); }
  .calc-row .unit-label { color: var(--text-muted); font-size: 0.8rem; }
  .calc-row .line-total { text-align: right; font-weight: 600; color: var(--accent); font-size: 0.9rem; }

  .calc-total-bar {
    margin-top: 1.5rem; padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
  }
  .calc-total-bar .total-label { font-size: 0.9rem; color: var(--text-muted); }
  .calc-total-bar .total-val {
    font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
    color: var(--accent);
  }
  .currency-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
  }

  /* ---- ADMIN RESPONSIVE ---- */
  @media (max-width: 820px) {
    body[data-page="admin"]:not(.customer-mode) {
      padding-top: 88px;
    }
    nav {
      position: fixed;
      inset: 0 0 auto;
      height: auto;
      align-items: stretch;
      flex-direction: column;
      gap: 8px;
      padding: 8px 0.85rem 10px;
      box-shadow: 0 10px 28px rgba(0,0,0,0.28);
    }
    .nav-logo {
      font-size: 0.82rem;
      text-align: center;
      white-space: normal;
    }
    .nav-tabs {
      display: flex;
      flex-wrap: nowrap;
      gap: 6px;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      scrollbar-width: none;
      width: 100%;
    }
    .nav-tabs::-webkit-scrollbar {
      display: none;
    }
    .nav-tab {
      flex: 1 0 0;
      min-height: 42px;
      padding: 8px 10px;
      font-size: 0.84rem;
      text-align: center;
      white-space: nowrap;
    }
    .hero {
      padding: 1.35rem 1rem 1.2rem;
    }
    .hero h1 {
      font-size: clamp(1.45rem, 8vw, 2.05rem);
      line-height: 1.08;
      letter-spacing: 0;
    }
    .hero p {
      font-size: 0.72rem;
      letter-spacing: 0.04em;
      line-height: 1.5;
    }
    .page {
      padding: 0 1rem 5.5rem;
    }
    .send-btn-wrap {
      align-items: stretch;
      flex-direction: column;
      margin: 1rem 0 1.5rem;
    }
    .send-btn-wrap .btn-primary,
    .link-box {
      width: 100%;
    }
    .service-cats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 1.2rem 0 1.5rem;
    }
    .cat-btn {
      min-height: 46px;
      justify-content: center;
      padding: 10px 12px;
      text-align: center;
    }
    .services-panel.active {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .service-card {
      padding: 1.1rem;
    }
    .price-toolbar {
      align-items: stretch;
      flex-direction: column;
      margin-top: 1.4rem;
    }
    .price-toolbar h2,
    .section-title {
      font-size: 1.75rem;
    }
    .toolbar-actions,
    .cloud-sync-panel {
      display: grid;
      grid-template-columns: 1fr;
      width: 100%;
    }
    .toolbar-actions .btn-primary,
    .toolbar-actions .btn-ghost,
    .cloud-sync-panel .btn-primary,
    .cloud-sync-panel .btn-ghost,
    .cloud-token-input {
      width: 100%;
      min-width: 0;
    }
    .price-section {
      margin-bottom: 1.8rem;
    }
    .price-section-header {
      align-items: flex-start;
      margin-bottom: 0.8rem;
    }
    .price-section-header h3 {
      font-size: 1.4rem;
    }
    .price-badge {
      min-height: 40px;
      padding: 7px 18px;
      font-size: 1.12rem;
    }
    table.price-table,
    table.price-table thead,
    table.price-table tbody,
    table.price-table tr,
    table.price-table th,
    table.price-table td {
      display: block;
      width: 100%;
    }
    table.price-table thead {
      display: none;
    }
    table.price-table tr {
      margin-bottom: 12px;
      padding: 12px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: rgba(255,255,255,0.035);
    }
    table.price-table td {
      border-bottom: 0;
      padding: 7px 0;
    }
    table.price-table td::before {
      display: block;
      margin-bottom: 5px;
      color: var(--text-muted);
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    table.price-table td:nth-child(1)::before { content: "Service"; }
    table.price-table td:nth-child(2)::before { content: "Description"; }
    table.price-table td:nth-child(3)::before { content: "Price (GHS)"; }
    table.price-table td:nth-child(4)::before { content: "Unit"; }
    table.price-table td:nth-child(5)::before { content: "Action"; }
    .svc-name-input,
    .price-input,
    .unit-input {
      width: 100%;
      min-height: 40px;
      padding: 8px 10px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.06);
    }
    .add-row-btn {
      width: 100%;
      min-height: 42px;
    }
    .calc-layout {
      gap: 1rem;
      margin-top: 1.2rem;
    }
    .presets-panel,
    .calc-panel {
      padding: 1rem;
    }
    .calc-panel h3 {
      font-size: 1.35rem;
    }
    .calc-group-title {
      font-size: 1.16rem;
      margin-bottom: 1rem;
    }
    .calc-row {
      grid-template-columns: 1fr 82px;
      gap: 8px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .calc-row label {
      grid-column: 1 / -1;
      font-size: 0.9rem;
    }
    .calc-row .unit-label {
      align-self: center;
    }
    .calc-row .line-total {
      grid-column: 1 / -1;
      text-align: left;
    }
    .calc-total-bar {
      gap: 12px;
      align-items: flex-start;
      flex-direction: column;
    }
    .save-banner {
      right: 1rem;
      bottom: 1rem;
      left: 1rem;
      align-items: stretch;
      flex-direction: column;
      padding: 1rem;
    }
    .save-banner .btn-primary,
    .save-banner .btn-ghost {
      width: 100%;
    }
    .toast {
      right: 1rem;
      left: 1rem;
      top: 1rem;
      text-align: center;
    }
    .modal-overlay {
      align-items: flex-start;
      overflow-y: auto;
      padding: 1rem;
    }
    .modal {
      width: 100%;
      max-width: none;
      padding: 1.2rem;
    }
    .modal-btns {
      display: grid;
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 420px) {
    .service-cats {
      grid-template-columns: 1fr;
    }
    .new-preset-form {
      flex-direction: column;
    }
    .new-preset-form .btn-primary {
      width: 100%;
    }
  }

  /* ---- CUSTOMER VIEW ---- */
  .customer-brochure { display: none; }
  .customer-brochure-shell {
    width: 100%;
    min-height: 761px;
    margin: 0 auto;
    background: linear-gradient(180deg, #fbfcfd 0%, #f2f5f8 100%);
    color: #1d1d1f;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
  }
  .customer-brochure-shell::before {
    content: "";
    position: absolute;
    inset: 154px 0 0;
    z-index: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(25,25,25,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(25,25,25,0.05) 1px, transparent 1px),
      radial-gradient(circle, rgba(6,155,211,0.22) 0 1.2px, transparent 1.5px),
      radial-gradient(circle, rgba(243,29,37,0.16) 0 1px, transparent 1.4px);
    background-position: 0 0, 0 0, 18px 20px, calc(100% - 26px) calc(100% - 18px);
    background-size: 42px 42px, 42px 42px, 34px 34px, 30px 30px;
    opacity: 0.82;
  }
  .customer-brand-band {
    height: 154px;
    background:
      linear-gradient(90deg, #130e12 0%, #3d172b 18%, #d8056f 51%, #85429a 74%, #344aa1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 20px 10px;
    position: relative;
    z-index: 1;
  }
  .customer-brand-band h1 {
    color: #fff;
    font-family: var(--font-brand);
    font-size: clamp(2rem, 5.1vw, 3.55rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }
  .customer-brand-band p {
    color: rgba(255,255,255,0.9);
    font-family: var(--font-brand);
    font-size: clamp(0.78rem, 2.2vw, 1.48rem);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 12px;
    text-transform: uppercase;
  }
  .customer-columns {
    width: min(1240px, calc(100% - 64px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(28px, 2.8vw, 44px);
    justify-content: center;
    align-items: start;
    padding: 74px 0 38px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
  }
  .customer-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 0 24px 0 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 38px rgba(18, 24, 32, 0.17);
    overflow: hidden;
    transform-origin: top center;
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease, filter 0.28s ease;
  }
  .customer-column.active {
    min-height: 468px;
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 46px rgba(18, 24, 32, 0.22);
  }
  .customer-category-btn {
    width: 100%;
    min-height: 96px;
    border-radius: 0 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    border: 0;
    font-size: 1.34rem;
    line-height: 1.05;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    font-family: var(--font-brand);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.18);
    transition: transform 0.24s cubic-bezier(.2,.8,.2,1), box-shadow 0.24s ease, filter 0.24s ease;
  }
  .customer-category-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0 36%, rgba(255,255,255,0.26) 48%, transparent 60% 100%);
    transform: translateX(-130%);
    transition: transform 0.55s ease;
  }
  .customer-category-btn:hover,
  .customer-category-btn.active {
    filter: saturate(1.08);
  }
  .customer-category-btn:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.22), 0 12px 22px rgba(18, 24, 32, 0.16);
  }
  .customer-category-btn:hover::after,
  .customer-category-btn.active::after {
    transform: translateX(130%);
  }
  .customer-category-btn.active {
    transform: translateY(-2px);
    box-shadow: inset 0 -3px 0 rgba(255,255,255,0.28), 0 14px 26px rgba(18, 24, 32, 0.2);
  }
  .customer-category-btn:active {
    transform: translateY(0) scale(0.985);
  }
  .customer-category-btn.printing { background: linear-gradient(180deg, #262626 0%, #050505 100%); }
  .customer-category-btn.souvenirs { background: linear-gradient(180deg, #0b9fed 0%, #0272c6 100%); }
  .customer-category-btn.framing { background: linear-gradient(180deg, #ff8a27 0%, #ee620b 100%); }
  .customer-category-btn.branding { background: linear-gradient(180deg, #ff252d 0%, #d90912 100%); }
  .customer-btn-icon {
    width: 1.08em;
    height: 1.08em;
    flex: 0 0 auto;
    color: currentColor;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
  }
  i.customer-btn-icon {
    width: auto;
    height: auto;
    font-size: 1.08em;
  }
  .customer-btn-label {
    min-width: 0;
    position: relative;
    z-index: 1;
  }
  .customer-category-btn .customer-btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.26s ease;
  }
  .customer-category-btn:hover .customer-btn-icon,
  .customer-category-btn.active .customer-btn-icon {
    transform: scale(1.1) rotate(-4deg);
  }
  .customer-service-list {
    list-style: none;
    display: none;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 15px;
    margin-top: 0;
    padding: 32px 30px 40px;
    min-height: 372px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-image: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,251,253,0.96));
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: auto;
    font-family: var(--font-frame);
    font-size: 1.22rem;
    line-height: 1.22;
    font-weight: 400;
  }
  .customer-service-list.active {
    display: flex;
    animation: customerFrameReveal 0.42s cubic-bezier(.2,.8,.2,1) both;
  }
  .customer-service-list.active li {
    animation: customerItemReveal 0.34s ease both;
  }
  .customer-service-list.active li:nth-child(1) { animation-delay: 0.04s; }
  .customer-service-list.active li:nth-child(2) { animation-delay: 0.08s; }
  .customer-service-list.active li:nth-child(3) { animation-delay: 0.12s; }
  .customer-service-list.active li:nth-child(4) { animation-delay: 0.16s; }
  .customer-service-list.active li:nth-child(5) { animation-delay: 0.2s; }
  .customer-service-list.active li:nth-child(6) { animation-delay: 0.24s; }
  .customer-service-list.active li:nth-child(7) { animation-delay: 0.28s; }
  }
  .customer-service-list::before {
    content: "";
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: var(--customer-panel-color, #1b1b1b);
    align-self: center;
    margin: -15px 0 8px;
  }
  .customer-service-list::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    background: var(--customer-panel-color, #1b1b1b);
  }
  .customer-service-list[data-customer-panel="printing"] {
    --customer-panel-color: #1b1b1b;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1b' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round' opacity='.08'%3E%3Cpath d='M6 9V3h12v6'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v8H6z'/%3E%3C/svg%3E"),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,251,253,0.96));
    background-position: right -8px bottom 12px, 0 0;
    background-size: 116px 116px, auto;
  }
  .customer-service-list[data-customer-panel="souvenirs"] {
    --customer-panel-color: #069bd3;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23069bd3' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round' opacity='.1'%3E%3Cpath d='M20 12v10H4V12'/%3E%3Cpath d='M2 7h20v5H2z'/%3E%3Cpath d='M12 22V7'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 1 1 2.2-3.7L12 7Z'/%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 1 0-2.2-3.7L12 7Z'/%3E%3C/svg%3E"),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,251,253,0.96));
    background-position: right -8px bottom 12px, 0 0;
    background-size: 120px 120px, auto;
  }
  .customer-service-list[data-customer-panel="framing"] {
    --customer-panel-color: #f77d3f;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f77d3f' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' opacity='.1'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M8 8h8v8H8z'/%3E%3Cpath d='m8 16 2.6-3.1 2 2.2 1.3-1.5L16 16'/%3E%3Ccircle cx='14.8' cy='10.2' r='.8'/%3E%3C/svg%3E"),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,251,253,0.96));
    background-position: right -8px bottom 12px, 0 0;
    background-size: 120px 120px, auto;
  }
  .customer-service-list[data-customer-panel="branding"] {
    --customer-panel-color: #f31d25;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23f31d25' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round' opacity='.1'%3E%3Cpath d='M8 29v10h9l31 10V19L17 29H8Z'/%3E%3Cpath d='M17 39 22 56h10l-6-14'/%3E%3Cpath d='M48 22v24'/%3E%3Cpath d='M55 26c3 2 4.5 4.6 4.5 8S58 40 55 42'/%3E%3Cpath d='M59 18c5 4.2 7 9.4 7 16s-2 11.8-7 16'/%3E%3C/svg%3E"),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,251,253,0.96));
    background-position: right -8px bottom 12px, 0 0;
    background-size: 120px 120px, auto;
  }
  .customer-service-list li {
    position: relative;
    padding-left: 24px;
  }
  .customer-service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.38em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--customer-panel-color, #171717);
    box-shadow: 0 0 0 3px rgba(18, 24, 32, 0.08);
  }
  .customer-assurance-row {
    width: min(1060px, calc(100% - 48px));
    margin: auto auto 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 42px;
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
  }
  .customer-assurance-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 0 30px;
    position: relative;
  }
  .customer-assurance-item + .customer-assurance-item::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(18, 24, 32, 0.34);
  }
  .customer-assurance-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 12px 24px rgba(18, 24, 32, 0.16);
  }
  .customer-assurance-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
  }
  .customer-assurance-icon i {
    font-size: 30px;
    line-height: 1;
  }
  .customer-badge-stack {
    width: 32px;
    height: 32px;
    font-size: 16px;
    line-height: 32px;
    position: relative;
  }
  .customer-badge-stack .fa-certificate {
    color: #fff;
    font-size: 30px;
  }
  .customer-badge-check {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 15px;
    border-right: 3px solid #8b127f;
    border-bottom: 3px solid #8b127f;
    transform: translate(-50%, -62%) rotate(45deg);
    z-index: 2;
  }
  .customer-assurance-icon.quality { background: linear-gradient(135deg, #c0167c, #6c148f); }
  .customer-assurance-icon.delivery { background: linear-gradient(135deg, #b41486, #6f168d); }
  .customer-assurance-icon.satisfaction { background: linear-gradient(135deg, #0677d8, #123b92); }
  .customer-assurance-copy h2 {
    margin: 0 0 4px;
    color: #151515;
    font-size: 0.98rem;
    line-height: 1.05;
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
  }
  .customer-assurance-copy p {
    margin: 0;
    color: #20242a;
    font-size: 0.82rem;
    line-height: 1.18;
    font-weight: 600;
  }
  @keyframes customerFrameReveal {
    from {
      opacity: 0;
      transform: translateY(-10px) scaleY(0.96);
      clip-path: inset(0 0 100% 0);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      clip-path: inset(0 0 0 0);
    }
  }
  @keyframes customerItemReveal {
    from {
      opacity: 0;
      transform: translateX(-10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .customer-column,
    .customer-category-btn,
    .customer-category-btn::after,
    .customer-category-btn .customer-btn-icon,
    .customer-service-list.active,
    .customer-service-list.active li {
      animation: none;
      transition: none;
    }
  }
  @media (max-width: 1120px) {
    .customer-brochure-shell { min-height: 0; }
    .customer-columns {
      grid-template-columns: repeat(2, minmax(210px, 1fr));
      width: min(760px, calc(100% - 48px));
      column-gap: 44px;
      row-gap: 42px;
      padding: 52px 0;
    }
    .customer-service-list { margin-top: 0; }
    .customer-assurance-row {
      grid-template-columns: 1fr;
      width: min(560px, calc(100% - 48px));
      margin-top: 8px;
      gap: 18px;
    }
    .customer-assurance-item {
      padding: 0;
    }
    .customer-assurance-copy h2 {
      white-space: normal;
    }
    .customer-assurance-item + .customer-assurance-item::before {
      content: none;
    }
  }
  @media (max-width: 560px) {
    .customer-brand-band { height: 126px; }
    .customer-brochure-shell::before { top: 126px; }
    .customer-columns {
      width: calc(100% - 48px);
      grid-template-columns: 1fr;
      row-gap: 30px;
      padding: 34px 0 48px;
    }
    .customer-column {
      min-height: 0;
    }
    .customer-category-btn {
      font-size: 1.25rem;
      min-height: 78px;
    }
    .customer-service-list {
      font-size: 1.16rem;
      min-height: 300px;
      margin-top: 0;
    }
    .customer-assurance-row {
      width: calc(100% - 40px);
      margin-bottom: 28px;
    }
    .customer-assurance-item {
      grid-template-columns: 48px 1fr;
      gap: 12px;
    }
    .customer-assurance-icon {
      width: 48px;
      height: 48px;
    }
    .customer-assurance-icon svg {
      width: 25px;
      height: 25px;
    }
    .customer-assurance-icon i {
      font-size: 27px;
    }
    .customer-badge-stack {
      width: 29px;
      height: 29px;
      font-size: 14px;
      line-height: 29px;
    }
    .customer-badge-stack .fa-certificate {
      font-size: 27px;
    }
    .customer-badge-check {
      width: 8px;
      height: 13px;
      border-right-width: 3px;
      border-bottom-width: 3px;
    }
  }

  /* ---- SEND BTN ---- */
  .send-btn-wrap { margin: 1.5rem 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .link-box {
    flex: 1; min-width: 200px; padding: 10px 14px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text-muted);
    font-size: 0.85rem; word-break: break-all; display: none;
  }
  .link-box.show { display: block; }
  .copy-msg {
    font-size: 0.82rem; color: #55ddaa;
    opacity: 0; transition: opacity 0.3s;
  }
  .copy-msg.show { opacity: 1; }

  /* ---- MODAL ---- */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.7); align-items: center; justify-content: center;
  }
  .modal-overlay.open { display: flex; }
  .modal {
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem;
    max-width: 480px; width: 90%;
  }
  .modal h2 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1rem; }
  .modal input, .modal select {
    width: 100%; padding: 9px 12px; margin-bottom: 1rem;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
    font-family: var(--font-body); font-size: 0.9rem;
  }
  .modal input:focus, .modal select:focus { outline: none; border-color: rgba(192,0,110,0.5); }
  .modal label { display: block; margin-bottom: 5px; font-size: 0.85rem; color: var(--text-muted); }
  .modal-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 0.5rem; }

  /* ---- TOAST ---- */
  .toast {
    position: fixed; top: 80px; right: 2rem; z-index: 9999;
    background: var(--dark2); border: 1px solid rgba(85,221,170,0.4);
    border-radius: var(--radius-sm); padding: 0.8rem 1.2rem;
    font-size: 0.88rem; color: #55ddaa;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .toast.show { opacity: 1; }

  /* Customer page special */
  body.customer-mode {
    background: #f7f8fa;
    color: #1d1d1f;
  }
  body.customer-mode nav,
  body.customer-mode .hero,
  body.customer-mode .send-btn-wrap,
  body.customer-mode .service-cats,
  body.customer-mode .services-panel,
  body.customer-mode .save-banner,
  body.customer-mode .toast {
    display: none;
  }
  body.customer-mode .page {
    display: none;
    max-width: none;
    padding: 0;
  }
  body.customer-mode #page-services {
    display: block;
  }
  body.customer-mode .customer-brochure {
    display: block;
  }
