/* ==========================================================================
   Chat with Us (/chat-with-us) — MOA_Final_27112026/chat-with-us.html
   (chat-with-us.css + the hero CTA's inline styles). Verified side by side in the browser.
   The in-chat enquiry form has no design counterpart; it reuses the widget's look.
   Template: contact_us/chat_with_us.html. Script: js/support_v2.js.
   ========================================================================== */

.chat-page { background: #fff; color: #181818; }

/* ---------- Hero ---------- */
.chat-hero { padding: 100px 18px 90px; background: #080808; color: #fff; text-align: center; }
.chat-kicker, .chat-label { color: #ee343b; font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.chat-hero h1 { margin: 15px 0; color: #fff; font-size: clamp(38px, 5vw, 66px); }
.chat-hero p { max-width: 650px; margin: auto; color: #d5d5d5; font-size: 18px; }
.banner-chat-action { position: relative; z-index: 5; display: flex; justify-content: center; margin: 24px auto 0; }
.banner-whatsapp-cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px;
  border-radius: 6px; background: #ee343b; color: #fff !important; font-size: 16px; font-weight: 600;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.banner-whatsapp-cta:hover { background: #d9202b; transform: translateY(-2px); box-shadow: 0 7px 16px rgba(238, 52, 59, .16); }

/* ---------- Copy + widget ---------- */
.chat-shell { display: grid; grid-template-columns: 1fr 1.08fr; gap: 65px; align-items: start; padding-top: 75px; padding-bottom: 90px; }
.chat-copy h2 { margin: 15px 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.2; }
.chat-copy > p, .chat-feature p { color: #60646b; line-height: 1.7; }
.chat-feature { margin: 25px 0; padding: 4px 0 4px 18px; border-left: 3px solid #ee343b; }
.chat-feature p { margin: 5px 0; }
.chat-secondary { color: #ee343b !important; font-weight: 700; }

.chat-widget { overflow: hidden; border: 1px solid #e6e6e6; border-radius: 18px; background: #fff; box-shadow: 0 15px 45px #00000012; }
.chat-widget-head { display: flex; align-items: center; gap: 12px; padding: 20px; background: #111; color: #fff; }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ee343b; font-weight: 800; }
.chat-widget-head small { display: block; margin-top: 4px; color: #c5c5c5; }
.chat-widget-head #chat-reset {
  margin-left: auto; padding: 6px 12px; border: 1px solid #555; border-radius: 8px; background: transparent;
  color: #fff; font-size: 22px; cursor: pointer;
}
.chat-messages { display: flex; flex-direction: column; gap: 14px; height: 320px; padding: 22px; overflow-y: auto; background: #f8f8f8; }
.chat-bubble { max-width: 88%; padding: 13px 16px; border-radius: 15px; font-size: 14px; line-height: 1.55; white-space: pre-line; }
.chat-bubble.bot { align-self: flex-start; border: 1px solid #e8e8e8; background: #fff; }
.chat-bubble.user { align-self: flex-end; background: #ee343b; color: #fff; }
.chat-bubble a { display: block; margin-top: 9px; color: #b51d24; font-weight: 700; text-decoration: underline; }
.chat-options { display: flex; flex-wrap: wrap; gap: 9px; padding: 17px; }
.chat-options button {
  padding: 10px 13px; border: 1px solid #e0e0e0; border-radius: 22px; background: #fff; color: #202020;
  font: inherit; font-weight: 600; cursor: pointer;
}
.chat-options button:hover, .chat-options button:focus-visible { border-color: #ee343b; background: #ee343b; color: #fff; }
.chat-disclaimer { padding: 0 17px 17px; color: #707070; font-size: 12px; line-height: 1.5; }

/* ---------- In-chat enquiry form ---------- */
.chat-enquiry { padding: 0 17px 17px; font-size: 13px; }
.chat-enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.chat-enquiry label { display: block; margin: 0 0 12px; font-weight: 600; color: #202020; }
.chat-enquiry input:not([type="checkbox"]), .chat-enquiry textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: 10px;
  background: #fafafa; color: #111; font: inherit; font-weight: 400;
}
.chat-enquiry input:focus, .chat-enquiry textarea:focus { outline: 2px solid #ee343b; outline-offset: 1px; }
.chat-enquiry [aria-invalid="true"] { border-color: #b42329; }
.chat-enquiry .chat-consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; line-height: 1.5; }
.chat-consent input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #ee343b; }
.chat-error { margin: 0 0 12px; color: #b42329; line-height: 1.5; }
.chat-enquiry-actions { display: flex; gap: 9px; }
.chat-send, .chat-cancel { padding: 10px 18px; border-radius: 22px; font: inherit; font-weight: 700; cursor: pointer; }
.chat-send { border: 1px solid #ee343b; background: #ee343b; color: #fff; }
.chat-send:disabled { opacity: .7; cursor: progress; }
.chat-cancel { border: 1px solid #e0e0e0; background: #fff; color: #202020; }
.es-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 800px) {
  .chat-shell { grid-template-columns: 1fr; gap: 35px; padding-top: 45px; }
  .chat-hero { padding: 70px 18px; }
  .chat-messages { height: 300px; }
}
@media (max-width: 480px) { .chat-enquiry-grid { grid-template-columns: 1fr; } }
