/* ==========================================================================
   Enrollment Support (/enrollment-support) — MOA_Final_27112026/enrollment-support.html
   (the page's inline style blocks, final cascade). Verified side by side in the browser.
   Template: contact_us/enrollment_support.html. Script: js/support_v2.js.
   ========================================================================== */

.es { background: #f7f8fa; color: #111; font-family: Montserrat, Arial, sans-serif; }
.es * { box-sizing: border-box; }
.es small { color: #ee343b; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; }
.es h2 { margin: 12px 0 20px; font-size: 30px; }
.es p { line-height: 1.8; }

/* ---------- Hero ---------- */
.es-hero { position: relative; padding: 80px 20px; background: radial-gradient(ellipse at 50% 120%, #42191c 0%, #111 65%); color: #fff; text-align: center; }
.es-hero h1 { margin: 16px 0; color: #fff; font-size: clamp(36px, 5vw, 58px); }
.es-hero p { margin: 0 0 26px; color: #ddd; }

.es-btn {
  display: inline-block; padding: 14px 24px; border: 0; border-radius: 8px; background: #ee343b; box-shadow: 0 5px 14px #ee343b20;
  color: #fff !important; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: transform .2s, background .2s;
}
.es-btn:hover { background: #d92730; transform: translateY(-3px); }
.es-btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* ---------- Contact cards ---------- */
.es-wrap { max-width: 1200px; margin: auto; padding: 70px 24px 80px; }
.es-heading { margin-bottom: 32px; text-align: center; }
.es-heading h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.7px; }
.es-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.es .es-cards article, .es .es-address, .es .es-form {
  padding: 32px 24px; border: 1px solid #e4e6ea; border-radius: 18px; background: #fff;
  box-shadow: 0 8px 28px rgba(17, 17, 17, .045); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.es .es-cards article { min-width: 0; text-align: center; }
.es .es-cards article:hover { transform: translateY(-4px); }
.es .es-cards article:hover, .es .es-address:hover, .es .es-form:hover { border-color: #ee343b; box-shadow: 0 12px 30px #ee343b12; }
.es .es-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px;
  background: #fff0f1; color: #ee343b; font-size: 24px; transition: transform .25s, background .25s, color .25s;
}
.es-icon svg { width: 32px; height: 32px; }
.es article:hover .es-icon { transform: translateY(-3px); background: #ee343b; color: #fff; }
.es-cards h3 { margin: 0 0 18px; font-size: 20px; }
.es-cards a {
  display: block; margin-top: 0; padding: 10px 6px; border-top: 1px solid #f0f0f0;
  color: #333; font-size: 14px; overflow-wrap: anywhere;
}
.es-cards a:hover { color: #ee343b; }

/* ---------- Address + enquiry form ---------- */
.es-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 28px; scroll-margin-top: 120px; }
.es-address { text-align: center; }
.es .es-address { background: #fff; }
.es-form { text-align: center; }
.es-address h3 { font-size: 16px; }
.es-address p, .es-form p { color: #555; }
.es-note { color: #666; font-size: 13px; }

#es-enquiry { margin-top: 22px; padding-top: 24px; border-top: 1px solid #eee; text-align: left; }
#es-enquiry[hidden] { display: none !important; }
#es-enquiry label { display: block; margin: 0 0 15px; font-size: 14px; font-weight: 600; }
#es-enquiry input, #es-enquiry select, #es-enquiry textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid #e1e3e7; border-radius: 7px;
  background: #fafafb; color: #111; font: inherit; font-weight: 400;
}
#es-enquiry input:focus, #es-enquiry select:focus, #es-enquiry textarea:focus { outline: 2px solid #ee343b; outline-offset: 1px; }
#es-enquiry [aria-invalid="true"] { border-color: #b42329; }
.es #es-enquiry button { width: 100%; }
.es #es-enquiry .es-consents { min-width: 0; margin: 20px 0; padding: 16px; border: 1px solid #e4e6ea; border-radius: 10px; background: #fafafb; }
.es-consents legend { padding: 0 6px; color: #111; font-size: 13px; font-weight: 700; }
.es #es-enquiry .es-consents label { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 13px; font-weight: 400; line-height: 1.6; }
.es #es-enquiry .es-consents label:last-child { margin-bottom: 0; }
.es #es-enquiry .es-consents input[type="checkbox"] {
  display: block; flex: 0 0 17px; width: 17px; height: 17px; margin: 3px 0 0; padding: 0; accent-color: #ee343b;
}
.es-consents a { color: #d92730; text-decoration: underline; }
.es-captcha { max-width: 100%; margin: 18px 0; overflow-x: auto; }
/* Honeypot: off-screen for people, still in the form for bots. */
.es-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.es .es-error { margin: -8px 0 14px; color: #b42329; font-size: 13px; line-height: 1.5; }
.es-success { margin-top: 22px; padding: 22px; border: 1px solid #b7e4c7; border-radius: 12px; background: #ecfdf3; color: #065f46; text-align: center; }
.es-success strong { display: block; font-size: 16px; }
.es .es-success p { margin: 6px 0 0; color: #065f46; }

@media (max-width: 800px) {
  .es-cards, .es-layout { grid-template-columns: 1fr; }
  .es-hero { padding: 55px 20px; }
  .es-wrap { padding: 40px 18px; }
  .es .es-cards article, .es .es-address, .es .es-form { padding: 26px 18px; }
}
@media (prefers-reduced-motion: reduce) { .es * { transition: none !important; animation: none !important; } }
