/* ==========================================================
   Floating buttons (Enquiry / WhatsApp / Email) + enquiry pop-up
   All class names start with "fx-" so nothing clashes with your
   existing site styles. Colours are at the top - change them here.
   ========================================================== */

:root {
  --fx-gold:   linear-gradient(135deg, #f7c350, #e08f22 55%, #b9571a);
  --fx-ink:    #14110d;
  --fx-green:  #25d366;
  --fx-mail:   #1f2937;
}

/* ---------- Floating button stack ---------- */
.fx-dock {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.fx-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  animation: fxIn .7s cubic-bezier(.2,.9,.2,1) both;
}

.fx-btn i {
  position: relative;
  z-index: 1;
  transition: transform .4s;
}

.fx-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
  color: #fff;
}

.fx-btn:hover i {
  transform: rotate(-12deg) scale(1.08);
}

.fx-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--fx-ink);
}

/* colours */
.fx-enq  { background: var(--fx-gold);  color: #1a1005; animation-delay: .2s; }
.fx-enq:hover { color: #1a1005; }
.fx-wa   { background: var(--fx-green); animation-delay: .35s; }
.fx-mail { background: var(--fx-mail);  animation-delay: .5s; }

/* pulsing ring behind the buttons */
.fx-btn:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: .55;
  z-index: 0;
  animation: fxPulse 2.2s ease-out infinite;
}

.fx-wa:before   { animation-delay: .4s; }
.fx-mail:before { animation: none; }

/* label that slides out on hover */
.fx-tip {
  position: absolute;
  right: 68px;
  padding: 8px 15px;
  border-radius: 30px;
  background: var(--fx-ink);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}

.fx-btn:hover .fx-tip,
.fx-btn:focus-visible .fx-tip {
  opacity: 1;
  transform: none;
}

@keyframes fxIn {
  from { opacity: 0; transform: translateX(80px) scale(.6); }
  to   { opacity: 1; transform: none; }
}

@keyframes fxPulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Enquiry pop-up ---------- */
.fx-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20,17,13,.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}

.fx-modal.on {
  opacity: 1;
  visibility: visible;
}

.fx-box {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  transform: translateY(50px) scale(.94);
  transition: transform .5s cubic-bezier(.2,.9,.2,1);
}

.fx-modal.on .fx-box {
  transform: none;
}

.fx-head {
  position: relative;
  padding: 30px 32px 24px;
  background: var(--fx-gold);
  color: #1a1005;
}

.fx-head h3 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  line-height: 1.15;
}

.fx-head p {
  margin: 0;
  font-size: .9rem;
  opacity: .85;
}

.fx-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: #14110d;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .3s;
}

.fx-x:hover {
  transform: rotate(90deg);
}

.fx-form {
  display: grid;
  gap: 14px;
  padding: 26px 32px 32px;
}

.fx-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fx-field label {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: #4b4337;
}

.fx-field input,
.fx-field select,
.fx-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #e4ddd0;
  border-radius: 12px;
  background: #fbf9f5;
  color: #14110d;
  font: inherit;
  font-size: .95rem;
  outline: 0;
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.fx-field textarea {
  resize: vertical;
  min-height: 96px;
}

.fx-field input:focus,
.fx-field select:focus,
.fx-field textarea:focus {
  border-color: #e08f22;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(240,180,58,.25);
}

.fx-field.err input,
.fx-field.err textarea {
  border-color: #e5533d;
}

.fx-field em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: .75rem;
  color: #d23b25;
}

.fx-field em:empty {
  display: none;
}

/* hidden spam trap */
.fx-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fx-send {
  padding: 15px 24px;
  border: 0;
  border-radius: 40px;
  background: var(--fx-ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .3s, color .3s, transform .25s;
}

.fx-send:hover {
  background: var(--fx-gold);
  color: #1a1005;
  transform: translateY(-2px);
}

.fx-send[disabled] {
  opacity: .7;
  cursor: wait;
}

.fx-or {
  margin: 0;
  text-align: center;
  font-size: .82rem;
  color: #6b6254;
}

.fx-or a {
  color: #128c4a;
  font-weight: 700;
  text-decoration: none;
}

.fx-or a:hover {
  text-decoration: underline;
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .fx-dock {
    right: 12px;
    bottom: 14px;
    gap: 11px;
  }
  .fx-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  /* no hover on phones, so hide the labels */
  .fx-tip {
    display: none;
  }
  .fx-two {
    grid-template-columns: 1fr;
  }
  .fx-head,
  .fx-form {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-btn,
  .fx-btn:before {
    animation: none !important;
  }
}