/* Get a Quote page — Figma node 46:2964 */

.page-quote {
  font-family: "Hanken Grotesk", "Inter", system-ui, sans-serif;
  background: #fff;
}

.quote-main {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.quote-hero {
  position: relative;
  height: 260px;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #111;
}

.quote-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.quote-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.quote-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.quote-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0 24px;
}

.quote-hero__content h1 {
  font-size: var(--type-hero);
  font-weight: 700;
  font-style: normal;
  line-height: var(--leading-hero);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}

.quote-hero__content p {
  font-size: var(--type-hero-sub);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
}

/* ---------- Form Section ---------- */
.quote-form-section {
  background: #fff;
  padding: 32px 24px 40px;
}

.quote-form-section__inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

.quote-form__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: 28px;
  align-items: start;
}

.quote-form__paired {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
  row-gap: 10px;
  align-items: start;
}

.quote-form__paired > .quote-form__heading:first-of-type {
  grid-column: 1;
}

.quote-form__paired > .quote-form__heading:nth-of-type(2) {
  grid-column: 2;
}

.quote-form__aside {
  min-width: 0;
}

.quote-form__heading {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin: 0 0 4px;
}

.quote-field {
  margin: 0;
  min-width: 0;
}

.quote-field label {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: #374151;
  margin-bottom: 4px;
}

.quote-required {
  color: #e31e24;
}

.quote-optional {
  font-weight: 400;
  color: #9ca3af;
}

.quote-field input,
.quote-field textarea,
.quote-field select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-field input,
.quote-field select {
  height: 40px;
}

.quote-field textarea {
  resize: vertical;
  min-height: 58px;
  max-height: 96px;
}

.quote-field--area textarea {
  min-height: 58px;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #6b7280;
}

.quote-field input:focus,
.quote-field textarea:focus,
.quote-field select:focus {
  outline: none;
  border-color: #e31e24;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.quote-select-wrap select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  color: #1a1c1e;
  height: 40px;
}

.quote-select-wrap select:invalid {
  color: #6b7280;
}

.quote-select-wrap {
  position: relative;
}

.quote-select__chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  pointer-events: none;
}

/* ---------- Upload Card ---------- */
.quote-upload-card {
  border: 1px solid #f3f4f6;
  border-radius: 4px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.quote-upload-card__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #111827;
  text-align: center;
  margin: 0;
}

.quote-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 108px;
  padding: 18px 12px;
  border: 2px dashed #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quote-dropzone:hover,
.quote-dropzone.is-dragover {
  border-color: #e31e24;
  background: #fef2f2;
}

.quote-dropzone__input {
  display: none;
}

.quote-dropzone__icon {
  display: block;
  width: 33px;
  height: 24px;
  margin-bottom: 12px;
  object-fit: contain;
}

.quote-dropzone__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #111827;
  text-align: center;
}

.quote-dropzone__or {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #6b7280;
  text-align: center;
}

.quote-dropzone__error {
  margin: 10px 12px 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #d7000f;
  text-align: center;
}

.quote-dropzone.is-dragover {
  border-color: #d7000f;
  background: rgba(215, 0, 15, 0.04);
}

.quote-dropzone.is-uploading {
  opacity: 0.75;
  pointer-events: none;
}

.quote-upload-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-upload-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e3e7e8;
  border-radius: 6px;
  background: #fafbfc;
}

.quote-upload-list__name {
  flex: 1;
  min-width: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #111827;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-upload-list__name:hover {
  color: #d7000f;
}

.quote-upload-list__meta {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  color: #6b7280;
  flex-shrink: 0;
}

.quote-upload-list__remove {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.quote-upload-list__remove:hover {
  color: #d7000f;
}

.quote-upload-formats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0;
}

.quote-upload-formats__label {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6b7280;
}

.quote-upload-formats__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-format {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #374151;
}

.quote-format__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
}

.quote-format__icon img {
  display: block;
  object-fit: contain;
}

.quote-format__icon--pdf {
  background: #fef2f2;
}

.quote-format__icon--excel {
  background: #f0fdf4;
}

.quote-format__icon--word {
  background: #eff6ff;
}

.quote-format__icon--image {
  background: #fff7ed;
}

.quote-upload-note {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  line-height: 18px;
  color: #9ca3af;
}

.quote-upload-note--size {
  margin-top: 0;
  line-height: 16.5px;
}

/* ---------- Submit Button ---------- */
.quote-form__submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.quote-form__error {
  margin: 0;
  max-width: 520px;
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #d7000f;
}

.quote-field.is-invalid input,
.quote-field.is-invalid textarea,
.quote-field.is-invalid select {
  border-color: #d7000f !important;
  box-shadow: 0 0 0 1px rgba(215, 0, 15, 0.2);
}

.quote-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 48px;
  background: #e31e24;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow:
    0 10px 15px -3px rgba(227, 30, 36, 0.2),
    0 4px 6px -4px rgba(227, 30, 36, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.quote-submit-btn:hover {
  background: #bc000c;
  transform: translateY(-2px);
}

.quote-submit-btn img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- How It Works ---------- */
.quote-process {
  background: #f9fafb;
  padding: 72px 24px;
}

.quote-process__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0;
}

.quote-process__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 48px;
}

.quote-process__label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #e31e24;
}

.quote-process__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
}

.quote-process__bar {
  width: 48px;
  height: 4px;
  background: #e31e24;
  flex-shrink: 0;
}

.quote-process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.quote-step {
  flex: 1;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quote-step__icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.quote-step__icon-wrap img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.quote-step__num {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #e31e24;
  margin-bottom: 12px;
}

.quote-step__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #1a1c1e;
  margin-bottom: 12px;
}

.quote-step__desc {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 22.75px;
  color: #6b7280;
  max-width: 220px;
}

.quote-step__arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 36px;
  opacity: 0.45;
}

/* ---------- Assistance ---------- */
.quote-assistance {
  position: relative;
  background: #111827;
  padding: 72px 24px;
  overflow: hidden;
}

.quote-assistance__bg {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;
}

.quote-assistance__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.quote-assistance__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.quote-assistance__head {
  flex: 1;
  max-width: 576px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.quote-assistance__label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #e31e24;
  margin: 0;
}

.quote-assistance__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(28px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}

.quote-assistance__bar {
  width: 48px;
  height: 4px;
  background: #e31e24;
  flex-shrink: 0;
}

.quote-assistance__desc {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #d1d5db;
  margin: 0;
  max-width: 520px;
}

.quote-assistance__cards {
  flex: 1;
  max-width: 448px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-assist-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quote-assist-card:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
}

.quote-assist-card__icon-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-assist-card__icon-wrap img {
  display: block;
  object-fit: contain;
}

.quote-assist-card__text {
  flex: 1;
  min-width: 0;
}

.quote-assist-card__text h3 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #fff;
  margin: 0 0 4px;
}

.quote-assist-card__text p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #9ca3af;
  margin: 0;
}

/* ---------- Toast ---------- */
.quote-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  padding: 14px 28px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.quote-submit-btn.is-loading,
.quote-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .quote-form__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quote-form__paired {
    column-gap: 24px;
  }

  .quote-upload-formats__list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .quote-process__inner {
    padding: 0;
  }

  .quote-process__steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 24px;
  }

  .quote-step__arrow {
    display: none;
  }

  .quote-step {
    max-width: calc(50% - 24px);
  }

  .quote-assistance__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .quote-assistance__cards {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .quote-hero {
    height: auto;
    min-height: 320px;
    padding: 64px 0;
  }

  .quote-hero__content {
    padding: 0 16px;
  }

  .quote-hero__content h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .quote-hero__content p {
    font-size: 16px;
    line-height: 24px;
  }

  .quote-form-section {
    padding: 28px 16px 36px;
  }

  .quote-form__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quote-form__paired {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .quote-form__paired > .quote-form__heading:nth-of-type(2) {
    grid-column: 1;
    margin-top: 8px;
  }

  .quote-form__heading {
    font-size: 17px;
  }

  .quote-upload-card {
    padding: 24px;
  }

  .quote-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
  }

  .quote-process {
    padding: 64px 16px;
  }

  .quote-process__title {
    font-size: 28px;
    line-height: 34px;
  }

  .quote-step {
    max-width: 100%;
  }

  .quote-assistance {
    padding: 64px 16px;
  }

  .quote-assistance__title {
    font-size: 28px;
    line-height: 36px;
  }

  .quote-assistance__desc {
    font-size: 16px;
    line-height: 26px;
  }

  .quote-assist-card {
    padding: 24px;
  }

  .quote-assist-card__icon-wrap {
    width: 56px;
    height: 56px;
  }

  .quote-assist-card__text h3 {
    font-size: 18px;
  }
}
