.page-hero {
  height: 300px;
  background: var(--pale);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.page-title {
  align-self: center;
  padding-left: max(40px, calc((100vw - 1100px)/2));
}

.page-title h1 {
  font-size: 32px;
  line-height: 1.5;
  margin-top: 4px;
}

.page-title:after {
  content: "";
  display: block;
  background: var(--blue);
  width: 42px;
  height: 2px;
  margin-top: 14px;
}

.page-hero > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  color: #777;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb > span[aria-hidden] {
  color: #aaa;
}

.page-company {
  background: var(--off-white);
}

.business-concept {
  padding: 100px 0 110px;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.business-concept:before {
  content: "";
  position: absolute;
  inset: 60px 0 80px;
  background: url('../images/logo_parts_vainqueur.svg') center/auto 630px no-repeat;
  opacity: .09;
  z-index: -1;
}

.business-concept .eyebrow {
  color: var(--cyan);
}

.business-concept h2 {
  color: var(--blue);
  font-size: 38px;
  line-height: 1.5;
  margin-top: 8px;
}

.business-concept p:not(.eyebrow) {
  font-size: 18px;
  line-height: 2;
  font-weight: 700;
  margin-top: 30px;
}

.business-concept ul {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 28px auto 0;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--blue);
}

.business-concept li:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  background: var(--cyan);
  margin-right: 7px;
}

.overview-section {
  background: #fff;
  padding: 100px 0 150px;
}

.overview {
  padding: 64px;
  background: var(--pale);
  border-radius: 6px;
}

.overview h2 {
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.overview h2 span {
  font-size: 15px;
  color: var(--blue);
}

.overview dl {
  margin: 0;
}

.overview dl > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid #91b3d7;
  padding: 20px 0;
  font-size: 15px;
  line-height: 1.5;
}

.overview dl > div:last-child {
  border-bottom: 1px solid #91b3d7;
}

.overview dt {
  font-weight: 700;
}

.overview dd {
  margin: 0;
}

.access-map {
  display: block;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 791/350;
  border: 0;
}

.office-name {
  font-weight: 700;
  margin: 18px 0 6px;
}

.overview address {
  font-style: normal;
  line-height: 1.5;
}

.contact-content {
  padding: 64px 0 150px;
}

.contact-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  width: 440px;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.contact-steps:before {
  position: absolute;
  content: "";
  height: 1px;
  background: #bbb;
  top: 20px;
  left: 20px;
  right: 20px;
}

.contact-steps li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  font-weight: 700;
  color: #aaa;
  font-size: 14px;
}

.contact-steps li span {
  width: 40px;
  height: 40px;
  background: #b7b7b7;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.contact-steps li.active {
  color: var(--blue);
}

.contact-steps li.active span {
  background: var(--blue);
}

.contact-steps li.visited {
  color: #85a6cc;
}

.contact-steps li.visited span {
  background: #85a6cc;
}

.contact-intro {
  text-align: center;
  margin: 50px 0 64px;
  line-height: 1.8;
}

.form-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}

.form-row:last-of-type {
  border-bottom: 1px solid #ddd;
}

.form-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 15px;
}

.badge {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 2px;
  padding: 0 9px;
  white-space: nowrap;
  letter-spacing: .15em;
  line-height: 26px;
  font-size: 14px;
  flex-shrink: 0;
}

.badge.optional {
  background: #fff;
  color: var(--blue);
}

.form-control input:not([type=checkbox]),
.form-control select,
.form-control textarea {
  font: inherit;
  color: var(--text);
  display: block;
  width: 100%;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--off-white);
}

.form-control input::placeholder,
.form-control textarea::placeholder {
  color: #aaa;
}

.form-control select {
  appearance: none;
  background: var(--off-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 7z' fill='%23165197'/%3E%3C/svg%3E") no-repeat right 22px center;
  padding-right: 44px;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: 1px solid #517db4;
  outline-offset: 0;
}

.form-control [aria-invalid=true] {
  border-color: #cc2828 !important;
}

.field-error {
  font-size: 12px;
  color: #d00000;
  min-height: 0;
  margin-top: 8px;
  line-height: 1.5;
}

.field-error:empty {
  display: none;
}

.address-fields {
  display: grid;
  gap: 12px;
}

.address-fields .postal {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 300px;
  max-width: 100%;
}

.address-fields > select {
  width: 300px;
  max-width: 100%;
}

.form-control textarea {
  min-height: 140px;
  resize: vertical;
}

.privacy-text {
  background: var(--off-white);
  height: 300px;
  overflow-y: auto;
  padding: 18px;
  line-height: 1.6;
  font-size: 14px;
  scrollbar-color: #b7b7b7 white;
  scrollbar-width: auto;
}

.privacy-text h3 {
  font-size: 14px;
  font-weight: 700;
  margin-top: 16px;
}

.privacy-text h3:first-child {
  margin-top: 0;
}

.privacy-text ol {
  margin-inline: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: privacy-item;
}

.privacy-text li {
  position: relative;
  padding-left: 1.5em;
  counter-increment: privacy-item;
}

.privacy-text li:before {
  content: counter(privacy-item) ".";
  position: absolute;
  left: 0;
}

.privacy-link {
  color: #104E97;
  text-decoration: underline;
}

.consent-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 10px;
}

.consent-label input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.form-actions .button {
  margin-top: 0;
  font-family: inherit;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  letter-spacing: .1em;
  width: 220px;
}

.form-actions .button > span {
  right: 12px;
}

.form-actions .button > span:before,
.form-actions .button > span:after {
  left: calc(50% - 4px);
  width: 8px;
  height: 1.5px;
  transform-origin: 7.5px center;
}

.form-actions .button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.form-actions .button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.form-status {
  color: #c00;
  text-align: center;
  white-space: pre-line;
  margin-top: 16px;
  font-size: 14px;
}

.form-status:empty {
  display: none;
}

.confirmation {
  max-width: 800px;
}

.confirmation-list {
  margin: 0;
}

.confirmation-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-top: 1px solid #ddd;
  padding: 20px 0;
  line-height: 1.5;
}

.confirmation-list > div:last-child {
  border-bottom: 1px solid #ddd;
}

.confirmation-list dt {
  font-weight: 700;
}

.confirmation-list dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.button-back {
  background: #ddd;
  color: #777;
}

.form-actions .button-back > span {
  right: auto;
  left: 12px;
  color: #777;
  transform: translateY(-50%) scaleX(-1);
}

@media (hover: hover) {
  .button.button-back:hover > span {
    transform: translate(-4px, -50%) scaleX(-1);
  }
}

.noscript-message {
  text-align: center;
  padding: 20px;
  background: #fff3cd;
}

.empty-confirm {
  text-align: center;
  padding: 40px;
}

.empty-confirm .button {
  margin: 24px auto 0;
}

@media (max-width: 900px) {
  .page-title {
    padding-left: 20px;
  }

  .page-hero,
  .page-hero > img {
    height: 240px;
  }

  .business-concept {
    padding: 70px 0;
  }

  .business-concept h2 {
    font-size: 28px;
  }

  .business-concept p:not(.eyebrow),
  .business-concept ul {
    font-size: 15px;
  }

  .overview {
    padding: 32px;
  }

  .overview dl > div {
    grid-template-columns: 140px 1fr;
  }

  .form-row {
    grid-template-columns: 210px 1fr;
  }

  .form-label {
    font-size: 14px;
  }

  .form-control input:not([type=checkbox]),
  .form-control select,
  .form-control textarea {
    font-size: 15px;
  }

  .contact-content {
    padding: 50px 0 90px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    height: auto;
    grid-template-columns: 1fr;
  }

  .page-title {
    padding: 35px 20px;
  }

  .page-hero > img {
    height: 180px;
  }

  .page-title h1 {
    font-size: 28px;
  }

  .business-concept h2 {
    font-size: 24px;
  }

  .overview {
    padding: 24px;
  }

  .overview h2 {
    flex-wrap: wrap;
    font-size: 24px;
    gap: 4px 12px;
  }

  .overview dl > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .form-label {
    padding: 0;
  }

  .confirmation-list > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-intro {
    text-align: left;
    margin: 40px 0;
  }

  .form-actions {
    gap: 12px;
  }

  .form-actions .button {
    max-width: 100%;
    font-size: 14px;
  }

  .privacy-text {
    height: 240px;
  }

  .contact-steps {
    max-width: 85%;
  }
}

.completion-copy {
  text-align: center;
  margin-top: 60px;
}

.completion-copy h2 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.completion-copy p {
  font-size: 15px;
  line-height: 1.9;
}

.completion-copy .button {
  margin: 40px auto 0;
  width: 220px;
}

.not-found {
  text-align: center;
  padding: 75px 0 100px;
}

.not-found h1 {
  color: var(--blue);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.not-found h1 strong {
  display: block;
  font-size: 120px;
  letter-spacing: .02em;
  font-weight: 600!important;
}

.not-found h1 span {
  font-size: 30px;
  font-weight: 400!important;
}

.not-found h2 {
  font-size: 24px;
  margin: 40px 0 28px;
  line-height: 1.6;
}

.not-found p {
  font-size: 15px;
  line-height: 1.9;
}

.not-found .button {
  width: 220px;
  margin: 40px auto 0;
}

.form-trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.postal-lookup-status {
  width: 300px;
  max-width: 100%;
  margin: -4px 0 0 24px;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}

.postal-lookup-status:empty {
  display: none;
}

.postal-lookup-status.is-loading,
.postal-lookup-status.is-success {
  color: var(--blue);
}

.postal-lookup-status.is-error {
  color: #d00000;
}
