/* ============================================================
   AUDICAL SERVICES — Global Stylesheet
   ============================================================ */

:root {
  --color-primary:  #01c7fc;
  --color-accent:   #fefb41;
  --color-text:     #212529;
  --color-bg:       #ffffff;
  --color-surface:  #F8F9FA;
  --color-border:   #e5e7eb;
  --color-muted:    #6b7280;
  --color-success:  #22c55e;
  --color-warning:  #f59e0b;
  --color-danger:   #ef4444;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.16);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: 200ms cubic-bezier(0.4,0,0.2,1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:      #0a0a0f;
    --color-surface: rgba(255,255,255,0.04);
    --color-text:    #e0e0e0;
    --color-border:  rgba(255,255,255,0.08);
    --color-muted:   #9ca3af;
  }
}

.dark {
  --color-bg:      #0a0a0f;
  --color-surface: rgba(255,255,255,0.04);
  --color-text:    #e0e0e0;
  --color-border:  rgba(255,255,255,0.08);
  --color-muted:   #9ca3af;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.65;
  transition: background-color var(--transition), color var(--transition);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: clamp(24px, 5vw, 56px); }
h2 { font-size: clamp(20px, 4vw, 40px); }
h3 { font-size: clamp(18px, 3vw, 28px); }
h4 { font-size: clamp(16px, 2.5vw, 22px); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ── Focus Ring ── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ── Utility: Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 60px);
}

/* ── Utility: Card ── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }

/* ── Utility: Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}
.badge-primary { background: rgba(1,199,252,0.12); color: var(--color-primary); }
.badge-accent  { background: rgba(254,251,65,0.16); color: #a38f00; }
.badge-success { background: rgba(34,197,94,0.12);  color: var(--color-success); }
.badge-danger  { background: rgba(239,68,68,0.12);   color: var(--color-danger); }

/* ── Utility: Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(1,199,252,0.35);
}
.btn-primary:hover {
  background: #00b0e0;
  box-shadow: 0 6px 24px rgba(1,199,252,0.45);
}

.btn-accent {
  background: var(--color-accent);
  color: #212529;
}
.btn-accent:hover { background: #e8e534; }

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
}
.btn-ghost:hover {
  background: var(--color-surface);
}

.btn-danger {
  background: var(--color-danger);
  color: #fff;
}

.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── Utility: Form Controls ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1,199,252,0.15);
}
.form-input::placeholder { color: var(--color-muted); }
.form-textarea { min-height: 100px; resize: vertical; }

/* ── Utility: Divider ── */
.divider {
  height: 1px;
  background: var(--color-border);
  margin-block: 24px;
}

/* ── Utility: Tag / Pill ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all var(--transition);
  cursor: pointer;
}
.tag:hover, .tag.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ── Utility: Skeleton loader ── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-surface) 25%,
    var(--color-border) 50%,
    var(--color-surface) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Utility: Toast ── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  pointer-events: all;
  animation: toast-in 0.3s cubic-bezier(0.4,0,0.2,1);
  font-size: 14px;
  font-weight: 500;
}
@keyframes toast-in {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.toast.removing {
  animation: toast-out 0.25s forwards;
}
@keyframes toast-out {
  to { transform: translateX(120%); opacity: 0; }
}

/* ── Utility: Modal Overlay ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fade-in 0.2s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 36px);
  animation: slide-up 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── Utility: Table ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: var(--color-surface); }
th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--color-surface); }

/* ── OTP Input ── */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.otp-input {
  width: 52px;
  height: 60px;
  text-align: center;
  font-family: 'Fira Code', monospace;
  font-size: 22px;
  font-weight: 600;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
}
.otp-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1,199,252,0.15);
  background: var(--color-bg);
}
.otp-input.filled {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Product Card ── */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-border);
}
.product-card-body { padding: 16px; }
.product-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text);
}
.product-card-price {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ── Product Detail ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
}
.product-detail-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.product-detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-detail-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}
.product-detail-thumb:hover { opacity: 1; }
.product-detail-thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
}
.product-detail-info {
  display: flex;
  flex-direction: column;
}
.product-detail-price {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ── Cart Sidebar ── */
.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--color-bg);
  border-left: 1px solid var(--color-border);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { transform: translateX(0); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-text);
  background: var(--color-surface);
}

/* ── Sidebar (Admin) ── */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 768px) {
  .admin-sidebar { display: none; }
}
.admin-main { flex: 1; min-width: 0; padding: clamp(16px, 3vw, 36px); }

/* ── Stats Card ── */
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-text);
}
.stat-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stat-change.up   { color: var(--color-success); }
.stat-change.down { color: var(--color-danger); }

/* ── Responsive: nav hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
}

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.page-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.page-btn:disabled { opacity: 0.4; cursor: default; }

/* ── Progress Bar ── */
.progress-bar {
  height: 6px;
  background: var(--color-border);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #7dd3fc);
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(
    135deg,
    rgba(1,199,252,0.08) 0%,
    rgba(254,251,65,0.04) 100%
  );
  border-bottom: 1px solid var(--color-border);
  padding-block: clamp(40px, 6vw, 96px);
}

/* ── Section Spacing ── */
.section { padding-block: clamp(40px, 5vw, 80px); }

/* ── Language switcher ── */
.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

/* ── Animations ── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
.pulse { animation: pulse 1.5s ease-in-out infinite; }

/* ── File upload ── */
.file-drop {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.file-drop:hover, .file-drop.dragging {
  border-color: var(--color-primary);
  background: rgba(1,199,252,0.04);
}

/* ── Search bar ── */
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}
.search-bar svg {
  position: absolute;
  left: 12px;
  color: var(--color-muted);
  pointer-events: none;
}
.search-bar input {
  padding-left: 40px;
}

/* Responsive mobile table to cards */
@media (max-width: 480px) {
  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap th,
  .table-wrap td,
  .table-wrap tr { display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tbody tr {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    padding: 12px;
  }
  .table-wrap td {
    border: none;
    padding: 6px 8px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
  }
  .table-wrap td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-muted);
    font-size: 11px;
    text-transform: uppercase;
  }
}

/* ══════════════════════════════════════════════════════════════
   Homepage — "Clinical Precision"
   Fixed-dark technical treatment, independent of the app's
   light/dark toggle (marketing surface, not app chrome).
   ══════════════════════════════════════════════════════════════ */
.hp {
  --hp-bg:      #0C1118;
  --hp-panel:   #121A26;
  --hp-panel-2: #0F1620;
  --hp-line:    #26313F;
  --hp-line-soft: #1B2430;
  --hp-text:    #E7ECF2;
  --hp-muted:   #8E9AAC;
  --hp-accent:  #01C7FC;
  --hp-accent-soft: rgba(1,199,252,0.14);
  --hp-amber:   #FFB020;
  background: var(--hp-bg);
  color: var(--hp-text);
  margin-top: -1px; /* sit flush under sticky nav border */
}
.hp .mono { font-family: 'Fira Code', ui-monospace, monospace; }
.hp .hp-eyebrow {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hp .hp-eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--hp-accent); }
.hp h1, .hp h2, .hp h3 { color: var(--hp-text); }
.hp a { color: inherit; }

.hp-ruler {
  border-bottom: 1px solid var(--hp-line);
  background: var(--hp-panel-2);
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  color: var(--hp-muted);
  letter-spacing: .08em;
}
.hp-ruler .hp-ruler-inner { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.hp-ruler .hp-ticks { display: flex; gap: 26px; }
@media (max-width: 640px) { .hp-ruler .hp-ticks { display: none; } }

.hp-hero { position: relative; border-bottom: 1px solid var(--hp-line); overflow: hidden; padding-block: clamp(48px, 7vw, 88px); }
.hp-corner { position: absolute; width: 22px; height: 22px; opacity: .5; }
.hp-corner.tl { top: 20px; left: clamp(16px,4vw,60px); }
.hp-corner.tr { top: 20px; right: clamp(16px,4vw,60px); transform: scaleX(-1); }
.hp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hp-hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hp-hero h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.08; margin: 16px 0 20px; letter-spacing: -.01em; }
.hp-hero h1 em { font-style: normal; color: var(--hp-accent); }
.hp-hero p { color: var(--hp-muted); font-size: 17px; max-width: 46ch; margin-bottom: 28px; }
.hp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hp-btn {
  font-family: 'Fira Code', monospace;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid var(--hp-accent); color: var(--hp-accent);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  background: transparent; cursor: pointer; transition: all var(--transition);
  border-radius: 2px;
}
.hp-btn:hover { background: var(--hp-accent); color: #04141c; }
.hp-btn.solid { background: var(--hp-accent); color: #04141c; }
.hp-btn.solid:hover { background: #48d6ff; }

.hp-scope { border: 1px solid var(--hp-line); background: var(--hp-panel); padding: 18px; }
.hp-scope-head { display: flex; justify-content: space-between; font-family: 'Fira Code', monospace; font-size: 10px; color: var(--hp-muted); letter-spacing: .08em; margin-bottom: 10px; }
.hp-scope-head .hp-dot { width: 6px; height: 6px; background: var(--hp-accent); border-radius: 50%; display: inline-block; margin-right: 6px; }
.hp-scope canvas { width: 100%; height: 200px; display: block; }
.hp-scope-legend { display: flex; justify-content: space-between; font-family: 'Fira Code', monospace; font-size: 10px; color: var(--hp-muted); margin-top: 10px; letter-spacing: .04em; }

.hp-stats { border-bottom: 1px solid var(--hp-line); background: var(--hp-panel-2); }
.hp-stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.hp-stat { padding: 24px; border-left: 1px solid var(--hp-line); }
.hp-stat:first-child { border-left: none; }
.hp-stat .n { font-family: 'Fira Code', monospace; font-size: clamp(20px,3vw,28px); color: var(--hp-accent); }
.hp-stat .l { font-size: 12px; color: var(--hp-muted); margin-top: 4px; }
@media (max-width: 700px) { .hp-stats-inner { grid-template-columns: repeat(2,1fr); } .hp-stat:nth-child(3) { border-left: none; } }

.hp-section { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--hp-line); }
.hp-head { max-width: 640px; margin-bottom: 48px; }
.hp-head h2 { font-size: clamp(24px,3.2vw,36px); margin-top: 12px; }
.hp-head p { color: var(--hp-muted); margin-top: 12px; font-size: 16px; }

.hp-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--hp-line); border: 1px solid var(--hp-line); }
@media (max-width: 900px) { .hp-pillars { grid-template-columns: 1fr; } }
.hp-pillar { background: var(--hp-panel); padding: 30px 26px; }
.hp-pillar .hp-tag { font-family: 'Fira Code', monospace; font-size: 11px; color: var(--hp-amber); letter-spacing: .08em; }
.hp-pillar .hp-icon { width: 36px; height: 36px; color: var(--hp-accent); margin: 16px 0; }
.hp-pillar h3 { font-size: 18px; margin-bottom: 8px; }
.hp-pillar p { color: var(--hp-muted); font-size: 14.5px; }
.hp-pillar ul { margin-top: 14px; font-family: 'Fira Code', monospace; font-size: 12px; color: var(--hp-muted); display: flex; flex-direction: column; gap: 6px; list-style: none; }
.hp-pillar ul li::before { content: '— '; color: var(--hp-accent); }

.hp-cap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .hp-cap { grid-template-columns: 1fr; } }
.hp-cap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hp-cap th { text-align: left; font-family: 'Fira Code', monospace; font-size: 11px; letter-spacing: .06em; color: var(--hp-muted); text-transform: uppercase; padding: 10px 4px; border-bottom: 1px solid var(--hp-line); }
.hp-cap td { padding: 13px 4px; border-bottom: 1px solid var(--hp-line-soft); color: var(--hp-text); }
.hp-cap td.m { font-family: 'Fira Code', monospace; color: var(--hp-muted); font-size: 12.5px; }
.hp-cap-note { border: 1px solid var(--hp-line); background: var(--hp-panel); padding: 24px; }
.hp-cap-note p { color: var(--hp-muted); font-size: 14.5px; margin-bottom: 14px; }

.hp-cert { background: var(--hp-panel-2); }
.hp-cert-grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .hp-cert-grid { grid-template-columns: 1fr; text-align: left; } }
.hp-cert-grid .hp-seal { width: 140px; height: 140px; flex: none; }
.hp-cert h2 { font-size: clamp(22px,3vw,30px); margin-bottom: 12px; }
.hp-cert p { color: var(--hp-muted); font-size: 15.5px; max-width: 56ch; }
.hp-state-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hp-state-list span { font-family: 'Fira Code', monospace; font-size: 11px; border: 1px solid var(--hp-line); padding: 6px 10px; color: var(--hp-muted); }

.hp-cta-section { border-bottom: none; }
.hp-cta-box {
  border: 1px solid var(--hp-accent);
  background: linear-gradient(180deg, var(--hp-accent-soft), transparent);
  padding: clamp(32px,5vw,56px) clamp(24px,4vw,40px);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.hp-cta-box h2 { font-size: clamp(22px,3vw,30px); max-width: 22ch; }

/* ── Homepage: Equipment For Sale ── */
.hp-shop-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hp-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--hp-line); border: 1px solid var(--hp-line); }
.hp-product-card { background: var(--hp-panel); display: flex; flex-direction: column; }
.hp-product-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(.25) brightness(.85) contrast(1.05); display: block; border-bottom: 1px solid var(--hp-line); }
.hp-product-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hp-product-cat { font-family: 'Fira Code', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-amber); }
.hp-product-name { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.hp-product-spacer { flex: 1; }
.hp-product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.hp-product-price { font-family: 'Fira Code', monospace; font-size: 16px; color: var(--hp-accent); }
.hp-product-stock { font-family: 'Fira Code', monospace; font-size: 10.5px; color: var(--hp-muted); }
.hp-product-add {
  font-family: 'Fira Code', monospace; font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid var(--hp-line); color: var(--hp-text); background: transparent;
  padding: 9px 12px; min-height: 38px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: all var(--transition); width: 100%; justify-content: center;
}
.hp-product-add:hover { border-color: var(--hp-accent); color: var(--hp-accent); }

@media (prefers-reduced-motion: reduce) {
  .hp-scope canvas { display: none; }
}
