/* Floating action buttons + enquiry modal */
.floating-actions { position: fixed; right: 22px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 14px; }

.float-btn { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; font-size: 1.45rem; cursor: pointer; text-decoration: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); transition: transform .25s ease, box-shadow .25s ease; }
.float-btn:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 20px 38px rgba(0, 0, 0, .3); }
.float-whatsapp { background: #25d366; }
.float-enquiry { background: var(--red); }

/* Attention pulse so the enquiry button reads as the primary action. */
.float-enquiry::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--secondary); opacity: .55; animation: floatPulse 2.4s ease-out infinite; z-index: -1; }
@keyframes floatPulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.65); opacity: 0; } 100% { transform: scale(1.65); opacity: 0; } }

.float-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px); padding: 7px 12px; border-radius: 8px; background: rgba(20, 20, 20, .92); color: #fff; font-size: .74rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.float-btn:hover .float-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.enquiry-modal { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.enquiry-modal.active { display: flex; animation: enquiryFade .28s ease; }
@keyframes enquiryFade { from { opacity: 0; } to { opacity: 1; } }

.enquiry-dialog { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; width: min(100%, 940px); max-height: 92vh; overflow: auto; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); animation: enquiryRise .34s cubic-bezier(.2, .8, .3, 1); }
@keyframes enquiryRise { from { transform: translateY(26px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

.enquiry-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--primary); font-size: 1rem; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.enquiry-close:hover { background: var(--red); color: #ffffff; }

/* Image-only panel: no text overlay. The panel itself is forced to a 1:1 square (matching
   the recommended upload size), so cover has nothing mismatched to crop or letterbox - a
   square image just fills it exactly. */
.enquiry-aside { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--red-dark), var(--red)); }
.enquiry-aside.has-image { background-size: cover; background-position: center; background-repeat: no-repeat; }

.enquiry-form { display: grid; gap: 14px; align-content: start; padding: 38px 32px; }
.enquiry-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* Two explicit children (the label text, then the field) so the label and its
   required-asterisk always render on one line regardless of grid text-wrapping quirks. */
.enquiry-form label { display: flex; flex-direction: column; gap: 6px; color: var(--primary); font-size: .8rem; font-weight: 700; }
.enquiry-form .field-label { white-space: nowrap; }
.enquiry-form .field-label b { color: #c0392b; font-weight: 700; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font: 400 .9rem Poppins, sans-serif; color: var(--text); }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.enquiry-form textarea { resize: vertical; }
/* Maroon rather than white: this button sits on the white form panel, where a
   white face would disappear. It still carries the animated gradient border. */
.enquiry-submit {
  margin-top: 6px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  font: 700 .95rem Poppins, sans-serif;
  letter-spacing: .02em;
  box-shadow: 0 10px 26px rgba(235, 10, 30, 0.24);
}

.enquiry-submit:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(235, 10, 30, 0.32);
}

.enquiry-submit[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.enquiry-feedback { margin: 0; font-size: .85rem; font-weight: 600; min-height: 20px; }
.enquiry-feedback.is-success, .form-message.is-success { color: #1f7a33; font-weight: 600; }
.enquiry-feedback.is-error, .form-message.is-error { color: #c0392b; font-weight: 600; }

body.no-scroll { overflow: hidden; }

@media (max-width: 760px) {
  .enquiry-dialog { grid-template-columns: 1fr; }
  .enquiry-form { padding: 24px 22px 28px; }
  .enquiry-row { grid-template-columns: 1fr; }
  .floating-actions { right: 16px; bottom: 18px; gap: 12px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.28rem; }
  .float-tip { display: none; }
}
