/*
 * Best Lift — assets/css/index.css
 * Purpose: Home page only (index.php) — hero extras, products bento, why-choose,
 * services, projects, testimonials, steps, blog, FAQ, consultation banner.
 * Loaded by index.php AFTER main.css, so it can use every token from
 * variables.css / main.css (--bl-grad, --bl-line, --bl-radius-card ...).
 * Shared .home-* base rules (also used by other pages) stay in main.css.
 * Motion hooks come from main.js -> initHomeSections().
 */

/* =====================================================================
 * v54 HOME ADDITIONS — services overview, testimonials, clients,
 * service areas, emergency call strip. (index.php, "hs-" prefix)
 * ===================================================================== */
.hs-demo-tag {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.55rem;
    border: 1px dashed #C79A00;
    border-radius: 999px;
    background: #FFF8DC;
    color: #7A5B00;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

/* ---- services overview ---- */
.hs-svc {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.4rem;
    color: inherit;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid var(--bl-line);
    border-radius: var(--bl-radius-card);
    box-shadow: 0 8px 24px rgba(75, 0, 114, 0.05);
}
.hs-svc__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: rgba(75, 0, 114, 0.09);
    color: var(--color-primary);
}
.hs-svc__icon svg { width: 26px; height: 26px; }
.hs-svc h3 { margin-bottom: 0.4rem; font-weight: 800; letter-spacing: -0.01em; }
.hs-svc p { margin-bottom: 1rem; }
.hs-svc__more { margin-top: auto; color: var(--color-primary); font-weight: 700; }
.hs-svc:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hs-svc { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
    .hs-svc:hover {
        transform: translateY(-4px);
        border-color: rgba(75, 0, 114, 0.3);
        box-shadow: 0 16px 36px rgba(75, 0, 114, 0.14);
    }
    .hs-svc:hover .hs-svc__icon { background: var(--bl-grad-solid); color: #FFFFFF; }
}

/* ---- testimonials ---- */
.hs-testi {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.5rem 1.5rem 1.4rem;
    background: #FFFFFF;
    border: 1px solid var(--bl-line);
    border-radius: var(--bl-radius-card);
    box-shadow: 0 8px 24px rgba(75, 0, 114, 0.05);
}
.hs-testi__stars { margin-bottom: 0.6rem; color: #F5A524; letter-spacing: 0.15em; font-size: 1.05rem; }
.hs-testi blockquote { flex: 1; margin: 0 0 1.2rem; }
.hs-testi blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.hs-testi figcaption {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--bl-line);
}
.hs-testi figcaption strong { display: block; line-height: 1.2; }
.hs-testi figcaption small { display: block; color: var(--color-text-body); font-size: var(--font-size-sm); }
.hs-testi__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bl-grad-solid);
    color: #FFFFFF;
    font-weight: 800;
}

/* ---- client strip ---- */
.hs-clients {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem 1.2rem;
    margin-top: var(--space-lg);
    padding: 1rem 1.4rem;
    background: #FFFFFF;
    border: 1px solid var(--bl-line);
    border-radius: 999px;
}
.hs-clients__label { font-size: var(--font-size-sm); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.hs-clients ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.hs-clients li { color: #6B5A78; font-weight: 700; }
@media (max-width: 700px) { .hs-clients { border-radius: 24px; } }

/* ---- emergency call strip ---- */
.hs-call {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.3rem, 3.5vw, 2.6rem);
    border-radius: var(--bl-radius-card);
    color: #FFFFFF;
    background:
        radial-gradient(60% 140% at 100% 0%, rgba(18, 160, 90, 0.45) 0%, rgba(18, 160, 90, 0) 60%),
        linear-gradient(125deg, #2A0042 0%, #4B0072 60%, #5E1A8C 100%);
    box-shadow: 0 18px 40px rgba(75, 0, 114, 0.22);
}
.hs-call__text { display: flex; align-items: flex-start; gap: 0.9rem; }
.hs-call h2 { margin: 0 0 0.3rem; color: #FFFFFF; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; background: none; -webkit-text-fill-color: #FFFFFF; }
.hs-call p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.hs-call__dot {
    flex: none;
    width: 12px;
    height: 12px;
    margin-top: 0.55rem;
    border-radius: 50%;
    background: #FF4D6A;
    box-shadow: 0 0 0 0 rgba(255, 77, 106, 0.55);
}
.hs-call__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hs-call__btn { text-decoration: none; }
.hs-call__btn--call { background: #FFFFFF; color: var(--color-primary); font-weight: 800; }
.hs-call__btn--call:hover, .hs-call__btn--call:focus-visible { background: #F3EAF9; color: var(--color-primary); }
.hs-call__btn--wa { background: #17A85A; color: #FFFFFF; font-weight: 800; }
.hs-call__btn--wa:hover, .hs-call__btn--wa:focus-visible { background: #0F8247; color: #FFFFFF; }
.hs-call__btn--ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #FFFFFF; background: transparent; }
.hs-call__btn--ghost:hover, .hs-call__btn--ghost:focus-visible { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
@media (min-width: 900px) {
    .hs-call { flex-direction: row; align-items: center; justify-content: space-between; }
    .hs-call__actions { justify-content: flex-end; }
}
@media (prefers-reduced-motion: no-preference) {
    .hs-call__dot { animation: hs-ping 2s ease-out infinite; }
}
@keyframes hs-ping {
    0%   { box-shadow: 0 0 0 0 rgba(255, 77, 106, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 77, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 106, 0); }
}

/* ---- service areas ---- */
.hs-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.hs-areas li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    background: #FFFFFF;
    border: 1px solid var(--bl-line);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(75, 0, 114, 0.05);
}
.hs-areas svg { width: 18px; height: 18px; color: var(--color-accent); }

/* ---- compact product strip (home, under "Built for Every Building") ---- */
.hs-pstrip {
    padding: clamp(2rem, 4vw, 3rem) var(--space-sm) 0;
    text-align: center;
}
.hs-pstrip__title {
    display: inline-block;
    margin: 0 0 1.3rem;
    padding: 0.35rem 1.1rem;
    border: 1px solid var(--bl-line);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(75, 0, 114, 0.06);
}
.hs-pstrip__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1112px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.hs-pstrip__list li { flex: 0 1 calc(50% - 0.5rem); min-width: 0; }
@media (min-width: 640px)  { .hs-pstrip__list li { flex-basis: calc(33.333% - 0.7rem); } }
@media (min-width: 1024px) { .hs-pstrip__list li { flex-basis: calc(25% - 0.75rem); } }

.hs-pcard {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    color: #FFFFFF;
    text-decoration: none;
    text-align: left;
    border-radius: 22px;
    background: var(--color-midnight);
    box-shadow: 0 10px 26px rgba(75, 0, 114, 0.16);
}
.hs-pcard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* dark purple fade so the title is always readable */
.hs-pcard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(13, 2, 26, 0) 40%, rgba(24, 0, 40, 0.88) 100%);
}
/* green accent bar */
.hs-pcard::after {
    content: "";
    position: absolute;
    left: 1.1rem;
    bottom: 0;
    z-index: 2;
    width: 36px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(90deg, #17C46E, #0F8247);
}
.hs-pcard__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem 1.1rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hs-pcard__go {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    font-weight: 800;
}
.hs-pcard:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hs-pcard { transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .hs-pcard img { transition: transform 0.6s ease; }
    .hs-pcard__go { opacity: 0; transform: translate(6px, -6px); transition: opacity 0.25s ease, transform 0.25s ease; }
    .hs-pcard::after { transition: width 0.3s ease; }
    .hs-pcard:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(75, 0, 114, 0.28); }
    .hs-pcard:hover img { transform: scale(1.07); }
    .hs-pcard:hover .hs-pcard__go,
    .hs-pcard:focus-visible .hs-pcard__go { opacity: 1; transform: none; }
    .hs-pcard:hover::after { width: 72px; }
}

/* =====================================================================
 * v55 HOME REDESIGN — merged duplicate sections
 *  - products: one section (DB image cards) instead of text cards + strip
 *  - why-choose: split layout with icons (stats band removed: it repeated
 *    "365 days" / "24/7" already in the cards)
 *  - services + emergency call strip are one section
 *  - trusted-by + service areas are one card
 * ===================================================================== */
.hs-products .hs-pstrip__list { margin-top: 0; }

/* ---- why choose: intro left, 2x2 benefits right ---- */
.hs-why { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .hs-why { grid-template-columns: 0.85fr 1.35fr; } }
.hs-why__intro h2 {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 0.8rem;
    font-size: clamp(1.9rem, 3.8vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: var(--bl-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hs-why__intro p { max-width: 440px; margin: 0 0 1.5rem; font-size: 1.08rem; line-height: 1.75; }
.hs-why__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hs-why__grid { grid-template-columns: repeat(2, 1fr); } }
.hs-why__item {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1.4rem 1.5rem;
    background: #FFFFFF;
    border: 1px solid var(--bl-line);
    border-radius: var(--bl-radius-card);
    box-shadow: 0 8px 24px rgba(75, 0, 114, 0.05);
}
.hs-why__item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--bl-grad);
}
.hs-why__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.9rem;
    border-radius: 15px;
    background: var(--bl-grad-solid);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(75, 0, 114, 0.22);
}
.hs-why__icon svg { width: 24px; height: 24px; }
.hs-why__item h3 { margin-bottom: 0.4rem; font-weight: 800; letter-spacing: -0.01em; }
.hs-why__item p { margin: 0; }

/* ---- emergency strip lives under the 3 service cards ---- */
.hs-call--svc { margin-top: var(--space-lg); }
.hs-call__label {
    display: block;
    margin-bottom: 0.35rem;
    color: #7FE8B5;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* =====================================================================
 * v56 — wider home content, 3-item "why" list
 * (home sections also carry .pp-wide = same width as the header)
 * ===================================================================== */
.hs-products .hs-pstrip__list {
    max-width: none;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}
.hs-products .hs-pstrip__list li { flex: none; }
.hs-products .hs-pcard { aspect-ratio: 16 / 11; }
.hs-products .hs-pcard__title { font-size: 1.08rem; padding: 1.2rem 1.3rem 1.3rem; }

/* why choose: intro left, three horizontal benefit rows right */
@media (min-width: 900px) { .hs-why { grid-template-columns: 0.8fr 1.4fr; } }
.hs-why__grid { grid-template-columns: 1fr; gap: 1.1rem; }
.hs-why__item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.2rem;
    align-items: start;
    padding: 1.5rem 1.6rem;
}
.hs-why__item .hs-why__icon { grid-row: 1 / span 2; margin: 0; width: 56px; height: 56px; border-radius: 17px; }
.hs-why__item .hs-why__icon svg { width: 28px; height: 28px; }
.hs-why__item h3 { margin: 0 0 0.3rem; font-size: 1.18rem; }
.hs-why__item p { font-size: 1.03rem; line-height: 1.65; }

/* =====================================================================
 * v57 — products showcase: bento layout, spotlight/tilt, reveal motion
 * ===================================================================== */
.hs-products { position: relative; isolation: isolate; }
/* soft drifting colour glows behind the section */
.hs-products::before,
.hs-products::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(520px, 60vw);
    height: min(520px, 60vw);
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
}
.hs-products::before { top: 4%; left: -8%; background: radial-gradient(circle, rgba(142, 61, 184, 0.28), transparent 70%); }
.hs-products::after  { bottom: 2%; right: -8%; background: radial-gradient(circle, rgba(18, 160, 90, 0.24), transparent 70%); }

.hs-bento {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.hs-bento--grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hs-bento--feature { grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .hs-bento--feature { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
    .hs-bento--feature .hs-bento__item:first-child { grid-row: 1 / span 2; }
    .hs-bento--feature .hs-bento__item:first-child .hs-bcard__title { font-size: clamp(1.4rem, 2.2vw, 2rem); }
    .hs-bento--feature .hs-bento__item:first-child .hs-bcard__body { padding: 1.8rem 2rem 2rem; }
}
.hs-bento__item { min-width: 0; }

.hs-bcard {
    --rx: 0deg; --ry: 0deg;
    position: relative;
    display: block;
    height: 100%;
    min-height: 290px;
    overflow: hidden;
    isolation: isolate;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 28px;
    background: #12001F;
    box-shadow: 0 16px 36px rgba(75, 0, 114, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
}
.hs-bento--grid .hs-bcard { aspect-ratio: 4 / 3; height: auto; }
@media (max-width: 899px) { .hs-bento--feature .hs-bcard { aspect-ratio: 16 / 11; height: auto; } }

.hs-bcard__media { position: absolute; inset: 0; overflow: hidden; }
.hs-bcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}
/* readability gradient */
.hs-bcard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(13, 2, 26, 0.35) 0%, rgba(13, 2, 26, 0) 28%),
        linear-gradient(180deg, rgba(24, 0, 40, 0) 38%, rgba(24, 0, 40, 0.92) 100%);
    transition: opacity 0.4s ease;
}
/* pointer spotlight */
.hs-bcard__shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 60%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}
/* growing accent bar */
.hs-bcard::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 44px;
    height: 4px;
    border-radius: 0 4px 0 0;
    background: linear-gradient(90deg, #17C46E, #7FE8B5);
}

.hs-bcard__num {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    z-index: 3;
    padding: 0.28rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.hs-bcard__go {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-weight: 800;
    transform: rotate(-45deg);
}
.hs-bcard__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 1.4rem 1.5rem 1.5rem;
}
.hs-bcard__title {
    display: block;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hs-bcard__desc {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.55;
}
.hs-bcard__cta {
    display: inline-block;
    margin-top: 0.7rem;
    color: #7FE8B5;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hs-bcard:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }

/* touch / keyboard: show description + CTA without hover */
@media (hover: none) {
    .hs-bcard__go { transform: none; }
    .hs-bcard__shine { display: none; }
}

/* pointer devices: reveal-on-hover + motion */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hs-bcard {
        transition: transform 0.25s ease-out, box-shadow 0.4s ease;
        will-change: transform;
    }
    .hs-bcard__media img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .hs-bcard__desc,
    .hs-bcard__cta {
        max-height: 0;
        opacity: 0;
        transform: translateY(10px);
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
    }
    .hs-bcard__go { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease; }
    .hs-bcard::after { transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }

    .hs-bcard:hover,
    .hs-bcard:focus-visible {
        box-shadow: 0 30px 64px rgba(75, 0, 114, 0.38), 0 0 0 2px rgba(23, 196, 110, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    }
    .hs-bcard:hover .hs-bcard__media img,
    .hs-bcard:focus-visible .hs-bcard__media img { transform: scale(1.1); }
    .hs-bcard:hover .hs-bcard__shine,
    .hs-bcard:focus-visible .hs-bcard__shine { opacity: 1; }
    .hs-bcard:hover::after,
    .hs-bcard:focus-visible::after { width: 100%; }
    .hs-bcard:hover .hs-bcard__go,
    .hs-bcard:focus-visible .hs-bcard__go { transform: rotate(0deg); background: #17C46E; color: #FFFFFF; }
    .hs-bcard:hover .hs-bcard__desc,
    .hs-bcard:hover .hs-bcard__cta,
    .hs-bcard:focus-visible .hs-bcard__desc,
    .hs-bcard:focus-visible .hs-bcard__cta { max-height: 6rem; opacity: 1; transform: none; }
}

/* scroll-in reveal (class added by the small script in index.php) */
@media (prefers-reduced-motion: no-preference) {
    .hs-js .hs-bento__item {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
        transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: var(--d, 0s);
    }
    .hs-js .hs-bento__item.is-in { opacity: 1; transform: none; }

    .hs-products::before { animation: hs-float 14s ease-in-out infinite alternate; }
    .hs-products::after  { animation: hs-float 17s ease-in-out infinite alternate-reverse; }
    .hs-products > h2 { background-size: 200% auto; animation: pp-shine 6s ease-in-out infinite alternate; }
}
@keyframes hs-float {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.15); }
}

/* CTA: arrow slides on hover */
.hs-cta span { display: inline-block; transition: transform 0.3s ease; }
.hs-cta:hover span, .hs-cta:focus-visible span { transform: translateX(5px); }

.hs-products .home-section__cta { margin-top: var(--space-lg); }


/* =====================================================================
 * v58 — home sections below the product showcase, redesigned:
 * Why Choose (dark panel + counters), Services, Projects / Blog tiles,
 * Testimonials + trust marquee, How It Works timeline, FAQ split layout,
 * Consultation banner (elevator doors). Behaviour lives in assets/js/home.js.
 * Keep as the LAST block in this file.
 * ===================================================================== */

/* ---- shared: heading accent bar, reveal, spotlight ---- */
.home-section:not(.hs-products) > h2::after,
.hs-faq__intro h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 4px;
    background: var(--bl-grad-solid);
}
.hs-faq__intro h2::after { margin-left: 0; }

.hs-spot { --mx: 50%; --my: 50%; }

@media (prefers-reduced-motion: no-preference) {
    .hs-js .hs-reveal {
        opacity: 0;
        transform: translateY(36px);
        transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: var(--d, 0s);
    }
    .hs-js .hs-reveal.is-in { opacity: 1; transform: none; }
}

/* ---- why choose: dark panel ---- */
.hs-why {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.4rem, 4vw, 3.2rem);
    border-radius: var(--bl-radius-xl);
    color: #FFFFFF;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(18, 160, 90, 0.5) 0%, rgba(18, 160, 90, 0) 60%),
        linear-gradient(125deg, #2A0042 0%, #4B0072 55%, #5E1A8C 100%);
    box-shadow: 0 24px 56px rgba(75, 0, 114, 0.28);
}
.hs-why::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.hs-why__intro h2 {
    background-image: linear-gradient(100deg, #FFFFFF 0%, #D6F7E6 55%, #7FE8B5 100%);
}
.hs-why__intro p { color: rgba(255, 255, 255, 0.86); }

.hs-why__grid { counter-reset: why; }
.hs-why__item {
    counter-increment: why;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hs-why__item::before {
    height: 3px;
    background: linear-gradient(90deg, #17C46E, #7FE8B5 60%, transparent);
}
.hs-why__item::after {
    content: counter(why, decimal-leading-zero);
    position: absolute;
    right: 1.3rem;
    top: 0.8rem;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.hs-why__item h3 { color: #FFFFFF; }
.hs-why__item p { color: rgba(255, 255, 255, 0.82); }
.hs-why__icon {
    background: linear-gradient(135deg, #17C46E, #0F8247);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

/* counters */
.hs-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 768px) { .hs-stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.hs-stat {
    padding: 1.1rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}
.hs-stat strong {
    display: block;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    background-image: linear-gradient(100deg, #FFFFFF 0%, #7FE8B5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hs-stat span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--font-size-sm);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hs-why__item { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease; }
    .hs-why__item:hover {
        transform: translateX(8px);
        border-color: rgba(127, 232, 181, 0.55);
        background-image: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 65%);
    }
}

/* ---- services ---- */
.hs-svc {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 1.8rem 1.6rem 1.6rem;
}
.hs-svc::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--bl-grad);
    transform: scaleX(0.14);
    transform-origin: left;
}
.hs-svc::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    z-index: -1;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 160, 90, 0.2), transparent 70%);
}
.hs-svc__num {
    position: absolute;
    top: 1.1rem;
    right: 1.4rem;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(75, 0, 114, 0.09);
}
.hs-svc__icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    box-shadow: 0 0 0 6px rgba(75, 0, 114, 0.05);
}
.hs-svc__more { display: inline-flex; align-items: center; gap: 0.6rem; }
.hs-svc__arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--bl-line);
    border-radius: 50%;
    background: #FFFFFF;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hs-svc::before { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .hs-svc::after { transition: transform 0.7s ease; }
    .hs-svc__icon { transition: background 0.3s ease, color 0.3s ease, transform 0.4s ease; }
    .hs-svc__arrow { transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease; }
    .hs-svc:hover { background-image: radial-gradient(300px circle at var(--mx) var(--my), rgba(142, 61, 184, 0.09), transparent 70%); }
    .hs-svc:hover::before { transform: scaleX(1); }
    .hs-svc:hover::after { transform: scale(1.5); }
    .hs-svc:hover .hs-svc__icon { transform: rotate(-6deg) scale(1.05); }
    .hs-svc:hover .hs-svc__arrow { background: var(--color-accent); border-color: transparent; color: #FFFFFF; transform: translateX(4px); }
}

/* ---- project / blog tiles ---- */
.hs-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.6rem;
    color: inherit;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid var(--bl-line);
    border-radius: var(--bl-radius-card);
    box-shadow: 0 8px 24px rgba(75, 0, 114, 0.05);
}
.hs-tile__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    background: var(--color-bg-light);
}
.hs-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.hs-tile__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 2, 26, 0.25) 0%, rgba(13, 2, 26, 0) 35%, rgba(13, 2, 26, 0.5) 100%);
}
.hs-tile__chip {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: calc(100% - 4.8rem);
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(13, 2, 26, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: var(--font-size-sm);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hs-tile__chip svg { flex: none; width: 14px; height: 14px; color: #7FE8B5; }
.hs-tile__go {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-weight: 800;
    transform: rotate(-45deg);
}
.hs-tile__body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 0.9rem 0.9rem; }
.hs-tile__body h3 { margin-bottom: 0.4rem; font-weight: 800; letter-spacing: -0.01em; }
.hs-tile__body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 0.9rem;
}
.hs-tile__more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    color: var(--color-primary);
    font-weight: 800;
}
.hs-tile:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hs-tile { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease; }
    .hs-tile__media img { transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .hs-tile__go { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease, color 0.3s ease; }
    .hs-tile__more span { transition: transform 0.3s ease; }
    .hs-tile:hover, .hs-tile:focus-visible {
        transform: translateY(-6px);
        border-color: rgba(75, 0, 114, 0.28);
        box-shadow: 0 22px 46px rgba(75, 0, 114, 0.18);
    }
    .hs-tile:hover .hs-tile__media img { transform: scale(1.08); }
    .hs-tile:hover .hs-tile__go { transform: rotate(0deg); background: #17C46E; color: #FFFFFF; }
    .hs-tile:hover .hs-tile__more span { transform: translateX(5px); }
}

/* ---- testimonials ---- */
.hs-testi {
    position: relative;
    overflow: hidden;
    padding: 1.7rem 1.6rem 1.5rem;
}
.hs-testi::before {
    content: "\201C";
    position: absolute;
    top: -0.2rem;
    right: 1.2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 7rem;
    line-height: 1;
    color: rgba(75, 0, 114, 0.08);
    pointer-events: none;
}
.hs-testi blockquote, .hs-testi__stars, .hs-testi figcaption { position: relative; }
.hs-testi__avatar { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px rgba(75, 0, 114, 0.22); }
@media (min-width: 1024px) {
    .hs-testi:nth-child(2) {
        color: #FFFFFF;
        border-color: transparent;
        background:
            radial-gradient(70% 90% at 100% 0%, rgba(18, 160, 90, 0.45) 0%, rgba(18, 160, 90, 0) 60%),
            linear-gradient(135deg, #2A0042 0%, #4B0072 60%, #5E1A8C 100%);
        box-shadow: 0 24px 50px rgba(75, 0, 114, 0.3);
    }
    .hs-testi:nth-child(2)::before { color: rgba(255, 255, 255, 0.1); }
    .hs-testi:nth-child(2) blockquote p,
    .hs-testi:nth-child(2) figcaption strong { color: #FFFFFF; }
    .hs-testi:nth-child(2) figcaption small { color: rgba(255, 255, 255, 0.75); }
    .hs-testi:nth-child(2) figcaption { border-top-color: rgba(255, 255, 255, 0.25); }
    .hs-testi:nth-child(2) .hs-testi__avatar { background: linear-gradient(135deg, #17C46E, #0F8247); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hs-testi { transition: transform 0.35s ease, box-shadow 0.35s ease; }
    .hs-testi:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(75, 0, 114, 0.16); }
}

/* ---- we serve: all of Bangladesh (dot map + division hub lines) ---- */
.hs-serve {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 2rem 3rem;
    align-items: center;
    padding: clamp(1.4rem, 3.6vw, 3rem);
    overflow: hidden;
    border: 1px solid var(--bl-line);
    border-radius: var(--bl-radius-xl);
    background:
        radial-gradient(55% 80% at 100% 50%, rgba(142, 61, 184, 0.12), transparent 70%),
        radial-gradient(40% 60% at 0% 100%, rgba(18, 160, 90, 0.08), transparent 70%),
        linear-gradient(100deg, #FBF8FD 0%, #FFFFFF 70%);
    box-shadow: 0 12px 32px rgba(75, 0, 114, 0.07);
}
@media (min-width: 900px) { .hs-serve { grid-template-columns: 1.1fr 0.9fr; } }

.hs-serve__label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
    font-size: var(--font-size-sm);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hs-serve__txt h2 {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 0.7rem;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    background: var(--bl-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hs-serve__txt p { max-width: 520px; margin: 0; font-size: 1.05rem; line-height: 1.7; }

.hs-serve__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    max-width: 520px;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}
.hs-serve__stat {
    padding: 0.9rem 1rem;
    border: 1px solid var(--bl-line);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(75, 0, 114, 0.06);
}
.hs-serve__stat strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    background: var(--bl-grad-solid);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hs-serve__stat span { display: block; margin-top: 0.2rem; font-size: var(--font-size-sm); }

.hs-serve__list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.hs-serve__list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--bl-line);
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(75, 0, 114, 0.05);
    font-weight: 700;
}
.hs-serve__list svg { width: 16px; height: 16px; color: var(--color-accent); }
.hs-serve__list li.is-active {
    border-color: transparent;
    background: var(--bl-grad-solid);
    color: #FFFFFF;
}
.hs-serve__list li.is-active svg { color: #7FE8B5; }

/* the map */
.hs-map { position: relative; width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 360 / 480; }
.hs-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hs-map__dots { fill: none; stroke: rgba(75, 0, 114, 0.22); stroke-width: 4.2; stroke-linecap: round; }
.hs-map__dots.is-active { stroke: rgba(23, 196, 110, 0.9); stroke-width: 5; stroke-opacity: 1; filter: drop-shadow(0 0 5px rgba(23, 196, 110, 0.55)); }
.hs-map__packet { display: none; fill: #17C46E; filter: drop-shadow(0 0 4px rgba(23, 196, 110, 0.9)); }
.hs-map__lines path { fill: none; stroke: #17C46E; stroke-width: 1.3; stroke-dasharray: 4 5; opacity: 0.75; }
.hs-map__pin { position: absolute; transform: translate(-50%, -50%); }
.hs-map__pin i {
    display: block;
    width: 13px;
    height: 13px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 0 rgba(23, 196, 110, 0.55), 0 3px 8px rgba(0, 0, 0, 0.25);
}
.hs-map__pin--hub i { width: 18px; height: 18px; background: var(--color-primary); }
.hs-map__pin span {
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    padding: 0.15rem 0.6rem;
    border: 1px solid var(--bl-line);
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(75, 0, 114, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    transform: translateY(-50%);
}
.hs-map__pin--l span { left: auto; right: calc(100% + 8px); }
.hs-map__pin--t span { top: auto; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); }
.hs-map__pin--b span { top: calc(100% + 6px); left: 50%; transform: translateX(-50%); }
.hs-map__pin.is-active { z-index: 2; }
.hs-map__pin.is-active i { background: var(--color-primary); }
.hs-map__pin.is-active span { border-color: transparent; background: var(--bl-grad-solid); color: #FFFFFF; }

@media (prefers-reduced-motion: no-preference) {
    .hs-map__pin i { animation: hs-ping-green 2.4s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.3s); }
    .hs-map__pin i, .hs-map__pin span { transition: background 0.25s ease, transform 0.25s ease; }
    .hs-map__dots { transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease; }
    /* regions fade in one after another, then softly breathe */
    .hs-js .hs-serve .hs-map__dots[data-div] { transition: opacity 0.9s ease calc(0.2s + var(--i, 0) * 0.16s), stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease; }
    .hs-js .hs-serve.is-seen .hs-map__dots { animation: hs-breathe 5.5s ease-in-out infinite; animation-delay: calc(1.6s + var(--i, 0) * 0.45s); }
    .hs-js .hs-serve.is-seen .hs-map__dots.is-active { animation: none; }
    /* dashes flow from Dhaka outwards, a signal dot travels each line */
    .hs-js .hs-serve.is-seen .hs-map__lines path { animation: hs-flow 1.4s linear infinite; }
    .hs-js .hs-serve.is-seen .hs-map__packet { display: block; }
    /* expanding ring around the Dhaka hub */
    .hs-map__pin--hub::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border: 1.5px solid rgba(75, 0, 114, 0.55); border-radius: 50%; transform: translate(-50%, -50%) scale(1); pointer-events: none; animation: hs-hub-ring 3s ease-out infinite; }
    .hs-map__pin.is-active i { transform: scale(1.35); }
    .hs-js .hs-serve .hs-map__dots,
    .hs-js .hs-serve .hs-map__lines { opacity: 0; transition: opacity 1.2s ease 0.2s; }
    .hs-js .hs-serve.is-seen .hs-map__dots,
    .hs-js .hs-serve.is-seen .hs-map__lines { opacity: 1; }
    .hs-js .hs-serve .hs-map__pin {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
        transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.4);
        transition-delay: calc(0.5s + var(--i, 0) * 0.12s);
    }
    .hs-js .hs-serve.is-seen .hs-map__pin { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (max-width: 560px) { .hs-serve__stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; } .hs-serve__stat { padding: 0.7rem 0.6rem; } }

/* ---- how it works ---- */
.home-steps__item {
    overflow: visible;
    background-image: linear-gradient(180deg, #FBF8FD 0%, #FFFFFF 60%);
}
.home-steps__item::before {
    background: var(--bl-grad-solid);
    box-shadow: 0 0 0 5px rgba(75, 0, 114, 0.1), 0 10px 20px rgba(75, 0, 114, 0.22);
}
.home-steps__item:not(:last-child)::after { transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
    .hs-js .home-steps__item:not(:last-child)::after {
        transform: scaleX(0);
        transition: transform 1s ease 0.5s;
    }
    .hs-js .home-steps__item.is-seen:not(:last-child)::after { transform: scaleX(1); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-steps__item { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
    .home-steps__item::before { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .home-steps__item:hover {
        transform: translateY(-5px);
        border-color: rgba(75, 0, 114, 0.3);
        box-shadow: 0 18px 38px rgba(75, 0, 114, 0.14);
    }
    .home-steps__item:hover::before { transform: scale(1.12) rotate(-8deg); }
}

/* ---- FAQ: sticky intro left, numbered accordion right ---- */
.hs-faq { display: grid; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) {
    .hs-faq { grid-template-columns: 0.8fr 1.4fr; }
    .hs-faq__intro { position: sticky; top: 7rem; }
}
.hs-faq__intro h2 {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 0.8rem;
    font-size: clamp(1.9rem, 3.8vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: var(--bl-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hs-faq__intro > p { max-width: 420px; margin: 0 0 1.4rem; font-size: 1.05rem; line-height: 1.75; }
.hs-faq__help {
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--bl-line);
    border-left: 5px solid var(--color-accent);
    border-radius: var(--bl-radius-card);
    background: linear-gradient(100deg, #FBF8FD 0%, #FFFFFF 100%);
}
.hs-faq__help strong { display: block; margin-bottom: 0.2rem; color: var(--color-text-heading); font-weight: 800; }
.hs-faq__help p { margin: 0 0 0.9rem; }

.home-section.pp-wide .hs-faq .home-faq { max-width: none; margin: 0; counter-reset: faq; }
.hs-faq .home-faq details { counter-increment: faq; padding: 0 1.2rem; }
.hs-faq .home-faq summary { gap: 0.9rem; min-height: 64px; }
.hs-faq .home-faq summary::before {
    content: counter(faq, decimal-leading-zero);
    flex: none;
    display: grid;
    place-items: center;
    min-width: 2.2rem;
    height: 2.2rem;
    border-radius: 12px;
    background: rgba(75, 0, 114, 0.08);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.hs-faq .home-faq summary::after {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(75, 0, 114, 0.08);
}
.hs-faq .home-faq details[open] summary::before { background: var(--bl-grad-solid); color: #FFFFFF; }
.hs-faq .home-faq details[open] summary::after { background: var(--color-accent); color: #FFFFFF; }
.hs-faq .home-faq details p { padding-left: 3.1rem; }
@media (prefers-reduced-motion: no-preference) {
    .hs-faq .home-faq details[open] p { animation: hs-faq-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .hs-faq .home-faq summary::after { transition: background 0.25s ease, color 0.25s ease, transform 0.35s ease; }
    .hs-faq .home-faq details[open] summary::after { transform: rotate(180deg); }
}
@keyframes hs-faq-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}
@media (max-width: 560px) { .hs-faq .home-faq details p { padding-left: 0; } }

/* ---- consultation banner: lift arrives, doors open ---- */
.hs-consult { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.hs-consult::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.hs-consult::after {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -180px;
    z-index: -1;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 61, 184, 0.6), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}
.hs-consult__inner { display: grid; gap: 2.4rem; align-items: center; padding-top: 0.6rem; padding-bottom: 0.6rem; }

.hs-consult__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.hs-consult__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38F09A;
    box-shadow: 0 0 0 0 rgba(56, 240, 154, 0.5);
}
.hs-consult h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background-image: linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 55%, #A8F2CB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hs-consult__text > p { max-width: 560px; margin: 0; font-size: 1.1rem; line-height: 1.7; }
.hs-consult__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hs-consult__call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #FFFFFF;
    font-weight: 800;
}
.hs-consult__call svg { width: 18px; height: 18px; }
.hs-consult__call:hover, .hs-consult__call:focus-visible { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }

.hs-consult__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin: 1.8rem 0 0;
    padding: 1.2rem 0 0;
    list-style: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.28);
}
.hs-consult__checks li { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.92); font-weight: 600; }
.hs-consult__checks li::before {
    content: "\2713";
    display: grid;
    place-items: center;
    flex: none;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: #17C46E;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
}

/* the lift scene (desktop) */
.hs-consult__scene { display: none; }
@media (min-width: 900px) {
    .hs-consult__inner { grid-template-columns: 1.3fr 0.7fr; }
    .hs-consult__scene { position: relative; display: block; width: 260px; margin: 0 auto; padding: 0.9rem 0.9rem 0; }
}
.hs-consult__car {
    position: relative;
    padding: 0.8rem 0.8rem 0;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 28px 28px 6px 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hs-consult__display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    min-width: 92px;
    margin: 0 auto 0.7rem;
    padding: 0.2rem 0.9rem;
    border-radius: 8px;
    background: #0D021A;
    box-shadow: inset 0 0 0 1px rgba(127, 232, 181, 0.25);
    color: #7FE8B5;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(56, 240, 154, 0.6);
}
.hs-consult__shaft {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #1B0A2A;
    box-shadow: inset 0 0 0 2px rgba(23, 196, 110, 0.35), inset 0 0 28px rgba(0, 0, 0, 0.5);
}
/* cabin interior: warm wall panels, ceiling light, handrail, floor glow */
.hs-consult__cabin {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 236, 190, 0.9) 0%, rgba(255, 236, 190, 0) 22%),
        linear-gradient(180deg, transparent 78%, rgba(255, 190, 110, 0.55) 100%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 46px),
        linear-gradient(180deg, #C98A45 0%, #8B5526 55%, #5B3414 100%);
}
.hs-consult__cabin::before {   /* centre seam + soft light pool */
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 55% at 50% 42%, rgba(255, 226, 170, 0.55), transparent 70%),
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(0, 0, 0, 0.35) 50%, transparent calc(50% + 1px));
}
.hs-consult__cabin::after {    /* handrail */
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 58%;
    height: 7px;
    border-radius: 7px;
    background: linear-gradient(180deg, #F4E7D2, #A88A62 60%, #6E5636);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.35);
}
.hs-consult__door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 5px),
        linear-gradient(90deg, #E2D9EA 0%, #B4A2C4 50%, #8E7AA3 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.hs-consult__door--l { left: 0; border-right: 1px solid rgba(13, 2, 26, 0.45); }
.hs-consult__door--r { right: 0; border-left: 1px solid rgba(13, 2, 26, 0.45); }
.hs-consult__sill { display: block; height: 10px; margin: 0 -0.8rem; border-radius: 0 0 6px 6px; background: linear-gradient(180deg, #CFC3DA, #7C6A90); }

/* call panel beside the doors */
.hs-consult__panel {
    position: absolute;
    right: -34px;
    top: 52%;
    display: grid;
    gap: 0.45rem;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 14px;
    background: rgba(13, 2, 26, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hs-consult__panel i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-size: 0.55rem;
    font-style: normal;
}
.hs-consult__panel i:first-child { background: #17C46E; box-shadow: 0 0 12px rgba(56, 240, 154, 0.8); }

/* floating glass chips */
.hs-consult__chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}
.hs-consult__chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #38F09A; }
.hs-consult__chip--a { left: -70px; top: 16%; }
.hs-consult__chip--b { right: -60px; bottom: 14%; }

/* motion: floor counter -> doors open (main.js adds .is-arrived) */
.hs-consult.is-arrived .hs-consult__door--l,
html:not(.hs-js) .hs-consult .hs-consult__door--l { transform: translateX(-94%); }
.hs-consult.is-arrived .hs-consult__door--r,
html:not(.hs-js) .hs-consult .hs-consult__door--r { transform: translateX(94%); }
@media (prefers-reduced-motion: no-preference) {
    .hs-consult__door { transition: transform 1.5s cubic-bezier(0.6, 0, 0.2, 1); }
    .hs-consult__dot { animation: hs-ping-green 2s ease-out infinite; }
    .hs-consult__chip--a { animation: hs-bob 5s ease-in-out infinite; }
    .hs-consult__chip--b { animation: hs-bob 6s ease-in-out -2s infinite; }
    .hs-consult.is-arrived .hs-consult__display { animation: hs-blink 2.4s ease-in-out infinite; }
}
@keyframes hs-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes hs-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}
@keyframes hs-ping-green {
    0%   { box-shadow: 0 0 0 0 rgba(56, 240, 154, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(56, 240, 154, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 240, 154, 0); }
}

@keyframes hs-breathe { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: 0.5; } }
@keyframes hs-flow { to { stroke-dashoffset: -9; } }
@keyframes hs-hub-ring {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(4.2); opacity: 0; }
}


/* =====================================================================
 * v59 — Home: wider layout + "Major Projects" showcase
 * Markup: index.php (#major-projects). Keep as the LAST block in this file.
 * ===================================================================== */

/* Wider home (index.css loads on the home page only): header + every
 * .pp-wide section share one width, so both side gaps shrink together.
 * Change 1720px to taste. */
html:root { --header-max-width: 1720px; }

.hm-list { display: grid; gap: clamp(1.8rem, 3.5vw, 3rem); max-width: none; margin: 0 auto; }

/* ---- one project = one bento block ---- */
.hm-project {
    position: relative;
    display: grid;
    gap: clamp(0.7rem, 1.3vw, 1.1rem);
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "main main" "a b";
}
.hm-project.hm-project--n1 { grid-template-columns: 1fr; grid-template-areas: "main"; }
.hm-project.hm-project--n2 { grid-template-areas: "main main" "a a"; }

@media (min-width: 900px) {
    /* default: big photo left, two stacked right */
    .hm-project { grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); grid-template-areas: "main a" "main b"; }
    .hm-project.hm-project--n2 { grid-template-areas: "main a" "main a"; }
    /* flip: big photo right */
    .hm-project--flip { grid-template-columns: 1fr 1.4fr; grid-template-areas: "a main" "b main"; }
    .hm-project--flip.hm-project--n2 { grid-template-areas: "a main" "a main"; }
    /* wide: panoramic photo on top, two below */
    .hm-project--wide { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(400px, 1.5fr) minmax(250px, 1fr); grid-template-areas: "main main" "a b"; }
    .hm-project--wide.hm-project--n2 { grid-template-areas: "main main" "a a"; }
    .hm-project.hm-project--n1 { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "main"; }
}

/* ---- photo tiles ---- */
.hm-shot {
    --mx: 50%; --my: 50%;
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    color: #FFFFFF;
    text-align: left;
    border: 0;
    border-radius: 30px;
    background: #12001F;
    box-shadow: 0 16px 36px rgba(75, 0, 114, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
button.hm-shot { cursor: zoom-in; }
.hm-shot--main { grid-area: main; aspect-ratio: 16 / 11; }
.hm-shot--a    { grid-area: a;    aspect-ratio: 4 / 3; }
.hm-shot--b    { grid-area: b;    aspect-ratio: 4 / 3; }
.hm-project--n1 .hm-shot--main { aspect-ratio: 21 / 9; }
@media (min-width: 900px) {
    .hm-shot--main, .hm-shot--a, .hm-shot--b { aspect-ratio: auto; }
    .hm-project.hm-project--n1 .hm-shot--main { aspect-ratio: 21 / 8; }
}
.hm-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }

/* readability gradients */
.hm-shot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 2, 26, 0.3) 0%, rgba(13, 2, 26, 0) 28%);
}
.hm-shot--main::before {
    background:
        linear-gradient(180deg, rgba(13, 2, 26, 0.4) 0%, rgba(13, 2, 26, 0) 26%),
        linear-gradient(180deg, rgba(24, 0, 40, 0) 38%, rgba(24, 0, 40, 0.94) 100%);
}
/* growing accent bar */
.hm-shot--main::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 44px;
    height: 4px;
    border-radius: 0 4px 0 0;
    background: linear-gradient(90deg, #17C46E, #7FE8B5);
    pointer-events: none;
}
/* the whole main photo opens the lightbox (link + text sit above it) */
.hm-shot__open { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }

/* lift-style floor display */
.hm-shot__num {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.85rem;
    border: 1px solid rgba(127, 232, 181, 0.4);
    border-radius: 12px;
    background: rgba(8, 0, 16, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #7FE8B5;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(23, 196, 110, 0.85);
    pointer-events: none;
}
.hm-shot__num::before { content: "\25B2"; font-size: 0.6em; }

.hm-shot__count {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
    font-weight: 800;
    pointer-events: none;
}

/* caption row: text left, CTA right */
.hm-shot__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.6rem 1.7rem 1.7rem;
    pointer-events: none;
}
.hm-shot__text { min-width: 0; max-width: 62%; }
.hm-shot__title {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(1.1rem, 1.5vw, 1.45rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hm-shot__desc {
    display: -webkit-box;
    margin: 0.5rem 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hm-project__go {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 1.15rem;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(13, 2, 26, 0.35);
    pointer-events: auto;
}
.hm-project__go:hover, .hm-project__go:focus-visible { background: #17C46E; color: #FFFFFF; }
.hm-project__go span { display: inline-block; transition: transform 0.3s ease; }
.hm-project__go:hover span, .hm-project__go:focus-visible span { transform: translateX(5px); }

/* small tiles: zoom icon + "+N photos" */
.hm-shot__zoom {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.7);
}
@media (hover: none) { .hm-shot__zoom { opacity: 1; transform: none; } }
.hm-shot__more {
    position: absolute;
    right: 0.95rem;
    bottom: 0.95rem;
    z-index: 3;
    padding: 0.32rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(13, 2, 26, 0.66);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
    font-weight: 800;
}
.hm-shot:focus-visible, .hm-shot__open:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -3px; }

/* ---- motion ---- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hm-shot { transition: box-shadow 0.4s ease; }
    .hm-shot img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .hm-shot__zoom { transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .hm-shot:hover, .hm-shot:focus-within {
        box-shadow: 0 30px 64px rgba(75, 0, 114, 0.38), 0 0 0 2px rgba(23, 196, 110, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    }
    .hm-shot:hover img, .hm-shot:focus-within img { transform: scale(1.09); }
    .hm-shot:hover .hm-shot__zoom, .hm-shot:focus-visible .hm-shot__zoom { opacity: 1; transform: none; }
    .hm-shot--main::after { transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .hm-shot--main:hover::after { width: 100%; }
    .hm-shot--main.hs-spot:hover::before {
        background:
            radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.2), transparent 60%),
            linear-gradient(180deg, rgba(13, 2, 26, 0.4) 0%, rgba(13, 2, 26, 0) 26%),
            linear-gradient(180deg, rgba(24, 0, 40, 0) 38%, rgba(24, 0, 40, 0.94) 100%);
    }
}
@media (prefers-reduced-motion: no-preference) {
    .hs-js .hm-project.hs-reveal { opacity: 0; transform: translateY(40px) scale(0.97); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
    .hs-js .hm-project.hs-reveal.is-in { opacity: 1; transform: none; }
}

/* ---- phones / small tablets ---- */
@media (max-width: 899px) {
    .hm-shot { border-radius: 22px; }
}
@media (max-width: 639px) {
    .hm-shot--main { aspect-ratio: 4 / 5; }
    .hm-project--n1 .hm-shot--main { aspect-ratio: 4 / 5; }
    .hm-shot__body { flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1.2rem 1.2rem 1.3rem; }
    .hm-shot__text { max-width: 100%; }
}

/* ---- lightbox ---- */
.hm-lb { position: fixed; inset: 0; z-index: 10000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; padding: 1rem; background: rgba(13, 2, 26, 0.93); }
.hm-lb.is-open { display: flex; }
.hm-lb__img { max-width: min(94vw, 1200px); max-height: 76vh; object-fit: contain; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); user-select: none; }
.hm-lb__cap { max-width: 90vw; text-align: center; color: #FFFFFF; }
.hm-lb__cap strong { display: block; font-size: 1.1rem; }
.hm-lb__cap span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.hm-lb__btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; font-size: 1.4rem; line-height: 1; color: #FFFFFF; cursor: pointer; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; }
.hm-lb__btn:hover { background: rgba(255, 255, 255, 0.28); }
.hm-lb__close { top: 1rem; right: 1rem; }
.hm-lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.hm-lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.hm-lb[data-single="1"] .hm-lb__prev, .hm-lb[data-single="1"] .hm-lb__next { display: none; }