/* Belmont Finance contact page */

.footer-column a[aria-current="page"]::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-hero {
  position: relative;
  padding: clamp(190px, 17vw, 252px) 0 clamp(76px, 9vw, 126px);
  overflow: hidden;
  background-color: var(--paper-light);
  background-image:
    linear-gradient(112deg, rgba(248, 242, 230, 0.94), rgba(232, 220, 195, 0.58)),
    url("../assets/paper-texture.webp");
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: 106px;
  right: -12vw;
  width: min(50vw, 740px);
  aspect-ratio: 1;
  border: 1px solid rgba(7, 97, 9, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(34px, 5vw, 82px) rgba(7, 97, 9, 0.035),
    0 0 0 clamp(70px, 10vw, 158px) rgba(7, 97, 9, 0.025);
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(52px, 9vw, 138px);
  align-items: end;
  margin-top: clamp(48px, 6vw, 82px);
}

.contact-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(62px, 7.2vw, 106px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.contact-hero__line {
  display: block;
  white-space: nowrap;
}

.contact-hero__intro {
  padding-bottom: 10px;
}

.contact-hero__intro > p:first-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 20px);
}

.contact-hero__note {
  margin: 24px 0 0;
  padding-top: 20px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.contact-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(68px, 8vw, 112px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.contact-path {
  min-height: 260px;
  padding: 22px clamp(28px, 4vw, 56px) 30px 0;
  transition: background 180ms ease, padding 180ms ease;
}

.contact-path + .contact-path {
  padding-right: 0;
  padding-left: clamp(28px, 4vw, 56px);
  border-left: 1px solid var(--line);
}

.contact-path:hover,
.contact-path:focus-visible {
  background: rgba(7, 97, 9, 0.045);
}

.contact-path__number {
  display: block;
  margin-bottom: clamp(44px, 5vw, 70px);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
}

.contact-path__kicker {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-path h2 {
  max-width: 17ch;
  margin: 0 0 24px;
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.faq-section {
  background: rgba(248, 242, 230, 0.42);
}

.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(50px, 7vw, 90px);
}

.faq-section__intro h2 {
  margin: 0;
  font-size: clamp(50px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.faq-section__intro p {
  max-width: 52ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.faq-list {
  width: 100%;
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-question {
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  transition: color 180ms ease;
}

.faq-icon {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  color: var(--accent-action);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-item summary:hover .faq-question,
.faq-item summary:focus-visible .faq-question {
  color: var(--accent-text);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-action);
  outline-offset: 6px;
}

.faq-answer {
  max-width: 72ch;
  padding: 0 58px 28px 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.faq-answer p {
  margin: 0;
}

.faq-answer ol {
  margin: 14px 0 0;
  padding-left: 1.35em;
}

.faq-answer li {
  padding-left: 0.35em;
}

.faq-answer li + li {
  margin-top: 10px;
}

.faq-answer a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-answer a:hover,
.faq-answer a:focus-visible {
  color: var(--accent-action-hover);
}

.contact-section,
#account-support-form {
  scroll-margin-top: 24px;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
  gap: clamp(64px, 10vw, 152px);
  margin-top: clamp(50px, 7vw, 90px);
}

.contact-section__intro h2,
.contact-details h2 {
  margin: 0;
  font-size: clamp(50px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.contact-section__intro > p {
  max-width: 52ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.contact-actions .button {
  gap: 8px;
}

.contact-callout {
  margin-top: clamp(48px, 6vw, 76px);
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.contact-callout span,
.contact-callout strong {
  display: block;
}

.contact-callout span {
  margin-bottom: 16px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-callout a {
  display: inline-block;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-callout a:hover,
.contact-callout a:focus-visible {
  color: var(--accent-text);
}

.contact-callout strong {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-section--dealer {
  color: var(--paper-light);
  background: var(--teal);
}

.contact-section--dealer .section-label {
  border-bottom-color: rgba(248, 242, 230, 0.28);
}

.contact-section--dealer .section-label span:nth-child(2) {
  color: #83c985;
}

.contact-section--dealer .contact-section__intro > p {
  color: rgba(248, 242, 230, 0.78);
}

.partner-team {
  margin-top: clamp(48px, 6vw, 76px);
}

.partner-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(24px, 3.4vw, 52px);
  margin-top: 0;
}

.partner-team__profile {
  padding-top: 18px;
  border-top: 1px solid rgba(248, 242, 230, 0.52);
}

.partner-team__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0 0 26px;
  overflow: hidden;
  background: rgba(248, 242, 230, 0.1);
}

.partner-team__portrait::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(18, 25, 20, 0.14);
  box-shadow: inset 0 0 0 8px rgba(248, 242, 230, 0.08);
  content: "";
  pointer-events: none;
}

.partner-team__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.88) contrast(0.98);
}

.partner-team__role {
  min-height: 2.6em;
  margin: 0 0 12px;
  color: #9bdb9d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.partner-team__profile h3 {
  margin: 0 0 18px;
  font-size: clamp(29px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.partner-team__profile > p:last-child {
  max-width: 430px;
  margin: 0;
  color: rgba(248, 242, 230, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.contact-callout--light {
  border-top-color: rgba(248, 242, 230, 0.52);
  border-bottom-color: rgba(248, 242, 230, 0.22);
}

.contact-callout--light span,
.contact-callout--light a:hover,
.contact-callout--light a:focus-visible {
  color: #9bdb9d;
}

.contact-callout--light strong {
  color: rgba(248, 242, 230, 0.62);
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 54px);
  background: rgba(248, 242, 230, 0.76);
  border: 1px solid var(--line);
}

.contact-form--light {
  color: var(--ink);
  background: var(--paper-light);
  border-color: rgba(248, 242, 230, 0.26);
}

.contact-form__heading {
  margin-bottom: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-form__heading .eyebrow {
  margin: 0 0 10px;
}

.contact-form__heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

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

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.form-field label span {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  line-height: 1.4;
}

.form-field input,
.form-field select {
  min-height: 50px;
}

.form-field select {
  cursor: pointer;
}

.form-field textarea {
  min-height: 154px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-action);
  outline-offset: 2px;
  border-color: var(--accent-action);
}

.contact-form__notice {
  margin: -2px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.5;
}

.contact-form__notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .button {
  justify-self: start;
  min-width: 210px;
  cursor: pointer;
}

.contact-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.6fr);
  gap: clamp(52px, 9vw, 138px);
  align-items: end;
}

.contact-details h2 {
  margin-top: 34px;
}

.contact-details address {
  display: grid;
  gap: 5px;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-style: normal;
}

.contact-details address a {
  width: max-content;
  margin-top: 14px;
  color: var(--accent-text);
  font-size: 24px;
  font-weight: 500;
}

.contact-details address a:hover,
.contact-details address a:focus-visible {
  color: var(--accent-action-hover);
}

.contact-thanks-main {
  min-height: 720px;
  padding: clamp(210px, 19vw, 280px) 0 clamp(96px, 10vw, 150px);
}

.contact-thanks-card {
  max-width: 940px;
}

.contact-thanks-card h1 {
  max-width: 900px;
  margin: 44px 0 28px;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.contact-thanks-card > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 20px);
}

.contact-thanks-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 42px;
}

.contact-thanks-footer {
  padding: 28px var(--gutter);
  color: rgba(248, 242, 230, 0.8);
  background: var(--teal);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1000px) {
  .contact-hero__grid,
  .faq-section__grid,
  .contact-section__grid,
  .contact-details__grid {
    grid-template-columns: 1fr;
  }

  .contact-hero__intro,
  .faq-section__intro,
  .contact-section__intro {
    max-width: 740px;
  }

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

  .partner-team__profile:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - clamp(12px, 1.7vw, 26px));
  }

  .faq-section__grid,
  .contact-section__grid {
    gap: 56px;
  }

  .contact-details address {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    padding-top: 164px;
  }

  .contact-hero::after {
    top: 150px;
    right: -42vw;
    width: 100vw;
  }

  .contact-hero h1 {
    font-size: clamp(48px, 12.5vw, 72px);
  }

  .contact-hero__line {
    white-space: normal;
  }

  .contact-paths {
    grid-template-columns: 1fr;
  }

  .contact-path,
  .contact-path + .contact-path {
    min-height: 0;
    padding: 22px 0 28px;
    border-left: 0;
  }

  .contact-path + .contact-path {
    border-top: 1px solid var(--line);
  }

  .contact-path__number {
    margin-bottom: 32px;
  }

  .faq-section__intro h2,
  .contact-section__intro h2,
  .contact-details h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .partner-team__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .partner-team__profile:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .partner-team__role {
    min-height: 0;
  }

  .faq-item summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 20px;
    min-height: 64px;
    padding: 20px 0;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-answer {
    padding-right: 0;
    padding-bottom: 24px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form {
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    border-right: 0;
    border-left: 0;
  }

  .contact-form .button {
    justify-self: stretch;
    width: 100%;
  }

  .contact-thanks-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-question,
  .faq-icon::after {
    transition: none;
  }
}

@media (max-width: 430px) {
  .contact-hero {
    padding-top: 148px;
  }

  .contact-hero h1 {
    font-size: clamp(39px, 11.4vw, 49px);
  }

  .contact-callout a {
    font-size: 34px;
  }

  .contact-thanks-card h1 {
    font-size: clamp(43px, 12vw, 50px);
  }
}
