:root {
  --ink: #1c1917;
  --muted: #78716c;
  --line: #e7e5e4;
  --paper: #fafaf9;
  --white: #ffffff;
  --brand: #b91c1c;
  --brand-dark: #7f1d1d;
  --navy: #292524;
  --steel: #57534e;
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.14);
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 0 48px;
  color: var(--white);
  background: rgba(41, 37, 36, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.solid-header {
  background: rgba(41, 37, 36, 0.98);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-weight: 900;
  background: var(--brand);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  opacity: 1;
  color: #fca5a5;
}

.admin-only {
  display: none !important;
}

body.is-admin .admin-only {
  display: inline-flex !important;
}

.header-call {
  padding: 12px 18px;
  color: var(--white);
  font-weight: 800;
  background: var(--brand);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(28, 25, 23, 0.9), rgba(28, 25, 23, 0.46), rgba(28, 25, 23, 0.12)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=2200&q=85")
      center / cover;
  transform: scale(1.02);
}

.hero-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.34));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 80px));
  padding: 205px 0 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.hero .eyebrow {
  color: #fca5a5;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 70px;
  line-height: 1.08;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions,
.head-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 36px;
}

.primary-button,
.secondary-button,
.outline-link,
.quick-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.primary-button,
.quick-search button {
  color: var(--white);
  background: var(--brand);
}

.primary-button:hover,
.quick-search button:hover,
.header-call:hover {
  background: var(--brand-dark);
}

.primary-button.compact,
.outline-link {
  min-height: 44px;
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
}

.secondary-button.light,
.outline-link {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

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

.hero-stats div {
  min-width: 122px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats strong,
.hero-stats span,
.path-card span,
.path-card strong,
.path-card em {
  display: block;
}

.hero-stats strong {
  font-size: 24px;
}

.hero-stats span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-panel {
  position: absolute;
  right: 64px;
  bottom: 64px;
  z-index: 2;
  width: min(520px, calc(100% - 80px));
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-top: 6px solid var(--brand);
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
}

.quick-search,
.filter-form,
.admin-form,
.request-form {
  display: grid;
  gap: 12px;
}

.quick-search {
  grid-template-columns: 1fr 1fr auto;
}

.quick-search label,
.filter-form label,
.admin-form label,
.request-form label,
.auth-box label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select,
input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
}

textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.main-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 34px 0;
}

.path-card {
  min-height: 210px;
  padding: 30px;
  color: var(--white);
  background: var(--navy);
}

.path-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.path-card strong {
  margin-top: 54px;
  font-size: 34px;
  line-height: 1.15;
}

.path-card em {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.6;
}

.path-used {
  background: var(--brand);
}

.catalog-section {
  padding: 82px 0 96px;
  background: #f5f5f4;
}

.catalog-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: stretch;
}

.catalog-feature {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 42px;
  align-items: center;
  min-height: 500px;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.08);
}

.catalog-book {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 390px;
  padding: 30px 28px;
  overflow: hidden;
  color: var(--white);
  background: var(--brand);
  box-shadow:
    10px 12px 0 #d6d3d1,
    0 22px 42px rgba(28, 25, 23, 0.16);
}

.catalog-book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 34px;
  background: rgba(0, 0, 0, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.catalog-book::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.catalog-book span,
.catalog-book strong,
.catalog-book em {
  position: relative;
  z-index: 1;
  display: block;
}

.catalog-book span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.catalog-book strong {
  margin-top: 12px;
  font-size: 34px;
  line-height: 1.12;
}

.catalog-book em {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.catalog-book-small strong {
  font-size: 30px;
}

.catalog-dark {
  background: #292524;
}

.catalog-steel {
  background: #475569;
}

.catalog-meta {
  display: grid;
  align-content: start;
  gap: 14px;
}

.catalog-meta h3,
.catalog-meta p {
  margin: 0;
}

.catalog-meta h3 {
  font-size: 38px;
  line-height: 1.32;
}

.catalog-meta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.catalog-meta .outline-link {
  justify-self: start;
}

.catalog-types {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
}

.catalog-types p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.catalog-types button {
  display: flex;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.catalog-types button::after {
  content: "PDF";
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.catalog-types button:hover,
.catalog-types button.is-active {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}

.catalog-types button.is-active::after {
  color: rgba(255, 255, 255, 0.72);
}

.inventory-band {
  padding: 70px 0 92px;
  background: var(--paper);
}

.new-dashboard {
  padding-top: 94px;
  background: var(--white);
}

.inventory-head,
.listing-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
}

.inventory-head {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.inventory-head h2,
.service-copy h2,
.page-hero h1,
.auth-box h1,
.detail-summary h1,
.about-grid h2,
.contact-card h2,
.new-cta h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
}

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

main .inventory-band .inventory-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

main .inventory-band .inventory-grid::-webkit-scrollbar {
  height: 10px;
}

main .inventory-band .inventory-grid::-webkit-scrollbar-track {
  background: #e7e5e4;
}

main .inventory-band .inventory-grid::-webkit-scrollbar-thumb {
  background: var(--steel);
}

main .inventory-band .truck-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
}

.inventory-page-grid {
  padding-bottom: 100px;
}

.truck-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(28, 25, 23, 0.08);
}

.new-dashboard .truck-card {
  box-shadow: none;
}

.truck-card > a {
  display: block;
  height: 100%;
}

.truck-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.truck-body {
  padding: 24px;
}

.status {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  background: #fee2e2;
}

.new-dashboard .status {
  color: var(--white);
  background: var(--navy);
}

.truck-card h3 {
  min-height: 62px;
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.3;
}

.truck-card dl,
.detail-specs {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.truck-card dl {
  grid-template-columns: repeat(3, 1fr);
}

.truck-card dt,
.detail-specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.truck-card dd,
.detail-specs dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.truck-body > strong,
.detail-price {
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 44px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
}

.service-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.service-section > .primary-button {
  grid-column: 1 / 2;
  justify-self: start;
  margin-top: -28px;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-steps li {
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--line);
}

.service-steps strong,
.service-steps span {
  display: block;
}

.service-steps strong {
  font-size: 22px;
}

.service-steps span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.sub-page {
  min-height: 70vh;
  padding-top: 76px;
}

.page-hero {
  padding: 86px 0 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(41, 37, 36, 0.92), rgba(41, 37, 36, 0.68)),
    url("https://images.unsplash.com/photo-1591768793355-74d04bb6608f?auto=format&fit=crop&w=1800&q=85")
      center / cover;
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(41, 37, 36, 0.92), rgba(41, 37, 36, 0.68)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=85")
      center / cover;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(41, 37, 36, 0.92), rgba(41, 37, 36, 0.64)),
    url("https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=1800&q=85")
      center / cover;
}

.service-hero {
  background:
    linear-gradient(90deg, rgba(41, 37, 36, 0.94), rgba(41, 37, 36, 0.68)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1800&q=85")
      center / cover;
}

.new-hero {
  background:
    linear-gradient(90deg, rgba(41, 37, 36, 0.94), rgba(41, 37, 36, 0.62)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=85")
      center / cover;
}

.compact-hero {
  padding-bottom: 48px;
}

.page-hero p,
.auth-box p,
.detail-description,
.about-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.about-grid,
.contact-layout,
.request-layout,
.new-layout,
.detail-main {
  display: grid;
  gap: 42px;
  align-items: start;
}

.about-grid,
.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  padding: 82px 0;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.info-panel,
.contact-card,
.detail-summary,
.auth-box,
.admin-form,
.request-form {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
}

.info-panel dl,
.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.info-panel dt,
.contact-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.info-panel dd,
.contact-card dd {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.value-grid,
.new-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 96px;
}

.value-grid article,
.new-process article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
}

.value-grid span {
  color: var(--brand);
  font-weight: 900;
}

.value-grid h3 {
  margin: 34px 0 10px;
  font-size: 23px;
}

.value-grid p,
.new-process span {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.new-list-band {
  background: var(--white);
}

.new-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  margin-bottom: 96px;
  color: var(--white);
  background: var(--navy);
}

.new-cta .section-kicker {
  color: #fca5a5;
}

.request-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  padding: 72px 0 96px;
}

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

.request-type {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.request-type label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: var(--paper);
}

.request-type input {
  width: auto;
  min-height: auto;
}

.request-aside {
  padding: 30px;
  color: var(--white);
  background: var(--navy);
}

.request-aside h2 {
  margin: 0;
  font-size: 32px;
}

.request-aside p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.request-aside dl {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
}

.request-aside dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 900;
}

.request-aside dd {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--brand);
  font-weight: 800;
}

.admin-request-shell,
.admin-layout {
  padding: 46px 0 96px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  box-shadow: none;
}

.admin-panel-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  margin: 0 0 18px;
}

.admin-panel-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.admin-listing-list {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.admin-listing-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.admin-listing-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper);
}

.admin-listing-item h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
}

.admin-listing-item dl {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 14px;
  margin: 0;
}

.admin-listing-item dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-listing-item dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.admin-listing-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.wide {
  grid-column: 1 / -1;
}

.request-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.request-filter-bar button,
.delete-button {
  min-height: 42px;
  padding: 0 16px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.request-filter-bar button.is-active {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}

.request-list {
  display: grid;
  gap: 14px;
}

.request-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.request-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.request-item p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.request-item dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.request-item dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.request-item dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.delete-button {
  align-self: start;
  color: var(--brand);
}

.delete-button:disabled {
  color: var(--muted);
  background: #f8fafc;
  cursor: not-allowed;
}

.map-frame {
  min-height: 520px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.listing-toolbar {
  padding: 34px 0;
}

.filter-form {
  grid-template-columns: repeat(2, minmax(160px, 220px));
}

.detail-shell {
  padding: 64px 0 96px;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--brand);
  font-weight: 900;
}

.detail-main {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-gallery img {
  width: 100%;
  object-fit: cover;
  background: var(--paper);
}

.detail-gallery img:first-child {
  aspect-ratio: 4 / 3;
}

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

.thumb-grid img {
  aspect-ratio: 4 / 3;
}

.detail-summary {
  box-shadow: none;
}

.detail-specs {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 120px 20px 60px;
  background: var(--paper);
}

.auth-box {
  width: min(460px, 100%);
}

.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.admin-portal {
  background: #f1f5f9;
}

.admin-portal .admin-header {
  min-height: 72px;
  color: #e5e7eb;
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.admin-portal .brand-mark {
  background: #dc2626;
}

.admin-portal .brand strong {
  font-size: 18px;
}

.admin-portal .brand small {
  color: #9ca3af;
}

.admin-portal .main-nav {
  gap: 10px;
}

.admin-portal .main-nav a,
.admin-portal .header-call {
  min-height: 40px;
  padding: 0 14px;
  color: #d1d5db;
  font-size: 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.admin-portal .main-nav a:hover,
.admin-portal .main-nav a[aria-current="page"],
.admin-portal .main-nav .auth-link[href="#logout"] {
  color: var(--white);
  border-color: #dc2626;
  background: #dc2626;
}

.admin-portal .header-call {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
}

.admin-auth-page {
  min-height: 100vh;
  padding-top: 120px;
  background:
    linear-gradient(120deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.78)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=85")
      center / cover;
}

.admin-auth-page .auth-box {
  width: min(520px, 100%);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.admin-console {
  min-height: 100vh;
  padding-top: 72px;
  background: #f1f5f9;
}

.admin-console-hero {
  padding: 56px 0 34px;
  color: #111827;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.admin-console-hero p {
  color: #64748b;
}

.admin-portal .admin-request-shell,
.admin-portal .admin-layout {
  padding-top: 32px;
}

.admin-portal .admin-form,
.admin-portal .admin-listing-item,
.admin-portal .request-item,
.admin-portal .request-filter-bar button,
.admin-portal .empty-state {
  border-color: #e2e8f0;
}

.admin-portal .admin-form,
.admin-portal .admin-listing-item,
.admin-portal .request-item {
  background: var(--white);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.site-footer {
  position: relative;
  display: block;
  padding: 42px 48px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  background: #0f141c;
}

.site-footer strong {
  color: var(--white);
  font-size: 20px;
}

.site-footer p,
.site-footer address {
  margin: 10px 0 0;
  font-style: normal;
  line-height: 1.65;
}

.new-alert {
  position: fixed;
  left: 32px;
  right: 32px;
  bottom: 28px;
  z-index: 30;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 22px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.new-alert.is-visible {
  display: grid;
}

.new-alert span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  background: var(--brand);
}

.new-alert strong {
  display: block;
  font-size: 20px;
}

.new-alert p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.new-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.new-alert-actions button {
  min-height: 44px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  cursor: pointer;
}

.admin-entry {
  position: absolute;
  right: 16px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 700;
}

.admin-entry:hover,
body.is-admin .admin-entry {
  color: rgba(255, 255, 255, 0.7);
}

@supports not (aspect-ratio: 1 / 1) {
  .truck-card img,
  .detail-gallery img:first-child,
  .thumb-grid img {
    height: 260px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 0 22px;
  }

  .menu-button {
    justify-self: end;
    display: block;
  }

  .main-nav,
  .header-call {
    display: none;
  }

  .site-header.is-open .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: rgba(41, 37, 36, 0.98);
  }

  .site-header.is-open .main-nav a {
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.is-admin .site-header.is-open .main-nav .admin-only {
    display: flex !important;
  }

  .hero {
    min-height: 840px;
  }

  .hero-content {
    width: min(680px, calc(100% - 40px));
    padding: 150px 0 0 24px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-panel {
    right: 24px;
    left: 24px;
    bottom: 24px;
    width: auto;
  }

  .main-paths,
  .quick-search,
  .service-section,
  .service-steps,
  .about-grid,
  .contact-layout,
  .request-layout,
  .detail-main,
  .value-grid,
  .new-process,
  .request-item,
  .admin-listing-item,
  .request-item dl {
    grid-template-columns: 1fr;
  }

  .admin-listing-item {
    align-items: start;
  }

  .admin-listing-item img {
    width: min(240px, 100%);
  }

  .admin-listing-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .catalog-showcase,
  .catalog-feature {
    grid-template-columns: 1fr;
  }

  .service-section > .primary-button {
    grid-column: auto;
    margin-top: -42px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 860px;
  }

  .hero-content {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats {
    display: none;
  }

  .hero-panel {
    padding: 18px;
  }

  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .inventory-band,
  .catalog-section,
  .service-section {
    padding: 72px 0;
  }

  .inventory-head,
  .listing-toolbar,
  .admin-panel-heading,
  .new-cta,
  .new-alert,
  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .catalog-book {
    min-height: 280px;
  }

  .catalog-feature {
    min-height: 0;
    padding: 24px;
  }

  .catalog-meta h3 {
    font-size: 29px;
  }

  .new-alert {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .new-alert-actions {
    justify-content: flex-start;
  }

  .inventory-head h2,
  .service-copy h2,
  .page-hero h1,
  .auth-box h1,
  .detail-summary h1,
  .about-grid h2,
  .contact-card h2,
  .new-cta h2 {
    font-size: 31px;
  }

  .truck-card dl,
  .admin-listing-item dl,
  .admin-listing-actions,
  .detail-specs,
  .admin-form,
  .request-form,
  .filter-form {
    grid-template-columns: 1fr;
  }

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

  .auth-box,
  .admin-form,
  .request-form,
  .detail-summary {
    padding: 24px;
  }

  .site-footer {
    padding: 36px 24px;
  }
}
