/* Contact page. Reuses site.css and solutions.css components; rules here are scoped to the page's cx- classes. */
.cx-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 55% 60% at 85% 0, #0d3a6e66, transparent 70%), radial-gradient(ellipse 45% 50% at 0 100%, #0b2f5a44, transparent 70%), #031323; border-bottom: 1px solid #1d527854; }
.cx-hero-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; padding: 18px 0 56px; }
.cx-main, .cx-aside { min-width: 0; }
.cx-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #5ab8ff; }
.cx-main h1 { margin-top: 10px; font-family: Exo, Arial, sans-serif; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -.8px; }
.cx-main h1 em { font-style: normal; color: var(--blue); }
.cx-intro { max-width: 640px; margin-top: 14px; font-size: 16px; line-height: 1.7; color: #c2d3e3; }

/* Form panel: the page's primary element. */
.cx-form { margin-top: 26px; padding: 30px 32px 28px; border: 1px solid #38668a; border-top: 3px solid #4ac1ff; border-radius: 3px; background: linear-gradient(150deg, #0a2440e6, #061727f2); box-shadow: 0 18px 50px #0007, 0 0 30px #0a6fc61f; }
.cx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.cx-field { min-width: 0; }
.cx-full { grid-column: 1 / -1; }
.cx-field label, .cx-consent label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; color: #d3e5f5; }
.cx-field input, .cx-field select, .cx-field textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 15px; color: #fff; background: #020f1f; border: 1px solid #5684ab; border-radius: 3px; transition: border-color .2s, box-shadow .2s; }
.cx-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.cx-field select { appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, #7acfff 50%), linear-gradient(135deg, #7acfff 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.cx-field select:invalid { color: #8da8bf; }
.cx-field option { color: #fff; background: #071c30; }
.cx-field input::placeholder, .cx-field textarea::placeholder { color: #8da8bf; }
.cx-field input:hover, .cx-field select:hover, .cx-field textarea:hover { border-color: #7fb4dd; }
.cx-field input:focus-visible, .cx-field select:focus-visible, .cx-field textarea:focus-visible { outline: 2px solid #75c7ff; outline-offset: 1px; border-color: #75c7ff; box-shadow: 0 0 0 4px #279bff22; }
.cx-hero [aria-invalid="true"] { border-color: #ff8a8a; box-shadow: 0 0 0 1px #ff8a8a66; }
.cx-error { margin-top: 6px; font-size: 12px; line-height: 1.45; color: #ffb3b3; }
.cx-consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 20px; }
.cx-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.cx-consent label { margin: 0; font-weight: 400; font-size: 13px; line-height: 1.5; }
.cx-actions { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.cx-submit { flex: 0 0 auto; min-width: 250px; min-height: 52px; justify-content: space-between; font-size: 12px; letter-spacing: .8px; }
.cx-submit:disabled { opacity: .6; cursor: progress; }
.cx-note { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.55; color: #8ba5bc; }
.cx-note img { flex: 0 0 12px; margin-top: 3px; }
.cx-note a { text-decoration: underline; }
.cx-status { margin-top: 16px; padding: 12px 16px; font-size: 13px; line-height: 1.55; color: #b9f0de; border: 1px solid #2f7f6b; border-left: 3px solid #6bd8bb; background: #082a2a; }
.cx-status:empty { display: none; }
.cx-status[data-error="true"] { color: #ffc4c4; border-color: #8a4b4b; border-left-color: #ff8a8a; background: #2a1016; }

/* Supporting image and contact details. */
.cx-aside { padding-top: 34px; }
.cx-photo { position: relative; margin: 0; overflow: hidden; border: 1px solid #2c618d; border-radius: 3px; box-shadow: 0 16px 40px #0006; }
.cx-photo img { width: 100%; height: auto; aspect-ratio: 802 / 404; object-fit: cover; }
.cx-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #031323d9); pointer-events: none; }
.cx-photo figcaption { position: absolute; z-index: 1; left: 18px; bottom: 13px; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; color: #a6ddff; }
.cx-details { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cx-details li { display: flex; gap: 16px; align-items: flex-start; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.cx-details li > img { flex: 0 0 22px; margin-top: 4px; opacity: .9; }
.cx-details a, .cx-details li span:not(.micro-label) { display: block; margin-top: 3px; font-size: 16px; line-height: 1.5; color: #e1f3ff; }
.cx-details a[href^="tel:"] { font-weight: 700; font-size: 18px; }
.cx-details a { transition: color .2s; }
.cx-details a:hover { color: #82d0ff; text-decoration: underline; }

/* Quick assistance. */
.cx-options.product-section { padding-block: 60px; }
.cx-option-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cx-option-list a { display: flex; flex-direction: column; height: 100%; padding: 24px 22px; border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(150deg, #09213888, #06172544); font-size: 13px; line-height: 1.7; color: #aec5d8; transition: border-color .2s, background .2s, box-shadow .2s; }
.cx-option-list a:hover { border-color: #4ac1ff; background: #10304b; box-shadow: inset 0 3px #3bb5ff; }
.cx-option-list strong { margin: 16px 0 6px; font-family: Exo, Arial, sans-serif; font-size: 18px; line-height: 1.3; color: #f4f8ff; }
.cx-ring { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid #79beff; border-radius: 50%; }

/* Services reuse the site's capability grid with four columns. */
.capability-grid.cx-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cx-services p { margin-bottom: 0; }

@media (max-width: 1080px) {
  .cx-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px; }
  .cx-form { padding: 26px 24px 24px; }
  .cx-actions { flex-direction: column; align-items: stretch; }
  .cx-submit { width: 100%; }
  .cx-option-list, .capability-grid.cx-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .cx-hero-grid { grid-template-columns: 1fr; padding-bottom: 44px; }
  .cx-aside { padding-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .cx-details { margin-top: 0; }
}
@media (max-width: 600px) {
  .cx-form { margin-top: 20px; padding: 22px 16px 20px; }
  .cx-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .cx-aside { grid-template-columns: 1fr; }
  .cx-option-list, .capability-grid.cx-services { grid-template-columns: 1fr; }
  .cx-submit { min-width: 0; }
}
