/* Support hub and subpages */

/* Hero illustration circle */
.support-hero__art { background: #d9eef9; }
.support-hero__svg { width: 78%; height: auto; }
.support-hero__art--own { background: none; }
.support-hero__art--own .support-hero__svg { width: 100%; }
.support-hero__art--photo { background: #d9eef9; }
.support-hero__art--photo img { width: auto; max-width: 62%; max-height: 82%; filter: drop-shadow(0 16px 20px rgba(7, 27, 74, .18)); }
.support-hero--diagonal::before { content: ""; position: absolute; top: 0; right: 0; width: 42%; height: 100%; background: rgba(255, 255, 255, .45); clip-path: polygon(0 0, 100% 0, 100% 100%); }

/* Hub: support option cards */
.support-option { display: flex; flex-direction: column; padding: 22px 22px 26px; color: var(--muted); }
.support-option__icon { display: block; width: 36px; height: 36px; margin-bottom: 18px; }
.support-option__svg, .support-card__svg { width: 100%; height: 100%; }
.support-option h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.support-option p { font-size: 13px; line-height: 1.6; max-width: 240px; }
.support-option__more { position: absolute; right: 20px; bottom: 20px; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.support-option:hover .support-option__more { opacity: 1; transform: none; }
.support-option:hover h3 { color: var(--blue); }

/* Hub: blue message band */
.support-message { margin-top: 48px; }
.support-message .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.support-message .form-grid { gap: 14px; margin-bottom: 14px; }
.support-message .form-actions { align-items: stretch; gap: 14px; }
.support-message .field input, .support-message .field textarea { min-height: 46px; }
.support-message .btn { min-width: 150px; }
.support-message .field__error { color: #fff; }
.support-message .form-status.is-error { background: rgba(255, 255, 255, .95); }

/* Product Support: AC / DC choice */
.charger-choice { display: flex; gap: 24px; padding: 16px; border-color: #cfe5f3; }
.charger-choice__art { flex: none; width: 150px; border-radius: 10px; }
.charger-choice__svg { width: 100%; height: 100%; }
.charger-choice__body { padding: 12px 8px 12px 0; }
.charger-choice__label { font-size: 11px; text-transform: uppercase; color: var(--muted); letter-spacing: .02em; }
.charger-choice h3 { font-size: 28px; color: var(--ink); margin: 4px 0 10px; }
.charger-choice p { font-size: 14px; max-width: 320px; }
.charger-choice .btn { margin-top: 20px; min-width: 150px; }

/* Subpage cards */
.support-card { display: flex; flex-direction: column; padding: 22px 22px 26px; color: var(--muted); }
.support-card:hover { border-color: #b9dcf0; box-shadow: var(--shadow); }
.support-card__icon { display: block; width: 44px; height: 44px; margin-bottom: 18px; }
.support-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.support-card p { font-size: 13px; line-height: 1.6; max-width: 260px; margin-bottom: 16px; }
.support-card .link-arrow { margin-top: auto; font-size: 14px; color: var(--blue); }
.support-card .link-arrow .icon { width: 16px; height: 16px; }

/* Inquiry form */
.support-form__actions { margin-top: 24px; }
.support-form__actions .btn { min-width: 160px; min-height: 50px; }
.form-card .form-status { margin-top: 20px; }

@media (max-width: 760px) {
  .charger-choice { flex-direction: column; }
  .charger-choice__art { width: 120px; }
  .charger-choice__body { padding: 0 6px 8px; }
  .charger-choice h3 { font-size: 24px; }
  .support-message .form-actions .submit-box, .support-message .form-actions .btn { width: 100%; }
  .support-hero--diagonal::before { display: none; }
}

/* Shared-style fix (should move to style.css): .section-head p overrides the eyebrow colour */
.support-hero .page-hero__text { max-width: 860px; }
