/* Hero section styles for demo_home2.html */

@keyframes advestFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.advest-hero {
    position: relative;
    overflow: hidden;
}

.advest-hero::after {
    display: none;
}

.advest-hero .advest-container {
    position: relative;
    z-index: 1;
}

.advest-hero .advest-kicker,
.advest-hero-copy h1,
.advest-hero-copy p,
.advest-hero-chips,
.advest-hero-actions,
.advest-hero-proof,
.advest-floating-card,
.advest-hero-photo-main,
.advest-hero-photo-small,
.advest-hero-photo-detail,
.advest-hero-visual-meta {
    opacity: 0;
    backface-visibility: hidden;
    transform: translate3d(0, 18px, 0);
    animation: advestFadeInUp 920ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}

.advest-hero .advest-kicker {
    animation-delay: 80ms;
}

.advest-hero-copy h1 {
    animation-delay: 180ms;
}

.advest-hero-copy p {
    animation-delay: 280ms;
}

.advest-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    animation-delay: 340ms;
}

.advest-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid rgba(139, 30, 52, 0.14);
    color: #8b1e34;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.advest-hero .advest-mini-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.advest-hero-actions {
    animation-delay: 430ms;
}

.advest-hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 520px;
    margin-top: 22px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.09);
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.07);
    backdrop-filter: blur(12px);
    animation-delay: 720ms;
}

.advest-proof-avatars {
    display: flex;
    flex: 0 0 auto;
    padding-left: 8px;
}

.advest-proof-avatars span {
    width: 34px;
    height: 34px;
    margin-left: -8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #111827, #8b1e34);
    border: 2px solid #fffdf8;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.advest-proof-stars {
    display: flex;
    gap: 5px;
    color: #7b1530;
    font-size: 16px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.advest-hero-proof>strong {
    color: #111827;
    white-space: nowrap;
}

.advest-hero-proof>div:last-child>strong {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
}

.advest-hero-proof>div:last-child>span {
    display: block;
    margin-top: 2px;
    color: #5d6675;
    font-size: 13px;
    line-height: 1.45;
}

.advest-hero .advest-inline-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #c9964e;
}

.advest-hero-stats .advest-stat {
    position: relative;
    opacity: 0;
    backface-visibility: hidden;
    transform: translate3d(0, 16px, 0);
    animation: advestFadeInUp 860ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}

.advest-hero-stats .advest-stat:nth-child(1) {
    animation-delay: 440ms;
}

.advest-hero-stats .advest-stat:nth-child(2) {
    animation-delay: 530ms;
}

.advest-hero-stats .advest-stat:nth-child(3) {
    animation-delay: 620ms;
}

.advest-hero .advest-stat-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 9px;
    background: #fff3e3;
    color: #8b1e34;
    box-shadow: inset 0 0 0 1px rgba(139, 30, 52, 0.1);
}

.advest-floating-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    animation-delay: 560ms;
}

.advest-floating-icon {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #8b1e34, #111827);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(139, 30, 52, 0.2);
}

.advest-floating-icon svg {
    width: 20px;
    height: 20px;
}

.advest-hero-photo-main {
    animation-delay: 260ms;
    animation-duration: 1040ms;
}

.advest-hero-photo-small {
    animation-delay: 460ms;
    animation-duration: 1040ms;
}

.advest-hero-photo-detail {
    position: absolute;
    animation-delay: 540ms;
    animation-duration: 1040ms;
}

.advest-hero-visual-meta {
    position: absolute;
    z-index: 5;
    width: 240px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: 0 24px 58px rgba(17, 24, 39, 0.24);
    backdrop-filter: blur(12px);
    animation-delay: 680ms;
}

.advest-hero-visual-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #f1c27a;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.advest-hero-visual-meta strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.12;
}

.advest-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 54px;
    align-items: center;
}

.advest-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.advest-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.advest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
}

.advest-btn-primary {
    background: linear-gradient(135deg, #8b1e34, #651427);
    color: #ffffff !important;
    box-shadow: 0 16px 32px rgba(139, 30, 52, 0.24);
}

@media (min-width: 1025px) {
    .advest-hero {
        min-height: 760px;
        padding: 78px 0 54px;
        /* background:
            radial-gradient(circle at 88% 38%, rgba(147, 107, 71, 0.18), transparent 34%),
            linear-gradient(90deg, #fbf6ee 0%, #f7eee3 50%, #eae9e1 100%); */
    }

    .advest-hero-grid {
        grid-template-columns: minmax(560px, 0.48fr) minmax(680px, 0.52fr);
        gap: 34px;
        min-height: 660px;
        align-items: center;
    }

    .advest-hero-copy {
        max-width: 620px;
        padding-top: 4px;
    }

    .advest-hero .advest-kicker {
        display: none;
    }

    .advest-hero-copy h1 {
        max-width: 620px;
        margin: 0 0 30px;
        color: #111827;
        font-size: clamp(50px, 5.4vw, 50px);
        line-height: 1.08;
    }

    .advest-hero-copy h1 span {
        color: #8b1e34;
    }

    .advest-hero-copy h1::after {
        content: "";
        display: block;
        width: min(520px, 100%);
        height: 14px;
        margin-top: 24px;
        background:
            radial-gradient(circle at center, #c9964e 0 3px, transparent 4px),
            linear-gradient(90deg, transparent calc(50% - 18px), #c9964e calc(50% - 18px), #c9964e calc(50% + 18px), transparent calc(50% + 18px)),
            linear-gradient(90deg, rgba(190, 150, 91, 0.88), rgba(190, 150, 91, 0.28));
        background-size: 14px 14px, 100% 1px, 100% 1px;
        background-position: center, center, center;
        background-repeat: no-repeat;
    }

    .advest-hero-copy p {
        max-width: 560px;
        margin-top: 0;
        color: #313844;
        font-size: 18px;
        line-height: 1.85;
    }

    .advest-hero-chips {
        gap: 24px;
        margin-top: 34px;
    }

    .advest-hero-chips span {
        min-width: 170px;
        min-height: 58px;
        justify-content: center;
        padding: 14px 22px;
        border-radius: 12px;
        background: rgba(255, 253, 248, 0.82);
        border-color: rgba(17, 24, 39, 0.06);
        color: #7b1530;
        font-size: 15px;
        box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
    }

    .advest-hero-chips .advest-mini-icon {
        width: 22px;
        height: 22px;
    }

    .advest-hero-actions {
        gap: 18px;
        margin-top: 30px;
    }

    .advest-hero-actions .advest-btn {
        min-width: 230px;
        min-height: 60px;
        border-radius: 12px;
        font-size: 15px;
        text-transform: uppercase;
    }

    .advest-hero-actions .advest-btn-outline {
        color: #7b1530;
        border-color: rgba(123, 21, 48, 0.48);
        background: rgba(255, 253, 248, 0.54);
    }

    .advest-hero-stats {
        max-width: 620px;
        gap: 20px;
        margin-top: 25px;
    }

    .advest-hero .advest-stat {
        min-height: 132px;
        padding: 16px;
        text-align: center;
        background: rgba(255, 253, 248, 0.76);
        box-shadow: 0 18px 46px rgba(17, 24, 39, 0.07);
    }

    .advest-hero .advest-stat-icon {
        display: none;
    }

    .advest-hero .advest-stat strong {
        font-family: "Playfair Display", serif;
        font-size: 38px;
        color: #7b1530;
    }

    .advest-hero .advest-stat span {
        margin-top: 10px;
        color: #374151;
        font-size: 14px;
        line-height: 1.5;
    }

    .advest-hero-proof {
        max-width: 520px;
        min-height: 58px;
        margin-top: 25px;
        padding: 12px 18px;
        border-radius: 999px;
        background: rgba(255, 253, 248, 0.78);
        box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
    }

    .advest-hero-proof>strong {
        padding: 0 22px;
        border-right: 1px solid rgba(123, 21, 48, 0.28);
        font-size: 17px;
    }

    .advest-hero-proof>div:last-child>strong {
        display: block;
        font-size: 14px;
    }

    .advest-hero-proof>div:last-child>span {
        font-size: 13px;
    }

    .advest-hero-visual {
        position: relative;
        min-height: 660px;
    }

    .advest-hero-visual::before {
        display: none;
    }

    .advest-hero .advest-photo {
        border-radius: 8px;
        border: 0;
        background-image: url(../images/advest-hero-lookbook.png);
        background-size: cover !important;
        background-position: center top !important;
        color: transparent;
        box-shadow: 0 24px 58px rgba(17, 24, 39, 0.14);
        isolation: isolate;
    }

    .advest-hero .advest-photo::before {
        display: none;
    }

    .advest-hero .advest-photo::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(17, 24, 39, 0.12));
    }

    .advest-hero .advest-photo span {
        display: none;
    }

    .advest-hero-photo-main {
        position: absolute;
        top: 0;
        left: 70px;
        right: auto;
        z-index: 2;
        width: 560px;
        height: 650px;
        border-radius: 0;
        background-position: 50% 10% !important;
        box-shadow: none;
    }

    .advest-hero-photo-main::after {
        background:
            linear-gradient(90deg, rgba(247, 238, 227, 0.16), rgba(247, 238, 227, 0) 22%),
            linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(123, 21, 48, 0.08));
    }

    .advest-floating-card {
        position: absolute;
        top: 76px;
        right: -86px;
        left: auto;
        z-index: 4;
        width: 260px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0px;
        padding: 24px 22px;
        border-radius: 14px;
        background: rgba(255, 253, 248, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.76);
        box-shadow: 0 26px 68px rgba(17, 24, 39, 0.13);
        backdrop-filter: blur(12px);
    }

    .advest-feature-line {
        display: grid;
        grid-template-columns: 38px 1fr;
        gap: 13px;
        align-items: start;
    }

    .advest-feature-line>span {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(123, 21, 48, 0.08);
        color: #7b1530;
    }

    .advest-feature-line svg {
        width: 19px;
        height: 19px;
    }

    .advest-feature-line strong {
        display: block;
        color: #111827;
        font-size: 14px;
        line-height: 1.35;
    }

    .advest-feature-line p {
        margin: 5px 0 0;
        color: #3f4756;
        font-size: 12px;
        line-height: 1.55;
    }

    .advest-hero-photo-small,
    .advest-hero-photo-detail {
        z-index: 4;
        width: 166px;
        height: 198px;
        border: 6px solid #fffdf8;
        border-radius: 12px;
        box-shadow: 0 18px 44px rgba(17, 24, 39, 0.22);
    }

    .advest-hero-photo-small {
        position: absolute;
        left: 82px;
        bottom: 74px;
        background-size: 250% auto !important;
        background-position: 24% 86% !important;
    }

    .advest-hero-photo-detail {
        left: 214px;
        bottom: 28px;
        background-size: 240% auto !important;
        background-position: 5% 88% !important;
    }

    .advest-hero-visual-meta {
        left: 0px;
        bottom: 42px;
        width: 310px;
        padding: 16px;
        border-radius: 14px;
        background:
            radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 38%),
            linear-gradient(135deg, #8b1e34, #641326);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 0 28px 70px rgba(123, 21, 48, 0.28);
    }

    .advest-hero-visual-meta em {
        display: block;
        height: 32px;
        color: rgba(255, 255, 255, 0.86);
        font-family: "Playfair Display", serif;
        font-size: 54px;
        line-height: 0.9;
        font-style: normal;
    }

    .advest-hero-visual-meta span {
        margin-top: 6px;
        color: rgba(255, 255, 255, 0.82);
        font-size: 12px;
    }

    .advest-hero-visual-meta strong {
        margin-top: 10px;
        color: #ffffff;
        font-size: 30px;
    }

    .advest-hero-visual-meta p {
        margin: 16px 0 0;
        padding-top: 16px;
        border-top: 1px solid rgba(241, 194, 122, 0.34);
        color: rgba(255, 255, 255, 0.78);
        font-size: 14px;
    }
}

@media (max-width: 1024px) {

    .advest-hero-photo-detail,
    .advest-hero-visual-meta {
        display: none;
    }
}

@media (max-width: 680px) {
    .advest-floating-card {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .advest-hero .advest-kicker,
    .advest-hero-copy h1,
    .advest-hero-copy p,
    .advest-hero-chips,
    .advest-hero-actions,
    .advest-hero-proof,
    .advest-hero-stats .advest-stat,
    .advest-floating-card,
    .advest-hero-photo-main,
    .advest-hero-photo-small,
    .advest-hero-photo-detail,
    .advest-hero-visual-meta {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.advest-hero-stats{
    display: flex;
}