:root {
  --brand: #15588a;
  --brand-deep: #0d314b;
  --brand-bright: #3072f6;
  --accent: #f5a623;
  --danger: #ff3b30;
  --ink: #17233c;
  --muted: #677489;
  --line: #e8edf3;
  --surface: #fff;
  --soft: #f5f8fb;
  --shadow: 0 16px 40px rgba(13, 49, 75, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
}

body.lock-scroll {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  padding: 14px clamp(20px, 6vw, 96px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(13, 49, 75, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  font-size: 17px;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.92;
}

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

.login-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: all 0.2s;
  margin-left: 16px;
}
.login-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}
.site-header.is-solid .login-btn {
  color: var(--brand);
  border-color: var(--brand);
}
.site-header.is-solid .login-btn:hover {
  background: var(--brand);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: var(--brand-deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 49, 75, 0.94) 0%, rgba(21, 88, 138, 0.82) 39%, rgba(13, 49, 75, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.24) 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: min(1200px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  padding: 132px 0 82px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 20px 0 10px;
  font-size: clamp(52px, 7vw, 82px);
  line-height: 1.02;
  font-weight: 900;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 32px;
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.88);
}

.search-panel {
  width: min(720px, 100%);
}

.search-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.search-tabs button,
.hot-tags button,
.filter-bar button {
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.search-tabs button {
  position: relative;
  padding: 0 2px 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 700;
}

.search-tabs button.active {
  color: #fff;
}

.search-tabs button.active::after {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  content: "";
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 116px;
  height: 58px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.search-box input {
  min-width: 0;
  border: 0;
  padding: 0 22px;
  color: var(--ink);
  font-size: 17px;
  outline: 0;
}

.search-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--brand-bright);
  color: #fff;
  font-weight: 800;
}

.search-box svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hot-tags button {
  min-height: 32px;
  padding: 0 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.26);
}

.hot-tags button:hover {
  background: var(--brand-bright);
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1200px, calc(100% - 40px));
  margin: -46px auto 68px;
  position: relative;
  z-index: 3;
}

.quick-entry a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px 14px;
  align-items: center;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-entry a:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

.entry-icon {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  font-weight: 900;
}

.quick-entry strong {
  font-size: 19px;
}

.quick-entry em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

#listings,
#services,
#process,
#data,
#contact {
  scroll-margin-top: 92px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 900;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head.light h2,
.section-head.light p {
  color: #fff;
}

.more-link {
  border: 0;
  background: transparent;
  color: var(--brand-bright);
  font-weight: 800;
}

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

.filter-bar button {
  min-height: 36px;
  padding: 0 16px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 700;
}

.filter-bar button.active,
.filter-bar button:hover {
  color: #fff;
  background: var(--brand-bright);
}

.listing-state {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: -4px 0 20px;
  padding: 0 14px;
  border: 1px solid #dbe8f5;
  border-radius: 4px;
  color: var(--brand);
  background: #f3f8fd;
  font-size: 14px;
  font-weight: 700;
}

.listing-state.is-hidden {
  display: none;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.listing-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(13, 49, 75, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card.is-hidden {
  display: none;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(13, 49, 75, 0.15);
}

.listing-card:focus-visible {
  outline: 3px solid rgba(48, 114, 246, 0.32);
  outline-offset: 3px;
}

.empty-state {
  display: grid;
  place-items: center;
  grid-column: 1 / -1;
  min-height: 180px;
  border: 1px dashed #cad6e4;
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 700;
}

.listing-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9e4ef;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.listing-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.45s ease;
}

.listing-photo img.is-active {
  opacity: 1;
  z-index: 1;
}

.listing-card:hover .listing-photo img.is-active {
  transform: scale(1.04);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 0;
  color: #fff;
  background: rgba(6, 24, 44, 0.48);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.carousel-control.prev {
  left: 0;
  border-radius: 0 6px 6px 0;
}

.carousel-control.next {
  right: 0;
  border-radius: 6px 0 0 6px;
}

.listing-photo:hover .carousel-control,
.listing-photo:focus-within .carousel-control {
  opacity: 1;
}

.carousel-control:hover {
  background: rgba(6, 24, 44, 0.68);
}

.carousel-dots {
  position: absolute;
  right: 12px;
  bottom: 42px;
  z-index: 3;
  display: flex;
  gap: 5px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.carousel-dots button.is-active {
  width: 18px;
  border-radius: 999px;
  background: #fff;
}

.status {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  min-width: 74px;
  padding: 7px 10px;
  border-radius: 0 0 8px 0;
  color: #fff;
  background: var(--brand-bright);
  font-size: 12px;
  font-weight: 800;
}

.auction-time {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 9px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  font-size: 13px;
}

.listing-body {
  padding: 16px 14px 18px;
}

.listing-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.listing-title span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 24px;
  border-radius: 4px;
  color: #fff;
  background: #f06a3c;
  font-size: 12px;
  font-weight: 800;
}

.listing-title h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.listing-body p {
  margin: 12px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-body dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.listing-body dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.listing-body dt {
  color: var(--muted);
  font-size: 13px;
}

.listing-body dd {
  margin: 0;
  font-weight: 800;
}

.listing-body .price {
  color: var(--danger);
  font-size: 22px;
}

.listing-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.listing-extra span {
  white-space: nowrap;
}

.detail-link {
  margin-left: auto;
  color: var(--brand-bright);
  font-weight: 800;
  white-space: nowrap;
}

.service-band {
  margin-top: 84px;
  padding: 56px max(20px, calc((100vw - 1200px) / 2)) 64px;
  background:
    linear-gradient(90deg, rgba(13, 49, 75, 0.96), rgba(21, 88, 138, 0.9)),
    var(--brand);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  min-height: 180px;
  padding: 26px 22px;
  border-radius: 8px;
  background: #fff;
}

.service-grid img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.service-grid h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-section {
  padding: 76px 0 34px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 156px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-list span {
  color: var(--brand-bright);
  font-size: 15px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-top: 14px;
  font-size: 20px;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.data-band {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(280px, 560px);
  gap: clamp(28px, 8vw, 120px);
  align-items: center;
  margin-top: 54px;
  padding: 70px max(20px, calc((100vw - 1200px) / 2));
  background: var(--soft);
}

.data-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

.data-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.data-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  border-top: 1px solid var(--line);
}

.data-row.top {
  min-height: 42px;
  border-top: 0;
}

.data-row span,
.data-row strong {
  white-space: nowrap;
}

.data-row strong {
  color: var(--brand);
}

.bars {
  display: grid;
  gap: 13px;
  padding: 20px 0 22px;
}

.bars span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 4px;
  color: #fff;
  font-weight: 800;
  overflow: hidden;
}

.bars span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  min-width: 42px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand));
  content: "";
}

.bars span::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #eef3f8;
  content: "";
}

.bars span {
  z-index: 1;
}

.bars b,
.bars em {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.bars em {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.detail-body {
  background: #f6f9fc;
}

.detail-header {
  position: sticky;
}

.detail-page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.detail-hero {
  display: grid;
  gap: 18px;
  padding: 10px 0 28px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  color: var(--brand-bright);
  font-weight: 800;
}

.detail-back::before {
  margin-right: 8px;
  content: "<";
}

.detail-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
  margin-bottom: 12px;
}

.detail-badges span {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  color: #fff;
  background: var(--brand-bright);
  font-size: 13px;
  font-weight: 800;
}

.detail-heading h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  font-weight: 900;
}

.detail-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.detail-price-focus {
  display: grid;
  flex: 0 0 auto;
  gap: 4px;
  justify-items: end;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 49, 75, 0.08);
}

.detail-price-focus span {
  color: var(--muted);
  font-size: 13px;
}

.detail-price-focus strong {
  color: var(--danger);
  font-size: 34px;
  line-height: 1.1;
}

.detail-state {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dbe8f5;
  border-radius: 4px;
  color: var(--brand);
  background: #eef6ff;
  font-size: 14px;
  font-weight: 800;
}

.detail-state[data-mode="warn"] {
  border-color: #f7d7a9;
  color: #935b0b;
  background: #fff8ec;
}

.detail-state.is-hidden {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.detail-gallery,
.detail-summary-card,
.detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 49, 75, 0.08);
}

.detail-gallery {
  padding: 16px;
}

.detail-gallery-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #d9e4ef;
}

.detail-gallery-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.45s ease;
}

.detail-gallery-frame img.is-active {
  opacity: 1;
  z-index: 1;
}

.detail-gallery-frame:hover img.is-active {
  transform: scale(1.02);
}

.detail-gallery-frame:hover .carousel-control,
.detail-gallery-frame:focus-within .carousel-control {
  opacity: 1;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.detail-thumbs button {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #d9e4ef;
  overflow: hidden;
}

.detail-thumbs button.is-active {
  border-color: var(--brand-bright);
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-summary-card {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.detail-summary-card h2,
.detail-section h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.detail-price-grid {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.detail-price-grid div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.detail-price-grid dt {
  color: var(--muted);
  font-size: 14px;
}

.detail-price-grid dd {
  margin: 0;
  font-weight: 900;
}

.detail-price-grid .price {
  color: var(--danger);
  font-size: 28px;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.detail-source strong {
  color: var(--ink);
  font-size: 15px;
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.detail-primary-action,
.detail-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 4px;
  font-weight: 900;
}

.detail-primary-action {
  color: #fff;
  background: var(--brand-bright);
}

.detail-secondary-action {
  border: 1px solid var(--line);
  color: var(--brand);
  background: #fff;
}

.detail-section {
  margin-top: 24px;
  padding: 26px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.detail-info-grid div {
  display: grid;
  gap: 6px;
  min-height: 72px;
  padding: 14px;
  border-radius: 6px;
  background: var(--soft);
}

.detail-info-grid span {
  color: var(--muted);
  font-size: 13px;
}

.detail-info-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.detail-note {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "main contact"
    "record record";
  align-items: center;
  gap: 22px 36px;
  padding: 34px clamp(20px, 6vw, 96px) 24px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, #0b3153 0%, var(--brand-deep) 100%);
}

.footer-main {
  display: flex;
  grid-area: main;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.site-footer img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
}

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

.site-footer p {
  margin: 0;
}

.footer-summary {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.footer-contact {
  display: grid;
  grid-area: contact;
  gap: 6px;
  justify-items: end;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.footer-phone {
  font-size: 20px;
}

.footer-record {
  grid-area: record;
  justify-self: center;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.footer-phone:hover,
.footer-record:hover {
  color: var(--accent);
}

@media (max-width: 1060px) {
  .site-nav {
    display: none;
  }

  .data-band {
    grid-template-columns: 1fr;
  }

  .quick-entry,
  .listing-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

  .detail-summary-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    min-height: 64px;
    padding: 10px 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(13, 49, 75, 0.08);
    backdrop-filter: blur(10px);
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero,
  .hero-inner {
    min-height: 500px;
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding: 68px 0 30px;
  }

  .hero h1 {
    margin: 14px 0 8px;
    font-size: 42px;
  }

  .hero-copy p {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .eyebrow {
    min-height: 26px;
    font-size: 13px;
  }

  .search-box {
    height: 52px;
  }

  .hot-tags {
    gap: 8px;
    margin-top: 10px;
  }

  .search-box {
    grid-template-columns: 1fr 92px;
  }

  .search-box input {
    padding: 0 14px;
    font-size: 15px;
  }

  .search-tabs {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .search-tabs button {
    white-space: nowrap;
  }

  .quick-entry,
  .listing-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .quick-entry {
    width: calc(100% - 28px);
    margin-top: -16px;
  }

  .section {
    width: calc(100% - 28px);
  }

  .detail-page {
    width: calc(100% - 28px);
    padding: 22px 0 48px;
  }

  .detail-heading {
    display: grid;
    gap: 16px;
  }

  .detail-price-focus {
    justify-items: start;
    width: 100%;
    padding: 16px;
  }

  .detail-gallery,
  .detail-summary-card,
  .detail-section {
    padding: 14px;
  }

  .detail-gallery-frame {
    aspect-ratio: 4 / 3;
  }

  .detail-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .more-link {
    display: inline-block;
    margin-top: 12px;
  }

  .service-band,
  .data-band {
    margin-top: 56px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "contact"
      "record";
    gap: 18px;
    padding: 28px 16px;
  }

  .footer-main {
    display: grid;
    gap: 14px;
  }

  .footer-contact {
    justify-items: start;
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .footer-record {
    justify-self: start;
    text-align: left;
  }

  .listing-extra {
    flex-wrap: wrap;
  }

  .detail-link {
    width: 100%;
    margin-left: 0;
  }
}
