:root {
  --ink: #f5f7f8;
  --muted: #9ba3aa;
  --soft: #cfd5d9;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(18, 21, 24, 0.82);
  --panel-solid: #111417;
  --black: #050607;
  --charcoal: #0b0d0f;
  --steel: #20262b;
  --accent: #d11f2f;
  --accent-2: #f1f4f6;
  --success: #40d08a;
  --warning: #f6b54c;
  --danger: #ff6675;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
  font-family:
    Inter, "SF Pro SC", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.62), rgba(5, 6, 7, 0));
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 6, 7, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.desktop-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  width: max-content;
}

.brand-logo {
  width: clamp(188px, 18vw, 260px);
  height: auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #f3f5f6, #8e989f 44%, #1d2226 45%);
  color: #070809;
  font-size: 13px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.16em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.desktop-nav {
  gap: 30px;
  justify-content: center;
  color: var(--soft);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transition: width 180ms ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-action {
  justify-self: end;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.header-action svg,
.btn svg,
.input-row button svg,
.process-list svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 74px) 38px;
  isolation: isolate;
}

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

.hero-media {
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1532581140115-3e355d1ed1de?auto=format&fit=crop&w=2200&q=86");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.72) 42%, rgba(5, 6, 7, 0.18) 76%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.42), rgba(5, 6, 7, 0.92) 88%);
}

.hero-content {
  align-self: center;
  width: min(760px, 100%);
  padding-bottom: 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #eff2f3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  content: "";
  background: var(--accent);
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 34px;
  color: #d5dadf;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.56;
}

.hero-lede,
.section-heading p,
.studio-copy p,
.dealer-section p,
.result-note {
  text-wrap: pretty;
}

.hero-actions,
.lookup-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 38px rgba(209, 31, 47, 0.28);
}

.btn-primary:hover {
  background: #e12a3a;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(680px, 100%);
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics div {
  padding: 20px 20px 20px 0;
}

.hero-metrics div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-lookup {
  position: absolute;
  right: clamp(20px, 5vw, 74px);
  bottom: 36px;
  width: min(430px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 13, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.tool-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(64, 208, 138, 0.9);
}

label {
  display: block;
  margin-bottom: 9px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 760;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.input-row-large {
  grid-template-columns: minmax(0, 1fr) auto;
}

.input-row input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  padding: 0 16px;
  text-transform: uppercase;
}

.input-row input::placeholder {
  color: rgba(255, 255, 255, 0.42);
  text-transform: none;
}

.input-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: #fff;
  color: #070809;
  font-weight: 850;
}

.input-row-large button {
  padding: 0 18px;
}

.sample-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.sample-note button,
.lookup-hints button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #fff;
  padding: 0;
  font-weight: 750;
}

.section {
  padding: 108px clamp(20px, 5vw, 74px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 74px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a0c0e;
}

.intro-copy {
  display: grid;
  gap: 6px;
}

.intro-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.intro-copy strong {
  font-size: clamp(20px, 2.5vw, 34px);
}

.intro-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.intro-logos span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 5vw, 86px);
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.studio-copy h2,
.dealer-section h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p,
.studio-copy p,
.dealer-section p {
  margin-bottom: 0;
  color: var(--soft);
  line-height: 1.72;
}

.film-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.film-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--steel);
}

.film-card-large {
  grid-row: span 2;
  min-height: 620px;
}

.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 500ms ease;
}

.film-card:hover img {
  transform: scale(1.04);
}

.film-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.86));
}

.film-card-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
}

.film-card-copy span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-card-copy h3 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.film-card-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: #d4d9dd;
  line-height: 1.55;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #080a0c, #121519);
}

.studio-media {
  overflow: hidden;
  min-height: 620px;
}

.studio-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.studio-copy h2 {
  margin-bottom: 24px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.process-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font-weight: 750;
}

.process-list svg {
  color: var(--accent);
}

.warranty-section {
  scroll-margin-top: 72px;
  background: #f5f6f6;
  color: #101316;
}

.warranty-section .section-kicker,
.warranty-section .section-heading p {
  color: #5d666d;
}

.warranty-section .section-kicker::before {
  background: var(--accent);
}

.warranty-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
}

.lookup-panel,
.result-panel {
  border: 1px solid #d9dee2;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 19, 22, 0.08);
}

.lookup-panel {
  align-self: start;
  padding: 24px;
}

.lookup-panel label {
  color: #30373d;
}

.lookup-panel .input-row {
  border-color: #cfd5da;
  background: #f4f6f7;
}

.lookup-panel .input-row input {
  color: #101316;
}

.lookup-panel .input-row button {
  background: #101316;
  color: #fff;
}

.lookup-hints {
  margin-top: 16px;
}

.lookup-hints button {
  border-color: #aeb6bd;
  color: #30373d;
  font-size: 12px;
}

.result-panel {
  min-height: 390px;
  padding: 0;
  overflow: hidden;
}

.empty-state {
  display: grid;
  min-height: 334px;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  color: #69727a;
}

.empty-state.is-loading svg {
  animation: spin 900ms linear infinite;
}

.empty-state svg {
  width: 44px;
  height: 44px;
  color: #a3acb3;
}

.empty-state h3 {
  margin-bottom: 0;
  color: #101316;
  font-size: 24px;
}

.empty-state p {
  max-width: 440px;
  margin-bottom: 0;
  line-height: 1.6;
}

.certificate-shell {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(16, 19, 22, 0.04), transparent 32%),
    #fff;
}

.certificate-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e9ec;
}

.certificate-topline img {
  width: min(230px, 60%);
  height: auto;
  padding: 8px 12px;
  background: #080a0c;
}

.certificate-topline span {
  color: #7a838b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
}

.result-top,
.result-summary,
.certificate-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 20px 0 18px;
  border-bottom: 1px solid #e1e5e8;
}

.result-top h3,
.result-summary h3,
.certificate-summary h3 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.result-summary p,
.certificate-summary p {
  margin: 0;
  color: #68727a;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.card-number {
  color: #6b737a;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  background: #101316;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-badge.active {
  background: #097545;
}

.status-badge.expiring {
  background: #965f08;
}

.status-badge.claim {
  background: #9b1f2b;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #dfe4e7;
  background: #dfe4e7;
}

.summary-strip div {
  min-height: 76px;
  padding: 14px;
  background: #f7f8f9;
}

.summary-strip span,
.compact-detail-grid span,
.warranty-list-item span {
  display: block;
  margin-bottom: 5px;
  color: #73808a;
  font-size: 10px;
  font-weight: 880;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-strip strong,
.compact-detail-grid strong,
.warranty-list-item strong {
  display: block;
  color: #101316;
  font-size: 15px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.subsection-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 10px;
}

.subsection-title span {
  color: #101316;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subsection-title em {
  color: #7a838b;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.warranty-list {
  display: grid;
  gap: 8px;
}

.warranty-list-item {
  display: grid;
  grid-template-columns: 46px minmax(190px, 1.3fr) minmax(100px, 0.7fr) minmax(110px, 0.8fr) minmax(86px, 0.55fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dfe4e7;
  background: #fbfcfc;
}

.list-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #101316;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

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

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

.data-cell {
  padding: 16px;
  background: #f4f6f7;
}

.data-cell span {
  display: block;
  margin-bottom: 6px;
  color: #6b737a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-cell strong {
  display: block;
  color: #101316;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

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

.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.coverage-list span {
  padding: 9px 11px;
  background: #101316;
  color: #fff;
  font-size: 12px;
  font-weight: 820;
}

.result-note {
  margin: 22px 0 0;
  color: #555f67;
  line-height: 1.65;
}

.warranty-card-stack {
  display: grid;
  gap: 12px;
}

.warranty-card {
  border: 1px solid #dfe4e7;
  background: #fbfcfc;
}

.warranty-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e9ec;
  background: linear-gradient(135deg, #101316, #2b3035);
  color: #fff;
}

.warranty-card-head span {
  display: block;
  margin-bottom: 8px;
  color: #bcc5cb;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.warranty-card-head h4 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.warranty-price {
  text-align: right;
}

.warranty-price small {
  display: block;
  margin-bottom: 6px;
  color: #9ea8af;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.warranty-price strong {
  font-size: 20px;
  white-space: nowrap;
}

.compact-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border-bottom: 1px solid #e2e7ea;
  background: #e2e7ea;
}

.compact-detail-grid div {
  min-height: 70px;
  padding: 12px 14px;
  background: #f7f8f9;
}

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

.film-item-table {
  display: grid;
  gap: 1px;
  margin: 14px;
  overflow: hidden;
  border: 1px solid #e2e7ea;
  background: #e2e7ea;
}

.film-item-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(220px, 1.2fr);
  gap: 14px;
  align-items: center;
  padding: 11px 14px;
  background: #fff;
}

.film-item-head {
  background: #101316;
}

.film-item-head span,
.film-item-head strong,
.film-item-head em {
  color: #fff;
}

.film-item-row span {
  color: #6b737a;
  font-size: 12px;
  font-weight: 850;
}

.film-item-row strong {
  color: #101316;
  font-size: 15px;
}

.film-item-row em {
  color: #5d666d;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dealer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 92px clamp(20px, 5vw, 74px);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.94), rgba(5, 6, 7, 0.64)),
    url("https://images.unsplash.com/photo-1520340356584-f9917d1eea6f?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.dealer-section div {
  max-width: 820px;
}

.dealer-section h2 {
  margin-bottom: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 74px);
  border-top: 1px solid var(--line);
  background: #050607;
  color: var(--muted);
  font-size: 13px;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: #fff;
  letter-spacing: 0.14em;
}

.site-footer p {
  margin-bottom: 0;
  line-height: 1.6;
}

.portal-page,
.detail-page {
  min-height: 100svh;
  padding: 116px clamp(16px, 5vw, 72px) 56px;
  background:
    linear-gradient(135deg, rgba(209, 31, 47, 0.1), transparent 28%),
    linear-gradient(180deg, #0a0d10 0, #f3f5f6 300px, #eef1f3 100%);
  color: #101316;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: 28px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 22px;
  color: #fff;
}

.portal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(44px, 6vw, 82px);
}

.portal-hero p {
  max-width: 760px;
  margin: 0;
  color: #d6dde2;
  font-size: 17px;
  line-height: 1.72;
}

.portal-search,
.portal-panel {
  border: 1px solid #d9dee2;
  background: #fff;
  box-shadow: 0 24px 54px rgba(16, 19, 22, 0.14);
}

.portal-search {
  padding: 22px;
}

.portal-search label {
  color: #30373d;
}

.portal-search .input-row {
  border-color: #cfd5da;
  background: #f4f6f7;
}

.portal-search .input-row input {
  color: #101316;
}

.portal-search .input-row button {
  background: #101316;
  color: #fff;
}

.portal-panel {
  max-width: 1280px;
  min-height: 420px;
  margin: 0 auto;
}

.list-shell {
  padding: 26px;
}

.list-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e7ea;
}

.list-summary h2 {
  margin: 6px 0 8px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

.list-summary p {
  margin: 0;
  color: #67717a;
  font-weight: 760;
}

.list-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 24px;
  border: 1px solid #dfe4e7;
  background: #dfe4e7;
}

.list-meta-grid div {
  min-height: 74px;
  padding: 14px;
  background: #f7f8f9;
}

.list-meta-grid span,
.separate-list-card span,
.single-fact-grid span,
.coverage-copy span,
.dealer-panel span,
.section-row-title span,
.single-topbar span {
  display: block;
  margin-bottom: 6px;
  color: #73808a;
  font-size: 10px;
  font-weight: 880;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.list-meta-grid strong,
.separate-list-card strong,
.single-fact-grid strong,
.dealer-panel strong {
  display: block;
  color: #101316;
  font-size: 15px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.list-section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.list-section-title span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.list-section-title em {
  color: #73808a;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.separate-card-list {
  display: grid;
  gap: 12px;
}

.separate-list-card {
  display: grid;
  grid-template-columns: 54px minmax(220px, 1fr) minmax(300px, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dfe4e7;
  background: linear-gradient(135deg, #fff, #f9fafb);
}

.list-card-index {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: #101316;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.list-card-main h3 {
  margin: 0 0 6px;
  color: #101316;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.list-card-main p {
  margin: 0;
  color: #67717a;
  font-weight: 720;
}

.list-card-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #e1e6e9;
  background: #e1e6e9;
}

.list-card-facts div {
  min-height: 58px;
  padding: 10px 12px;
  background: #f4f6f7;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: #101316;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.detail-link svg {
  width: 16px;
  height: 16px;
}

.detail-shell {
  max-width: 980px;
  margin: 0 auto;
}

.single-certificate {
  border: 1px solid #d9dee2;
  background:
    linear-gradient(135deg, rgba(209, 31, 47, 0.08), transparent 24%),
    #fff;
  box-shadow: 0 28px 70px rgba(16, 19, 22, 0.18);
}

.single-topbar {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #e3e8eb;
}

.single-topbar img {
  width: 235px;
  padding: 8px 12px;
  background: #080a0c;
}

.single-topbar div {
  justify-self: end;
  text-align: right;
}

.single-topbar strong {
  display: block;
  color: #101316;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 18px;
  align-items: start;
  padding: 18px 22px;
  border-bottom: 1px solid #e3e8eb;
}

.single-hero span {
  display: block;
  margin-bottom: 8px;
  color: #73808a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-hero h1 {
  margin-bottom: 10px;
  color: #101316;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.92;
}

.single-hero p {
  margin: 0;
  color: #66717a;
  font-size: 16px;
  font-weight: 760;
}

.single-status {
  display: grid;
  place-items: center;
  min-height: 96px;
  background: #087846;
  color: #fff;
  text-align: center;
}

.single-status svg {
  width: 25px;
  height: 25px;
}

.single-status strong {
  margin-top: 6px;
  font-size: 16px;
}

.single-status span {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.single-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #e1e6e9;
  border-bottom: 1px solid #e1e6e9;
}

.single-fact-grid div {
  min-height: 64px;
  padding: 11px 14px;
  background: #f7f8f9;
}

.coverage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.52fr);
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid #e3e8eb;
}

.coverage-copy h2 {
  margin: 0 0 8px;
  color: #101316;
  font-size: 24px;
}

.coverage-copy p {
  margin: 0;
  color: #4d5962;
  line-height: 1.72;
}

.coverage-badges {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

.coverage-badges span {
  padding: 9px 10px;
  background: #101316;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.single-section {
  padding: 16px 22px;
  border-bottom: 1px solid #e3e8eb;
}

.section-row-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.section-row-title em {
  color: #73808a;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.coverage-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dfe4e7;
  background: #dfe4e7;
}

.coverage-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.8fr 0.8fr 0.55fr;
  gap: 1px;
  background: #dfe4e7;
}

.coverage-row span {
  min-height: 42px;
  padding: 11px 12px;
  background: #fff;
  color: #101316;
  font-size: 14px;
  font-weight: 760;
}

.coverage-head span {
  min-height: 38px;
  background: #101316;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dealer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 1px;
  background: #e1e6e9;
  border-bottom: 1px solid #e1e6e9;
}

.dealer-panel div {
  padding: 14px 22px;
  background: #f7f8f9;
}

.dealer-panel p {
  margin: 6px 0 0;
  color: #66717a;
  line-height: 1.5;
}

.certificate-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 22px;
}

.certificate-footer p {
  margin: 0;
  color: #66717a;
  font-size: 12px;
  line-height: 1.6;
}

.certificate-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  background: #101316;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding-top: 124px;
  }

  .hero-content {
    padding-bottom: 220px;
  }

  .hero-lookup {
    left: 20px;
    right: 20px;
  }

  .intro-band,
  .section-heading,
  .studio-section,
  .warranty-layout,
  .dealer-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .result-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-logos {
    justify-content: flex-start;
  }

  .film-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .film-card-large,
  .film-card {
    min-height: 430px;
  }

  .studio-media,
  .studio-media img {
    min-height: 420px;
  }

  .dealer-section .btn {
    justify-self: start;
  }

  .portal-hero,
  .list-summary,
  .coverage-panel,
  .dealer-panel,
  .certificate-footer {
    grid-template-columns: 1fr;
  }

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

  .separate-list-card {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
  }

  .list-card-facts,
  .detail-link {
    grid-column: 2;
  }

  .single-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand-copy small,
  .header-action {
    display: none;
  }

  .brand-logo {
    width: 150px;
  }

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

  .hero-section {
    padding: 104px 16px 28px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.72), rgba(5, 6, 7, 0.92) 48%, rgba(5, 6, 7, 0.96)),
      linear-gradient(90deg, rgba(5, 6, 7, 0.78), rgba(5, 6, 7, 0.16));
  }

  .hero-content {
    padding-bottom: 248px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .hero-lookup {
    bottom: 20px;
    left: 16px;
    right: 16px;
    width: auto;
    padding: 18px;
  }

  .section,
  .dealer-section {
    padding: 72px 16px;
  }

  .intro-band {
    padding: 24px 16px;
  }

  .film-card-large,
  .film-card {
    min-height: 360px;
  }

  .process-list,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .input-row-large {
    grid-template-columns: 1fr;
  }

  .input-row-large button {
    min-height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .lookup-panel .input-row-large {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .lookup-panel .input-row-large button {
    min-height: 52px;
    padding: 0 10px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
  }

  .result-top {
    grid-template-columns: 1fr;
  }

  .result-summary {
    grid-template-columns: 1fr;
  }

  .certificate-shell {
    padding: 16px;
  }

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

  .certificate-topline img {
    width: 100%;
    max-width: 250px;
  }

  .certificate-summary {
    grid-template-columns: 1fr;
  }

  .summary-strip {
    grid-template-columns: 1fr;
  }

  .subsection-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .warranty-list-item {
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
  }

  .warranty-list-item > div:not(.list-index) {
    grid-column: 2;
  }

  .result-summary .status-badge {
    justify-self: start;
  }

  .result-grid-compact,
  .card-detail-grid,
  .compact-detail-grid {
    grid-template-columns: 1fr;
  }

  .compact-detail-grid .detail-wide {
    grid-column: auto;
  }

  .warranty-card-head {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .warranty-price {
    text-align: left;
  }

  .warranty-price strong {
    white-space: normal;
  }

  .card-detail-grid {
    padding: 14px;
  }

  .film-item-table {
    margin: 0 14px 14px;
  }

  .film-item-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .portal-page,
  .detail-page {
    padding: 86px 12px 32px;
  }

  .portal-hero h1 {
    font-size: 42px;
  }

  .portal-search,
  .list-shell {
    padding: 16px;
  }

  .list-meta-grid,
  .list-card-facts,
  .single-fact-grid {
    grid-template-columns: 1fr;
  }

  .separate-list-card {
    gap: 12px;
    padding: 14px;
  }

  .single-topbar,
  .single-hero,
  .coverage-panel,
  .single-section,
  .certificate-footer {
    padding: 16px;
  }

  .single-topbar {
    grid-template-columns: 1fr;
  }

  .single-topbar img {
    width: 100%;
    max-width: 260px;
  }

  .single-topbar div {
    justify-self: start;
    text-align: left;
  }

  .single-hero {
    grid-template-columns: 1fr;
  }

  .single-status {
    min-height: 82px;
  }

  .coverage-row,
  .coverage-head {
    grid-template-columns: 1fr;
  }

  .coverage-head {
    display: none;
  }

  .coverage-row {
    border-bottom: 1px solid #dfe4e7;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Premium warranty valuation pages */
body[data-page="warranty-list"],
body[data-page="warranty-detail"] {
  background:
    radial-gradient(circle at 18% 0%, rgba(209, 31, 47, 0.16), transparent 32%),
    linear-gradient(135deg, #050607 0%, #101418 42%, #060708 100%);
}

body[data-page="warranty-list"]::before,
body[data-page="warranty-detail"]::before {
  opacity: 0.75;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.42));
}

body[data-page="warranty-list"] .site-header,
body[data-page="warranty-detail"] .site-header {
  background: rgba(5, 6, 7, 0.88);
  backdrop-filter: blur(18px);
}

body[data-page="warranty-list"] .portal-page,
body[data-page="warranty-detail"] .detail-page {
  padding-top: 104px;
  background: transparent;
}

body[data-page="warranty-detail"] .detail-page {
  padding-bottom: 28px;
}

.portal-hero {
  max-width: 1380px;
  margin-bottom: 18px;
}

.portal-hero h1 {
  color: #f7f8f9;
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: 0;
}

.portal-hero p {
  color: #b9c2c9;
  font-size: 15px;
}

.portal-search,
.portal-panel {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(13, 16, 19, 0.86);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.portal-search label {
  color: #cbd2d7;
}

.portal-search .input-row {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.portal-search .input-row input {
  color: #fff;
}

.portal-search .input-row button {
  background: #f4f6f7;
  color: #080a0c;
}

.portal-search .lookup-hints button {
  color: #d6dde2;
}

.portal-panel {
  max-width: 1380px;
  min-height: 360px;
}

.valuation-list-shell {
  padding: 22px;
}

.valuation-list-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: end;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 42%),
    #0b0e11;
}

.valuation-list-top span,
.valuation-total span,
.valuation-meta-strip span,
.valuation-table-title span,
.valuation-product span,
.valuation-row-data span,
.valuation-price span {
  display: block;
  margin-bottom: 6px;
  color: #8f9aa3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.valuation-list-top h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.92;
}

.valuation-list-top p,
.valuation-total em,
.valuation-product em,
.valuation-table-title em {
  margin: 0;
  color: #aeb8bf;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.valuation-total {
  padding: 18px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.valuation-total strong {
  display: block;
  color: #fff;
  font-size: 40px;
  line-height: 1;
}

.valuation-meta-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.12);
}

.valuation-meta-strip div {
  min-height: 58px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.055);
}

.valuation-meta-strip strong,
.valuation-product strong,
.valuation-row-data strong,
.valuation-price strong {
  display: block;
  color: #f6f8f9;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.valuation-table-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 10px;
}

.valuation-card-list {
  display: grid;
  gap: 8px;
}

.valuation-list-row {
  display: grid;
  grid-template-columns: 44px minmax(260px, 1fr) minmax(360px, 1.15fr) 150px 142px;
  gap: 1px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.valuation-row-index,
.valuation-product,
.valuation-row-data,
.valuation-price,
.valuation-detail-link {
  background: rgba(255, 255, 255, 0.055);
}

.valuation-row-index {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.valuation-product {
  padding: 13px 14px;
}

.valuation-row-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.valuation-row-data div {
  padding: 13px 12px;
  background: rgba(5, 6, 7, 0.2);
}

.valuation-price {
  display: grid;
  align-content: center;
  padding: 13px 12px;
}

.valuation-price strong {
  font-size: 22px;
}

.valuation-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.valuation-detail-link:hover {
  background: var(--accent);
}

.valuation-detail-link svg {
  width: 15px;
  height: 15px;
}

.detail-shell {
  max-width: min(1500px, calc(100vw - 32px));
}

.valuation-certificate {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(17, 21, 25, 0.98), rgba(8, 10, 12, 0.98));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.5);
  color: #f6f8f9;
  overflow: hidden;
}

.valuation-head {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.valuation-head img {
  width: 236px;
  padding: 6px 10px;
  background: #050607;
}

.valuation-doc-title {
  justify-self: end;
  text-align: right;
}

.valuation-doc-title span,
.valuation-product-title span,
.valuation-amount-box span,
.valuation-grid span,
.valuation-section-label {
  display: block;
  margin-bottom: 5px;
  color: #9ca8b1;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.valuation-doc-title strong {
  display: block;
  color: #fff;
  font-size: 19px;
  letter-spacing: 0.08em;
}

.valuation-doc-title em {
  color: #46d58e;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.valuation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.valuation-product-title,
.valuation-amount-box {
  background: rgba(255, 255, 255, 0.045);
}

.valuation-product-title {
  padding: 16px 18px;
}

.valuation-product-title h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 0.92;
}

.valuation-product-title p {
  margin: 0;
  color: #b7c0c7;
  font-size: 13px;
  font-weight: 800;
}

.valuation-amount-box {
  display: grid;
  align-content: center;
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
}

.valuation-amount-box strong {
  color: #fff;
  font-size: 48px;
  line-height: 1;
}

.valuation-amount-box em {
  color: #aeb8bf;
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
}

.valuation-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.valuation-grid div {
  min-height: 54px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.052);
}

.valuation-grid strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.valuation-content-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.valuation-coverage,
.valuation-dealer {
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.045);
}

.valuation-coverage p,
.valuation-dealer p,
.valuation-foot p {
  margin: 0;
  color: #c5cdd3;
  font-size: 12px;
  line-height: 1.55;
}

.valuation-coverage strong,
.valuation-dealer strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 13px;
}

.valuation-coverage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.valuation-coverage-chips span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.valuation-items {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.valuation-items-table {
  display: grid;
  gap: 1px;
  margin-top: 8px;
  width: calc(100vw - 64px);
  max-width: 1460px;
  min-width: 1060px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.valuation-items-head,
.valuation-items-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.65fr 0.78fr 0.78fr 0.5fr 0.82fr;
  gap: 1px;
}

.valuation-items-head span,
.valuation-items-row span {
  min-height: 31px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 820;
}

.valuation-items-head span {
  background: #030405;
  color: #9ca8b1;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.valuation-items-row span {
  background: rgba(255, 255, 255, 0.052);
  color: #fff;
}

.valuation-items {
  overflow-x: auto;
}

.valuation-mobile-items {
  display: none;
}

.mobile-line-item {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.mobile-line-top {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-line-top span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: #050607;
  color: #9ca8b1;
  font-size: 11px;
  font-weight: 950;
}

.mobile-line-top strong {
  color: #fff;
  font-size: 15px;
}

.mobile-line-top em {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
}

.mobile-line-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-line-grid div {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.045);
}

.mobile-line-grid span {
  display: block;
  margin-bottom: 4px;
  color: #8f9aa3;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-line-grid strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.valuation-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
}

.valuation-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.valuation-foot a svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1180px) {
  .valuation-list-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .valuation-row-data,
  .valuation-price,
  .valuation-detail-link {
    grid-column: 2;
  }

  .valuation-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .valuation-list-top,
  .valuation-hero,
  .valuation-content-row,
  .valuation-foot,
  .valuation-head {
    grid-template-columns: 1fr;
  }

  .valuation-doc-title {
    justify-self: start;
    text-align: left;
  }

  .valuation-meta-strip,
  .valuation-row-data,
  .valuation-grid,
  .valuation-items-head,
  .valuation-items-row {
    grid-template-columns: 1fr;
  }

  .valuation-items-table {
    width: 820px;
    min-width: 820px;
  }

  .valuation-amount-box {
    border-left: 0;
    border-top: 2px solid var(--accent);
  }

  .valuation-head img {
    width: 100%;
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  body[data-page="warranty-list"] .site-header,
  body[data-page="warranty-detail"] .site-header {
    position: sticky;
    min-height: 58px;
    padding: 10px 12px;
  }

  body[data-page="warranty-list"] .brand-logo,
  body[data-page="warranty-detail"] .brand-logo {
    width: 142px;
  }

  body[data-page="warranty-list"] .portal-page,
  body[data-page="warranty-detail"] .detail-page {
    padding: 14px 10px 24px;
  }

  .detail-shell {
    max-width: 100%;
  }

  .valuation-certificate,
  .portal-panel,
  .portal-search {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  }

  .valuation-head {
    gap: 10px;
    padding: 12px;
  }

  .valuation-head img {
    max-width: 184px;
    padding: 5px 8px;
  }

  .valuation-doc-title span {
    font-size: 8px;
  }

  .valuation-doc-title strong {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .valuation-doc-title em {
    font-size: 9px;
  }

  .valuation-product-title {
    padding: 13px 12px 12px;
  }

  .valuation-product-title span {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .valuation-product-title h1 {
    margin-bottom: 7px;
    font-size: clamp(31px, 12vw, 46px);
    line-height: 0.94;
  }

  .valuation-product-title p {
    font-size: 11px;
    line-height: 1.35;
  }

  .valuation-amount-box {
    padding: 12px;
  }

  .valuation-amount-box strong {
    font-size: 38px;
  }

  .valuation-amount-box em {
    font-size: 10px;
  }

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

  .valuation-grid div {
    min-height: 50px;
    padding: 9px;
  }

  .valuation-grid span,
  .valuation-section-label {
    font-size: 8px;
  }

  .valuation-grid strong {
    font-size: 11px;
  }

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

  .valuation-coverage,
  .valuation-dealer {
    padding: 11px 12px;
  }

  .valuation-coverage p,
  .valuation-dealer p,
  .valuation-foot p {
    font-size: 11px;
    line-height: 1.52;
  }

  .valuation-coverage-chips {
    max-height: none;
    gap: 5px;
  }

  .valuation-coverage-chips span {
    padding: 5px 7px;
    font-size: 10px;
  }

  .valuation-items {
    padding: 11px 12px;
    overflow: visible;
  }

  .valuation-items-table {
    display: none;
  }

  .valuation-mobile-items {
    display: grid;
    gap: 8px;
    margin-top: 9px;
  }

  .valuation-foot {
    grid-template-columns: 1fr;
    padding: 11px 12px;
  }

  .valuation-foot a {
    justify-content: center;
    width: 100%;
  }

  .portal-hero {
    gap: 14px;
  }

  .portal-hero h1 {
    font-size: 34px;
  }

  .portal-hero p {
    font-size: 13px;
  }

  .valuation-list-shell {
    padding: 12px;
  }

  .valuation-list-top {
    gap: 12px;
    padding: 13px;
  }

  .valuation-list-top h2 {
    font-size: 35px;
  }

  .valuation-total strong {
    font-size: 34px;
  }

  .valuation-meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .valuation-list-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .valuation-product {
    padding: 11px;
  }

  .valuation-row-index {
    font-size: 11px;
  }

  .valuation-row-data,
  .valuation-price,
  .valuation-detail-link {
    grid-column: 1 / -1;
  }

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

  body[data-page="warranty-list"] .portal-search {
    padding: 14px;
  }

  body[data-page="warranty-list"] .portal-search .input-row-large {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 48px;
  }

  body[data-page="warranty-list"] .portal-search .input-row-large button {
    min-height: 48px;
    padding: 0 10px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    white-space: nowrap;
  }

  body[data-page="warranty-list"] .portal-search .input-row input {
    padding: 0 12px;
    font-size: 14px;
  }

  body[data-page="warranty-list"] .portal-search .lookup-hints {
    gap: 8px;
    margin-top: 12px;
  }

  body[data-page="warranty-list"] .portal-search .lookup-hints button {
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
    color: #dce3e8;
    font-size: 11px;
    line-height: 1;
  }

  body[data-page="warranty-list"] .valuation-detail-link {
    min-height: 46px;
    width: 100%;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #f3f5f6, #aeb8bf);
    color: #070809;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  body[data-page="warranty-list"] .valuation-detail-link svg {
    color: #070809;
  }

  body[data-page="warranty-list"] .valuation-price {
    min-height: 58px;
    padding: 10px 12px;
    align-content: center;
  }

  body[data-page="warranty-list"] .valuation-price strong {
    font-size: 24px;
  }
}
