:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #626262;
  --line: rgba(26, 26, 26, 0.1);
  --primary: #c8102e;
  --accent: #ffd700;
  --shadow: 0 24px 60px rgba(78, 39, 16, 0.12);
  --heading-font: "Be Vietnam Pro", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 215, 0, 0.18), transparent 260px),
    var(--bg);
  line-height: 1.55;
}

body .site-header .btn {
  box-shadow: none;
}

a {
  color: var(--primary);
  font-weight: 700;
}

.quote-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.quote-hero {
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(200, 16, 46, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  max-width: 900px;
  margin-top: 16px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
}

.quote-hero p,
.customer-panel p,
.total-card small {
  color: var(--muted);
}

.quote-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.total-card,
.quote-shell,
.customer-panel,
.market-test-note {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.total-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: center;
  margin: 20px;
  padding: 22px 24px;
}

.total-card span,
.total-card small {
  display: block;
}

.total-card strong {
  display: block;
  grid-row: span 2;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 2.2rem;
  color: var(--primary);
  text-align: right;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.proof-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 188px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(78, 39, 16, 0.08);
}

.proof-icon {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.92), transparent 18px),
    linear-gradient(145deg, #fff3a4 0%, #ffd246 42%, #f26d58 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset -10px -12px 20px rgba(155, 25, 38, 0.18),
    0 14px 22px rgba(200, 16, 46, 0.18),
    0 4px 0 rgba(141, 15, 36, 0.18);
  transform: perspective(90px) rotateX(8deg) rotateY(-10deg);
}

.proof-icon::before,
.proof-icon::after,
.proof-icon i,
.proof-icon i::before,
.proof-icon i::after {
  content: "";
  position: absolute;
  display: block;
}

.proof-icon::after {
  inset: 8px 10px auto auto;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  filter: blur(0.2px);
}

.proof-icon i {
  z-index: 1;
}

.proof-icon-sellers i {
  width: 36px;
  height: 22px;
  bottom: 12px;
  left: 11px;
  border-radius: 14px 14px 9px 9px;
  background: linear-gradient(145deg, #c8102e, #7f1020);
  box-shadow: 0 5px 0 rgba(78, 39, 16, 0.14);
}

.proof-icon-sellers i::before {
  width: 15px;
  height: 15px;
  left: 10px;
  top: -18px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    -15px 7px 0 -2px rgba(255, 255, 255, 0.9),
    15px 7px 0 -2px rgba(255, 255, 255, 0.9);
}

.proof-icon-sellers i::after {
  width: 54px;
  height: 12px;
  left: -9px;
  top: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.proof-icon-warehouse i {
  width: 34px;
  height: 24px;
  left: 12px;
  bottom: 12px;
  border-radius: 4px 4px 8px 8px;
  background:
    linear-gradient(90deg, transparent 10px, rgba(255, 255, 255, 0.32) 10px 13px, transparent 13px 21px, rgba(255, 255, 255, 0.32) 21px 24px, transparent 24px),
    linear-gradient(145deg, #c8102e, #8f1024);
  box-shadow: 0 5px 0 rgba(78, 39, 16, 0.14);
}

.proof-icon-warehouse::before {
  z-index: 2;
  left: 10px;
  top: 14px;
  width: 38px;
  height: 22px;
  clip-path: polygon(50% 0, 100% 72%, 0 72%);
  background: linear-gradient(145deg, #ffffff, #ffe37a);
}

.proof-icon-shipping i {
  width: 33px;
  height: 19px;
  left: 9px;
  top: 24px;
  border-radius: 6px 4px 4px 7px;
  background: linear-gradient(145deg, #c8102e, #8c1023);
  box-shadow:
    20px 4px 0 -5px #ffffff,
    0 11px 0 -7px rgba(78, 39, 16, 0.22);
}

.proof-icon-shipping i::before {
  width: 15px;
  height: 15px;
  right: -12px;
  top: 4px;
  border-radius: 3px 7px 5px 2px;
  background: linear-gradient(145deg, #ffffff, #ffe37a);
}

.proof-icon-shipping i::after {
  width: 8px;
  height: 8px;
  left: 5px;
  top: 16px;
  border-radius: 999px;
  background: #1a1a1a;
  box-shadow: 31px 0 0 #1a1a1a;
}

.proof-icon-team i {
  width: 28px;
  height: 35px;
  left: 15px;
  top: 10px;
  border-radius: 16px 16px 18px 18px;
  background: linear-gradient(145deg, #c8102e, #8c1023);
  clip-path: polygon(50% 100%, 28% 70%, 14% 52%, 11% 32%, 20% 13%, 36% 4%, 61% 4%, 79% 15%, 88% 33%, 85% 52%, 72% 70%);
  box-shadow: 0 5px 0 rgba(78, 39, 16, 0.14);
}

.proof-icon-team i::before {
  width: 12px;
  height: 12px;
  left: 8px;
  top: 9px;
  border-radius: 999px;
  background: #fff;
}

.proof-icon-team i::after {
  width: 22px;
  height: 8px;
  left: 3px;
  top: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.proof-icon-satisfaction i {
  width: 34px;
  height: 34px;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #ffe37a);
  box-shadow: 0 5px 0 rgba(78, 39, 16, 0.14);
}

.proof-icon-satisfaction i::before {
  width: 20px;
  height: 10px;
  left: 7px;
  top: 13px;
  border-left: 4px solid #c8102e;
  border-bottom: 4px solid #c8102e;
  transform: rotate(-45deg);
}

.proof-icon-satisfaction i::after {
  width: 26px;
  height: 26px;
  left: 4px;
  top: 4px;
  border: 2px solid rgba(200, 16, 46, 0.2);
  border-radius: 999px;
}

.proof-card strong {
  font-family: var(--heading-font);
  font-size: 1.02rem;
  line-height: 1.25;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.market-test-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin: 0 0 24px;
  padding: 26px;
}

.market-test-note h2 {
  margin-top: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
}

.market-test-note p {
  margin: 14px 0 0;
  color: var(--muted);
}

.market-test-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.market-test-list article {
  padding: 16px;
  border-radius: 14px;
  background: #fffaf3;
  border: 1px solid rgba(200, 16, 46, 0.1);
}

.market-test-list strong {
  display: block;
  font-family: var(--heading-font);
  line-height: 1.3;
}

.market-test-list p {
  margin-top: 8px;
  font-size: 0.94rem;
}

.quote-shell {
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
}

.quote-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: var(--surface);
}

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

.quote-table th {
  background: #1a1a1a;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
}

.quote-table td:nth-child(3),
.quote-table td:nth-child(4),
.quote-table td:nth-child(5) {
  text-align: right;
}

.quote-table input {
  width: 96px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: right;
  font-weight: 700;
}

.customer-panel {
  display: grid;
  gap: 18px;
  margin: 24px;
  padding: 24px;
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

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

.btn {
  justify-self: start;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #e94057);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(200, 16, 46, 0.24);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 26, 26, 0.48);
}

.quote-popup.is-visible {
  display: flex;
}

.quote-popup-card {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.quote-popup-card strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  line-height: 1.35;
}

.quote-popup-card p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.quote-popup-card button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .quote-hero,
  .field-grid,
  .proof-grid,
  .market-test-note,
  .market-test-list {
    grid-template-columns: 1fr;
  }

  .total-card strong {
    font-size: 1.8rem;
  }

  .total-card {
    grid-template-columns: 1fr;
  }

  .total-card strong {
    grid-row: auto;
    text-align: left;
  }
}
