/* =========================================================
   BLISSFULL MIND
   PRIMARY LANDING PAGE — HERO + HORIZONTAL CAROUSEL
   Consolidated stylesheet | Original visual design retained
   Horizontal transition: 700ms
========================================================= */

/* 01. HERO SECTION */

.hero {
    position: relative;
    width: 100%;
    padding: 72px 0 100px;
    background: linear-gradient(120deg, #ffffff 0%, var(--cream, #fff9f4) 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero > .container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: var(--lavender, #eee3f5);
    opacity: .42;
    right: -260px;
    top: -280px;
    pointer-events: none;
    z-index: -1;
}


/* 02. SLIDER VIEWPORT
   Slides share one grid cell. The grid track retains the
   tallest slide's height, preventing height collapse. */

.hero-slider {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
}

.hero-slider > .hero-slide {
    grid-area: 1 / 1;
    position: relative;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    z-index: 0;
    transition:
        transform 700ms cubic-bezier(.22, 1, .36, 1),
        opacity 700ms ease,
        visibility 0s linear 700ms;
    will-change: transform, opacity;
}

.hero-slider > .hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    z-index: 2;
    transition:
        transform 700ms cubic-bezier(.22, 1, .36, 1),
        opacity 700ms ease,
        visibility 0s;
}

/* Incoming slides */

.hero-slider > .hero-slide.is-entering-right,
.hero-slider > .hero-slide.is-entering-left {
    visibility: visible;
    pointer-events: none;
    z-index: 3;
}

.hero-slider > .hero-slide.is-entering-right {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}

.hero-slider > .hero-slide.is-entering-left {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}

/* Outgoing slides */

.hero-slider > .hero-slide.is-leaving-left,
.hero-slider > .hero-slide.is-leaving-right {
    visibility: visible;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.hero-slider > .hero-slide.is-leaving-left {
    transform: translate3d(-100%, 0, 0);
}

.hero-slider > .hero-slide.is-leaving-right {
    transform: translate3d(100%, 0, 0);
}


/* 03. HERO GRID */

.hero-slide .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: 58px;
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    box-sizing: border-box;
}

/* Slides 2–5 in the supplied HTML have a nested .container.
   Reset that inner container so all slides align consistently
   inside the single outer .hero > .container. */

.hero-slider > .hero-slide > .container.hero-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}


/* 04. HERO TEXT CONTENT */

.hero-slide .hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.hero-slide .hero-copy .eyebrow {
    display: inline-block;
    margin-bottom: 23px;
}

.hero-slide .hero-copy h1 {
    margin-top: 0;
}

.hero-slide .hero-copy h1 em {
    font-style: normal;
    color: var(--violet, #8054a4);
}

.hero-slide .hero-copy > p {
    max-width: 570px;
    margin: 24px 0 30px;
    font-size: 1.06rem;
    line-height: 1.75;
}

/* Reveal both columns only on the active slide */

.hero-slider > .hero-slide.active .hero-copy,
.hero-slider > .hero-slide.active .hero-visual {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
        opacity 700ms ease 120ms,
        transform 700ms ease 120ms;
}


/* 05. HERO ACTION BUTTONS */

.hero-slide .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-slide .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}


/* 06. TRUST MESSAGE */

.hero-slide .hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: #625c6c;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.6;
}

.hero-slide .trust-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 50%;
    background: var(--orange, #f39a52);
    box-shadow: 0 0 0 5px rgba(243,154,82,.16);
}


/* 07. HERO VISUAL + PHOTO */

.hero-slide .hero-visual {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 530px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.hero-slide .hero-photo {
    position: absolute;
    inset: 0 18px 0 25px;
    overflow: hidden;
    border-radius: 46% 46% 24px 24px;
    background: #ded4e8;
}

.hero-slide .hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s ease;
}

.hero-slide.active .hero-photo img {
    transform: scale(1.035);
}

.hero-slide .hero-photo::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(31,18,47,.26));
    pointer-events: none;
}


/* 08. FLOATING CARDS */

.hero-slide .floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow, 0 12px 35px rgba(40,20,60,.12));
}

.hero-slide .floating-card strong {
    display: block;
    color: var(--purple, #422654);
    font-family: Manrope, sans-serif;
    font-size: .9rem;
    font-weight: 700;
}

.hero-slide .floating-card span:not(.float-icon) {
    display: block;
    color: var(--muted, #77717d);
    font-size: .73rem;
    line-height: 1.5;
}

.hero-slide .float-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    background: var(--lavender, #eee3f5);
    color: var(--violet, #8054a4);
    font-size: 1.1rem;
}

.hero-slide .float-top {
    top: 55px;
    left: -8px;
}

.hero-slide .float-bottom {
    right: -5px;
    bottom: 42px;
}


/* 09. DECORATIVE SUN */

.hero-slide .sun-mark {
    position: absolute;
    top: 22px;
    right: -5px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #fff3e8;
    color: var(--orange, #f39a52);
    font-size: 2rem;
    box-shadow: var(--shadow, 0 12px 35px rgba(40,20,60,.12));
}


/* 10. SLIDER NAVIGATION
   The controls are a sibling of .hero-slider in the supplied
   HTML. The outer .hero > .container is their positioning base. */

.hero-slider-controls {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: -75px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    white-space: nowrap;
}

.hero-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.hero-dot {
    appearance: none;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: #d4cbdc;
    cursor: pointer;
    transition: width 350ms ease, background 350ms ease;
}

.hero-dot.active {
    width: 28px;
    background: var(--violet, #8054a4);
}

.hero-arrow {
    appearance: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid rgba(128,84,164,.3);
    border-radius: 50%;
    background: #ffffff;
    color: var(--violet, #8054a4);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.hero-arrow:hover {
    background: var(--violet, #8054a4);
    color: #ffffff;
    transform: scale(1.06);
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
    outline: 2px solid var(--violet, #8054a4);
    outline-offset: 4px;
}


/* 11. TABLET RESPONSIVE */

@media (max-width: 1024px) {
    .hero {
        padding: 60px 0 95px;
    }

    .hero-slide .hero-grid {
        gap: 35px;
    }

    .hero-slide .hero-visual {
        min-height: 450px;
    }

    .hero-slide .floating-card {
        padding: 12px 14px;
    }
}


/* 12. MOBILE RESPONSIVE */

@media (max-width: 850px) {
    .hero {
        padding: 55px 0 90px;
    }

    .hero-slide .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .hero-slide .hero-copy {
        text-align: left;
    }

    .hero-slide .hero-visual {
        width: 100%;
        min-height: 420px;
    }

    .hero-slide .hero-photo {
        inset: 0 20px;
    }

    .hero-slide .float-top {
        top: 35px;
        left: 0;
    }

    .hero-slide .float-bottom {
        right: 0;
        bottom: 30px;
    }

    .hero-slide .sun-mark {
        top: 15px;
        right: 0;
    }

    .hero-slider-controls {
        bottom: 22px;
        gap: 14px;
    }
}


/* 13. SMALL MOBILE */

@media (max-width: 600px) {
    .hero {
        padding: 40px 25px 85px;
    }

    .hero-slide .hero-grid {
        gap: 30px;
    }

    .hero-slide .hero-copy .eyebrow {
        margin-bottom: 15px;
    }

    .hero-slide .hero-copy h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.18;
    }

    .hero-slide .hero-copy > p {
        margin: 18px 0 24px;
        font-size: .95rem;
        line-height: 1.7;
    }

    .hero-slide .hero-actions {
        gap: 10px;
    }

    .hero-slide .hero-trust {
        margin-top: 22px;
        font-size: .75rem;
    }

    .hero-slide .hero-visual {
        min-height: 340px;
    }

    .hero-slide .hero-photo {
        inset: 0 14px;
        border-radius: 44% 44% 20px 20px;
    }

    .hero-slide .floating-card {
        gap: 8px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .hero-slide .floating-card strong {
        font-size: .72rem;
    }

    .hero-slide .floating-card span:not(.float-icon) {
        font-size: .62rem;
    }

    .hero-slide .float-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: .9rem;
    }

    .hero-slide .float-top {
        top: 30px;
        left: 0;
    }

    .hero-slide .float-bottom {
        right: 0;
        bottom: 22px;
    }

    .hero-slide .sun-mark {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .hero-slider-controls {
        bottom: 18px;
        gap: 13px;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .hero-dot {
        width: 7px;
        height: 7px;
    }

    .hero-dot.active {
        width: 23px;
    }
}


/* 14. ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .hero-slider > .hero-slide,
    .hero-slide .hero-copy,
    .hero-slide .hero-visual,
    .hero-slide .hero-photo img,
    .hero-arrow,
    .hero-dot {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   15. BLISSY HERO MASCOT — FIRST SLIDE ONLY
   Isolated styles; original slider and other slides retained.
========================================================= */

.hero-slide--blissy .blissy-visual {
    display: grid;
    place-items: center;
    min-height: 530px;
    isolation: isolate;
}

.hero-slide--blissy .blissy-stage {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 500px;
    overflow: visible;
    border-radius: 34px;
    background:
        radial-gradient(ellipse at 52% 58%, rgba(238, 232, 247, .92) 0%, rgba(255, 249, 243, .55) 48%, rgba(255,255,255,0) 75%);
}

.hero-slide--blissy .blissy-animation {
    display: block;
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(57, 32, 95, .13));
    transform-origin: 50% 85%;
    animation: blissy-gentle-float 4.2s ease-in-out infinite;
}

.hero-slide--blissy .hero-photo {
    display: none;
}

/* Keep the original floating cards, but place them around the mascot. */
.hero-slide--blissy .float-top {
    top: 42px;
    left: -12px;
}

.hero-slide--blissy .float-bottom {
    right: -8px;
    bottom: 35px;
}

.hero-slide--blissy .sun-mark {
    top: 16px;
    right: 2px;
}

@keyframes blissy-gentle-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    50% { transform: translate3d(0, -9px, 0) rotate(1deg); }
}

@media (max-width: 1024px) {
    .hero-slide--blissy .blissy-visual {
        min-height: 450px;
    }
    .hero-slide--blissy .blissy-stage {
        min-height: 430px;
    }
    .hero-slide--blissy .blissy-animation {
        width: min(100%, 420px);
        max-height: 430px;
    }
}

@media (max-width: 850px) {
    .hero-slide--blissy .blissy-visual {
        min-height: 410px;
        max-width: 570px;
        margin-inline: auto;
    }
    .hero-slide--blissy .blissy-stage {
        min-height: 400px;
    }
    .hero-slide--blissy .blissy-animation {
        width: min(100%, 390px);
        max-height: 400px;
    }
    .hero-slide--blissy .float-top {
        top: 18px;
        left: 0;
    }
    .hero-slide--blissy .float-bottom {
        right: 0;
        bottom: 18px;
    }
}

@media (max-width: 600px) {
    .hero-slide--blissy .blissy-visual {
        min-height: 330px;
    }
    .hero-slide--blissy .blissy-stage {
        min-height: 320px;
    }
    .hero-slide--blissy .blissy-animation {
        width: min(100%, 310px);
        max-height: 320px;
    }
    .hero-slide--blissy .float-top {
        top: 8px;
        left: -2px;
    }
    .hero-slide--blissy .float-bottom {
        right: -2px;
        bottom: 8px;
    }
}

/* Avoid extra CSS motion when the visitor requests reduced motion.
   The GIF itself remains animated; use the static poster alternative
   if fully static reduced-motion behaviour is required. */
@media (prefers-reduced-motion: reduce) {
    .hero-slide--blissy .blissy-animation {
        animation: none !important;
    }
}
