/*!
 * Curved contact dock — Shree Umiya Structure Pvt. Ltd.   v1.3.1
 * v1.3.1: Assistant button uses the new tiger face (upload/chatbot/assistant-face.webp / .png, 192 px).
 * v1.3.0 (≤991px): WhatsApp joins the arc above Brochure — 8 items (circle centre 34,247 · radius 215.1,
 *   58 px apart). The big round button is the Assistant (tiger face) instead of WhatsApp; it opens the
 *   chat of js/chatbot.js. Desktop keeps the WhatsApp button and 6 items.
 * v1.2.0: Facebook added — desktop 6 items (circle centre 34,209 · radius 179.6, 66 px apart),
 *   ≤991px 7 items with Brochure (circle centre 34,224 · radius 193.5, 60 px apart).
 * v1.1.0 (≤991px): Brochure joins the arc (6 items on a wider arc: circle centre 34,209 · radius 179.6),
 *   the floating Brochure tab is hidden (css/suspl-flipbook.css). The tiger mascot (index.php)
 *   steps aside while the arc is open.
 * Markup: footer.php (#suspl-contact-dock) · Script: js/suspl-contact-dock.js
 * Left side of the screen. Two buttons are always visible: the share / close toggle and WhatsApp.
 * The toggle opens Call Us, Email Us, LinkedIn, YouTube and Instagram on a curved line (golden arc
 * with small golden points) above the WhatsApp button.
 * Plain CSS, explicit values per breakpoint (no clamp / calc / custom properties). Sizes on other
 * screens are scaled as one piece with `zoom`, so the curve and the buttons always stay aligned.
 *
 * Geometry (desktop, px from the bottom-left corner of the WhatsApp button):
 *   WhatsApp 68 × 68 at 0,0 · toggle 48 × 48, centre 34,110
 *   icon centres on a circle (centre 34,209 · radius 179.6):
 *   Instagram 105,44 · YouTube 184,110 · Facebook 211,176 · LinkedIn 211,242 · Email 184,308 · Call 105,374
 */
.scd {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9990;
    width: 68px;
    height: 68px;
    font-family: "Inter", "Poppins", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}
.scd *, .scd *::before, .scd *::after { box-sizing: border-box; }

/* ---------------------------------------------------------------- WhatsApp (always visible) */
.scd a.scd__wa {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #25d366;
    background-image: linear-gradient(145deg, #2fe077 0%, #25d366 45%, #12a150 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.16), 0 14px 28px -8px rgba(18, 140, 75, 0.55);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scd a.scd__wa i { font-size: 34px; line-height: 1; }
.scd a.scd__wa::after {
    /* soft pulse ring */
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    opacity: 0;
    animation: scd-pulse 2.8s ease-out infinite;
    pointer-events: none;
}
@keyframes scd-pulse {
    0% { opacity: 0.7; transform: scale(0.86); }
    70% { opacity: 0; transform: scale(1.18); }
    100% { opacity: 0; transform: scale(1.18); }
}
.scd a.scd__wa:hover,
.scd a.scd__wa:focus-visible {
    color: #ffffff;
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.2), 0 18px 32px -8px rgba(18, 140, 75, 0.6);
}
.scd__wa-tip {
    position: absolute;
    left: 78px;
    top: 50%;
    padding: 7px 14px;
    border-radius: 18px;
    background: #ffffff;
    color: #0b2a4f;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(11, 42, 79, 0.45);
    opacity: 0;
    transform: translate3d(-6px, -50%, 0);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.scd a.scd__wa:hover .scd__wa-tip,
.scd a.scd__wa:focus-visible .scd__wa-tip { opacity: 1; transform: translate3d(0, -50%, 0); }
.scd.is-open .scd__wa-tip { display: none; }

/* ---------------------------------------------------------------- Assistant (≤991px, replaces WhatsApp there) */
.scd button.scd__ai {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 4;
    display: none;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0;
    padding: 0;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #fff7e6;
    background-image: radial-gradient(circle at 50% 35%, #ffffff 0%, #fff3d6 70%, #ffe2a3 100%);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(245, 166, 44, 0.22), 0 14px 28px -8px rgba(11, 42, 79, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scd button.scd__ai picture { display: contents; }
.scd .scd__ai-face {
    display: block;
    width: 54px;
    height: 54px;
    max-width: none;
    margin: auto;
    object-fit: contain;
    pointer-events: none;
}
.scd button.scd__ai:hover,
.scd button.scd__ai:focus-visible {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 0 0 8px rgba(245, 166, 44, 0.28), 0 18px 32px -8px rgba(11, 42, 79, 0.55);
}

/* ---------------------------------------------------------------- toggle (share ⇄ close) */
.scd button.scd__toggle {
    position: absolute;
    left: 10px;
    bottom: 86px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #0b2a4f;
    background-image: linear-gradient(145deg, #204c72 0%, #0b2a4f 100%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 22px -8px rgba(11, 42, 79, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.scd button.scd__toggle:hover { transform: translate3d(0, -2px, 0); box-shadow: 0 14px 26px -8px rgba(11, 42, 79, 0.65); }
.scd__toggle i {
    position: absolute;
    font-size: 18px;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.scd__toggle .scd__toggle-close { opacity: 0; transform: rotate(-90deg) scale(0.6); font-size: 20px; }
.scd.is-open .scd__toggle .scd__toggle-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.scd.is-open .scd__toggle .scd__toggle-close { opacity: 1; transform: rotate(0deg) scale(1); }
.scd.is-open button.scd__toggle { box-shadow: 0 0 0 5px rgba(245, 166, 44, 0.28), 0 10px 22px -8px rgba(11, 42, 79, 0.6); }

/* ---------------------------------------------------------------- expanded menu */
.scd__menu {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 360px;
    height: 360px;
    pointer-events: none;
}
.scd__curve {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 360px;
    height: 440px;
    overflow: visible;
}
.scd__arc {
    fill: none;
    stroke: #f5a62c;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 480;
    stroke-dashoffset: 480;
    transition: stroke-dashoffset 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.scd__dot {
    fill: #f5a62c;
    stroke: #ffffff;
    stroke-width: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.scd.is-open .scd__arc { stroke-dashoffset: 0; transition-delay: 0.05s; }
.scd.is-open .scd__dot { opacity: 1; transition-delay: 0.35s; }

.scd ul.scd__list { position: absolute; left: 0; bottom: 0; width: 360px; height: 360px; margin: 0; padding: 0; list-style: none; }
.scd li.scd__item {
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-36px, 26px, 0) scale(0.55);
    transform-origin: 26px 26px;
    transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.42s;
}
/* icon centre − 26 px (icon 52 × 52) */
.scd li.scd__item--instagram { left: 79px; bottom: 18px; }
.scd li.scd__item--youtube { left: 158px; bottom: 84px; }
.scd li.scd__item--facebook { left: 185px; bottom: 150px; }
.scd li.scd__item--linkedin { left: 185px; bottom: 216px; }
.scd li.scd__item--email { left: 158px; bottom: 282px; }
.scd li.scd__item--call { left: 79px; bottom: 348px; }

.scd.is-open li.scd__item {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}
/* staggered: opens from the bottom (Instagram) up, closes from the top (Call) down */
.scd.is-open li.scd__item--instagram { transition-delay: 0s; }
.scd.is-open li.scd__item--youtube { transition-delay: 0.04s; }
.scd.is-open li.scd__item--facebook { transition-delay: 0.08s; }
.scd.is-open li.scd__item--linkedin { transition-delay: 0.12s; }
.scd.is-open li.scd__item--email { transition-delay: 0.16s; }
.scd.is-open li.scd__item--call { transition-delay: 0.2s; }
.scd li.scd__item--call { transition-delay: 0s, 0s, 0.42s; }
.scd li.scd__item--email { transition-delay: 0.04s, 0.04s, 0.46s; }
.scd li.scd__item--linkedin { transition-delay: 0.08s, 0.08s, 0.5s; }
.scd li.scd__item--facebook { transition-delay: 0.1s, 0.1s, 0.52s; }
.scd li.scd__item--youtube { transition-delay: 0.12s, 0.12s, 0.54s; }
.scd li.scd__item--instagram { transition-delay: 0.16s, 0.16s, 0.58s; }

.scd a.scd__link {
    display: flex;
    align-items: center;
    color: #0b2a4f;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.scd__ico {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #204c72;
    color: #ffffff;
    box-shadow: 0 8px 18px -8px rgba(11, 42, 79, 0.55);
}
.scd__ico i { font-size: 19px; line-height: 1; }
.scd__label {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 44px;
    margin-left: -26px;
    padding: 0 22px 0 38px;
    border-radius: 22px;
    background: #ffffff;
    color: #0b2a4f;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.1px;
    white-space: nowrap;
    box-shadow: 0 10px 24px -12px rgba(11, 42, 79, 0.45), 0 0 0 1px rgba(11, 42, 79, 0.05);
    transition: box-shadow 0.3s ease, color 0.3s ease;
}
.scd__item--call .scd__ico,
.scd__item--email .scd__ico { background: #204c72; background-image: linear-gradient(145deg, #2d5f8c 0%, #1a3f62 100%); }
.scd__item--linkedin .scd__ico { background: #0a66c2; }
.scd__item--facebook .scd__ico { background: #1877f2; }
.scd__item--facebook .scd__ico i { font-size: 20px; }
.scd__item--youtube .scd__ico { background: #ff0000; }
.scd__item--whatsapp .scd__ico { background: #25d366; background-image: linear-gradient(145deg, #2fe077 0%, #25d366 45%, #12a150 100%); }
.scd__item--whatsapp .scd__ico i { font-size: 23px; }
.scd__item--youtube .scd__ico i { font-size: 20px; }
.scd__item--instagram .scd__ico { background: #d6249f; background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
/* Brochure (mobile / tablet only): highlighted in the brand gold */
.scd__item--brochure .scd__ico { background: #f5a62c; background-image: linear-gradient(145deg, #ffc451 0%, #f5a62c 55%, #e08a12 100%); color: #0b2a4f; }
.scd__item--brochure .scd__ico i { font-size: 19px; }
.scd__item--brochure .scd__label { box-shadow: 0 10px 24px -12px rgba(11, 42, 79, 0.45), 0 0 0 1.5px rgba(245, 166, 44, 0.7); }

/* desktop: five items on the original arc; the Brochure item and the wider arc are mobile only */
.scd li.scd__item--brochure,
.scd li.scd__item--whatsapp,
.scd__curve--m { display: none; }

.scd a.scd__link:hover,
.scd a.scd__link:focus-visible { color: #0b2a4f; transform: translate3d(0, -3px, 0); }
.scd a.scd__link:hover .scd__label,
.scd a.scd__link:focus-visible .scd__label { box-shadow: 0 16px 28px -12px rgba(11, 42, 79, 0.5), 0 0 0 1px rgba(245, 166, 44, 0.55); }

.scd a.scd__link:focus-visible,
.scd a.scd__wa:focus-visible,
.scd button.scd__ai:focus-visible,
.scd button.scd__toggle:focus-visible { outline: 3px solid #f5a62c; outline-offset: 3px; border-radius: 30px; }
.scd a.scd__wa:focus-visible,
.scd button.scd__ai:focus-visible,
.scd button.scd__toggle:focus-visible { border-radius: 50%; }

.scd__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------- mobile / tablet (≤991px): 8 items */
@media (max-width: 991px) {
    /* the big button is the Assistant here; WhatsApp is on the arc */
    .scd a.scd__wa { display: none; }
    .scd button.scd__ai { display: flex; }
    .scd__curve { display: none; }
    .scd__curve--m { display: block; height: 500px; }
    .scd li.scd__item--brochure,
    .scd li.scd__item--whatsapp { display: block; }
    /* icon centre − 26 px, on the longer arc (centre 34,247 · radius 215.1, 58 px apart) */
    .scd li.scd__item--brochure { left: 79px; bottom: 18px; }
    .scd li.scd__item--whatsapp { left: 167px; bottom: 76px; }
    .scd li.scd__item--instagram { left: 205px; bottom: 134px; }
    .scd li.scd__item--youtube { left: 221px; bottom: 192px; }
    .scd li.scd__item--facebook { left: 221px; bottom: 250px; }
    .scd li.scd__item--linkedin { left: 205px; bottom: 308px; }
    .scd li.scd__item--email { left: 167px; bottom: 366px; }
    .scd li.scd__item--call { left: 79px; bottom: 424px; }
    .scd__arc { stroke-dasharray: 590; stroke-dashoffset: 590; }
    /* stagger: opens from the bottom (Brochure) up, closes from the top (Call) down */
    .scd.is-open li.scd__item--brochure { transition-delay: 0s; }
    .scd.is-open li.scd__item--whatsapp { transition-delay: 0.03s; }
    .scd.is-open li.scd__item--instagram { transition-delay: 0.06s; }
    .scd.is-open li.scd__item--youtube { transition-delay: 0.09s; }
    .scd.is-open li.scd__item--facebook { transition-delay: 0.12s; }
    .scd.is-open li.scd__item--linkedin { transition-delay: 0.15s; }
    .scd.is-open li.scd__item--email { transition-delay: 0.18s; }
    .scd.is-open li.scd__item--call { transition-delay: 0.21s; }
    .scd li.scd__item--whatsapp { transition-delay: 0.18s, 0.18s, 0.6s; }
    .scd li.scd__item--brochure { transition-delay: 0.2s, 0.2s, 0.62s; }

    /* the walking tiger is not shown here any more — the Assistant button opens its chat */
    #suspl-tiger .suspl-tiger-stage,
    #suspl-tiger .suspl-tiger-thought,
    #suspl-tiger .suspl-tiger-say,
    #suspl-tiger .suspl-tiger-x { display: none !important; }
}

/* ---------------------------------------------------------------- screen sizes (scaled as one piece) */
@media (max-width: 1199px) { .scd { left: 20px; bottom: 22px; zoom: 0.92; } }
@media (max-width: 991px) { .scd { left: 18px; bottom: 20px; zoom: 0.86; } }
@media (max-width: 767px) { .scd { left: 14px; bottom: 18px; zoom: 0.8; } }
@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 991px) {
        .scd { margin-left: env(safe-area-inset-left); margin-bottom: env(safe-area-inset-bottom); }
    }
}
@media (max-width: 359px) { .scd { left: 12px; bottom: 14px; zoom: 0.74; } }
/* short windows (landscape phones, small laptops): keep the open menu below the header */
@media (max-height: 640px) and (min-width: 768px) { .scd { zoom: 0.8; } }
@media (max-height: 460px) { .scd { bottom: 12px; zoom: 0.66; } }
/* large monitors */
@media (min-width: 1920px) { .scd { left: 28px; bottom: 28px; zoom: 1.1; } }
@media (min-width: 2560px) { .scd { zoom: 1.4; } }
@media (min-width: 3840px) { .scd { zoom: 2; } }
@media (min-width: 5120px) { .scd { zoom: 2.6; } }
@media (min-width: 7680px) { .scd { zoom: 3.8; } }

@media (hover: none) {
    .scd a.scd__link:hover,
    .scd a.scd__wa:hover,
    .scd button.scd__ai:hover,
    .scd button.scd__toggle:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .scd a.scd__wa::after { animation: none; }
    .scd li.scd__item,
    .scd.is-open li.scd__item,
    .scd__arc,
    .scd__dot,
    .scd__toggle i { transition: none !important; }
    .scd li.scd__item { transform: none; }
}

@media print { .scd { display: none; } }
