/* Quote form uses the catalogue's shared typography and colour system. */
.quote-page {
  --quote-small: 12px;
  --quote-label: 13px;
  --quote-body: 14px;
  --quote-heading: clamp(30px, 2.4vw, 34px);
  --quote-title: clamp(38px, 5vw, 76px);
  font-family: "Manrope", sans-serif;
  font-size: var(--quote-body);
  line-height: 1.7;
}
.quote-page main {
  color: var(--cat-ink);
}
.quote-page :is(h1, h2, legend) {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500 !important;
}
.quote-page .catalog-kicker {
  font-size: var(--quote-small);
  line-height: 1.5;
  letter-spacing: 0.12em;
}
.quote-page .catalog-button,
.quote-page .catalog-text-link {
  font-size: var(--quote-label);
  line-height: 1.6;
}
.quote-page .catalog-wrap {
  width: min(1280px, calc(100% - 80px));
}
.quote-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  gap: 64px;
  align-items: center;
  padding-block: 48px 0;
}
.quote-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--quote-title);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.quote-hero h1 em {
  color: var(--cat-gold);
  font-weight: 500;
}
.quote-lead {
  font-size: 15px;
  line-height: 1.9;
  max-width: 500px;
  margin: 0;
}
.quote-intro-steps {
  padding-left: 32px;
  border-left: 1px solid var(--cat-line);
  display: grid;
  gap: 20px;
}
.quote-intro-step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--quote-label);
  line-height: 1.7;
  color: var(--cat-ink);
}
.quote-intro-step span {
  font-size: var(--quote-small);
  color: var(--cat-gold);
  letter-spacing: 0.1em;
}
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
  padding-block: 64px 80px;
}
#quote-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 40px;
  min-width: 0;
}
.quote-legend {
  float: none;
  width: auto;
  font:
    500 var(--quote-heading)/1.15 "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: -0.02em;
  color: var(--cat-ink);
  margin: 0 0 14px;
}
.quote-legend .catalog-kicker {
  margin-bottom: 14px;
}
.quote-caption {
  font-size: var(--quote-body);
  line-height: 1.9;
  margin: 0 0 22px;
}
.quote-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.quote-category {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 12px 30px 12px 12px;
  border: 1px solid var(--cat-line);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  color: var(--cat-ink);
  font-size: var(--quote-label);
  font-weight: 600;
  line-height: 1.5;
}
.quote-category img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  flex: 0 0 52px;
}
.quote-other-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: #eadbc7;
  color: #8b653c;
  font-size: 18px;
}
.quote-other-field {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--cat-line);
  border-radius: 4px;
  background: #fffdf8;
}
.quote-category input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  left: 0;
  top: 0;
}
.quote-category .quote-check {
  position: absolute;
  right: 9px;
  top: 10px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cat-line);
  font-size: 9px;
  color: transparent;
}
.quote-category:hover {
  border-color: var(--cat-gold);
}
.quote-category:has(input:checked) {
  background: #ede2d2;
  border-color: var(--cat-gold);
}
.quote-category input:checked ~ .quote-check {
  background: var(--cat-ink);
  border-color: var(--cat-ink);
  color: var(--cat-paper);
}
.quote-category:focus-within {
  outline: 2px solid var(--cat-gold);
  outline-offset: 3px;
}
.quote-error {
  font-size: 12px !important;
  color: #963c2b !important;
  margin-top: 14px;
  line-height: 1.7;
}
.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}
.quote-field {
  min-width: 0;
}
.quote-field.full {
  grid-column: 1/-1;
}
.quote-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cat-ink);
  margin-bottom: 9px;
}
.quote-field label span {
  font-weight: 400;
  color: var(--cat-muted);
  font-size: 11px;
}
.quote-field input,
.quote-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--cat-line);
  background: transparent;
  border-radius: 0;
  padding: 13px 14px;
  color: var(--cat-ink);
  font:
    400 var(--quote-body)/1.7 Manrope,
    sans-serif;
}
.quote-field textarea {
  min-height: 150px;
  resize: vertical;
}
.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #8b867c;
}
.quote-field input:focus,
.quote-field textarea:focus {
  outline: 2px solid var(--cat-gold);
  outline-offset: 2px;
}
.quote-summary {
  position: sticky;
  top: 120px;
  background: var(--cat-ink);
  padding: 32px;
  color: var(--cat-paper);
}
.quote-summary h2 {
  font:
    500 var(--quote-heading)/1.15 "Cormorant Garamond",
    Georgia,
    serif;
  color: var(--cat-paper);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.quote-selection-count {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid #656760;
  color: #e7d2b5;
}
.quote-preview {
  font:
    400 var(--quote-label)/1.85 Manrope,
    sans-serif;
  color: #d7d1c7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 360px;
  overflow-y: auto;
  border-block: 1px solid rgba(245, 240, 232, 0.18);
  padding-block: 20px;
  margin-bottom: 24px;
  scrollbar-color: #c08d4e #1a1f22;
}
.quote-summary .catalog-button {
  width: 100%;
  padding-inline: 16px;
}
.quote-page .quote-send-note {
  color: #d7d1c7;
  font-size: 11px;
  line-height: 1.85;
  margin: 15px 0 0;
}
.quote-help {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-block: 30px;
  border-top: 1px solid var(--cat-line);
  margin-bottom: 60px;
}
.quote-help p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.quote-help a {
  white-space: nowrap;
}
.quote-page a:focus-visible,
.quote-page button:focus-visible {
  outline: 2px solid var(--cat-gold);
  outline-offset: 4px;
}
@media (max-width: 1199.98px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
  }
  .quote-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote-summary {
    padding: 26px;
  }
  .quote-hero {
    gap: 40px;
  }
}
@media (max-width: 991.98px) {
  .quote-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .quote-intro-steps {
    border-left: 0;
    border-top: 1px solid var(--cat-line);
    padding: 22px 0 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .quote-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quote-summary {
    position: static;
  }
  .quote-preview {
    max-height: none;
  }
}
@media (max-width: 767.98px) {
  .quote-hero {
    padding-block: 30px 36px;
  }
  .quote-lead {
    font-size: 14px;
  }
  .quote-intro-steps {
    gap: 12px;
  }
  .quote-intro-step {
    display: block;
    font-size: 11px;
  }
  .quote-intro-step span {
    display: block;
    margin-bottom: 6px;
  }
  .quote-layout {
    padding-block: 42px 48px;
  }
  .quote-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote-category {
    min-height: 90px;
    padding: 12px 25px 12px 10px;
    gap: 9px;
    font-size: 11px;
  }
  .quote-category img {
    width: 42px;
    height: 48px;
    flex-basis: 42px;
  }
  .quote-summary {
    padding: 26px;
  }
  .quote-fields {
    gap: 20px 14px;
  }
  .quote-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
  }
}
@media (max-width: 575.98px) {
  .quote-fields {
    grid-template-columns: 1fr;
  }
  .quote-category {
    flex-direction: column;
    align-items: flex-start;
    min-height: 118px;
    padding: 12px;
  }
  .quote-category img {
    width: 60px;
    height: 42px;
    flex-basis: auto;
  }
  .quote-category .quote-check {
    right: 12px;
    top: 13px;
  }
  .quote-summary {
    padding: 24px;
  }
}

/* Shared showroom image and brush treatment at the compact contact scale. */
.quote-page .page-header {
  background-image: url("../img/about-ai/hero-showroom.webp");
  background-position: center 52%;
  background-size: cover;
  background-repeat: no-repeat;
  padding-block: 24px;
  min-height: 200px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.quote-banner-card {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  padding: 18px 24px;
}
.quote-page .quote-banner h1 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0;
  color: #000;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.quote-banner-inner {
  padding-block: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.quote-banner-actions {
  position: relative;
  isolation: isolate;
  flex: 0 1 520px;
  min-width: 0;
  padding: 18px 24px;
}
.quote-banner-card::before,
.quote-banner-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #eadbc7;
  clip-path: polygon(
    1% 8%,
    24% 3%,
    52% 6%,
    78% 0,
    99% 5%,
    98% 36%,
    100% 67%,
    98% 94%,
    73% 98%,
    46% 94%,
    21% 100%,
    0 93%,
    2% 63%,
    0 32%
  );
}
.quote-page .page-header .breadcrumb {
  font-size: 10px;
  gap: 0;
}
.quote-page .page-header .breadcrumb a {
  color: #243029;
}
.quote-page .page-header .breadcrumb [aria-current] {
  color: #243029;
}
.quote-page .page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #243029;
}
.quote-banner-card a:focus-visible {
  outline: 2px solid #655039;
  outline-offset: 4px;
}
.quote-page main .quote-banner-lead {
  max-width: 520px;
  margin: 0 0 16px;
  color: #1a1f22;
  font-size: 14px;
  line-height: 1.7;
}
.quote-banner-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #c08d4e;
  border-radius: 4px;
  background: #c08d4e;
  color: #1a1f22;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  transition:
    background-color 0.18s,
    border-color 0.18s;
}
.quote-banner-whatsapp:hover {
  background: #d0a36b;
  border-color: #d0a36b;
  color: #1a1f22;
}
.quote-banner-whatsapp i {
  font-size: 18px;
}
@media (max-width: 479.98px) {
  .quote-banner-whatsapp {
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .quote-page .page-header {
    min-height: 180px;
    padding-block: 20px;
    margin-bottom: 0;
    background-position: 58% center;
  }
  .quote-banner-inner {
    padding-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .quote-banner-actions {
    flex: none;
    width: 100%;
    padding: 18px 20px;
  }
  .quote-banner-card {
    padding: 20px 24px;
  }
}

/* Shared navigation and footer scale, scoped to the quote page. */
.quote-page .bg-dark.p-0 .text-body {
  font-size: var(--quote-label);
  line-height: 1.6;
  color: #d7d1c7 !important;
}
.quote-page .quote-field label {
  font-size: var(--quote-label);
}
.quote-page .quote-help p {
  font-size: var(--quote-body);
}
.quote-page .quote-category {
  font-size: var(--quote-label);
}
.quote-page .quote-hero h1 em {
  font-weight: inherit;
}
@media (max-width: 1199.98px) {
  .quote-page .catalog-wrap {
    width: calc(100% - 48px);
  }
}
@media (max-width: 991.98px) {
  .quote-banner .quote-intro-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .quote-page .catalog-wrap {
    width: calc(100% - 36px);
  }
  .quote-banner .quote-intro-steps {
    grid-template-columns: 1fr;
  }
  .quote-page .quote-hero h1 {
    overflow-wrap: break-word;
  }
  .quote-page .quote-summary,
  .quote-page .quote-fields,
  .quote-page .quote-layout > *,
  .quote-page .quote-hero > * {
    min-width: 0;
  }
  .quote-page .quote-field input,
  .quote-page .quote-field textarea {
    font-size: 16px;
  }
  .quote-page .quote-help a {
    white-space: normal;
  }
}
