/* ============================================================
   NearU - Hero Section
   Image-led overlapping hero composition.
   ============================================================ */

/* ---------- Section shell ---------- */
.nearu-hero {
    position: relative;
    isolation: isolate;
    background: #fff;
    padding-bottom: 118px;
    overflow: hidden;
}
/* ---------- Navbar ---------- */
.nearu-navbar {
    position: relative;
    z-index: 10;
    padding-top: 18px;
    padding-bottom: 18px;
    background: transparent;
}
.nearu-menu .nav-link {
    color: var(--nearu-ink);
    font-weight: var(--fw-medium);
    font-size: 15px;
    padding: 8px 16px;
}
.nearu-menu .nav-link.active,
.nearu-menu .nav-link:hover {
    color: var(--nearu-primary);
}
.nearu-menu .nav-link.active {
    border-bottom: 2px solid var(--nearu-primary);
}

.nearu-caret.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
}
.nearu-dropdown {
    border: 1px solid var(--nearu-border);
    border-radius: var(--radius-inner);
    box-shadow: 0 12px 30px rgba(26,27,46,.08);
    padding: 8px 0;
}
.nearu-dropdown .dropdown-item {
    font-size: 14px;
    padding: 8px 18px;
}
.nearu-dropdown .dropdown-item:hover {
    color: var(--nearu-primary);
    background: rgba(181,0,86,.06);
}

/* ---------- Hero copy ---------- */
.nearu-hero-inner {
    position: relative;
    z-index: 2;
    /* padding-top: 36px; */
}
.nearu-hero-inner > .row,
.nearu-hero-slide {
    position: relative;
    /* min-height: 590px; */
    overflow: hidden;
    border-radius: 18px;
    isolation: isolate;
}

.nearu-hero-inner > .row::after,
.nearu-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /*background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 34%);*/
    pointer-events: none;
}

.nearu-hero-slider {
    position: relative;
}
.nearu-hero-slider .carousel-inner {
    border-radius: 18px;
    overflow: hidden;
}
.nearu-hero-slider .carousel-item {
    transition: transform .7s ease-in-out;
}
.nearu-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background-image: var(--nearu-slide-bg);
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
    background-size: cover;
}
.nearu-hero-slide > [class*="col-"] {
    position: relative;
    z-index: 2;
}
.nearu-hero-indicators {
    bottom: 18px;
    z-index: 7;
    margin-bottom: 0;
}
.nearu-hero-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background-color: var(--nearu-primary);
    opacity: .32;
}
.nearu-hero-indicators .active {
    opacity: 1;
}
.nearu-hero-copy {
    position: relative;
    z-index: 4;
    padding-top: 42px;
    padding-left: 42px;
    animation: fadeSlideInLeft .78s cubic-bezier(.2,.7,.2,1) both;
}
.nearu-hero .nearu-eyebrow {
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0;
}
.nearu-hero-title {
    color: var(--nearu-ink);
    font-weight: var(--fw-bold);
    font-size: clamp(2.5rem, 4.05vw, 3.95rem);
    line-height: .98;
    max-width: 525px;
    margin-bottom: 24px;
}
.nearu-accent {
    color: var(--nearu-primary);
}
.nearu-hero-text {
    color: var(--nearu-muted);
    font-size: 17px;
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 32px;
}
/* .nearu-hero-cta .btn {
    min-width: 164px;
    box-shadow: 0 14px 28px rgba(181,0,86,.12);
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}
.nearu-hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(181,0,86,.18);
} */

/* ============================================================
   Overlapping hero visual
   ============================================================ */
.nearu-hero-visual-col {
    position: static;
    min-height: 590px;
}
.nearu-hero-visual-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.nearu-hero-image-shell {
    position: absolute;
    inset: 0;
    overflow: hidden;
    animation: fadeLiftIn .9s cubic-bezier(.2,.7,.2,1) .12s both;
}
.nearu-hero-collage-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 50%;
    border-radius: inherit;
    filter: none;
}

/* ============================================================
   Growth highlights
   ============================================================ */
.nearu-highlights {
    position: relative;
    z-index: 6;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.74);
    border-radius: var(--radius-card);
    box-shadow: 0 24px 54px rgba(26,27,46,.10);
    margin-top: -64px;
    padding: 12px 0;
    backdrop-filter: blur(14px);
}
.nearu-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
}
.nearu-highlight-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-inner);
    background: rgba(239,162,32,.12);
    font-size: 20px;
}
.nearu-highlight-title {
    font-size: 15px;
    font-weight: var(--fw-bold);
    color: var(--nearu-ink);
    margin: 0 0 3px;
}
.nearu-highlight-text {
    font-size: 13px;
    color: var(--nearu-muted);
    margin: 0;
    line-height: 1.4;
}

/* ============================================================
   Motion
   ============================================================ */
@keyframes fadeSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeLiftIn {
    from {
        opacity: 0;
        transform: translateY(34px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199.98px) {
    .nearu-hero-inner > .row,
    .nearu-hero-slide,
    .nearu-hero-visual-col {
        min-height: 540px;
    }
    .nearu-hero-visual-wrap {
        inset: 0;
        width: auto;
    }
    .nearu-hero-title {
        font-size: clamp(2.4rem, 5vw, 3.8rem);
        max-width: 520px;
    }
}

@media (max-width: 991.98px) {
    .nearu-hero {
        padding-bottom: 82px;
    }
    .nearu-nav-actions {
        margin-top: 10px;
    }
    .nearu-hero-inner {
        padding-top: 22px;
    }
    .nearu-hero-inner > .row,
    .nearu-hero-slide {
        min-height: 610px;
    }
    .nearu-hero-copy {
        padding-top: 18px;
        padding-left: 28px;
        padding-right: 28px;
    }
    .nearu-hero-text {
        max-width: 100%;
    }
    .nearu-hero-visual-col {
        position: static;
        min-height: 0;
        height: 0;
    }
    .nearu-hero-visual-wrap {
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        margin: 0;
    }
    .nearu-hero-collage-img {
        width: 100%;
        height: 100%;
        object-position: 58% 50%;
        border-radius: inherit;
    }
    .nearu-highlights {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .nearu-hero-title {
        font-size: clamp(2.25rem, 11vw, 3.35rem);
        line-height: 1.03;
    }
    .nearu-hero-visual-wrap {
        width: auto;
        height: auto;
        margin: 0;
    }
    .nearu-hero-collage-img {
        object-position: 55% 50%;
    }
}

@media (max-width: 575.98px) {
    .nearu-hero {
        padding-bottom: 58px;
    }
    .nearu-hero-inner > .row,
    .nearu-hero-slide {
        min-height: 660px;
    }

    .nearu-hero-copy {
        padding: 20px 24px 0;
    }
    .nearu-hero .nearu-eyebrow {
        margin-bottom: 16px;
    }
    .nearu-hero-text {
        font-size: 16px;
        line-height: 1.7;
    }
    .nearu-hero-cta {
        justify-content: flex-start;
    }
    /* .nearu-hero-cta .btn {
        width: 100%;
        max-width: 310px;
    } */
    .nearu-hero-visual-col {
        min-height: 0;
    }
    .nearu-hero-visual-wrap {
        height: auto;
        width: auto;
        margin: 0;
    }
    .nearu-hero-collage-img {
        object-position: 54% 50%;
        border-radius: inherit;
    }
    .nearu-highlights {
        margin-top: 24px;
    }
    .nearu-highlight-item {
        text-align: left;
        padding: 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nearu-hero-copy,
    .nearu-hero-image-shell,
    .nearu-hero-cta .btn {
        animation: none;
        transition: none;
    }
}
