/* ==========================================================================
   HostBaran home page (P3) — hero, services, domain, features, promo,
   pricing, steps, about, testimonials. Depends on hb-modern.css tokens.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
        html {
                scroll-behavior: smooth;
        }
}

/* section heading shared — defined in hb-modern.css */

/* --------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------- */

.hb-hero {
        position: relative;
        overflow: hidden;
        background:
                linear-gradient(180deg, #F8EDE3 0%, rgba(248, 237, 227, 0) 100%);
        padding: 64px 0 88px;
}

.hb-hero::before,
.hb-hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(129, 166, 198, 0.18) 0%, rgba(129, 166, 198, 0) 70%);
}

.hb-hero::before {
        width: 560px;
        height: 560px;
        inset-inline-start: -200px;
        top: -220px;
}

.hb-hero::after {
        width: 640px;
        height: 640px;
        inset-inline-end: -260px;
        bottom: -320px;
}

.hb-hero__inner {
        position: relative;
        display: flex;
        align-items: center;
        gap: 40px;
}

.hb-hero__content {
        flex: 1;
        min-width: 0;
}

/* .hb-pill — defined in hb-modern.css */

.hb-hero__content h1 {
        margin: 0 0 14px;
        font-size: 44px;
        font-weight: 900;
        line-height: 1.45;
        color: var(--hb-ink);
}

.hb-hero__content > p {
        margin: 0 0 26px;
        max-width: 460px;
        font-size: 16.5px;
        line-height: 2.1;
        color: var(--hb-text);
}

.hb-hero__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 34px;
}

.hb-hero__stats {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin: 0;
        padding: 0;
        list-style: none;
}

.hb-hero__stats li {
        display: flex;
        flex-direction: column;
        gap: 3px;
}

.hb-hero__stats strong {
        font-size: 24px;
        font-weight: 800;
        color: var(--hb-primary);
        line-height: 1.3;
}

.hb-hero__stats span {
        font-size: 13px;
        color: var(--hb-muted);
}

.hb-hero {
        /* scroll progress 0..1 written by hb-main.js */
        --hb-p: 0;
}

.hb-hero__art {
        flex: 0 0 auto;
        width: 560px;
        max-width: 46%;
        position: relative;
}

/* soft ground shadow — a gradient, not a filter (GPU-cheap) */
.hb-hero__art::after {
        content: "";
        position: absolute;
        z-index: 0;
        left: 50%;
        bottom: 3%;
        width: 58%;
        height: 9%;
        translate: -50% 0;
        border-radius: 50%;
        background: radial-gradient(ellipse at center, rgba(51, 80, 95, 0.26) 0%, rgba(51, 80, 95, 0) 70%);
        pointer-events: none;
}

.hb-hero__art-inner {
        position: relative;
        z-index: 2;
        transform: translate3d(0, calc(var(--hb-p) * -30px), 0) scale(calc(1 - var(--hb-p) * 0.025));
}

.hb-hero__art img {
        display: block;
        width: 100%;
        height: auto;
}

/* soft glow disc behind the servers — plain gradient, no blur filter */
.hb-hero__halo {
        position: absolute;
        z-index: 0;
        left: 50%;
        top: 50%;
        width: 84%;
        aspect-ratio: 1;
        translate: -50% -50%;
        transform: scale(calc(0.94 + var(--hb-p) * 0.12));
        border-radius: 50%;
        background: radial-gradient(circle at 50% 46%,
                        rgba(129, 166, 198, 0.42) 0%,
                        rgba(129, 166, 198, 0.16) 44%,
                        rgba(129, 166, 198, 0) 72%);
        pointer-events: none;
}

/* two decorative orbits — static, one glowing node each */
.hb-hero__orbit {
        position: absolute;
        z-index: 1;
        left: 50%;
        top: 50%;
        translate: -50% -50%;
        border-radius: 50%;
        pointer-events: none;
}

.hb-hero__orbit--outer {
        width: 96%;
        aspect-ratio: 1;
        border: 1px dashed rgba(129, 166, 198, 0.45);
}

.hb-hero__orbit--inner {
        width: 68%;
        aspect-ratio: 1;
        border: 1px solid rgba(129, 166, 198, 0.22);
}

.hb-hero__orbit span {
        position: absolute;
        left: 50%;
        top: -5px;
        width: 10px;
        height: 10px;
        margin-left: -5px;
        border-radius: 50%;
        background: var(--hb-primary-light);
        box-shadow: 0 0 0 4px rgba(129, 166, 198, 0.18);
}

.hb-hero__orbit--inner span {
        width: 8px;
        height: 8px;
        margin-left: -4px;
        background: var(--hb-sage-dark);
        box-shadow: 0 0 0 4px rgba(189, 210, 182, 0.26);
}

/* facts around the artwork — solid pills, no backdrop blur */
.hb-hero__tag {
        position: absolute;
        z-index: 3;
        pointer-events: none;
        transform: translate3d(0, calc(var(--hb-p) * var(--hb-tag-speed, -60px)), 0);
}

.hb-hero__tag--1 {
        top: 7%;
        inset-inline-start: -4%;
        --hb-tag-speed: -52px;
}

.hb-hero__tag--2 {
        bottom: 15%;
        inset-inline-start: 2%;
        --hb-tag-speed: -84px;
}

.hb-hero__tag--3 {
        top: 5%;
        inset-inline-end: 7%;
        --hb-tag-speed: -68px;
}

.hb-hero__tag-inner {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 13px;
        border-radius: 999px;
        background: #FFFFFF;
        border: 1px solid rgba(229, 218, 202, 0.9);
        box-shadow: 0 10px 24px -16px rgba(51, 80, 95, 0.45);
        color: var(--hb-primary-deep);
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
}

.hb-hero__tag-inner .hb-ic {
        color: var(--hb-primary);
}

/* ------------------------------------------------------------------
   Hero motion — light version.
   * scroll: hb-main.js writes --hb-p (0..1) on .hb-hero; the art
     lifts a little and the pills travel at different depths.
   * one ambient loop: the banner's gentle float.
   * transform/opacity only; scroll work is skipped off screen and
     disabled for prefers-reduced-motion.
   ------------------------------------------------------------------ */

@keyframes hb-hero-rise {
        from { opacity: 0; transform: translateY(22px); }
        to   { opacity: 1; transform: none; }
}

@keyframes hb-hero-pop {
        from { opacity: 0; transform: translateY(28px) scale(0.96); }
        to   { opacity: 1; transform: none; }
}

@keyframes hb-hero-float {
        0%, 100% { transform: translateY(0); }
        50%      { transform: translateY(-10px); }
}

@keyframes hb-fade-in {
        from { opacity: 0; }
        to   { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
        .hb-hero__content > * {
                animation: hb-hero-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
        }
        .hb-hero__content > :nth-child(2) { animation-delay: 0.08s; }
        .hb-hero__content > :nth-child(3) { animation-delay: 0.16s; }
        .hb-hero__content > :nth-child(4) { animation-delay: 0.24s; }
        .hb-hero__content > :nth-child(5) { animation-delay: 0.32s; }

        .hb-hero__art-inner {
                animation: hb-hero-pop 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
        }

        .hb-hero__art img {
                animation: hb-hero-float 8s 1.2s ease-in-out infinite;
        }

        .hb-hero__halo {
                animation: hb-fade-in 1s 0.2s ease backwards;
        }

        .hb-hero__tag {
                animation: hb-fade-in 0.6s backwards;
        }
        .hb-hero__tag--1 { animation-delay: 0.5s; }
        .hb-hero__tag--2 { animation-delay: 0.62s; }
        .hb-hero__tag--3 { animation-delay: 0.74s; }
}

/* pause the float while the hero is off screen */
.hb-hero.is-paused .hb-hero__art img,
.hb-hero.is-paused .hb-hero__art-inner {
        animation-play-state: paused;
}

/* hero CTA — gradient drift + shine sweep; the shine ::after slides
   across on hover only (one 0.85s pass, then stops). */
.hb-hero .hb-btn--cta {
        position: relative;
        overflow: hidden;
        background-image: linear-gradient(115deg, #476B88 0%, #5E8BAB 50%, #476B88 100%);
        background-size: 220% 100%;
        background-position: 0% 0;
        box-shadow: 0 8px 22px rgba(71, 107, 136, 0.38);
        transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.25s ease, box-shadow 0.25s ease;
}

.hb-hero .hb-btn--cta:hover {
        background-position: 100% 0;
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(71, 107, 136, 0.45);
}

.hb-hero .hb-btn--cta::after {
        content: "";
        position: absolute;
        top: -12%;
        left: -75%;
        width: 55%;
        height: 124%;
        transform: skewX(-20deg);
        background: linear-gradient(105deg,
                        rgba(255, 255, 255, 0) 0%,
                        rgba(255, 255, 255, 0.35) 50%,
                        rgba(255, 255, 255, 0) 100%);
        pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
        .hb-hero .hb-btn--cta:hover::after {
                animation: hb-hero-shine 0.85s ease;
        }
}

@keyframes hb-hero-shine {
        to { left: 135%; }
}

/* hero ghost — soft steel fill + lift, icon nudges with the CTA */
.hb-hero .hb-btn--ghost:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(51, 80, 95, 0.14);
}

.hb-hero .hb-btn .hb-ic {
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-hero .hb-btn:hover .hb-ic {
        transform: translateX(-5px);
}

.hb-hero .hb-pill {
        transition: transform 0.3s ease;
}

.hb-hero .hb-pill:hover {
        transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Services
   ----------------------------------------------------------------------- */

.hb-services {
        padding: 72px 0 24px;
}

.hb-services__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
}

.hb-scard {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--hb-line);
        border-radius: 20px;
        padding: 30px 28px 26px;
        box-shadow: var(--hb-shadow-sm);
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hb-scard:hover {
        transform: translateY(-6px);
        box-shadow: var(--hb-shadow-md);
        border-color: rgba(129, 166, 198, 0.6);
}

.hb-scard__art {
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
}

.hb-scard__art img {
        max-width: 150px;
        max-height: 120px;
        width: auto;
        height: auto;
}

.hb-scard h3 {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: 800;
        color: var(--hb-ink);
}

.hb-scard p {
        margin: 0 0 20px;
        flex-grow: 1;
        font-size: 13.8px;
        line-height: 2.05;
        color: var(--hb-muted);
}

.hb-scard__more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        align-self: flex-start;
        font-size: 14px;
        font-weight: 700;
        color: var(--hb-primary);
        text-decoration: none;
}

.hb-scard__more:hover {
        color: var(--hb-primary-dark);
}

/* --------------------------------------------------------------------------
   Domain search
   ----------------------------------------------------------------------- */

.hb-domain {
        padding: 56px 0;
}

.hb-domain__card {
        display: flex;
        align-items: center;
        gap: 44px;
        background: #fff;
        border: 1px solid var(--hb-line);
        border-radius: 24px;
        padding: 44px 48px;
        box-shadow: var(--hb-shadow-sm);
}

.hb-domain__art {
        flex: 0 0 auto;
        width: 300px;
        display: flex;
        justify-content: center;
}

.hb-domain__art img {
        width: 100%;
        height: auto;
}

.hb-domain__body {
        flex: 1;
        min-width: 0;
}

.hb-domain__body h2 {
        margin: 0 0 12px;
        font-size: 25px;
        font-weight: 800;
        color: var(--hb-ink);
}

.hb-domain__body p {
        margin: 0 0 24px;
        font-size: 14.5px;
        line-height: 2.1;
        color: var(--hb-text);
}

.hb-domain__form {
        display: flex;
        align-items: center;
        background: var(--hb-bg-soft);
        border: 1.5px solid rgba(129, 166, 198, 0.5);
        border-radius: 14px;
        padding: 6px;
        max-width: 560px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hb-domain__form:focus-within {
        border-color: var(--hb-primary);
        box-shadow: 0 0 0 4px rgba(71, 107, 136, 0.15);
}

.hb-domain__prefix {
        padding: 0 10px 0 14px;
        color: var(--hb-muted);
        font-weight: 600;
        font-size: 14.5px;
}

.hb-domain__form input {
        flex: 1;
        min-width: 0;
        border: 0;
        background: transparent;
        padding: 11px 8px;
        font-size: 15px;
        font-family: inherit;
        color: var(--hb-ink);
        outline: none;
}

.hb-domain__form input::placeholder {
        color: #6E675E; /* AA 4.8:1 on cream — was #A39B8E (2.4:1, unreadable) */
}

/* --------------------------------------------------------------------------
   Features
   ----------------------------------------------------------------------- */

.hb-features {
        padding: 40px 0 72px;
}
/* --------------------------------------------------------------------------
   Promo banner
   ----------------------------------------------------------------------- */

.hb-promo {
        padding: 0 0 24px;
}

.hb-promo__card {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        padding: 34px 40px;
        background: var(--hb-grad-deep);
        border-radius: 22px;
        color: #fff;
}

.hb-promo__card::before {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.09);
        inset-inline-start: -110px;
        top: -190px;
}

.hb-promo__text {
        position: relative;
}

.hb-promo__text h2 {
        margin: 0 0 6px;
        font-size: 22px;
        font-weight: 800;
        color: #fff;
        line-height: 1.6;
}

.hb-promo__text p {
        margin: 0;
        font-size: 14px;
        color: #fff;
}

.hb-promo .hb-btn--cta {
        position: relative;
        background: #F3E3D0;
        color: #2B2925;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hb-promo .hb-btn--cta:hover {
        background: #BDD2B6;
        color: #2B2925;
}

/* --------------------------------------------------------------------------
   Pricing
   ----------------------------------------------------------------------- */

.hb-pricing {
        padding: 48px 0 72px;
}
.hb-price__icon:not([class*="--linux"]):not([class*="--wp"]) {
        background: var(--hb-grad);
}
/* --------------------------------------------------------------------------
   Steps / FAQ — cream panel, numbered cards, CTA row
   ----------------------------------------------------------------------- */

.hb-steps {
        padding: 8px 0 80px;
}

.hb-steps__inner {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        gap: 52px;
        background:
                radial-gradient(circle at 1px 1px, rgba(121, 135, 119, 0.10) 1px, transparent 0) 0 0 / 22px 22px,
                radial-gradient(120% 120% at 100% 0%, rgba(189, 210, 182, 0.45) 0%, rgba(189, 210, 182, 0) 55%),
                radial-gradient(120% 120% at 0% 100%, rgba(129, 166, 198, 0.30) 0%, rgba(129, 166, 198, 0) 55%),
                linear-gradient(135deg, #FCF8F2 0%, #F6EBDE 100%);
        border: 1px solid rgba(210, 196, 180, 0.65);
        border-radius: 30px;
        padding: 52px 54px;
        box-shadow: 0 34px 80px -46px rgba(51, 80, 95, 0.45);
}

/* soft sage wash, top corner */
.hb-steps__inner::before {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(189, 210, 182, 0.45) 0%, rgba(189, 210, 182, 0) 70%);
        inset-inline-end: -130px;
        top: -180px;
}

/* soft steel wash, bottom corner */
.hb-steps__inner::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(129, 166, 198, 0.3) 0%, rgba(129, 166, 198, 0) 70%);
        inset-inline-start: -120px;
        bottom: -160px;
}

.hb-steps__art {
        position: relative;
        flex: 0 0 auto;
        width: 420px;
        max-width: 42%;
        display: grid;
        place-items: center;
}

.hb-steps__art::before {
        content: "";
        position: absolute;
        width: 92%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle at 50% 52%, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 46%, rgba(255, 255, 255, 0) 72%);
}

.hb-steps__art::after {
        content: "";
        position: absolute;
        width: 78%;
        aspect-ratio: 1;
        border-radius: 50%;
        border: 1px dashed rgba(121, 135, 119, 0.32);
}

.hb-steps__art img {
        position: relative;
        z-index: 1;
        width: 100%;
        height: auto;
}

.hb-steps__body {
        position: relative;
        flex: 1;
        min-width: 0;
}

.hb-steps__body h2 {
        margin: 0 0 8px;
        font-size: 27px;
        font-weight: 900;
        letter-spacing: -0.2px;
        color: var(--hb-ink);
}

.hb-steps__body h3 {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 22px;
        padding: 6px 13px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(210, 196, 180, 0.7);
        box-shadow: 0 4px 14px -8px rgba(51, 80, 95, 0.35);
        font-size: 13px;
        font-weight: 700;
        color: var(--hb-primary-deep);
}

.hb-steps__pulse {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--hb-sage-dark);
        box-shadow: 0 0 0 0 rgba(162, 178, 159, 0.55);
        animation: hb-steps-pulse 2.4s ease-out infinite;
}

/* ---- accordion: glass cards + gradient step badges ---- */

.hb-faq .accordion-item {
        position: relative;
        background: #fff;
        border: 1px solid rgba(210, 196, 180, 0.7);
        border-radius: 18px !important;
        margin-bottom: 12px;
        overflow: visible;
        box-shadow: 0 10px 26px -18px rgba(51, 80, 95, 0.32);
        transition:
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                background-color 0.35s ease;
}

.hb-faq .accordion-item + .accordion-item {
        margin-top: 12px;
}

/* decorative connector between the two numbered badges */
.hb-faq .accordion-item + .accordion-item::before {
        content: "";
        position: absolute;
        top: -13px;
        inset-inline-start: 39px;
        width: 2px;
        height: 13px;
        border-radius: 2px;
        background: linear-gradient(180deg, rgba(129, 166, 198, 0.15), rgba(129, 166, 198, 0.55));
}

.hb-faq .accordion-item:hover {
        transform: translateY(-2px);
        border-color: rgba(129, 166, 198, 0.75);
        box-shadow: 0 18px 38px -20px rgba(51, 80, 95, 0.42);
}

/* active card — JS keeps .is-open in sync, :has() covers no-JS too */
.hb-faq .accordion-item.is-open,
.hb-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
        background: #FFFFFF;
        border-color: rgba(71, 107, 136, 0.42);
        box-shadow: 0 24px 48px -26px rgba(51, 80, 95, 0.5);
}

.hb-faq .accordion-item.is-open {
        transform: none;
}

.hb-faq .accordion-button {
        position: relative;
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        font-family: inherit;
        font-size: 15.5px;
        font-weight: 800;
        color: var(--hb-ink);
        padding: 16px 18px;
        background: transparent;
        border: 0;
        border-radius: 18px !important;
        box-shadow: none;
        -webkit-appearance: none;
        appearance: none;
}

.hb-faq .accordion-button::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 18%;
        bottom: 18%;
        width: 3px;
        border-radius: 0 3px 3px 0;
        background: var(--hb-grad);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-faq .accordion-item.is-open .accordion-button::before,
.hb-faq .accordion-item:has(.accordion-button:not(.collapsed)) .accordion-button::before {
        transform: scaleY(1);
}

.hb-steps__label {
        display: flex;
        align-items: center;
        min-width: 0;
}

.hb-steps__title {
        display: inline-flex;
        align-items: center;
        gap: 8px;
}

.hb-steps__title .hb-ic {
        flex-shrink: 0;
        color: var(--hb-primary);
        opacity: 0.9;
}

/* numbered step badge — gradient disc, ring pulses on the active card */
.hb-steps__num {
        position: relative;
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--hb-grad);
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        box-shadow:
                0 8px 18px -6px rgba(71, 107, 136, 0.65),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-steps__num::after {
        content: "";
        position: absolute;
        inset: -5px;
        border-radius: 50%;
        border: 1px dashed rgba(71, 107, 136, 0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
}

.hb-faq .accordion-item.is-open .hb-steps__num,
.hb-faq .accordion-item:has(.accordion-button:not(.collapsed)) .hb-steps__num {
        transform: scale(1.05);
}

.hb-faq .accordion-item.is-open .hb-steps__num::after,
.hb-faq .accordion-item:has(.accordion-button:not(.collapsed)) .hb-steps__num::after {
        opacity: 1;
}

.hb-faq .accordion-button:not(.collapsed) {
        color: var(--hb-primary-dark);
        background: transparent;
}

.hb-faq .accordion-button.collapsed:hover {
        color: var(--hb-primary-dark);
}

.hb-faq .accordion-button:focus {
        box-shadow: 0 0 0 4px rgba(71, 107, 136, 0.15);
        border-radius: 16px;
        z-index: 2;
}

/* round chevron chip */
.hb-faq .accordion-button::after {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        margin-inline-start: auto;
        content: "";
        border-radius: 50%;
        background-color: rgba(129, 166, 198, 0.16);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23476B88' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: 14px;
        background-position: center;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.hb-faq .accordion-button:not(.collapsed)::after {
        background-color: var(--hb-primary);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        transform: rotate(-180deg);
}

[dir="rtl"] .hb-faq .accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
}

.hb-faq .accordion-body {
        padding: 0 18px 14px;
        padding-inline-start: 76px; /* align under the title, past the number badge */
        font-size: 14px;
        line-height: 2.05;
        color: var(--hb-text);
}

.hb-faq__body {
        position: relative;
        padding-inline-start: 14px;
        border-inline-start: 2px solid rgba(129, 166, 198, 0.4);
}

.hb-faq .accordion-collapse.show .hb-faq__body {
        animation: hb-faq-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hb-faq-in {
        from { opacity: 0; transform: translateY(-7px); }
        to   { opacity: 1; transform: none; }
}

@keyframes hb-steps-pulse {
        0%   { box-shadow: 0 0 0 0 rgba(162, 178, 159, 0.5); }
        70%  { box-shadow: 0 0 0 8px rgba(162, 178, 159, 0); }
        100% { box-shadow: 0 0 0 0 rgba(162, 178, 159, 0); }
}

/* scroll reveal (JS adds .hb-reveal + .is-in; no-JS keeps content visible) */
.hb-reveal {
        opacity: 0;
        transform: translateY(28px);
        transition:
                opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-steps__body.hb-reveal {
        transition-delay: 0.12s;
}

.hb-reveal.is-in {
        opacity: 1;
        transform: none;
}

/* CTA row under the steps */
.hb-steps__cta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 26px;
}

/* --------------------------------------------------------------------------
   About — palette illustration + refined stat chips
   ----------------------------------------------------------------------- */

.hb-about {
        position: relative;
        overflow: hidden;
        padding: 8px 0 72px;
}

/* soft palette washes behind the section */
.hb-about::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(129, 166, 198, 0.14) 0%, rgba(129, 166, 198, 0) 70%);
        inset-inline-start: -160px;
        top: -180px;
}

.hb-about::after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(189, 210, 182, 0.2) 0%, rgba(189, 210, 182, 0) 70%);
        inset-inline-end: -140px;
        bottom: -160px;
}

.hb-about__inner {
        position: relative;
        display: flex;
        align-items: center;
        gap: 48px;
}

.hb-about__text {
        flex: 1;
        min-width: 0;
}

.hb-about__text > p {
        margin: 0 0 28px;
        font-size: 15.5px;
        line-height: 2.2;
        color: var(--hb-text);
        max-width: 560px;
}

.hb-about__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
}

.hb-about__stats li {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #fff;
        border: 1px solid var(--hb-line);
        border-radius: 16px;
        padding: 12px 14px;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--hb-ink);
        box-shadow: var(--hb-shadow-sm);
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hb-about__stats li:hover {
        transform: translateY(-3px);
        border-color: rgba(129, 166, 198, 0.65);
        box-shadow: var(--hb-shadow-md);
}

/* icon tile inside each chip */
.hb-about__stats li .hb-ic {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(129, 166, 198, 0.2);
        color: var(--hb-primary);
}

/* "read more" link under the chips */
.hb-about__more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 26px;
        font-size: 14.5px;
        font-weight: 700;
        color: var(--hb-primary);
        text-decoration: none;
}

.hb-about__more .hb-ic {
        transition: transform 0.2s ease;
}

.hb-about__more:hover {
        color: var(--hb-primary-dark);
}

.hb-about__more:hover .hb-ic {
        transform: translateX(-4px);
}

.hb-about__art {
        position: relative;
        flex: 0 0 auto;
        width: 420px;
        max-width: 42%;
}

.hb-about__art img {
        display: block;
        width: 100%;
        height: auto;
}

/* --------------------------------------------------------------------------
   Testimonials
   ----------------------------------------------------------------------- */

.hb-testimonials {
        padding: 8px 0 88px;
}

.hb-tcarousel {
        position: relative;
        max-width: 720px;
        margin: 0 auto;
}

/* ------------------------------------------------------------------------
   Bootstrap-5 component subset (carousel + collapse).
   bootstrap.min.css is NOT loaded on this site, so the class choreography
   driven by bootstrap.min.js needs these minimal rules locally.
   ------------------------------------------------------------------------ */

.hb-tcarousel .carousel-inner {
        position: relative;
        overflow: hidden;
}

.hb-tcarousel .carousel-item {
        display: none;
}

.hb-tcarousel .carousel-item.active {
        display: block;
        animation: hb-carousel-fade 0.55s ease both;
}

@keyframes hb-carousel-fade {
        from {
                opacity: 0;
        }
}

.collapse:not(.show) {
        display: none;
}

.collapsing {
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
}

.hb-tcard {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin: 0 56px;
        padding: 34px 30px;
        background: #fff;
        border: 1px solid var(--hb-line);
        border-radius: 22px;
        box-shadow: var(--hb-shadow-sm);
        text-align: center;
}

.hb-tcard__stars {
        display: flex;
        gap: 3px;
        color: #798777;
}

.hb-tcard blockquote {
        margin: 0;
        font-size: 15.5px;
        line-height: 2.15;
        color: var(--hb-text);
}

.hb-tcard figcaption {
        font-size: 14.5px;
        font-weight: 800;
        color: var(--hb-primary);
}

.hb-tcarousel__btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--hb-line);
        background: #fff;
        color: var(--hb-ink);
        box-shadow: var(--hb-shadow-sm);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hb-tcarousel__btn:hover {
        background: var(--hb-primary);
        border-color: var(--hb-primary);
        color: #fff;
}

.hb-tcarousel__btn--prev {
        inset-inline-start: 0;
}

.hb-tcarousel__btn--next {
        inset-inline-end: 0;
}

.hb-trust {
        display: flex;
        justify-content: center;
        margin-top: 40px;
}

.hb-trust img {
        max-width: 100%;
        height: auto;
}

/* --------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
        .hb-hero__content h1 {
                font-size: 37px;
        }
        .hb-hero__tag--3 {
                display: none;
        }
}

@media (max-width: 991.98px) {
        .hb-hero {
                padding: 40px 0 64px;
        }
        .hb-hero__inner {
                flex-direction: column-reverse;
                gap: 28px;
        }
        .hb-hero__art {
                width: 420px;
                max-width: 380px;
        }
        .hb-hero__tag-inner {
                font-size: 11.5px;
                padding: 7px 11px;
        }
        .hb-hero__content h1 {
                font-size: 33px;
        }
        .hb-hero__content > p {
                max-width: none;
        }
        .hb-services__grid {
                grid-template-columns: repeat(2, 1fr);
        }
        .hb-domain__card {
                flex-direction: column;
                gap: 20px;
                padding: 30px 24px;
        }
        .hb-domain__art {
                width: 210px;
        }
        .hb-steps__inner {
                flex-direction: column;
                gap: 28px;
                padding: 36px 28px;
                border-radius: 26px;
        }
        .hb-steps__art {
                width: 300px;
                max-width: none;
        }
        .hb-about__inner {
                flex-direction: column-reverse;
                gap: 24px;
        }
        .hb-about__art {
                width: 300px;
                max-width: none;
        }
}

@media (max-width: 575.98px) {
        .hb-hero__content h1 {
                font-size: 27px;
        }
        .hb-hero__stats {
                gap: 22px;
        }
        .hb-hero__actions .hb-btn {
                width: 100%;
                justify-content: center;
        }
        .hb-services__grid,
        .hb-about__stats {
                grid-template-columns: 1fr;
        }
        .hb-hero__tag {
                display: none;
        }
        .hb-hero__art {
                width: 340px;
                max-width: 100%;
        }
        .hb-steps__art {
                width: 240px;
        }
        .hb-steps__body h2 {
                font-size: 22px;
        }
        .hb-steps__inner {
                padding: 30px 20px;
        }
        .hb-steps__num {
                width: 38px;
                height: 38px;
                font-size: 14px;
        }
        .hb-faq .accordion-button {
                gap: 10px;
                padding: 14px 14px;
                font-size: 14.5px;
        }
        .hb-faq .accordion-body {
                padding-inline-start: 62px;
                padding-inline-end: 14px;
        }
        .hb-faq .accordion-button::after {
                width: 26px;
                height: 26px;
                background-size: 12px;
        }
        .hb-faq .accordion-item + .accordion-item::before {
                inset-inline-start: 33px;
        }
        .hb-steps__cta .hb-btn {
                width: 100%;
                justify-content: center;
        }
        .hb-steps__cta {
                gap: 10px;
        }
        .hb-domain__form {
                flex-wrap: wrap;
                border-radius: 18px;
        }
        .hb-domain__form input {
                flex: 1 1 calc(100% - 84px);
        }
        .hb-domain__form .hb-btn {
                flex: 1 1 100%;
                justify-content: center;
                border-radius: 11px;
        }
        .hb-promo__card {
                padding: 26px 22px;
        }
        .hb-promo__card .hb-btn {
                width: 100%;
                justify-content: center;
        }
        .hb-tcard {
                margin: 0;
        }
        .hb-tcarousel__btn {
                inset-inline: auto;
                top: auto;
                bottom: -56px;
                transform: none;
        }
        .hb-tcarousel__btn--prev {
                inset-inline-start: calc(50% - 50px);
        }
        .hb-tcarousel__btn--next {
                inset-inline-start: calc(50% + 6px);
        }
        .hb-testimonials {
                padding: 8px 0 140px;
        }
}

@media (prefers-reduced-motion: reduce) {
        .hb-scard,
        .hb-about__stats li,
        .hb-tcarousel__btn,
        .hb-promo .hb-btn--cta,
        .hb-faq .accordion-item,
        .hb-faq .accordion-button::after,
        .hb-about__more .hb-ic,
        .hb-steps__num,
        .hb-hero .hb-btn,
        .hb-hero .hb-btn .hb-ic,
        .hb-hero .hb-pill {
                transition: none;
        }

        .hb-hero__content > *,
        .hb-hero__art-inner,
        .hb-hero__art img,
        .hb-hero__tag,
        .hb-hero__tag-inner,
        .hb-hero__halo,
        .hb-hero__halo::after,
        .hb-hero__orbit,
        .hb-hero__orbit span,
        .hb-hero__orbit--outer,
        .hb-hero__orbit--inner,
        .hb-steps__art img,
        .hb-steps__art::after,
        .hb-steps__pulse,
        .hb-hero::before,
        .hb-hero::after,
        .hb-hero .hb-btn--cta:hover::after {
                animation: none;
        }

        .hb-hero__art-inner {
                transform: none;
        }

        .hb-reveal {
                opacity: 1;
                transform: none;
                transition: none;
        }

        .hb-faq .accordion-collapse.show .hb-faq__body {
                animation: none;
        }

        .hb-tcarousel .carousel-item.active,
        .collapsing {
                animation: none;
                transition: none;
        }
}
