body.contact-master-page {
  background: #fff;
}

.contact-master-main {
  padding-bottom: 0;
}

.contact-anchor-alias {
  position: relative;
  top: -24px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .44fr);
  gap: 72px;
  align-items: center;
  min-height: 548px;
  margin: 27px 8px 62px;
  overflow: hidden;
  padding: 72px 70px;
  color: #fff;
  background:
    linear-gradient(122deg, rgba(12, 122, 138, .18) 0%, rgba(12, 122, 138, 0) 42%),
    linear-gradient(145deg, #07111a 0%, #0a1722 54%, #07111a 100%);
  border: 1px solid var(--reference-hero-border);
  border-radius: var(--reference-radius);
  box-shadow: var(--reference-shadow);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(100deg, var(--reference-cyan), var(--reference-teal-button), var(--reference-gold-button));
  opacity: .74;
}

.contact-hero-copy,
.contact-hero-panel {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  max-width: 780px;
  margin: 0 0 26px;
  color: #fff;
  font-size: 56px;
  font-weight: 730;
  line-height: 1.1;
}

.contact-hero-lead {
  max-width: 760px;
  margin: 0;
  color: var(--reference-lead);
  font-size: 19px;
  line-height: 1.66;
}

.contact-context-line {
  margin: 24px 0 0;
  color: var(--reference-gold-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.contact-hero-actions .calculator-button {
  min-width: 286px;
}

.contact-hero .calculator-meta {
  margin-top: 18px;
}

.contact-hero .calculator-trust {
  max-width: 680px;
  margin-top: 12px;
}

.contact-hero-panel {
  padding: 34px;
  color: rgba(247, 251, 255, .86);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)) padding-box,
    linear-gradient(135deg, rgba(22, 212, 223, .3), rgba(243, 193, 58, .26)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
}

.contact-hero-panel-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  color: var(--reference-gold-text);
  background: rgba(201, 162, 39, .1);
  border: 1px solid rgba(201, 162, 39, .24);
  border-radius: var(--reference-button-radius);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-hero-panel strong {
  display: block;
  margin-top: 22px;
  color: #fff;
  font-size: 24px;
  font-weight: 760;
  line-height: 1.24;
}

.contact-hero-panel ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-hero-panel li {
  position: relative;
  padding-left: 22px;
  color: #c8d3db;
  font-size: 14px;
  line-height: 1.58;
}

.contact-hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 8px;
  height: 8px;
  background: var(--reference-teal-button);
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-form-section {
  position: relative;
}

.contact-form-section .premium-contact-intro {
  margin-left: 79px;
}

.contact-form-section .premium-contact-copy h3 {
  font-size: 38px;
}

.contact-form-section .premium-contact-points {
  margin-bottom: 28px;
}

.contact-form-section .premium-contact-note {
  max-width: 360px;
}

.contact-section-inner {
  width: min(var(--reference-container), calc(100% - 144px));
  margin: 0 auto;
}

.contact-section-head {
  max-width: 800px;
  margin-bottom: 46px;
}

.contact-eyebrow {
  margin: 0 0 18px;
  color: var(--reference-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-section-head h2,
.contact-details-copy h2 {
  margin: 0;
  color: var(--reference-navy);
  font-size: 44px;
  font-weight: 730;
  line-height: 1.14;
}

.contact-paths-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 92px 0 96px;
  background: #f8f5ef;
}

.contact-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-path-card {
  min-height: 282px;
  padding: 34px 30px 32px;
  background: #fff;
  border: 1px solid rgba(7, 17, 26, .12);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(7, 17, 26, .02);
}

.contact-path-number {
  display: block;
  margin-bottom: 22px;
  color: var(--reference-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.contact-path-card h3 {
  margin: 0 0 16px;
  color: var(--reference-navy);
  font-size: 22px;
  font-weight: 760;
  line-height: 1.2;
}

.contact-path-card p {
  margin: 0;
  color: #4e5c69;
  font-size: 16px;
  line-height: 1.62;
}

.contact-legal-section {
  padding-top: 106px;
  padding-bottom: 112px;
}

.contact-legal-section .legal-lead-section h2,
.contact-legal-section h2 {
  max-width: 740px;
  font-size: 48px;
  line-height: 1.1;
}

.contact-legal-section .legal-lead-quote p {
  font-size: 20px;
}

.contact-details-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 96px 0 102px;
  background: #fff;
}

.contact-details-layout {
  display: grid;
  grid-template-columns: minmax(280px, .34fr) minmax(0, .66fr);
  gap: 72px;
  align-items: start;
}

.contact-details-copy {
  max-width: 440px;
}

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

.contact-info-block {
  min-height: 178px;
  padding: 28px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(12, 122, 138, .18), rgba(201, 162, 39, .2)) border-box;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(7, 17, 26, .055);
}

.contact-info-block span {
  display: block;
  margin-bottom: 12px;
  color: var(--reference-teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-info-block a,
.contact-info-block strong {
  display: block;
  color: var(--reference-navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.32;
}

.contact-info-block a {
  overflow-wrap: anywhere;
}

.contact-info-block p {
  margin: 14px 0 0;
  color: #536170;
  font-size: 14px;
  line-height: 1.58;
}

.contact-office-data {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .78fr);
  gap: 18px;
  margin: 8px 0 0;
  padding: 28px;
  color: var(--reference-navy);
  background: #fffdf8;
  border: 1px solid rgba(7, 17, 26, .1);
  border-radius: 18px;
  font-style: normal;
}

.contact-office-data strong,
.contact-office-data span {
  display: block;
  color: var(--reference-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.contact-office-data span {
  color: #536170;
  font-weight: 600;
}

.contact-next-section {
  padding-top: 96px;
  padding-bottom: 100px;
}

.contact-next-section .process-editorial-inner {
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
}

.contact-next-section .process-step {
  min-height: 126px;
}

.contact-faq-section {
  padding-top: 92px;
  padding-bottom: 96px;
}

.contact-mini-section {
  padding-bottom: 104px;
  background: linear-gradient(180deg, #0a1520 0%, #0a1520 34%, #f8f5ef 34%, #f8f5ef 100%);
}

.contact-mini-panel {
  grid-template-columns: minmax(0, .76fr) minmax(320px, .5fr);
}

.contact-mini-copy p:not(.tail-eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: #536170;
  font-size: 17px;
  line-height: 1.64;
}

.contact-mini-copy .contact-mini-microcopy {
  color: var(--reference-teal);
  font-size: 13px;
  font-weight: 800;
}

.contact-mini-form-wrap {
  min-width: 0;
}

@media (max-width: 1120px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 62px 56px;
  }

  .contact-hero-panel {
    max-width: 680px;
  }

  .contact-form-section .premium-contact-intro {
    margin-left: 0;
  }

  .contact-section-inner {
    width: min(var(--reference-container), calc(100% - 72px));
  }

  .contact-path-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-path-card {
    min-height: 0;
  }

  .contact-details-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-office-data {
    grid-column: auto;
  }

  .contact-next-section .process-editorial-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .contact-master-main {
    width: calc(100% - 28px);
  }

  .contact-hero {
    min-height: auto;
    margin: 14px 0 27px;
    padding: 40px 21px 36px;
    gap: 30px;
    border-radius: var(--reference-radius-mobile);
  }

  .contact-hero h1 {
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.1;
  }

  .contact-hero-lead {
    font-size: 16px;
    line-height: 1.62;
  }

  .contact-context-line {
    margin-top: 18px;
    font-size: 12px;
  }

  .contact-hero-actions {
    flex-wrap: wrap;
    margin-top: 24px;
  }

  .contact-hero-actions .calculator-button {
    min-width: 0;
  }

  .contact-hero-panel {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .contact-hero-panel strong {
    margin-top: 18px;
    font-size: 20px;
  }

  .contact-hero-panel ul {
    gap: 10px;
    margin-top: 18px;
  }

  .contact-hero-panel li {
    font-size: 13px;
  }

  .contact-form-section .premium-contact-copy h3 {
    font-size: 29px;
  }

  .contact-section-inner {
    width: calc(100% - 28px);
  }

  .contact-section-head {
    margin-bottom: 26px;
  }

  .contact-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .contact-section-head h2,
  .contact-details-copy h2 {
    font-size: 31px;
    line-height: 1.15;
  }

  .contact-paths-section {
    padding: 58px 0 48px;
  }

  .contact-path-grid {
    gap: 10px;
  }

  .contact-path-card {
    padding: 22px 20px 21px;
    border-radius: 17px;
  }

  .contact-path-number {
    margin-bottom: 14px;
    font-size: 17px;
  }

  .contact-path-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .contact-path-card p {
    font-size: 15px;
    line-height: 1.5;
  }

  .contact-legal-section {
    padding-top: 50px;
    padding-bottom: 60px;
  }

  .contact-legal-section h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .contact-legal-section .legal-lead-quote p {
    font-size: 18px;
  }

  .contact-details-section {
    padding: 48px 0 52px;
  }

  .contact-details-layout {
    gap: 26px;
  }

  .contact-info-grid {
    gap: 10px;
  }

  .contact-info-block {
    min-height: 0;
    padding: 22px 20px;
    border-radius: 17px;
  }

  .contact-info-block a,
  .contact-info-block strong {
    font-size: 18px;
  }

  .contact-office-data {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 20px;
    border-radius: 17px;
  }

  .contact-next-section {
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .contact-faq-section {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .contact-mini-section {
    padding-bottom: 42px;
    background: linear-gradient(180deg, #0a1520 0%, #0a1520 14%, #f8f5ef 14%, #f8f5ef 100%);
  }

  .contact-mini-panel {
    gap: 22px;
    padding: 28px 20px;
    border-radius: var(--reference-radius-mobile);
  }

  .contact-mini-copy p:not(.tail-eyebrow) {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.58;
  }

  .contact-mini-form-wrap,
  .contact-mini-form-wrap .mini-contact-form {
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .contact-hero h1 {
    font-size: 32px;
  }

  .contact-hero-panel {
    padding: 22px 18px;
  }

  .contact-form-section .premium-contact-copy h3 {
    font-size: 28px;
  }

  .contact-info-block a,
  .contact-info-block strong {
    font-size: 17px;
  }

}

@media (max-width: 374px) {
  .contact-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .contact-hero h1 {
    font-size: 30px;
  }

  .contact-section-head h2,
  .contact-details-copy h2,
  .contact-mini-copy h2 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero,
  .contact-hero::before,
  .contact-info-block,
  .contact-path-card,
  .contact-mini-panel {
    transition: none;
  }
}
