/* =====================================================================
   Dream Cleen v2 - mobile quick-contact button + popup (phones only)
   ---------------------------------------------------------------------
   Navy phone button fixed bottom-right. Tapping it slides up a popup:
   navy box with the tap-to-call number on top, white enquiry form below.
   The form is sent by /assets/js/web3forms.js (Web3Forms + Turnstile);
   open/close behaviour is /assets/js/mobile-contact.js.
   Edit the values marked <<<.
   ===================================================================== */
.dc-fab,
.dc-quick { display: none; }

@media screen and (max-width: 767.98px) {
  html.dc-quick-open { overflow: hidden; }

  .dc-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    width: 58px;                /* <<< button size */
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #111C52;        /* <<< button colour (site navy) */
    color: #fff;
    box-shadow: 0 8px 22px rgba(17, 28, 82, .45);
    cursor: pointer;
    transition: transform .2s ease;
  }
  .dc-fab svg { width: 26px; height: 26px; fill: currentColor; }
  .dc-fab:active { transform: scale(.94); }
  html.dc-quick-open .dc-fab { opacity: 0; pointer-events: none; }

  /* overlay + bottom sheet */
  .dc-quick {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 9995;
    background: rgba(8, 14, 44, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .dc-quick.is-open { opacity: 1; visibility: visible; }
  .dc-quick__panel {
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px 16px 0 0;
    transform: translateY(40px);
    transition: transform .35s ease;
    font-family: inherit;
  }
  .dc-quick.is-open .dc-quick__panel { transform: none; }

  /* navy telephone box */
  .dc-quick__call {
    position: relative;
    padding: 22px 20px 20px;
    background: #111C52;        /* <<< navy box colour */
    color: #fff;
    border-radius: 16px 16px 0 0;
  }
  .dc-quick__label {
    margin: 0 0 6px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
  }
  .dc-quick__number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;            /* <<< phone number size */
    font-weight: 700;
    line-height: 1.2;
    color: #fff !important;
    text-decoration: none !important;
  }
  .dc-quick__number svg { width: 24px; height: 24px; fill: #61CE70; }
  .dc-quick__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
  }
  .dc-quick__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

  /* white form */
  .dc-quick__form { padding: 18px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .dc-quick__intro { margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: #5b6573; }
  .dc-quick-form label {
    display: block;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #111C52;
  }
  .dc-quick-form input,
  .dc-quick-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #d6d9e3;
    border-radius: 8px;
    background: #fff;
    color: #111C52;
    font: inherit;
    font-size: 16px;            /* 16px stops iPhones zooming in on the field */
  }
  .dc-quick-form textarea { height: auto; min-height: 84px; resize: vertical; }
  .dc-quick-form input:focus,
  .dc-quick-form textarea:focus { outline: 2px solid #111C52; outline-offset: 1px; border-color: #111C52; }
  .dc-quick-form button[type="submit"] {
    display: block;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 8px;
    background: #111C52;        /* <<< send button colour */
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }
  .dc-quick-form button[type="submit"]:disabled { opacity: .6; }
  .dc-quick-form .dc-q-note { margin: 10px 0 0; font-size: 13px; line-height: 19px; color: #5b6573; }
  .dc-quick-form .dc-q-note a { color: #111C52; text-decoration: underline; }
  /* success / error message added by web3forms.js */
  .dc-quick-form .dc-w3f-msg { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
  .dc-quick-form .elementor-message-success { background: #eaf6ea; color: #2c6b2c; }
  .dc-quick-form .elementor-message-danger { background: #fdecea; color: #a8321f; }
}
