:root {
  --bg: #06090a;
  --bg-2: #0b1112;
  --surface: #101819;
  --surface-2: #141f21;
  --surface-glass: rgba(14, 23, 24, 0.76);
  --line: rgba(245, 232, 203, 0.14);
  --line-strong: rgba(214, 180, 106, 0.38);
  --text: #f8f1e5;
  --muted: #a9b5b2;
  --muted-2: #788681;
  --cotton: #fff8e8;
  --gold: #d6b46a;
  --gold-dark: #a77c36;
  --teal: #48b8a8;
  --rust: #bc6644;
  --success: #2bd36f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --radius-sm: 6px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(72, 184, 168, 0.12), transparent 28%),
    linear-gradient(180deg, #071011 0%, var(--bg) 46%, #050707 100%);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  background: rgba(6, 9, 10, 0.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 9, 10, 0.94);
  border-color: var(--line);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cotton);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(214, 180, 106, 0.5);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(214, 180, 106, 0.22), rgba(72, 184, 168, 0.16)),
    rgba(255, 255, 255, 0.035);
  color: var(--cotton);
  font-size: 13px;
  font-weight: 900;
}

.brand-mark-admin {
  border-color: rgba(72, 184, 168, 0.5);
  background:
    linear-gradient(135deg, rgba(72, 184, 168, 0.22), rgba(214, 180, 106, 0.16)),
    rgba(255, 255, 255, 0.035);
}

.brand-mark-lg {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(214, 180, 106, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(214, 180, 106, 0.12);
  color: var(--cotton);
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta-dashboard {
  border-color: rgba(72, 184, 168, 0.42);
  background: rgba(72, 184, 168, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 148px 0 92px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08) brightness(0.74);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 9, 10, 0.98) 0%, rgba(6, 9, 10, 0.86) 40%, rgba(6, 9, 10, 0.44) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 9, 10, 0.16) 52%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  color: var(--cotton);
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 18px;
  color: var(--cotton);
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--cotton);
  font-size: 20px;
  line-height: 1.2;
}

.hero-text,
.section-copy p,
.contact-copy p {
  max-width: 670px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.btn:focus-visible,
.card-link:focus-visible,
.whatsapp:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #e4c986);
  color: #161009;
  box-shadow: 0 18px 44px rgba(214, 180, 106, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 22px 54px rgba(214, 180, 106, 0.28);
}

.btn-secondary {
  border-color: rgba(248, 241, 229, 0.22);
  background: rgba(248, 241, 229, 0.06);
  color: var(--cotton);
}

.btn-secondary:hover {
  border-color: rgba(214, 180, 106, 0.44);
  background: rgba(214, 180, 106, 0.1);
}

.btn-whatsapp {
  background: var(--success);
  color: #031006;
  border-color: transparent;
}

.btn-whatsapp:hover {
  background: #25c063;
}

.trust-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.trust-panel div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.trust-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric {
  display: block;
  margin-bottom: 4px;
  color: var(--cotton);
  font-size: 28px;
  font-weight: 900;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
}

.about,
.manufacturers,
.contact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent),
    var(--bg);
}

.chain,
.process {
  background:
    linear-gradient(180deg, rgba(72, 184, 168, 0.07), transparent 46%),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, 0.018) 42px 43px),
    var(--bg-2);
}

.categories {
  background:
    linear-gradient(135deg, rgba(214, 180, 106, 0.05), transparent 38%),
    var(--bg);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.chain-grid,
.category-grid,
.manufacturer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.chain-step,
.category-card,
.manufacturer-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chain-step:hover,
.category-card:hover,
.manufacturer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 180, 106, 0.34);
}

.chain-step::before,
.category-card::before,
.manufacturer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 180, 106, 0.56), transparent);
}

.chain-step,
.category-card {
  min-height: 230px;
  padding: 28px;
}

.chain-step p,
.category-card p,
.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.step-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--rust));
}

.category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(214, 180, 106, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(214, 180, 106, 0.08);
  color: var(--gold);
  font-weight: 900;
}

.manufacturer-card {
  padding: 24px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(72, 184, 168, 0.42);
  border-radius: 999px;
  background: rgba(72, 184, 168, 0.12);
  color: #c3f2eb;
  font-size: 12px;
  font-weight: 900;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(72, 184, 168, 0.12);
}

.type {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

dl,
dd {
  margin: 0;
}

dl {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

dl div {
  padding-top: 14px;
  border-top: 1px solid rgba(245, 232, 203, 0.09);
}

dt {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin-top: 5px;
  color: var(--cotton);
  font-weight: 800;
  line-height: 1.35;
}

.card-link {
  min-height: 46px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 180, 106, 0.38);
  border-radius: var(--radius-sm);
  background: rgba(214, 180, 106, 0.08);
  color: var(--cotton);
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.card-link:hover {
  border-color: rgba(214, 180, 106, 0.58);
  background: rgba(214, 180, 106, 0.14);
  transform: translateY(-1px);
}

.process-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, transform 180ms ease;
}

.timeline-item:hover {
  border-color: rgba(72, 184, 168, 0.34);
  transform: translateX(3px);
}

.timeline-item span {
  color: var(--gold);
  font-weight: 900;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.contact {
  padding-bottom: 120px;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--surface-2);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--cotton);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(248, 241, 229, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(6, 9, 10, 0.78);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #687673;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(214, 180, 106, 0.72);
  background: rgba(6, 9, 10, 0.92);
  box-shadow: 0 0 0 4px rgba(214, 180, 106, 0.08);
}

select {
  color: var(--text);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--success);
  color: #031006;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #040607;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.footer-grid p {
  margin: 0;
}

.footer-grid p:first-child {
  color: var(--cotton);
  font-weight: 900;
}

.footer-grid p:first-child span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   AUTH PAGE
═══════════════════════════════════════════════ */

.auth-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(72, 184, 168, 0.1), transparent 30%),
    radial-gradient(circle at 88% 90%, rgba(214, 180, 106, 0.07), transparent 28%),
    linear-gradient(180deg, #071011 0%, var(--bg) 100%);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.auth-header {
  position: relative;
  height: var(--header-height);
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  background: rgba(6, 9, 10, 0.6);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 180, 106, 0.56), transparent);
}

.auth-brand {
  text-align: center;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  gap: 12px;
}

.auth-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--cotton);
  margin: 0;
  max-width: none;
  line-height: 1.2;
}

.auth-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.auth-tab {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease;
}

.auth-tab.active {
  background: rgba(214, 180, 106, 0.16);
  color: var(--cotton);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.auth-form.active {
  display: flex;
}

.auth-error {
  padding: 12px 15px;
  border: 1px solid rgba(188, 102, 68, 0.44);
  border-radius: var(--radius-sm);
  background: rgba(188, 102, 68, 0.1);
  color: #f5b89a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.auth-success {
  padding: 12px 15px;
  border: 1px solid rgba(72, 184, 168, 0.44);
  border-radius: var(--radius-sm);
  background: rgba(72, 184, 168, 0.1);
  color: #c3f2eb;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.auth-switch {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

.auth-link {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  transition: color 160ms;
}

.auth-link:hover {
  color: var(--cotton);
}

/* ═══════════════════════════════════════════════
   DASHBOARD LAYOUT
═══════════════════════════════════════════════ */

.dash-body {
  background: var(--bg-2);
  min-height: 100dvh;
  display: flex;
}

.dash-sidebar {
  width: 260px;
  min-height: 100dvh;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 40;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform 280ms ease;
}

.dash-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 0;
  overflow-y: auto;
}

.dash-brand {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.dash-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.dash-nav-item.active {
  background: rgba(214, 180, 106, 0.12);
  color: var(--cotton);
  border: 1px solid rgba(214, 180, 106, 0.2);
}

.admin-sidebar .dash-nav-item.active {
  background: rgba(72, 184, 168, 0.12);
  border-color: rgba(72, 184, 168, 0.2);
}

.dash-nav-icon {
  font-size: 11px;
  opacity: 0.7;
}

.dash-sidebar-footer {
  padding: 16px 20px 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.dash-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(214, 180, 106, 0.2);
  border: 1px solid rgba(214, 180, 106, 0.4);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.dash-user-avatar--admin {
  background: rgba(72, 184, 168, 0.2);
  border-color: rgba(72, 184, 168, 0.4);
  color: var(--teal);
}

.dash-user-name {
  color: var(--cotton);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.dash-user-role {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2px 0 0;
}

.admin-role-label {
  color: var(--teal);
}

.dash-logout {
  width: 100%;
}

/* Mobile topbar */
.dash-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 9, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.dash-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Main content area */
.dash-main {
  flex: 1;
  margin-left: 260px;
  padding: 40px;
  min-height: 100dvh;
}

.dash-section {
  display: none;
  animation: fadeIn 200ms ease;
}

.dash-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dash-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.dash-section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--cotton);
  margin: 0;
  max-width: none;
  line-height: 1.1;
}

/* Stats grid */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.dash-stat-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface);
  display: grid;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.dash-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.dash-stat-card--gold::before {
  background: linear-gradient(90deg, transparent, rgba(214, 180, 106, 0.5), transparent);
}

.dash-stat-card--teal::before {
  background: linear-gradient(90deg, transparent, rgba(72, 184, 168, 0.5), transparent);
}

.dash-stat-label {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-stat-value {
  color: var(--cotton);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.dash-stat-card--gold .dash-stat-value {
  color: var(--gold);
}

.dash-stat-card--teal .dash-stat-value {
  color: var(--teal);
}

.dash-stat-sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* Dashboard cards */
.dash-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dash-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.dash-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 180, 106, 0.3), transparent);
}

.dash-card-wide {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dash-card-header h3 {
  margin: 0;
  font-size: 16px;
}

.dash-card-note {
  color: var(--muted-2);
  font-size: 12px;
}

.dash-card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Empty state */
.dash-empty-state {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed rgba(248, 241, 229, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.dash-empty-icon {
  font-size: 40px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.dash-empty-state h3 {
  color: var(--cotton);
  margin-bottom: 10px;
}

.dash-empty-state p {
  color: var(--muted);
  font-size: 15px;
  max-width: 380px;
  margin: 0 auto 24px;
}

/* Profile */
.dash-profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface);
  margin-bottom: 16px;
}

.dash-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(214, 180, 106, 0.15);
  border: 2px solid rgba(214, 180, 106, 0.4);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 900;
  font-size: 24px;
  flex-shrink: 0;
}

.dash-profile-info {
  display: grid;
  gap: 8px;
}

.dash-profile-info h3 {
  margin: 0;
  font-size: 20px;
}

.dash-profile-email {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.dash-profile-dl dl {
  margin: 0;
}

.dash-profile-dl dt {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-profile-dl dd {
  color: var(--cotton);
  font-size: 15px;
  font-weight: 700;
}

/* Admin-specific */
.admin-eyebrow {
  color: var(--teal);
}

.admin-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(72, 184, 168, 0.42);
  border-radius: 999px;
  background: rgba(72, 184, 168, 0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.admin-label-small {
  color: var(--teal) !important;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-instructions {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.admin-instructions p {
  margin-bottom: 14px;
}

.admin-instructions strong {
  color: var(--cotton);
}

.admin-code {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  color: var(--teal);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  margin: 0 0 14px;
  overflow-x: auto;
  white-space: pre;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-height) + 12px) 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 9, 10, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 8px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero-grid,
  .split,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .trust-panel {
    max-width: 560px;
  }

  .chain-grid,
  .category-grid,
  .manufacturer-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .process-grid,
  .contact-grid {
    gap: 34px;
  }

  /* Dashboard responsive */
  .dash-sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }

  .dash-sidebar.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.6);
  }

  .dash-topbar {
    display: flex;
  }

  .dash-main {
    margin-left: 0;
    padding: 84px 20px 32px;
  }

  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-cards-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 9, 10, 0.98), rgba(6, 9, 10, 0.8)),
      linear-gradient(0deg, var(--bg), rgba(6, 9, 10, 0.2));
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .hero-text,
  .section-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .footer-grid {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-panel {
    padding: 20px;
  }

  .chain-step,
  .category-card,
  .manufacturer-card,
  .inquiry-form {
    padding: 22px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    border-radius: var(--radius-sm);
  }

  /* Auth responsive */
  .auth-card {
    padding: 28px 22px;
  }

  /* Dashboard responsive */
  .dash-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-profile-card {
    flex-direction: column;
    text-align: center;
  }

  .admin-actions {
    flex-direction: column;
  }

  .admin-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .dash-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 14px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .eyebrow,
  .section-kicker {
    font-size: 11px;
  }

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
  }
}
