/* =====================================================
   Enquiry popup (templates/base.html, static/js/enquiry.js)
   One screen: green promo panel on the left, the whole form on the right.
   Entrance animation is GSAP (enquiry.js); without GSAP it simply fades.
   ===================================================== */

.enq {
  --g: #064b2c;            /* forest green */
  --g-deep: #043a22;
  --g-soft: #eef7f1;       /* selected card */
  --o: #ff650f;            /* orange */
  --o-dark: #e55500;
  --off: #f8f6f2;          /* off-white */
  --ink: #1d2321;          /* charcoal text */
  --muted: #5f6763;
  --line: #e7e3dc;
  --danger: #d23b3b;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
  font-family: "Manrope", var(--font);
  color: var(--ink);
}
.enq[hidden] { display: none; }
.enq h2, .enq h3 { font-family: "Manrope", var(--font-heading); }

/* page scroll lock while open */
html.enq-lock { overflow: hidden; }
html.enq-lock body { padding-right: var(--enq-gap, 0px); }

/* ---------- backdrop + panel: "liquid fill" reveal ----------
   1. the card grows as a circle out of the clicked button (--fx/--fy)
   2. a saffron-to-green wave fills it, then washes away from that point
   3. the content floats in behind the wave (GSAP, enquiry.js)
   Closing plays it backwards toward the close point. */
@property --enq-hole {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
.enq-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 101, 15, 0.18), rgba(255, 101, 15, 0) 60%),
    rgba(8, 18, 12, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.55s ease;
}
.enq.is-open .enq-backdrop { opacity: 1; }
.enq.is-closing .enq-backdrop { opacity: 0; transition: opacity 0.5s ease 0.35s; }

.enq-panel {
  --fill: cubic-bezier(0.65, 0, 0.2, 1);
  --fx: 50%;
  --fy: 50%;
  --rmax: 1600px;
  position: relative;
  display: grid;
  grid-template-columns: 42fr 58fr;
  width: min(100%, 1320px);
  height: min(100%, 880px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  clip-path: circle(0px at var(--fx) var(--fy));
  transform: scale(0.94);
  transition:
    clip-path 0.95s var(--fill),
    transform 1.05s var(--fill),
    box-shadow 0.7s ease,
    translate 0.9s var(--ease-out);
  will-change: clip-path, transform;
}
.enq.is-open .enq-panel {
  clip-path: circle(var(--rmax) at var(--fx) var(--fy));
  transform: none;
}
/* once filled: drop the clip so the shadow can show */
.enq.is-settled .enq-panel {
  clip-path: none;
  will-change: auto;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.enq.is-closing .enq-panel {
  clip-path: circle(0px at var(--fx) var(--fy));
  transform: scale(0.95);
  translate: none;
  transition:
    clip-path 0.55s cubic-bezier(0.7, 0, 0.84, 0) 0.24s,
    transform 0.6s cubic-bezier(0.7, 0, 0.84, 0) 0.2s;
}

/* the colour wave */
.enq-wash {
  --enq-hole: 0px;
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: radial-gradient(circle at var(--fx) var(--fy), #ffc29c 0%, var(--o) 20%, #c9632c 38%, #0a6a3d 66%, var(--g) 100%);
  -webkit-mask-image: radial-gradient(circle at var(--fx) var(--fy), transparent calc(var(--enq-hole) - 110px), #000 var(--enq-hole));
  mask-image: radial-gradient(circle at var(--fx) var(--fy), transparent calc(var(--enq-hole) - 110px), #000 var(--enq-hole));
  transition: --enq-hole 1.05s var(--fill) 0.3s, opacity 0.3s ease 1.3s;
}
.enq.is-open .enq-wash { --enq-hole: calc(var(--rmax) + 120px); opacity: 0; }
.enq.is-closing .enq-wash {
  --enq-hole: 0px;
  opacity: 1;
  transition: --enq-hole 0.5s cubic-bezier(0.7, 0, 0.84, 0), opacity 0s;
}

/* close button */
.enq-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.5s var(--spring);
}
.enq-close:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(90deg); }
.enq-close:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }

/* ---------- left: promo panel ---------- */
.enq-promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--g);
  color: var(--white);
}
.enq-photo {
  position: absolute;
  inset: 0 0 18% 0;
  z-index: -1;
}
.enq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 40%;
}
/* dark green fade: solid behind the heading, clear around the technician */
.enq-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 75, 44, 0.97) 0%, rgba(6, 75, 44, 0.88) 30%, rgba(6, 75, 44, 0.25) 56%, rgba(6, 75, 44, 0.15) 80%, rgba(6, 75, 44, 0.6) 100%),
    linear-gradient(90deg, rgba(6, 75, 44, 0.55) 0%, rgba(6, 75, 44, 0) 55%);
}

.enq-promo-top { padding: 40px 44px 0; }
.enq-logo {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}
.enq-title {
  margin: 8px 0 14px;
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.enq-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;   /* room for the swoosh and descenders */
  margin-bottom: -0.22em;
}
.enq-line > span { display: inline-block; }
.enq-accent { position: relative; color: var(--o); }
.enq-swoosh {
  position: absolute;
  left: 4%;
  bottom: -0.16em;
  width: 82%;
  height: 0.28em;
  overflow: visible;
}
.enq-swoosh path {
  fill: none;
  stroke: var(--o);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 0;
}
.enq-desc {
  max-width: 22em;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.enq-promo-mid {
  flex: 1 1 auto;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 0 44px 76px;   /* clears the wave (56px) under it */
}
.enq-happy {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px 8px 8px;
  border-radius: 999px;
  background: rgba(4, 30, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.6);
}
.enq-avatars { display: flex; }
.enq-avatars .avatar {
  width: 40px;
  height: 40px;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.enq-avatars .avatar + .avatar { margin-left: -12px; }
.enq-happy-tx { display: flex; flex-direction: column; line-height: 1.1; }
.enq-happy-tx b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.enq-happy-tx small { font-size: 0.78rem; font-weight: 500; color: rgba(255, 255, 255, 0.8); }

.enq-promo-bottom {
  position: relative;
  padding: 10px 44px 30px;
  background: var(--g-deep);
}
.enq-wave {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: 56px;
  fill: var(--g-deep);
}
.enq-svc {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin: 0 0 18px;
  font-size: 1.12rem;
  font-weight: 700;
}
.enq-svc-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--o);
}
.enq-svc-ic svg { width: 26px; height: 26px; }
.enq-svc.is-swap .enq-svc-ic { animation: enqPop 0.5s var(--spring); }
.enq-svc.is-swap .enq-svc-text { animation: enqSlide 0.5s var(--ease-out); }
@keyframes enqPop { from { scale: 0.4; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes enqSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* benefit pills: lift on hover, each icon has its own little move,
   and a soft shine sweeps across them one after another */
.enq-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.enq-benefits li {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  cursor: default;
  transition: background 0.35s, border-color 0.35s, transform 0.4s var(--spring);
}
.enq-benefits li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: enqShine 6s ease-in-out infinite;
  pointer-events: none;
}
.enq-benefits li:nth-child(2)::after { animation-delay: 0.25s; }
.enq-benefits li:nth-child(3)::after { animation-delay: 0.5s; }
@keyframes enqShine { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.enq-benefits svg { flex: none; color: var(--o); transition: transform 0.5s var(--spring); }
.enq-benefits li:hover {
  background: rgba(255, 101, 15, 0.16);
  border-color: rgba(255, 101, 15, 0.55);
  transform: translateY(-3px);
}
.enq-b-shield:hover svg { animation: enqPulse 0.6s var(--spring); }
.enq-b-gear:hover svg { transform: rotate(180deg); }
.enq-b-bolt:hover svg { animation: enqFlash 0.5s ease; }
@keyframes enqPulse { 50% { transform: scale(1.3); } }
@keyframes enqFlash { 25%, 75% { opacity: 0.2; transform: scale(1.2); } 50%, 100% { opacity: 1; transform: scale(1); } }

.enq-call {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 28px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.enq-call:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); transform: translateY(-2px); }
.enq-call:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }
.enq-call-ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--o);
  box-shadow: 0 10px 24px -8px rgba(255, 101, 15, 0.8);
  animation: enqRing 2.8s ease-in-out infinite;
}
@keyframes enqRing {
  0%, 62%, 100% { rotate: 0deg; }
  66% { rotate: -14deg; } 70% { rotate: 12deg; } 74% { rotate: -9deg; } 78% { rotate: 5deg; }
}
.enq-call-tx { display: flex; flex-direction: column; line-height: 1.15; }
.enq-call-tx small { font-size: 0.78rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.enq-call-tx b { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- right: form ---------- */
.enq-main {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  scrollbar-width: thin;
}
.enq-form {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 40px 48px 0;
}
.enq-form[hidden] { display: none; }

.enq-head { padding-right: 64px; margin-bottom: 26px; }
.enq-head h3 { margin: 0 0 6px; font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.enq-head p { margin: 0; font-size: 1rem; font-weight: 500; color: var(--muted); }
.enq-head-line {
  display: block;
  width: 96px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--o), rgba(255, 101, 15, 0));
}

.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* service cards */
.enq-services { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.enq-services legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--g);
}
/* service pills: only as wide as their text, wrap onto new lines.
   Hover lifts + wiggles the icon; picking one floods it green from
   where you clicked (--cx/--cy set by enquiry.js) and pops in a tick. */
.enq-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.enq-card {
  --cx: 50%;
  --cy: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 6px -4px rgba(0, 0, 0, 0.12);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.45s var(--spring);
}
.enq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #0a6a3d, var(--g));
  clip-path: circle(0% at var(--cx) var(--cy));
  transition: clip-path 0.6s var(--ease-out);
}
.enq-card input { position: absolute; opacity: 0; pointer-events: none; }
.enq-card-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff1e7;
  color: var(--o);
  transition: background 0.35s, transform 0.45s var(--spring);
}
.enq-card-ic svg { width: 20px; height: 20px; }
.enq-card-tx b {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
  transition: color 0.35s;
}
.enq-card-check {
  display: grid;
  place-items: center;
  width: 0;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--white);
  color: var(--g);
  scale: 0;
  transition: width 0.4s var(--ease-out), margin 0.4s var(--ease-out), scale 0.45s var(--spring) 0.1s;
}
.enq-card-check svg { width: 12px; height: 12px; }
.enq-card-check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.35s ease 0.3s; }

.enq-card:hover {
  border-color: rgba(255, 101, 15, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -16px rgba(255, 101, 15, 0.55);
}
.enq-card:hover .enq-card-ic svg { animation: enqWiggle 0.6s ease; }
@keyframes enqWiggle {
  20% { transform: rotate(-14deg) scale(1.1); }
  45% { transform: rotate(10deg) scale(1.1); }
  70% { transform: rotate(-5deg); }
}
.enq-card:active { transform: translateY(-1px) scale(0.97); }

.enq-card.is-checked {
  border-color: var(--g);
  box-shadow: 0 14px 28px -14px rgba(6, 75, 44, 0.7);
}
.enq-card.is-checked::before { clip-path: circle(150% at var(--cx) var(--cy)); }
.enq-card.is-checked .enq-card-ic { background: var(--white); transform: rotate(-8deg); }
.enq-card.is-checked .enq-card-tx b { color: var(--white); }
.enq-card.is-checked .enq-card-check { width: 20px; margin-left: 0; scale: 1; }
.enq-card.is-checked .enq-card-check path { stroke-dashoffset: 0; }
.enq-card.is-focus { outline: 2px solid var(--o); outline-offset: 3px; }
.enq-services.is-invalid .enq-card { border-color: rgba(210, 59, 59, 0.5); }

/* text fields */
.enq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enq-wide { grid-column: 1 / -1; }
.enq-control { position: relative; }
.enq-field-ic {
  position: absolute;
  top: 19px;
  left: 20px;
  color: #3b4541;
  pointer-events: none;
  transition: color 0.3s, transform 0.4s var(--spring);
}
.enq-ic-green { color: var(--g); }
.enq-control input,
.enq-control textarea {
  display: block;
  width: 100%;
  height: 58px;
  padding: 0 18px 0 56px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fcfbf9;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.enq-control textarea {
  height: 104px;
  padding-top: 17px;
  padding-bottom: 26px;
  resize: none;
  line-height: 1.45;
}
.enq-control input::placeholder,
.enq-control textarea::placeholder { color: #6c736f; opacity: 1; }
.enq-control input:hover,
.enq-control textarea:hover { border-color: #d5cfc5; }
.enq-control input:focus,
.enq-control textarea:focus {
  border-color: var(--g);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(6, 75, 44, 0.1);
}
.enq-control:focus-within .enq-field-ic { color: var(--o); transform: scale(1.1); }
.enq-chars {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.enq-chars b { color: var(--ink); }

/* validation */
.enq-err {
  display: flex;
  align-items: center;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  padding-left: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--danger);
  opacity: 0;
  transition: max-height 0.3s var(--ease-out), opacity 0.3s, margin 0.3s;
}
.enq-err::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
}
.is-invalid > .enq-err { max-height: 40px; margin-top: 7px; opacity: 1; }
.enq-field.is-invalid input,
.enq-field.is-invalid textarea { border-color: var(--danger); background: #fff6f5; }
.enq-field.is-invalid .enq-field-ic { color: var(--danger); }
.enq-field.is-valid input { border-color: rgba(6, 75, 44, 0.45); }
.is-shake { animation: enqShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes enqShake {
  10%, 90% { translate: -1px 0; }
  20%, 80% { translate: 3px 0; }
  30%, 50%, 70% { translate: -6px 0; }
  40%, 60% { translate: 6px 0; }
}
.enq-form-err {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff1ef;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--danger);
}
.enq-form-err:empty { display: none; }

/* submit (sticks to the bottom if the form has to scroll) */
.enq-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding: 22px 0 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white) 30%);
}
.enq-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 470px);
  height: 66px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--o);
  color: var(--white);
  font: 800 1.2rem/1 "Manrope", var(--font);
  cursor: pointer;
  box-shadow: 0 18px 34px -16px rgba(255, 101, 15, 0.9);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
/* deeper orange floods up from the bottom on hover */
.enq-submit-fill {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 100%;
  height: 260%;
  z-index: -1;
  border-radius: 45%;
  background: var(--o-dark);
  transition: top 0.6s var(--ease-out);
}
.enq-submit:hover .enq-submit-fill,
.enq-submit:focus-visible .enq-submit-fill { top: -60%; }
.enq-submit:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -16px rgba(255, 101, 15, 0.95); }
.enq-submit:active { transform: translateY(0) scale(0.98); }
.enq-submit:focus-visible { outline: 2px solid var(--g); outline-offset: 4px; }
.enq-plane { transition: transform 0.5s var(--spring); }
.enq-arrow { transition: transform 0.45s var(--ease-out); }
.enq-submit:hover .enq-plane { transform: translate(2px, -2px) rotate(-8deg); }
.enq-submit:hover .enq-arrow { transform: translateX(5px); }
/* sending: the plane bobs and tilts as if flying in place */
.enq-submit-text, .enq-arrow, .enq-plane { transition: opacity 0.3s, transform 0.45s var(--ease-out); }
.enq-submit.is-loading { pointer-events: none; }
.enq-submit.is-loading .enq-arrow { opacity: 0; transform: translateX(12px); }
.enq-submit.is-loading .enq-plane { animation: enqHover 0.9s ease-in-out infinite; }
@keyframes enqHover {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(3px, -4px) rotate(-10deg); }
  50% { transform: translate(6px, -1px) rotate(-4deg); }
  75% { transform: translate(2px, 2px) rotate(4deg); }
}
/* sent: the button's own plane hides while its copy flies away (enquiry.js) */
.enq-submit.is-sent .enq-plane { opacity: 0; transform: translate(30px, -20px) scale(0.6); }
.enq-submit.is-sent .enq-arrow { opacity: 0; }
.enq-plane-fly {
  position: fixed;
  z-index: 1100;
  pointer-events: none;
  color: #fff;
  filter: drop-shadow(0 6px 10px rgba(255, 101, 15, 0.45));
}

/* ---------- success ---------- */
.enq-success {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 48px 40px;
  text-align: center;
  outline: none;
}
.enq-success[hidden] { display: none; }
.enq-burst { position: absolute; top: 50%; left: 50%; width: 0; height: 0; pointer-events: none; }
.enq-burst i { position: absolute; top: -90px; left: 0; width: 8px; height: 12px; border-radius: 2px; }
.enq-check-wrap { position: relative; margin-bottom: 22px; }
.enq-check-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(6, 75, 44, 0.16);
  scale: 0;
}
.enq-success.is-shown .enq-check-wrap::before { animation: enqHalo 1.6s var(--ease-out) 0.5s; }
@keyframes enqHalo { from { scale: 0.8; opacity: 1; } to { scale: 2.1; opacity: 0; } }
.enq-check { display: block; }
.enq-check circle {
  fill: var(--g-soft);
  stroke: var(--g);
  stroke-width: 3;
  stroke-dasharray: 227;
  stroke-dashoffset: 227;
  transform: rotate(-90deg);
  transform-origin: center;
}
.enq-check path {
  fill: none;
  stroke: var(--g);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}
.enq-success.is-shown .enq-check circle { animation: enqDraw 0.8s var(--ease-out) forwards; }
.enq-success.is-shown .enq-check path { animation: enqDraw 0.45s var(--ease-out) 0.55s forwards; }
@keyframes enqDraw { to { stroke-dashoffset: 0; } }
.enq-ref, .enq-success h3, .enq-success p, .enq-done { opacity: 0; transform: translateY(14px); }
.enq-success.is-shown .enq-ref { animation: enqUp 0.7s var(--ease-out) 0.5s forwards; }
.enq-success.is-shown h3 { animation: enqUp 0.7s var(--ease-out) 0.6s forwards; }
.enq-success.is-shown p { animation: enqUp 0.7s var(--ease-out) 0.7s forwards; }
.enq-success.is-shown .enq-done { animation: enqUp 0.7s var(--ease-out) 0.8s forwards; }
@keyframes enqUp { to { opacity: 1; transform: none; } }
.enq-ref {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff1e7;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--o-dark);
}
.enq-ref.is-empty { display: none; }
.enq-success h3 { margin: 0 0 8px; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.enq-success p { max-width: 26em; margin: 0 0 28px; font-size: 1rem; color: var(--muted); }
.enq-success strong { color: var(--ink); }
.enq-done {
  padding: 14px 40px;
  border: 0;
  border-radius: 999px;
  background: var(--g);
  color: var(--white);
  font: 700 0.95rem "Manrope", var(--font);
  cursor: pointer;
  transition: background 0.3s, translate 0.3s var(--ease-out);
}
.enq-done:hover, .enq-done:focus-visible { background: var(--g-deep); translate: 0 -2px; }

/* ---------- laptops / short screens: tighten so everything fits ---------- */
@media (min-width: 761px) and (max-height: 960px) {
  .enq-promo-top { padding-top: 30px; }
  .enq-logo { height: 34px; margin-bottom: 14px; }
  .enq-title { margin: 16px 0 10px; font-size: clamp(2rem, 3.2vw, 2.9rem); }
  .enq-desc { font-size: 0.98rem; }
  .enq-promo-bottom { padding-bottom: 22px; }
  .enq-svc { margin-bottom: 12px; font-size: 1rem; }
  .enq-benefits { margin-bottom: 16px; }
  .enq-benefits li { padding: 7px 12px 7px 10px; font-size: 0.78rem; }
  .enq-call-ic { width: 46px; height: 46px; }
  .enq-call-tx b { font-size: 1.25rem; }
  .enq-form { padding-top: 28px; }
  .enq-head { margin-bottom: 16px; }
  .enq-head h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
  .enq-head p { font-size: 0.92rem; }
  .enq-head-line { margin-top: 10px; }
  .enq-services { margin-bottom: 16px; }
  .enq-services legend { margin-bottom: 8px; font-size: 1.02rem; }
  .enq-control input { height: 50px; }
  .enq-field-ic { top: 15px; }
  .enq-control textarea { height: 80px; padding-top: 14px; }
  .enq-actions { padding: 14px 0 22px; }
  .enq-submit { height: 56px; font-size: 1.08rem; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .enq-desc { display: none; }
  .enq-head p { display: none; }
  .enq-head h3 { margin: 0; }
  .enq-control input { height: 46px; }
  .enq-field-ic { top: 13px; }
  .enq-control textarea { height: 66px; padding-top: 12px; }
  .enq-actions { padding: 10px 0 16px; }
  .enq-submit { height: 52px; }
}

/* ---------- tablets ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  .enq { padding: 4vh 3vw; }
  .enq-panel { grid-template-columns: 38fr 62fr; }
  .enq-promo-top, .enq-promo-mid, .enq-promo-bottom { padding-left: 28px; padding-right: 28px; }
  .enq-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
  .enq-benefits { gap: 6px; }
  .enq-benefits li { padding: 6px 11px 6px 9px; font-size: 0.76rem; }
  .enq-call { padding-right: 18px; }
  .enq-call-tx b { font-size: 1.1rem; }
  .enq-form { padding-left: 30px; padding-right: 30px; }
}

/* ---------- phones: full screen, compact promo header ---------- */
@media (max-width: 760px) {
  .enq { padding: 0; }
  .enq-panel {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .enq-close {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.92);
  }
  .enq-promo { display: block; }
  .enq-photo { inset: 0 0 34px 0; }
  .enq-photo::after {
    background: linear-gradient(180deg, rgba(6, 75, 44, 0.96) 0%, rgba(6, 75, 44, 0.85) 45%, rgba(6, 75, 44, 0.35) 75%, rgba(6, 75, 44, 0.55) 100%);
  }
  .enq-promo-top { padding: 18px 20px 0; }
  .enq-logo { height: 28px; margin-bottom: 12px; }
  .enq-title { margin: 12px 0 8px; font-size: 2rem; }
  .enq-desc { font-size: 0.9rem; }
  .enq-promo-mid { min-height: 0; padding: 60px 20px 42px; }
  .enq-happy { gap: 10px; padding: 6px 16px 6px 6px; }
  .enq-avatars .avatar { width: 30px; height: 30px; }
  .enq-avatars .avatar + .avatar { margin-left: -9px; }
  .enq-happy-tx b { font-size: 0.98rem; }
  .enq-happy-tx small { font-size: 0.7rem; }
  .enq-promo-bottom { padding: 4px 20px 14px; }
  .enq-wave { height: 30px; }
  .enq-svc { margin: 0; font-size: 0.95rem; }
  .enq-benefits, .enq-call { display: none; }
  .enq-main { overflow: visible; }
  .enq-form { min-height: 0; padding: 24px 18px 0; }
  .enq-head { padding-right: 0; margin-bottom: 18px; }
  .enq-head h3 { font-size: 1.7rem; }
  .enq-head p { font-size: 0.9rem; }
  .enq-cards { gap: 8px; }
  .enq-card { padding: 5px 14px 5px 5px; gap: 8px; }
  .enq-card-ic { width: 30px; height: 30px; }
  .enq-card-ic svg { width: 17px; height: 17px; }
  .enq-card-tx b { font-size: 0.84rem; }
  .enq-fields { grid-template-columns: 1fr; gap: 12px; }
  .enq-control input { height: 52px; }
  .enq-field-ic { top: 16px; }
  .enq-actions { padding: 16px 0 calc(18px + env(safe-area-inset-bottom)); }
  .enq-submit { width: 100%; height: 58px; font-size: 1.08rem; }
  .enq-success { min-height: 420px; padding: 36px 20px; }
}
@media (max-width: 340px) {
}

/* ---------- visitors who turn off animations ---------- */
@media (prefers-reduced-motion: reduce) {
  .enq *, .enq *::before, .enq *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .enq-wash { display: none; }
  .enq-check circle, .enq-check path { stroke-dashoffset: 0; }
  .enq-ref, .enq-success h3, .enq-success p, .enq-done { opacity: 1; transform: none; }
}
