/* ==========================================================================
   Baby World — premium single hero (2026-07)
   Replaces the 3-slide auto-rotating carousel: one focused message, one
   framed image, real proof numbers. Shares the site's gradient/card
   language from home-sections.css.
   ========================================================================== */

.hx-hero {
    position: relative;
    overflow: hidden;
    padding: 132px 0 56px;
    background:
        radial-gradient(1100px 480px at 88% -8%, rgba(123, 47, 247, .13), transparent 60%),
        radial-gradient(760px 420px at 4% 108%, rgba(245, 68, 128, .11), transparent 62%),
        #fbfafc;
}

/* soft decorative blobs — replace the old cluttered shape images */
.hx-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    pointer-events: none;
}

.hx-blob-1 {
    width: 380px;
    height: 380px;
    right: -90px;
    top: -120px;
    background: rgba(245, 68, 128, .3);
}

.hx-blob-2 {
    width: 320px;
    height: 320px;
    left: -110px;
    bottom: -140px;
    background: rgba(123, 47, 247, .26);
}

.hx-shape {
    position: absolute;
    pointer-events: none;
}

.hx-shape-star {
    width: 74px;
    top: 40px;
    right: 6%;
    opacity: .85;
}

.hx-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 52px;
}

/* ---------- copy ---------- */
.hx-eyebrow {
    display: inline-block;
    font-size: clamp(12px, 1.1vw, 13px);
    background: rgba(245, 68, 128, .1);
    color: var(--primary-color);
    border-radius: 22px;
    padding: 7px 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 18px;
    max-width: 520px;
}

.hx-copy h1 {
    /* fluid so the headline scales smoothly instead of relying on
       breakpoints (which also keeps it correct inside embedded viewports) */
    font-size: clamp(28px, 4.4vw, 54px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}

.hx-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    max-width: 500px;
}

.hx-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #495057;
}

.hx-features i {
    color: #16b47f;
    font-size: 13px;
    line-height: 1;
    display: inline-flex;
    flex-shrink: 0;
    background: rgba(22, 180, 127, .12);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

/* ---------- actions: clear primary vs secondary ---------- */
.hx-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hx-btn-primary,
.hx-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    transition: all .16s ease;
    white-space: nowrap;
}

.hx-btn-primary {
    background: linear-gradient(150deg, var(--primary-color), #7b2ff7);
    color: #fff;
    box-shadow: 0 10px 24px rgba(245, 68, 128, .32);
}

.hx-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 32px rgba(245, 68, 128, .4);
}

.hx-btn-ghost {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid #dfe3e8;
}

.hx-btn-ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hx-btn-primary i,
.hx-btn-ghost i {
    display: inline-flex;
    line-height: 1;
    font-size: 17px;
}

.hx-price-note {
    margin: 22px 0 0;
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hx-price-note b {
    color: var(--primary-color);
}

.hx-price-note i {
    color: var(--primary-color);
    display: inline-flex;
    line-height: 1;
    font-size: 16px;
    flex-shrink: 0;
}

/* ---------- single framed visual ---------- */
.hx-visual {
    position: relative;
}

.hx-visual-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    padding: 10px;
    box-shadow: 0 22px 52px rgba(23, 38, 58, .15);
    transform: rotate(-1.1deg);
    transition: transform .3s ease;
    /* keep the visual from dominating the hero */
    max-width: 460px;
    margin-left: auto;
}

.hx-visual-frame:hover {
    transform: rotate(0deg);
}

/* --- image slider (fills banner images from admin) --- */
.hx-slides {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f4f6f8;
}

.hx-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .7s ease, transform 6s ease;
}

.hx-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hx-slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 7px 11px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(23, 38, 58, .14);
}

.hx-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #c9ced4;
    cursor: pointer;
    transition: all .2s ease;
}

.hx-dot.is-active {
    width: 22px;
    border-radius: 5px;
    background: var(--primary-color);
}

/* floating proof cards */
.hx-float {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(23, 38, 58, .17);
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hx-float-1 {
    left: -18px;
    top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.hx-float-2 {
    right: -10px;
    bottom: 26px;
}

.hx-float-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.hx-float-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #6c757d;
    line-height: 1.3;
}

.hx-float-label b {
    color: var(--secondary-color);
}

.hx-float-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(150deg, var(--primary-color), #7b2ff7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hx-float-icon i {
    color: #fff;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
}

/* ---------- trust stats ---------- */
.hx-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 52px;
    background: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 8px 26px rgba(23, 38, 58, .08);
}

.hx-stat {
    text-align: center;
    position: relative;
}

.hx-stat + .hx-stat::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 12%;
    height: 76%;
    width: 1px;
    background: #eceef1;
}

.hx-stat-num {
    display: block;
    font-size: 27px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.15;
}

.hx-stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    margin-top: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .hx-grid {
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .hx-hero {
        padding: 132px 0 44px;
    }

    .hx-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hx-eyebrow {
        font-size: 12.5px;
    }

    .hx-shape-star {
        display: none;
    }

    .hx-visual-frame {
        transform: none;
        max-width: 440px;
        margin: 0 auto;
    }

    .hx-float-1 {
        left: 6px;
    }

    .hx-float-2 {
        right: 6px;
    }

    .hx-stats {
        margin-top: 38px;
    }
}

@media (max-width: 575px) {
    .hx-features {
        grid-template-columns: 1fr;
        margin-bottom: 22px;
    }

    .hx-btn-primary,
    .hx-btn-ghost {
        height: 48px;
        font-size: 15px;
        padding: 0 20px;
        flex: 1 1 auto;
    }

    .hx-float {
        padding: 10px 13px;
    }

    .hx-float-num {
        font-size: 20px;
    }

    .hx-stat + .hx-stat::before {
        display: none;
    }

    .hx-stats {
        padding: 18px 14px;
        gap: 16px 10px;
    }

    .hx-stat-num {
        font-size: 22px;
    }
}
