:root {
  --contact-navy: #061a2c;
  --contact-ink: #0b2340;
  --contact-blue: #0b5597;
  --contact-muted: #5e7082;
  --contact-line: #dce4eb;
  --contact-yellow: #ffb600;
}

.contact-page {
  background: #fff;
  color: var(--contact-ink);
}

.contact-hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--contact-navy);
  color: #fff;
}

.contact-hero::after,
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

.contact-hero::after {
  z-index: 0;
  background: url("../media/images/Partnerships.png") center / cover no-repeat;
}

.contact-hero::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 26, 44, .98) 0%, rgba(6, 26, 44, .93) 43%, rgba(6, 26, 44, .38) 78%, rgba(6, 26, 44, .2) 100%);
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 68px, 1320px);
  margin: 0 auto;
  padding: 42px 0 30px;
}

.contact-eyebrow {
  margin: 0 0 7px;
  color: var(--contact-yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 54px;
  line-height: 1.05;
}

.contact-hero-copy {
  max-width: 600px;
  margin: 13px 0 0;
  color: #d7e3ec;
  font-size: 16px;
  line-height: 1.55;
}

.contact-assurances {
  display: grid;
  max-width: 910px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.contact-assurance {
  display: grid;
  min-width: 0;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.contact-assurance-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
}

.contact-assurance-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.contact-assurance strong,
.contact-assurance small {
  display: block;
  overflow-wrap: anywhere;
}

.contact-assurance strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}

.contact-assurance small {
  margin-top: 3px;
  color: #c4d2dc;
  font-size: 11px;
  line-height: 1.35;
}

.contact-content {
  padding: 20px 34px 26px;
  background: #fff;
}

.contact-panels {
  display: grid;
  width: min(100%, 1320px);
  margin: 0 auto;
  grid-template-columns: minmax(420px, .78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.contact-panel {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 29, 48, .05);
}

.contact-panel-heading {
  margin-bottom: 20px;
}

.contact-panel-heading h2 {
  margin: 0;
  color: var(--contact-ink);
  font-size: 17px;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-panel-heading > span {
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 10px;
  background: var(--contact-yellow);
}

.contact-info-content {
  min-height: 0;
}

.contact-info-list {
  display: grid;
  align-content: start;
  gap: 16px;
}

.contact-info-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.contact-info-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
}

.contact-info-icon img {
  width: auto;
  height: auto;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.contact-info-row strong,
.contact-info-row a,
.contact-info-row p {
  display: block;
  overflow-wrap: anywhere;
}

.contact-info-row strong {
  margin: 1px 0 3px;
  color: var(--contact-ink);
  font-size: 12px;
  line-height: 1.25;
}

.contact-info-row a,
.contact-info-row p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 11px;
  line-height: 1.55;
}

.contact-info-row a:hover {
  color: var(--contact-blue);
}

.contact-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-inquiry-form label {
  display: block;
  min-width: 0;
  color: var(--contact-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-inquiry-form .required-mark {
  color: #c93838;
}

.contact-inquiry-form input,
.contact-inquiry-form select,
.contact-inquiry-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  border: 1px solid #cdd8e1;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  color: var(--contact-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-inquiry-form input,
.contact-inquiry-form select {
  height: 39px;
  padding: 0 11px;
}

.contact-inquiry-form textarea {
  min-height: 74px;
  padding: 10px 11px;
  resize: vertical;
}

.contact-inquiry-form input:focus,
.contact-inquiry-form select:focus,
.contact-inquiry-form textarea:focus {
  border-color: var(--contact-blue);
  box-shadow: 0 0 0 3px rgba(11, 85, 151, .1);
}

.contact-inquiry-form input::placeholder,
.contact-inquiry-form textarea::placeholder,
.contact-inquiry-form select:invalid {
  color: #8997a4;
}

.contact-inquiry-form .full {
  grid-column: 1 / -1;
}

.contact-inquiry-form .contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--contact-muted);
  font-size: 10px;
  font-weight: 600;
}

.contact-inquiry-form .contact-consent input {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin: 0;
  accent-color: var(--contact-blue);
}

.contact-submit {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 0;
  border-radius: 5px;
  background: var(--contact-yellow);
  color: #101820;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-submit img {
  width: 16px;
  height: 14px;
  flex: 0 0 auto;
  object-fit: contain;
}

.contact-submit:hover {
  transform: translateY(-1px);
  background: #ffc21f;
  box-shadow: 0 8px 18px rgba(255, 182, 0, .24);
}

.contact-submit:focus-visible {
  outline: 3px solid rgba(11, 85, 151, .35);
  outline-offset: 2px;
}

html[dir="rtl"] .contact-hero::after {
  transform: scaleX(-1);
}

html[dir="rtl"] .contact-hero::before {
  background: linear-gradient(270deg, rgba(6, 26, 44, .98) 0%, rgba(6, 26, 44, .93) 43%, rgba(6, 26, 44, .38) 78%, rgba(6, 26, 44, .2) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .contact-hero-inner > .contact-eyebrow,
  .contact-hero-inner > h1,
  .contact-hero-inner > .contact-hero-copy,
  .contact-hero-inner > .contact-assurances {
    opacity: 0;
    animation: contactHeroIn .65s ease forwards;
  }

  .contact-hero-inner > h1 { animation-delay: .08s; }
  .contact-hero-inner > .contact-hero-copy { animation-delay: .16s; }
  .contact-hero-inner > .contact-assurances { animation-delay: .24s; }
}

@keyframes contactHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 820px) {
  .contact-hero-inner {
    width: min(100% - 44px, 1320px);
  }

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

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

  .contact-content {
    padding-right: 22px;
    padding-left: 22px;
  }
}

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

  .contact-hero::after {
    background-position: 69% center;
  }

  .contact-hero::before,
  html[dir="rtl"] .contact-hero::before {
    background: rgba(6, 26, 44, .88);
  }

  .contact-hero-inner {
    width: calc(100% - 36px);
    padding: 38px 0 34px;
  }

  .contact-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .contact-hero-copy {
    font-size: 15px;
  }

  .contact-assurances {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 26px;
  }

  .contact-content {
    padding: 16px 18px 24px;
  }

  .contact-panel {
    padding: 20px 18px;
  }

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

  .contact-inquiry-form > * {
    grid-column: 1;
  }
}

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

  .contact-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .contact-panel {
    padding-right: 15px;
    padding-left: 15px;
  }
}
