.contact-page {
  --contact-blue: #075385;
  --contact-gold: #d6b532;
  --contact-black: #0d0d0c;
  --contact-soft: #f5f6f8;
}

.contact-page-hero .site-page-hero__inner h1 {
  max-width: 740px;
}

.contact-page-hero .site-page-hero__inner > p:not(.eyebrow) {
  max-width: 700px;
}

/* Simplified contact-page flow beneath the hero. */
.contact-simple-intro {
  padding: 76px 0 72px;
  background: #fff;
}

.contact-simple-intro .container {
  max-width: 880px;
}

.contact-simple-intro .eyebrow {
  color: var(--contact-blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-simple-intro h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 54px);
}

.contact-simple-intro > .container > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-page-consultation {
  padding-top: 88px;
  padding-bottom: 88px;
}

.contact-page-faq {
  padding-top: 96px;
  padding-bottom: 104px;
}

@media (max-width: 800px) {
  .contact-simple-intro {
    padding: 62px 0 58px;
  }

  .contact-page-consultation {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .contact-page-faq {
    padding-top: 78px;
    padding-bottom: 82px;
  }
}

@media (max-width: 520px) {
  .contact-simple-intro {
    padding: 52px 0 48px;
  }

  .contact-simple-intro h2 {
    font-size: 36px;
  }

  .contact-simple-intro > .container > p:last-child {
    font-size: 16px;
  }
}

.contact-grid-bg {
  background-color: #fff;
  background-image: radial-gradient(circle, rgba(7, 83, 133, .12) .75px, transparent 1px);
  background-size: 22px 22px;
}

.contact-hero {
  display: grid;
  min-height: 410px;
  place-items: center;
  padding: 72px 0 80px;
  border-top: 1px solid rgba(7, 83, 133, .08);
  text-align: center;
}

.contact-hero-inner {
  max-width: 1050px;
}

.contact-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 5vw, 67px);
  line-height: 1.08;
  letter-spacing: -1.6px;
}

.contact-hero p:last-child {
  max-width: 1000px;
  margin: 0 auto;
  color: #50545a;
  font-size: 18px;
  line-height: 1.55;
}

.contact-section,
.contact-form-section {
  padding: 92px 0;
}

.contact-soft {
  background: var(--contact-soft);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.contact-copy h2,
.contact-heading h2 {
  font-size: 55px;
  line-height: 1.12;
}

.contact-copy > p,
.contact-heading > p:last-child {
  color: #50545a;
  font-size: 18px;
  line-height: 1.55;
}

.contact-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 27px;
  padding: 0;
  list-style: none;
}

.contact-check-list li {
  position: relative;
  padding-left: 35px;
  color: #45494f;
  font-size: 17px;
  line-height: 1.5;
}

.contact-check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--contact-blue);
  color: #fff;
  content: "✓";
  font-size: 13px;
  font-weight: 700;
}

.contact-image {
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(6, 19, 55, .12);
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.contact-heading {
  max-width: 920px;
  margin: 0 auto 45px;
}

.contact-heading > p:last-child {
  max-width: 800px;
  margin: 0 auto;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  display: flex;
  min-height: 310px;
  padding: 38px 25px 30px;
  flex-direction: column;
  align-items: center;
  border: 1px solid #d7dbe0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.contact-card:hover {
  border-color: var(--contact-gold);
  box-shadow: 0 14px 34px rgba(6, 19, 55, .09);
  transform: translateY(-5px);
}

.contact-card > span {
  display: grid;
  width: 84px;
  height: 84px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--contact-black);
  color: #fff;
  font-size: 32px;
}

.contact-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.contact-card p {
  margin: 0;
  color: #5b6066;
  font-size: 16px;
  line-height: 1.5;
}

.contact-form-section {
  padding-top: 90px;
}

.contact-form-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(6, 19, 55, .1);
}

.contact-form-shell iframe {
  display: block;
  width: 100%;
  min-height: 980px;
  border: 0;
  background: #fff;
}

.contact-form-fallback {
  margin: 15px 0 3px;
  color: #5b6066;
  text-align: center;
}

.contact-form-fallback a {
  color: var(--contact-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-cta {
  padding: 90px 0;
  background-color: var(--contact-black);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .1) .75px, transparent 1px);
  background-size: 22px 22px;
  color: #fff;
  text-align: center;
}

.contact-cta h2 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 55px;
}

.contact-cta p:not(.eyebrow) {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
}

@media (max-width: 1180px) and (min-width: 801px) {
  .contact-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 800px) {
  .contact-hero {
    min-height: 380px;
    padding: 66px 0 72px;
  }

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

  .contact-section,
  .contact-form-section {
    padding: 72px 0;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-copy h2,
  .contact-heading h2,
  .contact-cta h2 {
    font-size: 44px;
  }

  .contact-image,
  .contact-image img {
    min-height: 450px;
  }

  .contact-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-shell iframe {
    min-height: 1080px;
  }
}

@media (max-width: 520px) {
  .contact-hero {
    min-height: 350px;
    padding: 56px 0 62px;
  }

  .contact-hero h1,
  .contact-copy h2,
  .contact-heading h2,
  .contact-cta h2 {
    font-size: 36px;
  }

  .contact-hero p:last-child,
  .contact-copy > p,
  .contact-heading > p:last-child {
    font-size: 17px;
  }

  .contact-image,
  .contact-image img {
    min-height: 340px;
    height: 340px;
  }

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

  .contact-card {
    min-height: 270px;
  }

  .contact-form-shell {
    padding: 8px;
  }

  .contact-form-shell iframe {
    min-height: 1120px;
  }

  .contact-cta {
    padding: 72px 0;
  }
}

/* Refined contact-page experience. */
.contact-section.contact-soft {
  position: relative;
  overflow: hidden;
  background-color: #f3f5f7;
  background-image: radial-gradient(circle, rgba(7, 83, 133, .1) .7px, transparent 1px);
  background-size: 22px 22px;
}

.contact-section[id],
.contact-form-section[id],
.contact-cta[id] {
  scroll-margin-top: 112px;
}

.contact-section.contact-soft::before {
  position: absolute;
  top: -130px;
  right: -100px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(214, 181, 50, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(214, 181, 50, .045), 0 0 0 76px rgba(7, 83, 133, .035);
  content: "";
}

.contact-split {
  position: relative;
  z-index: 1;
  grid-template-columns: .92fr 1.08fr;
  gap: 54px;
}

.contact-copy {
  padding: 50px 48px 44px;
  border-top: 4px solid var(--contact-gold);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(6, 19, 55, .08);
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-check-list {
  gap: 13px;
  margin: 28px 0 30px;
}

.contact-image {
  position: relative;
  min-height: 640px;
  padding: 12px;
  overflow: visible;
  border: 1px solid rgba(214, 181, 50, .55);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(6, 19, 55, .15);
}

.contact-image img {
  height: 616px;
  min-height: 616px;
  border-radius: 16px;
  object-position: center;
}

.contact-image-caption {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(330px, calc(100% - 68px));
  padding: 22px 24px 21px;
  border-left: 4px solid var(--contact-gold);
  border-radius: 14px;
  background: rgba(6, 19, 55, .94);
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
}

.contact-image-caption span {
  display: flex;
  margin-bottom: 8px;
  gap: 9px;
  align-items: center;
  color: #e4c958;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-image-caption strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.12;
}

.contact-pathways {
  position: relative;
  overflow: hidden;
  background-color: #061337;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .1) .75px, transparent 1px);
  background-size: 22px 22px;
}

.contact-pathways::after {
  position: absolute;
  right: -150px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(214, 181, 50, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .018), 0 0 0 90px rgba(214, 181, 50, .025);
  content: "";
}

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

.contact-pathways .contact-heading .eyebrow {
  color: #e1c44d;
}

.contact-pathways .contact-heading h2 {
  color: #fff;
}

.contact-pathways .contact-heading h2 strong {
  color: #e1c44d;
}

.contact-pathways .contact-heading > p:last-child {
  color: rgba(255, 255, 255, .72);
}

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

.contact-card {
  position: relative;
  min-height: 285px;
  padding: 34px 34px 30px;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-top: 3px solid var(--contact-gold);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
  text-align: left;
}

.contact-card:hover {
  border-color: var(--contact-gold);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
  transform: translateY(-6px);
}

.contact-card > .contact-card-number {
  position: absolute;
  top: 30px;
  right: 31px;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(6, 19, 55, .28);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
}

.contact-card > .contact-card-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--contact-black);
  color: #fff;
  font-size: 28px;
}

.contact-card h3 {
  margin-bottom: 13px;
  font-size: 30px;
  line-height: 1.08;
}

.contact-card p {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.55;
}

.contact-card > .contact-card-link {
  display: inline-flex;
  width: auto;
  height: auto;
  margin: auto 0 0;
  gap: 10px;
  align-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--contact-blue);
  font-size: 15px;
  font-weight: 700;
}

.contact-card-link i {
  transition: transform .25s ease;
}

.contact-card:hover .contact-card-link i {
  transform: translateX(5px);
}

.contact-form-section {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  background-color: #eef1f5;
  background-image: radial-gradient(circle, rgba(7, 83, 133, .1) .7px, transparent 1px);
  background-size: 22px 22px;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
}

.contact-form-intro {
  position: sticky;
  top: 140px;
  padding: 52px 42px 40px;
  overflow: hidden;
  border-radius: 24px;
  background: #061337;
  color: #fff;
  box-shadow: 0 24px 58px rgba(6, 19, 55, .18);
}

.contact-form-intro::after {
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(214, 181, 50, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .025), 0 0 0 60px rgba(214, 181, 50, .025);
  content: "";
}

.contact-form-intro > * {
  position: relative;
  z-index: 1;
}

.contact-form-intro .eyebrow {
  color: #e1c44d;
}

.contact-form-intro h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 51px;
  line-height: 1.04;
}

.contact-form-intro h2 strong {
  display: block;
  color: #e1c44d;
}

.contact-form-intro > p:not(.eyebrow):not(.contact-form-note) {
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
  line-height: 1.6;
}

.contact-form-points {
  margin: 32px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.contact-form-points > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.contact-form-points span {
  color: #e1c44d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.contact-form-points p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.contact-form-note {
  display: flex;
  margin: 0;
  padding: 15px 16px;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid rgba(214, 181, 50, .24);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.45;
}

.contact-form-note i {
  margin-top: 3px;
  color: #e1c44d;
}

.contact-form-shell {
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 19, 55, .09);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(6, 19, 55, .14);
}

.contact-form-toolbar {
  display: flex;
  min-height: 72px;
  padding: 18px 24px;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e4e7eb;
  background: #fff;
}

.contact-form-toolbar span {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #061337;
  font-weight: 700;
}

.contact-form-toolbar span i {
  color: var(--contact-blue);
}

.contact-form-toolbar a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--contact-blue);
  font-size: 14px;
  font-weight: 700;
}

.contact-form-embed {
  overflow: hidden;
  background: #fff;
}

.contact-form-shell iframe {
  display: block;
  width: 100%;
  height: 1180px;
  min-height: 820px;
  border: 0;
  background: #fff;
  transition: height .25s ease;
}

.contact-form-fallback {
  margin: 0;
  padding: 18px 24px 21px;
  border-top: 1px solid #e4e7eb;
  background: #f9fafb;
  font-size: 14px;
}

@media (max-width: 980px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-intro {
    position: relative;
    top: auto;
  }
}

@media (max-width: 800px) {
  .contact-section[id],
  .contact-form-section[id],
  .contact-cta[id] {
    scroll-margin-top: 92px;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-copy {
    padding: 42px 36px 37px;
  }

  .contact-image,
  .contact-image img {
    min-height: 520px;
  }

  .contact-image img {
    height: 520px;
  }

  .contact-card {
    min-height: 300px;
  }

  .contact-form-section {
    padding: 78px 0;
  }

  .contact-form-shell iframe {
    height: 1160px;
    min-height: 840px;
  }
}

@media (max-width: 620px) {
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 270px;
  }
}

@media (max-width: 520px) {
  .contact-copy {
    padding: 34px 24px 30px;
    border-radius: 18px;
  }

  .contact-image {
    min-height: 420px;
    padding: 8px;
    border-radius: 19px;
  }

  .contact-image img {
    height: 404px;
    min-height: 404px;
    border-radius: 13px;
  }

  .contact-image-caption {
    right: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    padding: 18px 19px;
  }

  .contact-image-caption strong {
    font-size: 22px;
  }

  .contact-card {
    padding: 30px 25px 27px;
  }

  .contact-card h3 {
    font-size: 27px;
  }

  .contact-form-intro {
    padding: 38px 25px 30px;
    border-radius: 19px;
  }

  .contact-form-intro h2 {
    font-size: 40px;
  }

  .contact-form-shell {
    border-radius: 19px;
  }

  .contact-form-toolbar {
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-shell iframe {
    height: 1200px;
    min-height: 860px;
  }

  .contact-form-fallback {
    padding: 17px 18px 20px;
  }
}

/* Premium closing call-to-action. */
.contact-cta {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(214, 181, 50, .16), transparent 30%),
    linear-gradient(135deg, #030814 0%, #061337 58%, #082b4b 100%);
  text-align: left;
}

.contact-cta::before {
  position: absolute;
  top: -190px;
  right: -120px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(214, 181, 50, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, .018), 0 0 0 96px rgba(214, 181, 50, .025);
  content: "";
}

.contact-cta::after {
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  content: "";
}

.contact-cta .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 62px 68px;
  gap: 0 70px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 181, 50, .35);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.contact-cta .container::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(180deg, #f2d865, #b78b16);
  content: "";
}

.contact-cta .container::after {
  position: absolute;
  top: -100px;
  right: 180px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
  content: "";
}

.contact-cta .eyebrow,
.contact-cta h2,
.contact-cta p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  grid-column: 1;
}

.contact-cta .eyebrow {
  margin-bottom: 14px;
  color: #e4c958;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-cta h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(46px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -1px;
}

.contact-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 18px;
  line-height: 1.6;
}

.contact-cta .button {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / 4;
  min-width: 280px;
  min-height: 62px;
  padding: 0 34px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #fff;
  color: #061337;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.contact-cta .button::after {
  margin-left: 14px;
  content: "\2192";
  font-size: 21px;
  line-height: 1;
  transition: transform .25s ease;
}

.contact-cta .button:hover {
  border-color: #e4c958;
  background: #e4c958;
  color: #061337;
  transform: translateY(-3px);
}

.contact-cta .button:hover::after {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .contact-cta {
    padding: 82px 0;
  }

  .contact-cta .container {
    grid-template-columns: 1fr;
    padding: 52px 48px;
    gap: 0;
  }

  .contact-cta .button {
    grid-column: 1;
    grid-row: auto;
    width: fit-content;
    margin-top: 32px;
  }
}

@media (max-width: 520px) {
  .contact-cta {
    padding: 66px 0;
    text-align: center;
  }

  .contact-cta .container {
    padding: 43px 24px 38px;
    border-radius: 21px;
  }

  .contact-cta .container::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 4px;
  }

  .contact-cta h2 {
    font-size: 39px;
    line-height: 1.06;
  }

  .contact-cta p:not(.eyebrow) {
    font-size: 17px;
  }

  .contact-cta .button {
    width: 100%;
    min-width: 0;
    margin-top: 28px;
  }
}
