.contact-page {
  --contact-ink: #101a39;
  --contact-muted: #69799c;
  --contact-blue: #0967f8;
  --contact-line: #e5edf9;
  background: #f8fbff;
}

.contact-main {
  min-height: calc(100svh - 66px);
  padding-bottom: 28px;
  background:
    radial-gradient(ellipse at 76% 10%, rgba(222, 237, 255, .9), transparent 36%),
    linear-gradient(180deg, #f7faff 0%, #fff 72%);
}

.contact-hero {
  position: relative;
  height: 252px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 74% 58%, rgba(221, 235, 255, .74), transparent 42%),
    linear-gradient(180deg, rgba(249, 251, 255, .86), rgba(255,255,255,0));
}

.contact-hero-inner {
  position: relative;
  width: min(calc(100% - 64px), 1266px);
  height: 100%;
  margin: 0 auto;
}

.contact-hero-copy { position: relative; z-index: 2; padding-top: 43px; }
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 15px;
  padding: 0 16px;
  border-radius: 999px;
  background: #e3edff;
  color: #0864f6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--contact-ink);
  font: 800 clamp(42px, 4.2vw, 56px)/1.12 "Manrope", sans-serif;
  letter-spacing: -.055em;
}

.contact-hero-copy > p:last-child {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--contact-muted);
  font: 600 22px/1.42 "Manrope", sans-serif;
  letter-spacing: -.028em;
}

.contact-hero-art { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 540px; }
.contact-portrait-halo {
  position: absolute;
  right: 31px;
  bottom: -87px;
  width: 375px;
  height: 294px;
  border-radius: 58% 49% 0 0;
  background: linear-gradient(140deg, rgba(208, 224, 255, .7), rgba(226, 238, 255, .1));
  transform: rotate(-8deg);
}

.contact-hero-art img {
  position: absolute;
  right: 31px;
  bottom: -8px;
  width: 278px;
  height: 286px;
  object-fit: contain;
  object-position: center bottom;
}

.contact-note {
  position: absolute;
  z-index: 2;
  top: 62px;
  left: 0;
  color: #0868f7;
  font: 700 19px/1.15 "Manrope", sans-serif;
  letter-spacing: -.04em;
  transform: rotate(-8deg);
}

.contact-note svg { display: block; width: 62px; height: 42px; margin: 4px 0 0 68px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

.contact-content { width: min(calc(100% - 64px), 1318px); margin: 0 auto; }
.contact-columns { display: grid; grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr); align-items: stretch; gap: 15px; }
.contact-card,
.quick-help-card {
  border: 1px solid var(--contact-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 24px rgba(54, 89, 152, .035);
}

.message-card { min-height: 524px; padding: 24px 29px 21px; }
.contact-card-heading { display: flex; align-items: center; gap: 21px; margin-bottom: 23px; }
.contact-icon { display: grid; width: 62px; height: 62px; flex: 0 0 62px; place-items: center; border-radius: 17px; }
.contact-icon-blue { background: #e8f0ff; color: #0867f8; }
.contact-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h2,
.quick-help-card h2 { margin: 0; color: var(--contact-ink); font: 800 21px/1.2 "Manrope", sans-serif; letter-spacing: -.04em; }
.contact-card-heading p,
.quick-help-heading p { margin: 6px 0 0; color: var(--contact-muted); font-size: 14px; line-height: 1.45; }

.contact-form { display: grid; gap: 18px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-field { display: grid; min-width: 0; gap: 8px; color: var(--contact-ink); font-size: 14px; font-weight: 700; }
.contact-field > span:first-child b { color: #db3e47; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d5e0f2;
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, .56);
  color: var(--contact-ink);
  font: 500 14px/1.4 "DM Sans", sans-serif;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.contact-field input,
.contact-field select { height: 40px; padding: 0 14px; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #7c8cac; opacity: 1; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: #6ba2ff; box-shadow: 0 0 0 3px rgba(9, 103, 248, .11); }
.contact-select-wrap { position: relative; display: block; }
.contact-field select { appearance: none; padding-right: 42px; cursor: pointer; }
.contact-select-wrap > svg { position: absolute; top: 50%; right: 14px; width: 19px; height: 19px; fill: none; stroke: #50617f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transform: translateY(-50%); }
.contact-field textarea { display: block; min-height: 103px; resize: vertical; padding: 10px 14px; }
.contact-form-foot { display: flex; min-height: 3px; align-items: center; justify-content: space-between; margin-top: -14px; }
.contact-form-status { margin: 0; color: #24704b; font-size: 12px; line-height: 1.35; }
.contact-counter { color: #657696; font-size: 13px; font-weight: 700; white-space: nowrap; }
.contact-submit {
  display: flex;
  width: 330px;
  max-width: 100%;
  min-height: 59px;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 21px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(110deg, #1374ff, #075df3);
  box-shadow: 0 10px 22px rgba(9, 98, 247, .18);
  color: #fff;
  cursor: pointer;
  font: 700 16px/1 "DM Sans", sans-serif;
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-submit:hover { box-shadow: 0 14px 26px rgba(9, 98, 247, .26); transform: translateY(-1px); }
.contact-submit:focus-visible { outline: 3px solid rgba(9, 98, 247, .42); outline-offset: 3px; }
.contact-submit > svg:first-child { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-submit .contact-submit-arrow { width: 22px; height: 22px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-form-note { margin: -13px 0 0; color: #7786a4; font-size: 11px; line-height: 1.35; }

.contact-side-column { display: grid; min-width: 0; grid-template-rows: auto 1fr; gap: 15px; }
.direct-card { padding: 22px 22px 16px; }
.direct-card > h2,
.promise-card > h2 { margin-bottom: 16px; }
.direct-list { display: grid; gap: 13px; }
.direct-item { display: grid; min-height: 50px; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 15px; color: inherit; text-decoration: none; }
.direct-item:hover .direct-copy b { color: var(--contact-blue); }
.direct-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: #eef4ff; color: #0867f8; }
.direct-icon svg { width: 25px; height: 25px; fill: currentColor; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.direct-icon svg rect { fill: currentColor; stroke: currentColor; }
.direct-icon svg path { fill: none; stroke: #fff; }
.direct-icon.direct-question { font: 800 32px/1 "Manrope", sans-serif; }
.direct-copy { display: grid; min-width: 0; gap: 3px; }
.direct-copy b { color: var(--contact-ink); font: 800 15px/1.1 "Manrope", sans-serif; letter-spacing: -.025em; transition: color .15s ease; }
.direct-copy small { color: #677897; font-size: 13px; line-height: 1.35; }
.direct-meta { color: #657695; font-size: 12px; line-height: 1.45; }
.direct-faq-item { grid-template-columns: 54px minmax(0, 1fr) auto; }
.direct-faq-link { display: inline-flex; min-height: 42px; align-items: center; gap: 10px; padding: 0 17px; border-radius: 999px; background: #edf4ff; color: #0867f8; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.direct-faq-link:hover { background: #e1edff; }
.direct-faq-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.promise-card { padding: 20px 22px 18px; background: linear-gradient(120deg, rgba(236, 251, 247, .96), rgba(236, 247, 255, .96)); }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 15px; margin: 0; padding: 0; list-style: none; }
.promise-grid li { display: grid; min-width: 0; grid-template-columns: 51px minmax(0, 1fr); align-items: center; gap: 13px; }
.promise-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; }
.promise-icon svg { width: 28px; height: 28px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promise-fast { background: #d9f7ea; color: #15b576; }
.promise-heart { background: #ffe7e9; color: #f04755; }
.promise-shield { background: #dcefff; color: #0872f8; }
.promise-shield .promise-shield-cutout { fill: #82b6ff; stroke: none; }
.promise-leaf { background: #d9f7e9; color: #1bab68; }
.promise-grid li > span:last-child { display: grid; gap: 4px; }
.promise-grid b { color: var(--contact-ink); font: 800 14px/1.2 "Manrope", sans-serif; letter-spacing: -.03em; }
.promise-grid small { color: #657695; font-size: 12px; line-height: 1.4; }

.quick-help-card { margin-top: 15px; padding: 21px 29px 22px; }
.quick-help-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.quick-help-icon { display: grid; width: 51px; height: 51px; flex: 0 0 51px; place-items: center; border-radius: 15px; background: #fff6df; color: #f2ae12; }
.quick-help-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.quick-help-card h2 { font-size: 20px; }
.quick-help-heading p { margin-top: 4px; font-size: 14px; }
.quick-help-links { display: grid; grid-template-columns: 1.12fr 1.08fr .92fr .95fr 1.3fr; gap: 13px; }
.quick-help-links a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 11px; padding: 0 15px; border-radius: 999px; background: #edf4ff; color: #0867f8; font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; transition: background .16s ease, transform .16s ease; }
.quick-help-links a:hover { background: #e0edff; transform: translateY(-1px); }
.quick-help-links svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1120px) {
  .contact-content { width: min(calc(100% - 40px), 1318px); }
  .contact-hero-inner { width: min(calc(100% - 40px), 1266px); }
  .contact-columns { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .message-card { padding-inline: 22px; }
  .contact-form-row { gap: 16px; }
  .promise-card { padding-inline: 17px; }
  .promise-grid { gap: 14px 10px; }
  .promise-grid li { grid-template-columns: 43px minmax(0,1fr); gap: 9px; }
  .promise-icon { width: 43px; height: 43px; }
  .direct-faq-link { padding-inline: 13px; }
  .quick-help-card { padding-inline: 22px; }
  .quick-help-links { gap: 8px; }
  .quick-help-links a { padding-inline: 10px; font-size: 12px; }
}

@media (max-width: 980px) {
  .contact-hero-art { right: 0; width: 45%; }
  .contact-hero h1 { max-width: 64%; font-size: clamp(42px, 5.5vw, 53px); }
  .contact-hero-copy > p:last-child { max-width: 62%; font-size: 19px; }
  .contact-note { left: -12px; font-size: 16px; }
  .contact-columns { grid-template-columns: minmax(0, 1fr); }
  .message-card { min-height: 0; }
  .contact-side-column { grid-template-columns: 1fr 1fr; grid-template-rows: auto; align-items: stretch; }
  .promise-grid { gap: 16px 12px; }
  .quick-help-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .contact-main { min-height: calc(100svh - 68px); padding-bottom: 18px; }
  .contact-hero { height: 270px; }
  .contact-hero-inner { width: calc(100% - 34px); }
  .contact-hero-copy { padding-top: 31px; }
  .contact-eyebrow { min-height: 27px; margin-bottom: 12px; padding-inline: 13px; font-size: 11px; }
  .contact-hero h1 { max-width: 100%; font-size: clamp(36px, 10vw, 48px); line-height: 1.05; }
  .contact-hero-copy > p:last-child { max-width: 100%; margin-top: 12px; font-size: 16px; line-height: 1.45; }
  .contact-desktop-break { display: none; }
  .contact-hero-art { inset: auto -10px 0 auto; width: 155px; height: 123px; opacity: .42; }
  .contact-portrait-halo { right: -5px; bottom: -83px; width: 176px; height: 155px; }
  .contact-hero-art img { right: 4px; bottom: -4px; width: 124px; height: 155px; }
  .contact-note { display: none; }
  .contact-content { width: calc(100% - 28px); }
  .contact-columns { gap: 12px; }
  .message-card { padding: 18px 16px 17px; border-radius: 16px; }
  .contact-card-heading { align-items: flex-start; gap: 12px; margin-bottom: 19px; }
  .contact-icon { width: 49px; height: 49px; flex-basis: 49px; border-radius: 14px; }
  .contact-icon svg { width: 29px; height: 29px; }
  .contact-card h2 { font-size: 18px; }
  .contact-card-heading p { font-size: 12px; }
  .contact-form { gap: 16px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-field { gap: 7px; font-size: 13px; }
  .contact-field input,
  .contact-field select { height: 43px; }
  .contact-field textarea { min-height: 116px; }
  .contact-form-foot { margin-top: -10px; }
  .contact-submit { width: 100%; min-height: 54px; border-radius: 14px; font-size: 15px; }
  .contact-form-note { font-size: 10px; }
  .contact-side-column { grid-template-columns: 1fr; gap: 12px; }
  .direct-card { padding: 19px 17px 16px; }
  .direct-card > h2,
  .promise-card > h2 { margin-bottom: 13px; }
  .direct-list { gap: 12px; }
  .direct-item { grid-template-columns: 46px minmax(0,1fr) auto; gap: 10px; }
  .direct-icon { width: 44px; height: 44px; border-radius: 13px; }
  .direct-copy b { font-size: 14px; }
  .direct-copy small { font-size: 12px; }
  .direct-meta { font-size: 10px; }
  .direct-faq-link { min-height: 36px; gap: 6px; padding-inline: 10px; font-size: 11px; }
  .direct-faq-link svg { width: 15px; height: 15px; }
  .promise-card { padding: 18px 17px; }
  .promise-grid { gap: 14px 11px; }
  .promise-grid li { grid-template-columns: 43px minmax(0,1fr); gap: 9px; }
  .promise-icon { width: 42px; height: 42px; border-radius: 13px; }
  .promise-grid b { font-size: 12px; }
  .promise-grid small { font-size: 11px; }
  .quick-help-card { margin-top: 12px; padding: 16px 15px; border-radius: 16px; }
  .quick-help-heading { align-items: flex-start; gap: 11px; margin-bottom: 13px; }
  .quick-help-icon { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; }
  .quick-help-icon svg { width: 26px; height: 26px; }
  .quick-help-card h2 { font-size: 16px; }
  .quick-help-heading p { font-size: 11px; }
  .quick-help-links { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick-help-links a { min-height: 38px; gap: 5px; padding-inline: 8px; font-size: 10px; }
  .quick-help-links svg { width: 14px; height: 14px; flex-basis: 14px; }
}

@media (max-width: 375px) {
  .contact-hero h1 { font-size: 35px; }
  .promise-grid { grid-template-columns: 1fr; }
  .direct-item { grid-template-columns: 43px minmax(0,1fr); }
  .direct-meta,
  .direct-faq-link { grid-column: 2; }
  .direct-meta { margin-top: -4px; }
}
