/* Contact typography follows the Capabilities heading/body font pairing. */
:root {
  --contact-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --contact-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --contact-text-heading: #0a2540;
  --contact-text-body: #475569;
  --contact-text-label: #334155;
  --contact-text-muted: #64748b;
  --contact-text-link: #0077c8;
  --contact-brand-gradient: linear-gradient(135deg, #1670f5 0%, #1e9bf0 35%, #22c3d6 70%, #4fd992 100%);
}
.contact-page {
  color: var(--contact-text-body);
  font-family: var(--contact-font-body);
  line-height: 1.6;
}
.contact-page select:has(option:checked[value=""]) {
  color: var(--contact-text-muted);
}
.contact-page :is(button, input, select, textarea) {
  font-family: inherit;
}
.contact-page :is(h1, h2), .contact-page #sample-support h3 {
  font-family: var(--contact-font-heading);
}
.brand-gradient { background: var(--contact-brand-gradient); }
/* Match the supplied light blue-to-mint reference without a photo overlay. */
.contact-footer {
  background: linear-gradient(135deg, #c2d8f4, #d6eaf6 48%, #c6eae2);
  color: #0b1c30;
}
.contact-hero {
  background: linear-gradient(135deg, #c2d8f4, #d6eaf6 48%, #c6eae2);
  color: var(--contact-text-heading);
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
  text-align: center;
}
.contact-footer-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4.85vw, 4rem);
}
.contact-hero-inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 60px 24px;
}
.contact-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
}
.contact-hero-kicker, .contact-hero-summary, .contact-hero-materials { margin: 0; }
.contact-hero-kicker, .contact-hero-materials {
  color: var(--contact-text-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-hero-kicker { margin-bottom: 16px; }
.contact-hero h1 {
  max-width: 940px;
  margin: 0 0 22px;
  color: var(--contact-text-heading);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.16;
  text-wrap: balance;
}
.contact-hero-summary {
  max-width: 880px;
  color: var(--contact-text-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.62;
}
.contact-hero-materials { margin-top: 16px; }
.contact-page #sample-support p:not(.contact-kicker):not(.contact-sample-location) {
  color: var(--contact-text-body);
}
.sample-support-banner {
  background: linear-gradient(135deg, #edf4ff, #f0f9fd 48%, #e8f8f1);
}
.contact-footer { font-size: 0.8125rem; }
.contact-footer-inner { padding-block: 1.45rem 1rem; }
.contact-footer-row, .contact-footer-brand-group, .contact-footer-links, .contact-footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.contact-footer-row { justify-content: space-between; }
.contact-footer-brand-group { flex: 0 0 auto; }
.contact-footer-brand {
  display: grid;
  gap: 0.3rem;
  font-weight: 800;
  line-height: 1;
}
.contact-footer-brand strong {
  font-size: 1.75rem;
  letter-spacing: -0.065em;
}
.contact-footer-brand small {
  font-size: 0.52rem;
  letter-spacing: 0.24em;
}
.contact-footer-tagline { margin: 0; border-inline-start: 1px solid #334155; padding: 0.5rem 0 0.5rem 1.25rem; }
.contact-footer-links { flex-wrap: wrap; gap: 0.65rem 1.25rem; }
.contact-footer-social {
  gap: 0.6rem;
  border-inline: 1px solid #334155;
  padding-inline: 0.85rem;
}
.contact-footer-social a { display: grid; place-items: center; width: 1.55rem; height: 1.75rem; }
.contact-footer-social svg { width: 1rem; height: 1rem; fill: currentColor; }
.contact-footer a:hover, .contact-footer a[aria-current="page"] { color: #1e40af; }
.contact-footer a:focus-visible { outline: 2px solid #1e40af; outline-offset: 4px; }
.contact-footer-copyright { margin: 0.75rem 0 0; color: #475569; font-size: 0.6875rem; }
@media (max-width: 62em) {
  .contact-footer-row { flex-wrap: wrap; gap: 1.15rem; }
}
@media (max-width: 640px) {
  .contact-hero h1 {
    line-height: 1.2;
    margin-bottom: 14px;
  }
}
@media (max-width: 48em) {
  .contact-footer-row, .contact-footer-links { justify-content: center; }
  .contact-footer-brand-group { flex-basis: 100%; flex-wrap: wrap; justify-content: center; }
  .contact-footer-copyright { text-align: center; }
}

/* Shared click, keyboard and hover access to the WhatsApp QR code. */
.contact-channel-whatsapp { position: relative; }
.contact-qr-hover { display: none; }
@media (hover: hover) and (pointer: fine) {
  .contact-channel-whatsapp:hover .contact-qr:not([open]) + .contact-qr-hover {
    position: absolute;
    z-index: 2;
    bottom: calc(100% + 0.5rem);
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: block;
    width: min(16rem, 100%);
    pointer-events: auto;
  }
  .contact-qr-hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.5rem;
  }
  .contact-qr-hover::after {
    content: '';
    position: absolute;
    bottom: -0.375rem;
    left: calc(50% - 0.375rem);
    width: 0.75rem;
    height: 0.75rem;
    transform: rotate(45deg);
    background: #020617;
    border-right: 1px solid #334155;
    border-bottom: 1px solid #334155;
  }
}
.contact-channel-whatsapp > div:last-child { min-width: 0; flex: 1; }
.contact-qr { max-width: 100%; margin-top: 0.3rem; color: #047857; font-size: 0.75rem; font-weight: 400; line-height: 1.5; }
.contact-qr summary { padding-block: 6px; cursor: pointer; overflow-wrap: anywhere; }
.contact-qr summary:focus-visible { outline: 2px solid #0077c8; outline-offset: 3px; }
.contact-qr .contact-qr-card { margin-top: 0.5rem; }
.contact-qr-card {
  box-sizing: border-box;
  max-width: calc(100vw - 48px);
  width: min(16rem, 100%);
  padding: 1rem;
  border: 1px solid #334155;
  border-radius: 1rem;
  background: #020617;
  color: #e2e8f0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  box-shadow: 0 12px 28px rgb(15 23 42 / 22%);
}
.contact-qr-card-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.contact-qr-card-title span {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
}
.contact-qr-card-title svg { width: 0.75rem; height: 0.75rem; fill: currentColor; }
.contact-page .contact-qr-card p { margin-block: 0.375rem 0.5rem; color: #94a3b8; font: 0.625rem var(--contact-font-body); }
.contact-qr-frame { box-sizing: border-box; max-width: 100%; display: inline-block; padding: 0.625rem; border-radius: 0.75rem; background: #fff; }
.contact-qr-frame img { display: block; width: 176px; max-width: 100%; height: auto; }
.contact-qr-number { margin-top: 0.5rem; color: #34d399; font: 600 0.6875rem var(--contact-font-body); }

/* Share container-based social button layout across Demo and WordPress. */
.contact-page .contact-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
  grid-auto-rows: 1fr;
  gap: 0.75rem;
  width: 100%;
}
.contact-page .contact-social > a {
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}
.contact-page .contact-social .contact-social-label {
  min-width: 0;
  white-space: nowrap;
}
.contact-page .contact-social .contact-social-label > * {
  white-space: nowrap;
}


/* Sample request drawer, shared by Demo and WordPress. */
.sample-backdrop {
  position: fixed;
  z-index: 55;
  inset: 0;
  background: rgba(1, 10, 18, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sample-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.sample-drawer {
  position: fixed;
  z-index: 60;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  padding: 0;
  border-left: 1px solid #e2e8f0;
  background: #fff;
  color: #0a2540;
  box-shadow: -16px 0 56px rgba(10, 37, 64, 0.16);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  transform: translateX(105%);
  transition: transform 0.32s ease;
  overflow: auto;
  box-sizing: border-box;
  font-family: var(--contact-font-body);
}
.sample-drawer.open {
  transform: none;
}
.sample-drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 26px 28px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.sample-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0077c8;
}
.sample-drawer-head h2 {
  margin: 6px 0 0;
  font-family: var(--contact-font-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0a2540;
}
.sample-close-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #edf3f7;
  color: #0a2540;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.sample-close-btn:hover {
  background: #e2e8f0;
}
.sample-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  padding: 24px 28px 28px;
}
.sample-form[hidden] { display: none; }
.sample-form [data-sample-error] { grid-column: 1 / -1; margin: 0; color: #b91c1c; font-size: 13px; line-height: 1.6; }
.sample-field {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.sample-field:has(#sample-email), .sample-field:has(#sample-phone) {
  grid-column: auto;
}
.sample-field label {
  color: #334155;
  font-size: 13px;
  font-weight: 500;
}
.sample-required {
  color: #dc2626;
}
.sample-optional {
  font-weight: 500;
  color: #64748b;
  font-size: 12.5px;
}
.sample-field input,
.sample-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 14px;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0a2540;
  font-family: var(--contact-font-body);
  font-size: 16px;
}
.sample-field input::placeholder, .sample-field textarea::placeholder { color: #64748b; opacity: 1; }
.sample-field input:focus, .sample-field textarea:focus { background: #fff; border-color: #0077c8; }
.sample-field textarea {
  min-height: 96px;
  resize: vertical;
}
.sample-consent {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}
.sample-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.sample-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #0077c8; }
.sample-consent a { color: #0077c8; text-decoration: underline; text-underline-offset: 3px; }
.sample-submit-btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  background: var(--contact-brand-gradient);
  color: #fff;
  font-family: var(--contact-font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.sample-submit-btn:hover {
  filter: brightness(0.96);
}
.sample-drawer :is(button, input, textarea):focus-visible {
  outline: 2px solid #0077c8;
  outline-offset: 3px;
}
.sample-confirm {
  margin: 24px 28px;
  padding: 24px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f0f9ff;
}
.sample-confirm-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0077c8;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.sample-confirm h3 {
  margin: 14px 0 8px;
  font-family: var(--contact-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #0a2540;
}
.sample-confirm p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}
.sample-confirm .sample-confirm-note {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 16px;
}
.sample-confirm-actions {
  display: grid;
  gap: 10px;
}
.sample-reset-btn {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #0a2540;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sample-reset-btn:hover {
  background: #f8fafc;
}
@media (max-width: 480px) {
  .sample-drawer-head { padding: 22px 20px 18px; }
  .sample-drawer-head h2 { font-size: 24px; }
  .sample-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .sample-confirm { margin: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sample-drawer, .sample-backdrop { transition: none; }
}
