:root {
  --ink: #17212b;
  --muted: #66717d;
  --line: #d9e0e5;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --mist: #e9f1ef;
  --teal: #0f766e;
  --teal-dark: #0b534e;
  --gold: #b78a31;
  --copper: #a85f3f;
  --charcoal: #283139;
  --danger: #b42318;
  --success: #12805c;
  --shadow: 0 18px 42px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1280px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

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

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

button {
  cursor: pointer;
}

.container {
  width: 1180px;
  margin: 0 auto;
}

.is-hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 800;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal);
  color: #fff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(23, 33, 43, 0.72);
  color: #fff;
  backdrop-filter: blur(14px);
}

.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.admin-brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
}

.brand small,
.admin-brand small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover {
  color: #fff;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
}

.language-button {
  min-width: 58px;
  border: 0;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  font-weight: 800;
}

.language-button.is-active {
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 168px 0 86px;
  background:
    linear-gradient(90deg, rgba(244, 247, 248, 0.98) 0%, rgba(244, 247, 248, 0.86) 34%, rgba(244, 247, 248, 0.08) 58%),
    url("../images/hero-exhibition.png") center right / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 33, 43, 0.14), rgba(23, 33, 43, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  width: 660px;
  margin: 0;
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  width: 570px;
  margin: 24px 0 0;
  color: #394653;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  width: 680px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-height: 108px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.hero-metrics strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--paper);
}

.section-quiet {
  background: var(--soft);
}

.section-message {
  background: linear-gradient(180deg, var(--mist), #fff);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.message-layout h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 90px;
  align-items: end;
}

.section-heading-row p,
.message-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  display: grid;
  min-height: 320px;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.service-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 900;
}

.service-card h3 {
  min-height: 58px;
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.service-card p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  min-height: 24px;
  padding-left: 18px;
  color: #33404a;
  font-size: 14px;
}

.service-card li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.process-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.process-step h3,
.strength-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.process-step p,
.strength-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strength-card {
  min-height: 200px;
  border-top: 4px solid var(--copper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.message-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.message-form,
.login-form,
.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #33404a;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.span-2 {
  grid-column: span 2;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-feedback {
  min-height: 22px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.form-feedback.is-success {
  color: var(--success);
}

.message-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.message-card {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.message-card strong {
  display: block;
  font-size: 16px;
}

.message-card small {
  display: block;
  margin: 4px 0 12px;
  color: var(--muted);
}

.message-card p {
  margin: 0;
  color: #33404a;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 92px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  padding: 34px 0;
  background: var(--charcoal);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner div:last-child {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.login-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    linear-gradient(120deg, rgba(23, 33, 43, 0.88), rgba(15, 118, 110, 0.56)),
    url("../images/hero-exhibition.png") center / cover no-repeat;
}

.login-panel {
  width: 460px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: 0;
}

.login-form {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal);
  font-weight: 800;
}

.credential-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 244px 1fr;
  background: var(--soft);
}

.admin-sidebar {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 24px;
  background: #3f3833;
  color: #fff;
}

.admin-brand {
  margin-bottom: 34px;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu a,
.admin-menu-button {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 12px 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-align: left;
}

.admin-menu a:hover,
.admin-menu-button:hover,
.admin-menu-button.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-sidebar-note {
  display: grid;
  gap: 6px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.admin-sidebar-note strong {
  color: #fff;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 22px 34px;
  background: #fff;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.admin-topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.file-button {
  position: relative;
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-content {
  padding: 28px 34px 48px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-filters {
  display: flex;
  width: 640px;
  gap: 12px;
}

.order-table-wrap,
.admin-panel,
.order-card,
.side-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.order-table-wrap {
  overflow: hidden;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.order-table th,
.order-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}

.order-table th {
  background: #f8faf9;
  color: #4c5863;
  font-size: 12px;
  text-transform: uppercase;
}

.order-table tr {
  cursor: pointer;
}

.order-table tr:hover td {
  background: #fbf7ef;
}

.status-pill {
  display: inline-flex;
  min-width: 96px;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e9f7ef;
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
}

.status-pill.pending {
  background: #fff6df;
  color: #9a6500;
}

.status-pill.cancelled {
  background: #ffe9e7;
  color: var(--danger);
}

.admin-panel {
  padding: 24px;
}

.admin-panel h2 {
  margin: 0 0 20px;
  font-size: 24px;
  letter-spacing: 0;
}

.form-section-title {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
}

.order-card {
  padding: 22px;
}

.order-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.order-title-row h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.payment-note {
  color: var(--muted);
  font-size: 13px;
}

.detail-columns {
  display: grid;
  grid-template-columns: 0.95fr 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.detail-box {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.detail-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0;
}

.detail-box p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.items-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
}

.items-table th,
.items-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
}

.items-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.item-thumb {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--mist);
  color: var(--teal);
  font-weight: 900;
}

.totals {
  display: grid;
  width: 300px;
  gap: 8px;
  margin: 24px 0 0 auto;
  color: #33404a;
}

.totals div {
  display: flex;
  justify-content: space-between;
}

.totals strong {
  color: var(--ink);
}

.side-box {
  margin-bottom: 14px;
  padding: 16px;
}

.side-box h3 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0;
}

.side-box p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.side-actions {
  display: grid;
  gap: 10px;
}

.order-form.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.order-form.compact .span-2 {
  grid-column: span 3;
}

.admin-notice {
  margin: 0 0 18px;
  border-left: 4px solid var(--teal);
  padding: 12px 14px;
  background: #eef8f6;
  color: #31504d;
  font-weight: 700;
}
