/* Contact page — differences and unique components only */

.page-contact .global-nav > .nav-item--contact > a {
  box-shadow: 0 0 0 3px rgba(11,114,219,.13);
}

.contact-hero {
  min-height: 680px;
  background: radial-gradient(circle at 12% 20%, rgba(91,181,247,.24), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(21,119,222,.26), transparent 36%),
    linear-gradient(135deg, #031a31 0%, #063c7a 55%, #0b72db 100%);
}

.contact-hero::before {
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.contact-hero__inner {
  padding: 98px 0 90px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 54px;
}

.contact-hero__title {
  font-size: clamp(2.55rem, 3.55vw, 3.4rem);
}

.contact-hero__lead {
  max-width: 690px;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.contact-hero__visual::before {
  inset: 28px 18px 38px 40px;
}

.contact-hero__frame--main {
  inset: 55px 0 32px 60px;
}

.contact-hero__frame--main::after {
  background: linear-gradient(180deg, transparent 56%, rgba(2,19,34,.34));
}

.contact-hero__frame--top {
  right: 18px;
  width: 44%;
}

.contact-hero__frame--bottom {
  width: 42%;
}

.contact-hero__badge {
  right: 20px;
  bottom: 14px;
  display: flex;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(3,30,53,.88);
}

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

.contact-hero__badge strong {
  font-size: .91rem;
}

.contact-hero__badge span span {
  margin-top: 2px;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  letter-spacing: .06em;
}

.contact-intro {
  padding: 112px 0 105px;
}

.contact-intro::before {
  content: "CONTACT";
}

.contact-hints {
  position: relative;
  width: min(var(--container-width), calc(100% - 40px));
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-hint {
  position: relative;
  min-height: 220px;
  padding: 27px 25px;
  overflow: hidden;
  border: 1px solid #d8e7f5;
  border-radius: 24px;
  background: linear-gradient(150deg, #fff 0%, #f5faff 100%);
  box-shadow: 0 18px 42px rgba(6,60,122,.07);
}

.contact-hint::after {
  content: attr(data-number);
}

.contact-hint > span {
  display: block;
  color: var(--color-primary);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.contact-hint h3 {
  margin: 30px 0 0;
  color: var(--color-primary-deep);
  font-size: 1.2rem;
}

.contact-hint p {
  margin: 12px 0 0;
  color: #5c7084;
  line-height: 1.8;
  font-size: .92rem;
}

.contact-form-section {
  padding: 110px 0;
  color: #fff;
  background: radial-gradient(circle at 82% 12%, rgba(56,151,237,.18), transparent 34%), linear-gradient(145deg, #03182c, #062f5d 62%, #063c7a);
}

.contact-form-section__inner {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.45fr);
  gap: 62px;
  align-items: start;
}

.contact-form-guide {
  position: sticky;
  top: 112px;
}

.contact-form-guide .section__label {
  color: #8fd0ff;
}

.contact-form-guide h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.28;
  letter-spacing: -.045em;
}

.contact-form-guide > p:not(.section__label) {
  margin: 22px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
}

.contact-form-guide__steps {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.contact-form-guide__steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
}

.contact-form-guide__steps > li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(143,208,255,.28);
  border-radius: 14px;
  color: #9dd9ff;
  background: rgba(255,255,255,.05);
  font-size: .72rem;
  font-weight: 900;
}

.contact-form-guide__steps strong, .contact-form-guide__steps small {
  display: block;
}

.contact-form-guide__steps strong {
  font-size: .95rem;
}

.contact-form-guide__steps small {
  margin-top: 3px;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
}

.contact-form-guide__direct {
  margin-top: 35px;
  padding: 20px;
  border: 1px solid rgba(143,208,255,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.contact-form-guide__direct span {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .78rem;
}

.contact-form-guide__direct a {
  display: inline-block;
  margin-top: 7px;
  color: #9dd9ff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form {
  color: #172b3f;
  padding: 38px;
  border: 1px solid rgba(143,208,255,.25);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}

.contact-form__notice {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
  padding: 15px 17px;
  border: 1px solid #d8e8f7;
  border-radius: 14px;
  background: #f4f9fe;
}

.contact-form__notice p {
  margin: 0;
  color: #50677d;
  font-size: .9rem;
}

.contact-required, .contact-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 900;
  line-height: 1.2;
  vertical-align: middle;
}

.contact-required {
  color: #fff;
  background: #0b72db;
}

.contact-optional {
  color: #597087;
  background: #eaf1f7;
}

.contact-form__fieldset {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.contact-form__fieldset legend {
  margin-bottom: 13px;
  color: var(--color-primary-deep);
  font-size: .96rem;
  font-weight: 900;
}

.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-choice {
  position: relative;
  cursor: pointer;
}

.contact-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-choice > span {
  position: relative;
  display: block;
  min-height: 82px;
  padding: 17px 16px 15px 48px;
  border: 1px solid #d4e2ef;
  border-radius: 15px;
  background: #fff;
  transition: .2s ease;
}

.contact-choice > span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 19px;
  height: 19px;
  border: 2px solid #b6c8d8;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.contact-choice strong, .contact-choice small {
  display: block;
}

.contact-choice strong {
  color: #15324f;
  font-size: .92rem;
}

.contact-choice small {
  margin-top: 5px;
  color: #6b7f92;
  font-size: .76rem;
  line-height: 1.45;
}

.contact-choice input:checked + span {
  border-color: #0b72db;
  background: #f0f8ff;
  box-shadow: 0 0 0 3px rgba(11,114,219,.1);
}

.contact-choice input:checked + span::before {
  border-color: #0b72db;
  background: #0b72db;
}

.contact-choice input:focus-visible + span {
  outline: 3px solid rgba(11,114,219,.26);
  outline-offset: 2px;
}

.contact-form__grid {
  display: grid;
  gap: 18px;
}

.contact-form__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  margin-bottom: 23px;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary-deep);
  font-size: .94rem;
  font-weight: 900;
}

.contact-field input, .contact-field textarea, .contact-field select {
  width: 100%;
  border: 1px solid #ceddea;
  border-radius: 13px;
  padding: 14px 15px;
  color: #17324c;
  font: inherit;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-field input::placeholder, .contact-field textarea::placeholder {
  color: #9aaaba;
}

.contact-field input:hover, .contact-field textarea:hover, .contact-field select:hover {
  border-color: #aac5dc;
}

.contact-field input:focus, .contact-field textarea:focus, .contact-field select:focus {
  outline: 0;
  border-color: #0b72db;
  box-shadow: 0 0 0 4px rgba(11,114,219,.11);
  background: #fbfdff;
}

.contact-field textarea {
  min-height: 185px;
  resize: vertical;
  line-height: 1.75;
}

.contact-field__help {
  margin: 8px 0 0;
  color: #718599;
  font-size: .78rem;
  line-height: 1.6;
}

.contact-privacy {
  margin-top: 5px;
  padding: 22px;
  border: 1px solid #d8e5f0;
  border-radius: 17px;
  background: #f7fafc;
}

.contact-privacy strong {
  color: #17324c;
}

.contact-privacy p {
  margin: 7px 0 0;
  color: #60778d;
  font-size: .86rem;
  line-height: 1.7;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: #29445e;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.contact-consent input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: #0b72db;
}

.contact-form__submit {
  margin-top: 30px;
  text-align: center;
}

.contact-form__submit .btn {
  min-width: 270px;
  border: 0;
  cursor: pointer;
}

.contact-form__submit p {
  margin: 11px 0 0;
  color: #718599;
  font-size: .78rem;
}

.contact-after {
  position: relative;
  padding: 110px 0 112px;
  overflow: hidden;
  background: #f5f9fd;
}

.contact-after::before {
  content: "NEXT STEP";
  position: absolute;
  right: -20px;
  top: 0;
  color: rgba(6,60,122,.04);
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 900;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.contact-after__inner {
  position: relative;
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
}

.contact-after__header {
  max-width: 700px;
}

.contact-after__header h2 {
  margin: 0;
  color: var(--color-primary-deep);
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  letter-spacing: -.045em;
}

.contact-after__header > p:not(.section__label) {
  margin: 18px 0 0;
  color: #5c7084;
  line-height: 1.85;
}

.contact-after__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-after__grid article {
  position: relative;
  min-height: 230px;
  padding: 29px 27px;
  overflow: hidden;
  border: 1px solid #d8e7f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(6,60,122,.06);
}

.contact-after__grid article > span {
  display: block;
  color: #0b72db;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.contact-after__grid h3 {
  margin: 31px 0 0;
  color: #12365b;
  font-size: 1.25rem;
}

.contact-after__grid p {
  margin: 12px 0 0;
  color: #61758a;
  line-height: 1.8;
  font-size: .92rem;
}

.contact-after__link {
  margin-top: 30px;
  text-align: right;
}

.contact-after__link a {
  color: #0b72db;
  font-weight: 900;
}

.contact-after__link a span {
  margin-left: 8px;
}

@media (max-width: 1180px) {
    .contact-hero__inner {
      gap: 34px;
      grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    }

    .contact-hero__title {
      font-size: clamp(2.35rem, 4vw, 3rem);
    }

    .contact-hero__visual {
      min-height: 450px;
    }

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

@media (max-width: 960px) {
    .contact-hero {
      min-height: auto;
    }

    .contact-hero__inner {
      padding: 80px 0 72px;
      grid-template-columns: 1fr;
    }

    .contact-hero__copy {
      max-width: 760px;
    }

    .contact-hero__visual {
      width: min(700px, 100%);
      min-height: 460px;
      margin: 8px auto 0;
    }

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

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

    .contact-form-guide {
      position: static;
      max-width: 720px;
    }

    .contact-form-guide__steps {
      grid-template-columns: repeat(3, 1fr);
    }

    .contact-form-guide__steps li {
      grid-template-columns: 38px 1fr;
    }
}

@media (max-width: 720px) {
    .contact-hero__inner {
      width: min(100% - 28px, var(--container-width));
      padding: 64px 0 58px;
    }

    .contact-hero__eyebrow {
      font-size: .67rem;
      letter-spacing: .13em;
    }

    .contact-hero__title {
      font-size: clamp(2.05rem, 10vw, 2.65rem);
      line-height: 1.13;
    }

    .contact-hero__title-line {
      width: auto;
      white-space: normal;
    }

    .contact-hero__lead {
      font-size: .96rem;
      line-height: 1.85;
    }

    .contact-hero__actions {
      display: grid;
    }

    .contact-hero__visual {
      min-height: 360px;
    }

    .contact-hero__visual::before {
      inset: 24px 8px 30px 28px;
      border-radius: 26px;
    }

    .contact-hero__frame--main {
      inset: 42px 0 22px 34px;
      border-radius: 22px;
    }

    .contact-hero__frame--top {
      right: 8px;
      width: 47%;
      height: 34%;
      border-radius: 16px;
    }

    .contact-hero__frame--bottom {
      width: 45%;
      height: 36%;
      border-radius: 16px;
    }

    .contact-hero__badge {
      right: 8px;
      bottom: 5px;
      padding: 11px 13px;
      border-radius: 15px;
    }

    .contact-hero__badge-icon {
      width: 36px;
      height: 36px;
    }

    .contact-hero__badge strong {
      font-size: .78rem;
    }

    .contact-hero__badge span span {
      font-size: .62rem;
    }

    .contact-intro {
      padding: 82px 0 76px;
    }

    .contact-intro__inner, .contact-hints, .contact-form-section__inner, .contact-after__inner {
      width: min(100% - 28px, var(--container-width));
    }

    .contact-intro__title {
      font-size: clamp(1.8rem, 8.5vw, 2.45rem);
    }

    .contact-hints {
      margin-top: 45px;
      grid-template-columns: 1fr;
    }

    .contact-hint {
      min-height: 0;
    }

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

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

    .contact-form {
      padding: 26px 20px;
      border-radius: 22px;
    }

    .contact-choice-grid, .contact-form__grid--two {
      grid-template-columns: 1fr;
    }

    .contact-choice > span {
      min-height: 0;
    }

    .contact-form__submit .btn {
      min-width: 0;
      width: 100%;
    }

    .contact-after {
      padding: 80px 0;
    }

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

    .contact-after__grid article {
      min-height: 0;
    }

    .contact-after__link {
      text-align: left;
    }
}

@media (max-width: 420px) {
    .contact-hero__visual {
      min-height: 315px;
    }

    .contact-hero__badge {
      left: 42px;
      right: 5px;
    }

    .contact-hero__badge span span {
      display: none;
    }

    .contact-form__notice {
      align-items: flex-start;
    }
}

/* Contact form states, validation and bot protection */
.contact-form-guide__steps li.is-current > span {
  color: #063c7a;
  border-color: #9dd9ff;
  background: #9dd9ff;
  box-shadow: 0 0 0 4px rgba(157,217,255,.12);
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-error-summary {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid #efb4b4;
  border-radius: 14px;
  color: #8f1f1f;
  background: #fff4f4;
}

.contact-error-summary strong {
  display: block;
}

.contact-error-summary ul {
  margin: 8px 0 0;
  padding-left: 1.25em;
  line-height: 1.7;
}

.contact-field__error {
  margin: 7px 0 0;
  color: #b3261e;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"],
.contact-field select[aria-invalid="true"] {
  border-color: #d65757;
  background: #fffafa;
}

.contact-turnstile-wrap {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #d8e5f0;
  border-radius: 15px;
  background: #f8fbfe;
}

.contact-turnstile-wrap > p:last-child {
  margin: 9px 0 0;
  color: #718599;
  font-size: .75rem;
  line-height: 1.5;
}

.contact-form__submit .btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.contact-confirm__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: #0b72db;
  font-size: .72rem;
  font-weight: 900;
}

.contact-confirm__list {
  margin: 0;
  border-top: 1px solid #dce7f0;
}

.contact-confirm__list > div {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid #e1eaf2;
}

.contact-confirm__list dt {
  color: #4c667e;
  font-size: .86rem;
  font-weight: 900;
}

.contact-confirm__list dd {
  margin: 0;
  color: #17324c;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.contact-confirm__message dd {
  white-space: normal;
}

.contact-confirm__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.contact-confirm__actions .btn {
  min-width: 220px;
  border: 0;
  cursor: pointer;
}

.contact-btn--secondary {
  color: #0b62ba;
  border: 1px solid #9fc6e8 !important;
  background: #fff;
}

.contact-btn--secondary:hover {
  background: #eef7ff;
}

.contact-confirm__note {
  margin: 12px 0 0;
  color: #718599;
  font-size: .78rem;
  text-align: center;
}

.contact-complete {
  text-align: center;
}

.contact-complete__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0b72db, #09539d);
  box-shadow: 0 14px 30px rgba(11,114,219,.22);
}

.contact-complete__icon svg {
  width: 38px;
  height: 38px;
}

.contact-complete__label {
  margin: 0;
  color: #0b72db;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.contact-complete h3 {
  margin: 10px 0 0;
  color: #12365b;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.contact-complete > p:not(.contact-complete__label) {
  margin: 16px auto 0;
  max-width: 630px;
  color: #586f84;
  line-height: 1.8;
}

.contact-complete__reference {
  width: min(420px, 100%);
  margin: 26px auto;
  padding: 17px;
  border: 1px solid #d9e7f3;
  border-radius: 14px;
  background: #f5faff;
}

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

.contact-complete__reference span {
  color: #667f95;
  font-size: .76rem;
}

.contact-complete__reference strong {
  margin-top: 5px;
  color: #0b4f91;
  font-size: 1rem;
  letter-spacing: .04em;
}

.contact-complete__warning {
  margin: 22px auto 0;
  max-width: 650px;
  padding: 15px 17px;
  border: 1px solid #e8cb87;
  border-radius: 13px;
  color: #785400;
  background: #fff9e8;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .contact-confirm__list > div {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 16px 0;
  }

  .contact-confirm__actions {
    flex-direction: column-reverse;
  }

  .contact-confirm__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .contact-turnstile-wrap {
    overflow-x: auto;
  }
}
