/* ============================================================
   HotelWare Hub — design system
   Palette derived from the Forever Enterprises logo. Gold is an
   accent, never a background fill for large areas. Dark surfaces
   are permitted only in the hero band and the footer.
   Signature: a blueprint / technical-drawing line-art system
   stands in for product photography — dashed dimension guides,
   thin strokes, small measurement labels — because this is a
   spec-first procurement tool, not a lifestyle storefront.
   ============================================================ */

:root {
  --gold-900: #8A6A05;
  --gold-600: #C9A227;
  --gold-400: #E3C463;
  --gold-100: #F7EFD6;
  --silver-600: #8A8F98;
  --silver-200: #DCDFE4;
  --silver-100: #EEF0F2;
  --charcoal-900: #2E2E30;
  --charcoal-800: #38383B;
  --charcoal-700: #4A4A4E;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --success: #2E7D5B;
  --success-bg: #E9F5EF;
  --warn: #B5761F;
  --warn-bg: #FBF1E3;
  --danger: #B33A3A;
  --danger-bg: #FCEDED;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 3px rgba(46,46,48,.07);
  --shadow-raised: 0 6px 20px rgba(46,46,48,.10);
  --ease: cubic-bezier(.4,0,.2,1);
  --header-h: 64px;
  --category-strip-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal-700);
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display {
  font-family: 'Poppins', Georgia, sans-serif;
  color: var(--charcoal-900);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
  margin: 0 0 .45em;
}
h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--gold-900); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
hr { border: none; border-top: 1px solid var(--silver-200); margin: 24px 0; }
::selection { background: var(--gold-400); color: var(--charcoal-900); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 700px) { .container, .container-narrow { padding: 0 16px; } }

/* ---------- numeric / tabular data — non-negotiable on every figure ---------- */
.num, .price, td.num, th.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-align: right;
}

/* ============================================================ icons */
.icon-category { width: 100%; height: 100%; color: var(--gold-900); }
.icon-spec { width: 14px; height: 14px; color: var(--gold-900); flex: 0 0 auto; }
.hero-illustration { width: 100%; height: auto; color: var(--gold-400); }
.icon-crop { width: 10px; height: 10px; color: var(--gold-600); }
.icon-circle {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold-100);
  display: flex; align-items: center; justify-content: center; padding: 13px;
  transition: background .16s var(--ease), transform .16s var(--ease);
}

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: .68em 1.35em;
  border-radius: var(--radius);
  border: 1px solid var(--silver-200);
  background: var(--white);
  color: var(--charcoal-900);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  font-size: .9375rem;
  line-height: 1.3;
  transition: opacity .14s var(--ease), transform .1s var(--ease), box-shadow .14s var(--ease), background .14s var(--ease);
}
.btn:hover { text-decoration: none; border-color: var(--silver-600); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold-600); border-color: var(--gold-600); color: var(--gold-900); font-weight: 700; }
.btn-primary:hover { background: var(--gold-400); border-color: var(--gold-400); box-shadow: var(--shadow-raised); }
.btn-dark { background: var(--charcoal-900); border-color: var(--charcoal-900); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-800); }
.btn-ghost { background: transparent; }
.btn-sm { padding: .42em .95em; font-size: .8125rem; }
.btn-lg { padding: .9em 1.9em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 50%; }

/* ---------- storefront category sidebar (left rail, Flipkart/Amazon-style) ---------- */
.category-sidebar { background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius); overflow: hidden; }
.category-sidebar-head { background: var(--silver-100); padding: 12px 16px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--charcoal-700); border-bottom: 1px solid var(--silver-200); }
.category-sidebar ul { list-style: none; margin: 0; padding: 0; }
.category-sidebar > ul > li { border-bottom: 1px solid var(--silver-100); }
.category-sidebar > ul > li:last-child { border-bottom: none; }
.category-sidebar > ul > li > a { display: block; padding: 10px 16px; font-size: .85rem; font-weight: 700; color: var(--charcoal-900); }
.category-sidebar > ul > li.active > a { color: var(--gold-900); }
.category-sidebar > ul > li > a:hover { text-decoration: none; color: var(--gold-900); }
.category-sidebar ul.sub { padding: 0 0 8px; }
.category-sidebar ul.sub li a { display: block; padding: 5px 16px 5px 28px; font-size: .8rem; color: var(--charcoal-700); position: relative; }
.category-sidebar ul.sub li a::before { content: '–'; position: absolute; left: 16px; color: var(--silver-600); }
.category-sidebar ul.sub li a:hover { color: var(--gold-900); text-decoration: none; }
.category-sidebar ul.sub li.active a { color: var(--gold-900); font-weight: 700; }
.browse-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .browse-layout { grid-template-columns: 1fr; } .category-sidebar { margin-bottom: 20px; } .category-sidebar ul.sub { display: flex; flex-wrap: wrap; gap: 0 12px; padding: 4px 16px 10px; } .category-sidebar ul.sub li a { padding: 3px 0; } .category-sidebar ul.sub li a::before { display: none; } }

/* ============================================================ header (Amazon-style: brand row + prominent search + category strip) */
.site-header { background: var(--white); border-bottom: 1px solid var(--silver-200); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 2px rgba(46,46,48,.04); }
.site-header .row { display: flex; align-items: center; gap: 18px; width: 100%; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--charcoal-900); white-space: nowrap; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(145deg, var(--charcoal-900), var(--charcoal-800)); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; position: relative; overflow: hidden; }
.brand-mark::before { content: ''; position: absolute; inset: 2px; border: 1px solid rgba(201,162,39,.35); border-radius: 7px; }
.brand-mark span { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: .92rem; color: var(--gold-400); letter-spacing: -.02em; }
.brand small { display: block; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--silver-600); margin-top: 1px; }

/* Hamburger — mobile only */
.burger { display: none; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--silver-200); background: var(--white); align-items: center; justify-content: center; font-size: 1.15rem; line-height: 1; cursor: pointer; color: var(--charcoal-900); }
.burger:hover { background: var(--silver-100); }

.header-search { flex: 1 1 auto; display: flex; max-width: 720px; }
.header-search select { display: none; border: 1px solid var(--silver-200); border-right: none; border-radius: 20px 0 0 20px; background: var(--silver-100); font-size: .8rem; padding: 0 10px; }
.header-search input { flex: 1; min-width: 0; padding: .55em 1em; border: 1px solid var(--silver-200); border-radius: 20px 0 0 20px; font-size: .9rem; background: var(--silver-100); }
.header-search input:focus { background: var(--white); outline: none; border-color: var(--gold-600); }
.header-search button { border: 1px solid var(--gold-600); border-left: none; background: var(--gold-600); color: var(--gold-900); border-radius: 0 20px 20px 0; padding: 0 18px; font-weight: 700; cursor: pointer; }
.header-search button:hover { background: var(--gold-400); }
@media (min-width: 700px) { .header-search select { display: block; } .header-search input { border-radius: 0; } }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; flex: 0 0 auto; }
.header-actions a { color: var(--charcoal-900); font-weight: 600; font-size: .82rem; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.2; }
.header-actions a span.top-label { font-size: .68rem; color: var(--silver-600); font-weight: 500; }
.header-actions .cart-link { position: relative; flex-direction: row; align-items: center; gap: 5px; }
.cart-badge { background: var(--gold-600); color: var(--gold-900); font-size: .68rem; font-weight: 800; min-width: 17px; height: 17px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Category strip — second header row */
.category-strip { background: var(--gold-900); color: var(--white); }
.category-strip .row { display: flex; align-items: center; gap: 20px; height: var(--category-strip-h); overflow-x: auto; scrollbar-width: none; }
.category-strip .row::-webkit-scrollbar { display: none; }
.category-strip a { color: #fff; opacity: .92; font-size: .8rem; font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
.category-strip a:hover { opacity: 1; text-decoration: underline; }
.category-strip a.all-link { display: flex; align-items: center; gap: 6px; font-weight: 700; }
@media (max-width: 780px) { .category-strip { display: none; } }

/* Mobile hamburger drawer */
@media (max-width: 780px) { .burger { display: inline-flex; } }
.mobile-drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(46,46,48,.45); z-index: 40; }
.mobile-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px; background: var(--white); z-index: 41; transform: translateX(-100%); transition: transform .22s var(--ease); overflow-y: auto; box-shadow: var(--shadow-raised); }
body.drawer-open .mobile-drawer-backdrop { display: block; }
body.drawer-open .mobile-drawer { transform: translateX(0); }
body.drawer-open { overflow: hidden; }
.mobile-drawer-head { background: var(--gold-900); color: #fff; padding: 18px 18px; display: flex; justify-content: space-between; align-items: center; }
.mobile-drawer-head strong { font-family: 'Poppins', sans-serif; }
.mobile-drawer-close { background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.mobile-drawer nav { padding: 8px 0; }
.mobile-drawer .drawer-section-label { padding: 12px 18px 4px; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--silver-600); font-weight: 700; }
.mobile-drawer a { display: block; padding: 11px 18px; font-size: .92rem; color: var(--charcoal-900); font-weight: 600; border-bottom: 1px solid var(--silver-100); }
.mobile-drawer a:hover { background: var(--silver-100); text-decoration: none; }

.header-actions .sell-cta { border-color: var(--gold-600); color: var(--gold-900); font-weight: 700; }
.header-actions .sell-cta:hover { background: var(--gold-100); }

@media (max-width: 700px) {
  .site-header .row { gap: 10px; }
  .brand small { display: none; }
  .header-actions a:not(.cart-link) { display: none; }
}

/* ============================================================ hero — now light, per brand direction (footer remains the one dark surface) */
.hero { background: linear-gradient(135deg, var(--gold-100) 0%, var(--paper) 55%, var(--white) 100%); color: var(--charcoal-900); padding: 44px 0 52px; position: relative; overflow: hidden; border-bottom: 1px solid var(--silver-200); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(138,106,5,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(138,106,5,.05) 1px, transparent 1px);
  background-size: 34px 34px; pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy .gold-mark { width: 46px; height: 2px; background: var(--gold-600); margin-bottom: 18px; }
.hero h1 { color: var(--charcoal-900); max-width: 560px; }
.hero p.lead { color: var(--charcoal-700); max-width: 500px; font-size: 1.08rem; margin-bottom: 26px; }
.hero-search { display: flex; max-width: 520px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-raised); border: 1px solid var(--silver-200); }
.hero-search input { flex: 1; border: 0; padding: 14px 16px; font-size: .95rem; font-family: inherit; }
.hero-search input:focus { outline: 2px solid var(--gold-600); outline-offset: -2px; }
.hero-search button { border: 0; background: var(--gold-600); color: var(--gold-900); font-weight: 700; padding: 0 24px; cursor: pointer; font-family: inherit; transition: background .14s; }
.hero-search button:hover { background: var(--gold-400); }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; }
.hero-stats div b { display: block; font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: var(--gold-900); font-variant-numeric: tabular-nums; }
.hero-stats div span { font-size: .74rem; color: var(--silver-600); text-transform: uppercase; letter-spacing: .05em; }
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art img { max-width: 420px; border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } .hero-art { display: none; } .hero { padding: 32px 0 36px; } }

/* ============================================================ eyebrow / section headers */
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--gold-900); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--gold-600); }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 0; }
.section-rule { border: none; height: 1px; background: repeating-linear-gradient(90deg, var(--silver-200) 0 6px, transparent 6px 11px); margin: 0 0 40px; }

/* ============================================================ cards, grids */
.card { background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- category tiles ---------- */
.cat-tile { padding: 0 0 16px; text-align: center; text-decoration: none; transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease); display: flex; flex-direction: column; align-items: center; gap: 10px; overflow: hidden; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); border-color: var(--gold-400); text-decoration: none; }
.cat-tile-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--silver-100); }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.cat-tile:hover .cat-tile-img img { transform: scale(1.05); }
.cat-tile .icon-circle { margin-top: 22px; }
.cat-tile:hover .icon-circle { background: var(--gold-400); }
.cat-tile h4 { margin: 0; font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: .875rem; color: var(--charcoal-900); padding: 0 12px; }
.cat-tile span.count { font-size: .72rem; color: var(--silver-600); }

/* ---------- product card + the spec strip (signature element) ---------- */
.product-card { padding: 16px; text-decoration: none; display: block; position: relative; transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease); }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); border-color: var(--silver-600); text-decoration: none; }
.product-card .thumb { aspect-ratio: 1; background: linear-gradient(160deg, var(--paper), var(--silver-100)); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; padding: 18%; position: relative; }
.product-card .thumb::after { content: ''; position: absolute; inset: 8px; border: 1px dashed var(--silver-200); border-radius: 2px; pointer-events: none; }
.product-card .thumb .icon-category { color: var(--gold-600); opacity: .85; }
.product-card .vendor { font-size: .72rem; color: var(--silver-600); text-transform: uppercase; letter-spacing: .03em; }
.product-card h4 { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: .95rem; margin: 3px 0 8px; color: var(--charcoal-900); line-height: 1.35; min-height: 2.6em; }
.badge-corner { position: absolute; top: 12px; left: 12px; background: var(--charcoal-900); color: var(--white); font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 3px; z-index: 2; }

.spec-strip { display: flex; flex-wrap: wrap; border-top: 1px solid var(--silver-200); border-bottom: 1px solid var(--silver-200); margin: 10px 0; }
.spec-strip .chip { flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-start; gap: 5px; padding: 7px 8px 7px 0; border-right: 1px solid var(--silver-200); font-size: .72rem; color: var(--charcoal-700); }
.spec-strip .chip:last-child { border-right: 0; }
.spec-strip .chip .txt { min-width: 0; }
.spec-strip .chip b { display: block; font-variant-numeric: tabular-nums; color: var(--charcoal-900); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-strip .chip span { color: var(--silver-600); text-transform: uppercase; font-size: .6rem; letter-spacing: .04em; }

.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.price-row .price { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--charcoal-900); }
.price-row .was { text-decoration: line-through; color: var(--silver-600); font-size: .85rem; }
.price-row .off { color: var(--success); font-size: .78rem; font-weight: 700; background: var(--success-bg); padding: 1px 7px; border-radius: 3px; }

/* ---------- tags / badges ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--gold-100); color: var(--gold-900); font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; }
.tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag-success { background: var(--success-bg); color: var(--success); }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-danger { background: var(--danger-bg); color: var(--danger); }
.tag-neutral { background: var(--silver-100); color: var(--charcoal-700); }
.badge-success { color: var(--success); } .badge-warn { color: var(--warn); } .badge-danger { color: var(--danger); }

/* ============================================================ forms */
label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 5px; color: var(--charcoal-900); }
input, select, textarea {
  width: 100%; padding: .68em .85em; border: 1px solid var(--silver-200); border-radius: var(--radius);
  font-family: inherit; font-size: .9375rem; background: var(--white); color: var(--charcoal-900);
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--silver-600); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
input[type="checkbox"], input[type="radio"] { width: auto; }
.field { margin-bottom: 16px; }
.help { font-size: .78rem; color: var(--silver-600); margin-top: 4px; }
.error-text { font-size: .82rem; color: var(--danger); margin-top: 4px; font-weight: 600; }
fieldset { border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 16px; margin: 0 0 16px; }
legend { font-family: 'Poppins', sans-serif; font-weight: 700; padding: 0 8px; color: var(--charcoal-900); }
.upload-drop { border: 1.5px dashed var(--silver-200); border-radius: var(--radius); padding: 28px; text-align: center; background: var(--silver-100); transition: border-color .14s, background .14s; }
.upload-drop:hover, .upload-drop.dragover { border-color: var(--gold-600); background: var(--gold-100); }
.upload-drop input[type=file] { display: none; }
.image-thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.image-thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--silver-200); background: var(--silver-100); }
.image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.image-thumb .primary-badge { position: absolute; top: 4px; left: 4px; background: var(--gold-600); color: var(--gold-900); font-size: .6rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.image-thumb .remove-btn { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(46,46,48,.75); color: #fff; border: 0; cursor: pointer; font-size: .7rem; line-height: 1; }

/* ============================================================ tables */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--silver-200); text-align: left; font-size: .875rem; vertical-align: middle; }
th { color: var(--silver-600); text-transform: uppercase; font-size: .68rem; letter-spacing: .05em; font-weight: 700; background: var(--silver-100); }
tbody tr { transition: background .1s; }
tbody tr:hover { background: var(--silver-100); }
tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--silver-200); border-radius: var(--radius); }
.table-wrap table { border: none; }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 16px; }

/* ============================================================ breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--silver-600); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--silver-600); }
.breadcrumb a:hover { color: var(--gold-900); }
.breadcrumb .sep { color: var(--silver-200); }
.breadcrumb .current { color: var(--charcoal-900); font-weight: 600; }

/* ============================================================ dashboards (light throughout) */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--header-h)); }
.dash-sidebar { background: var(--white); border-right: 1px solid var(--silver-200); padding: 22px 0; position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); overflow-y: auto; }
.dash-sidebar .side-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--silver-600); font-weight: 700; padding: 4px 22px; margin-top: 14px; }
.dash-sidebar .side-label:first-child { margin-top: 0; }
.dash-sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px 22px; font-size: .875rem; color: var(--charcoal-700); font-weight: 600; border-right: 2px solid transparent; transition: background .12s, color .12s; }
.dash-sidebar a .icon-spec { width: 16px; height: 16px; color: var(--silver-600); flex: 0 0 auto; }
.dash-sidebar a:hover .icon-spec, .dash-sidebar a.active .icon-spec { color: var(--gold-900); }
.dash-sidebar a:hover { background: var(--silver-100); text-decoration: none; }
.dash-sidebar a.active { color: var(--gold-900); background: var(--gold-100); border-right-color: var(--gold-600); }
.dash-main { padding: 30px 32px 60px; max-width: 1160px; }
.dash-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 18px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold-600); }
.stat-card .n { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--charcoal-900); font-variant-numeric: tabular-nums; }
.stat-card .l { font-size: .74rem; color: var(--silver-600); text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }
@media (max-width: 980px) { .dash { grid-template-columns: 1fr; } .dash-sidebar { position: static; height: auto; display: flex; overflow-x: auto; padding: 10px 0; border-right: none; border-bottom: 1px solid var(--silver-200); } .dash-sidebar .side-label { display: none; } .dash-sidebar a { white-space: nowrap; border-right: none; border-bottom: 2px solid transparent; } .dash-sidebar a.active { border-bottom-color: var(--gold-600); } }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2,1fr); } .dash-main { padding: 20px 16px 48px; } }

/* ---------- empty state ---------- */
.empty-state { text-align: center; padding: 52px 20px; color: var(--silver-600); }
.empty-state .icon-circle { margin: 0 auto 16px; width: 64px; height: 64px; }
.empty-state h3 { color: var(--charcoal-900); margin-bottom: 6px; }
.empty-state p { max-width: 380px; margin-left: auto; margin-right: auto; }

/* ---------- tracking timeline (orchestrated motion moment) ---------- */
.timeline { display: flex; margin: 30px 0 24px; position: relative; }
.timeline .stage { flex: 1; text-align: center; position: relative; }
.timeline .dot { width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 2px solid var(--silver-200); margin: 0 auto 10px; position: relative; z-index: 2; transition: border-color .3s, background .3s; }
.timeline .stage.reached .dot { background: var(--gold-600); border-color: var(--gold-600); }
.timeline .rail { position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--silver-200); z-index: 1; }
.timeline .rail-fill { height: 2px; background: var(--gold-600); width: var(--fill, 0%); transition: width .8s var(--ease); }
.timeline .lab { font-size: .72rem; color: var(--silver-600); }
.timeline .stage.reached .lab { color: var(--charcoal-900); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .timeline .rail-fill { transition: none; } }
@media (max-width: 600px) { .timeline .lab { font-size: .62rem; } }

/* ============================================================ footer */
.site-footer { background: var(--charcoal-900); color: #c9c9cc; padding: 52px 0 22px; margin-top: 56px; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-900), var(--gold-600), var(--gold-400)); }
.site-footer a { color: #dcdce0; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: .85rem; }
.footer-grid .brand { color: var(--white); margin-bottom: 10px; }
.footer-grid .brand-mark { background: linear-gradient(145deg, var(--gold-600), var(--gold-900)); }
.footer-grid .brand-mark span { color: var(--charcoal-900); }
.footer-grid .brand-mark::before { border-color: rgba(255,255,255,.25); }
.footer-grid h4 { color: var(--white); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; font-family: 'Open Sans', sans-serif; margin-bottom: 12px; }
.footer-grid p, .footer-grid li { color: #a7a7ac; line-height: 2; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom { border-top: 1px solid #45454a; margin-top: 30px; padding-top: 18px; font-size: .78rem; color: #83838a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }

/* ============================================================ invoice / documents (print-first) */
.doc-page { max-width: 920px; margin: 0 auto; background: var(--white); padding: 36px; border: 1px solid var(--silver-200); border-radius: var(--radius-lg); }
.doc-header { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--gold-600); padding-bottom: 16px; margin-bottom: 16px; }
.doc-title { font-family: 'Poppins', sans-serif; font-size: 1.7rem; text-align: center; flex: 1; align-self: center; }
.doc-table thead th { background: var(--gold-600); color: var(--white); font-size: .66rem; }
.doc-terms { border-top: 1px solid var(--silver-200); padding: 10px 0; font-size: .8rem; color: var(--charcoal-700); }
.doc-totals { max-width: 320px; margin-left: auto; font-size: .9rem; }
.doc-totals table td { border: none; padding: 5px 0; }
.doc-totals .grand td { font-weight: 700; border-top: 2px solid var(--charcoal-900); border-bottom: 2px solid var(--charcoal-900); padding: 8px 0; }
@media print { .site-header, .site-footer, .no-print { display: none !important; } .doc-page { border: none; padding: 0; } body { background: #fff; } }

/* ============================================================ misc utility */
.muted { color: var(--silver-600); }
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.mt-sm{margin-top:12px} .mt-lg{margin-top:32px} .mt-xl{margin-top:56px} .mb-lg{margin-bottom:32px}
.flex{display:flex} .flex-wrap{flex-wrap:wrap} .items-center{align-items:center} .justify-between{justify-content:space-between} .gap-sm{gap:8px} .gap-md{gap:14px}
.text-center{text-align:center}
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 2px; }
.skeleton { background: linear-gradient(90deg, var(--silver-100) 25%, var(--silver-200) 37%, var(--silver-100) 63%); background-size: 400% 100%; animation: skeleton-loading 1.4s ease infinite; border-radius: var(--radius); }
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

.divider-dashed { border: none; height: 1px; background: repeating-linear-gradient(90deg, var(--silver-200) 0 6px, transparent 6px 12px); margin: 28px 0; }

/* fade-up on load for hero copy — the one orchestrated moment on the homepage */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy > * { animation: fadeUp .5s var(--ease) backwards; }
.hero-copy .gold-mark { animation-delay: 0s; }
.hero-copy h1 { animation-delay: .05s; }
.hero-copy p.lead { animation-delay: .1s; }
.hero-copy form { animation-delay: .15s; }
.hero-copy .hero-stats { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .hero-copy > * { animation: none; } }
