:root {
  --contact-blue: #1265e8;
  --contact-navy: #172f6b;
  --contact-muted: #66749a;
  --contact-line: #cdd8e9;
}

body { background: #fff; }

.contact-hero {
  position: relative;
  overflow: clip;
  min-height: 760px;
  padding: 142px 0 0;
  background: #f7f8fa;
}

.contact-hero__inner {
  width: min(1480px, calc(100% - 80px));
  min-height: 618px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, .92fr);
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  margin-inline: auto;
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 20px 0 80px 45px;
}

.contact-copy h1 {
  margin: 0 0 44px;
  color: var(--contact-navy);
  font-size: clamp(72px, 7vw, 110px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.065em;
}

.contact-copy h2 {
  margin: 0;
  color: var(--contact-navy);
  font-size: clamp(36px, 3.55vw, 56px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.055em;
}

.contact-copy p {
  max-width: 610px;
  margin: 30px 0 0;
  color: #415681;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.contact-shape,
.contact-form-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-shape--yellow { top: 92px; left: 4.5%; width: 38px; height: 38px; background: #ffd21f; }
.contact-shape--red { left: -72px; bottom: -72px; width: 175px; height: 175px; background: #ef3968; }

.contact-form-wrap {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.contact-form-shape {
  z-index: 0;
  top: 28px;
  left: -78px;
  width: 142px;
  height: 142px;
  background: #29c8bd;
}

.contact-form {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 618px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 28px 26px;
  padding: 62px 72px;
  background: linear-gradient(145deg, #1872f4, #0b56cf);
  color: #fff;
  box-shadow: 0 30px 70px rgba(11, 86, 207, .16);
}

.profile-options {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 35px;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

.profile-options label,
.privacy-check {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.profile-options input,
.privacy-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: #ffd21f;
}

.profile-options span,
.privacy-check span { color: #fff; font-size: 12px; font-weight: 600; }

.form-field { display: grid; gap: 9px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field > span { color: #fff; font-size: 12px; font-weight: 700; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.form-field input,
.form-field select { min-height: 35px; }
.form-field textarea { min-height: 82px; resize: vertical; }
.form-field select option { color: #172f6b; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: #ffd21f; box-shadow: 0 2px 0 #ffd21f; }

.privacy-check { align-items: flex-start; margin-top: 3px; }
.privacy-check a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 3px;
}
.privacy-check a:hover { color: #ffd21f; }
.privacy-check a:focus-visible { outline: 2px solid #ffd21f; outline-offset: 3px; }

.contact-submit {
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b56cf;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-submit:hover { transform: translateY(-2px); background: #f2f7ff; }
.contact-submit:focus-visible { outline: 3px solid #ffd21f; outline-offset: 4px; }
.contact-submit[aria-busy="true"] { cursor: progress; opacity: .82; }
.contact-form__status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}

.faq-section { padding: 105px 0 72px; background: #fff; }
.faq-shell { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.faq-shell > h2 {
  margin: 0 0 54px;
  color: var(--contact-navy);
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  text-align: center;
}

.faq-list { border-bottom: 1px solid var(--contact-line); }
.faq-item { border-top: 1px solid var(--contact-line); }
.faq-item:first-child { border-top: 0; }
.faq-item h3 { margin: 0; }

.faq-question {
  width: 100%;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 8px;
  border: 0;
  background: transparent;
  color: var(--contact-navy);
  font: inherit;
  font-size: clamp(21px, 2.15vw, 31px);
  font-weight: 700;
  line-height: 1.22;
  text-align: left;
  cursor: pointer;
}

.faq-question:focus-visible { outline: 3px solid #ffd21f; outline-offset: -3px; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: 0 0 28px; }
.faq-icon::before,
.faq-icon::after { position: absolute; top: 13px; left: 2px; width: 24px; height: 4px; content: ""; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); transition: opacity 180ms ease, transform 180ms ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { opacity: 0; transform: rotate(0); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease;
  opacity: 0;
}

.faq-answer > div { min-height: 0; overflow: hidden; }
.faq-answer p {
  max-width: 1160px;
  margin: 0;
  padding: 0 54px 28px 18px;
  color: #7b89a8;
  font-size: 16px;
  line-height: 1.45;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; opacity: 1; }

.services-marquee {
  position: relative;
  overflow: hidden;
  background: #0b56cf;
  color: rgba(137, 188, 255, .72);
}

.services-marquee__track {
  width: max-content;
  display: flex;
  animation: marquee-services 34s linear infinite;
  will-change: transform;
}

.services-marquee.is-paused .services-marquee__track { animation-play-state: paused; will-change: auto; }
.services-marquee__group { display: flex; align-items: center; flex-shrink: 0; padding: 36px 0; }
.services-marquee__group span { padding: 0 28px; font-size: clamp(54px, 6vw, 94px); font-weight: 800; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.services-marquee__group i { font-size: 60px; font-style: normal; line-height: 1; }

.services-marquee__toggle {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(8, 72, 187, .82);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

@keyframes marquee-services { to { transform: translateX(-50%); } }

@media (max-width: 1050px) {
  .contact-hero__inner { grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr); gap: 40px; }
  .contact-copy { padding-left: 0; }
  .contact-form { padding: 56px 45px; }
}

@media (max-width: 820px) {
  .contact-hero { padding-top: 110px; }
  .contact-hero__inner { width: calc(100% - 40px); display: block; }
  .contact-copy { max-width: 680px; padding: 62px 0 72px; }
  .contact-copy h1 { margin-bottom: 34px; font-size: clamp(62px, 16vw, 92px); }
  .contact-copy h2 { font-size: clamp(37px, 10vw, 54px); }
  .contact-copy p { font-size: 16px; }
  .contact-copy p br { display: none; }
  .contact-form-wrap { margin-inline: -20px; }
  .contact-form-shape { top: -58px; left: auto; right: 18px; }
  .contact-form { min-height: 0; padding: 56px 40px; }
  .contact-shape--yellow { top: 120px; right: 24px; left: auto; }
  .contact-shape--red { display: none; }
  .faq-section { padding: 78px 0 58px; }
  .faq-shell { width: calc(100% - 40px); }
  .faq-shell > h2 { margin-bottom: 42px; text-align: left; }
  .faq-question { min-height: 88px; font-size: 21px; }
  .faq-answer p { padding-left: 8px; padding-right: 32px; }
  .services-marquee__group { padding: 30px 0; }
  .services-marquee__group span { font-size: clamp(42px, 12vw, 68px); padding-inline: 20px; }
}

@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; padding: 48px 24px; gap: 24px; }
  .form-field--full { grid-column: auto; }
  .profile-options { grid-column: auto; display: grid; gap: 16px; }
  .contact-copy { padding-top: 48px; }
  .contact-copy h1 { font-size: 58px; }
  .contact-copy h2 { font-size: 38px; }
  .faq-shell > h2 { font-size: 44px; }
  .faq-question { gap: 18px; padding-inline: 2px; font-size: 18px; }
  .faq-answer p { padding: 0 28px 24px 2px; font-size: 14px; }
  .services-marquee__toggle { top: 8px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-submit { transition: background-color 150ms ease; }
  .contact-submit:hover { transform: none; }
  .faq-answer { transition: opacity 150ms ease; }
  .faq-icon::after { transition: opacity 150ms ease; }
  .services-marquee__track { animation: none; transform: none; will-change: auto; }
  .services-marquee__group[aria-hidden="true"] { display: none; }
  .services-marquee__toggle { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header .header-inner { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header .header-inner { background: rgba(255, 255, 255, .96); }
}
