/* ==========================================================
   HERO V4
   PART 1 - CORE LAYOUT
========================================================== */
.hero-v4{

    position:relative;

    overflow:hidden;

    width:100%;

    background:#f8f6f1;

    padding:80px 0;

}

.hero-v4-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(90deg,
    rgba(248,246,241,.96) 0%,
    rgba(248,246,241,.82) 34%,
    rgba(248,246,241,.28) 62%,
    rgba(248,246,241,.05) 100%);

    z-index:1;

}

.hero-v4-container{

    position:relative;

    z-index:2;

    max-width:1320px;

    width:100%;

    margin:0 auto;

    padding:0 20px;

    display:grid;

    grid-template-columns:560px 1fr;

    align-items:center;

    gap:70px;

    min-height:760px;

}

.hero-v4-content{

    position:relative;

    z-index:3;

}

.hero-v4-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    border-radius:999px;

    background:#ffffff;

    border:1px solid rgba(0,0,0,.08);

    box-shadow:0 15px 35px rgba(0,0,0,.05);

    color:#123458;

    font-weight:600;

    margin-bottom:28px;

}

.hero-v4 h1{

    font-size:clamp(3.2rem,5vw,5.4rem);

    line-height:1.04;

    color:#111827;

    margin:0;

    font-weight:800;

}

.hero-v4 h1 span{

    display:block;

    color:#123458;

}

.hero-v4 p{

    margin:28px 0;

    font-size:1.15rem;

    line-height:1.9;

    color:#5f6d82;

    max-width:520px;

}

.hero-v4-buttons{

    display:flex;

    gap:18px;

    margin-top:38px;

    flex-wrap:wrap;

}

.hero-v4-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:58px;

    padding:0 34px;

    border-radius:999px;

    font-weight:700;

    text-decoration:none;

    transition:.35s;

}

.hero-v4-primary{

    background:#123458;

    color:#fff;

}

.hero-v4-primary:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 40px rgba(18,52,88,.25);

}

.hero-v4-secondary{

    background:#fff;

    color:#123458;

    border:2px solid #d4a017;

}

.hero-v4-secondary:hover{

    background:#d4a017;

    color:#fff;

}

.hero-v4-features{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

    margin-top:38px;

}

.hero-v4-feature{

    background:#fff;

    border-radius:999px;

    padding:12px 20px;

    border:1px solid rgba(0,0,0,.06);

    box-shadow:0 12px 28px rgba(0,0,0,.05);

    font-weight:600;

    color:#123458;

}

.hero-v4-media{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-v4-image{

    width:100%;

    position:relative;

}

.hero-v4-image img{

    display:block;

    width:100%;

    height:720px;

    object-fit:cover;

    border-radius:34px;

    box-shadow:0 35px 90px rgba(0,0,0,.22);

}

.hero-v4-card{

    position:absolute;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);

    border-radius:22px;

    padding:22px 26px;

    box-shadow:0 22px 55px rgba(0,0,0,.14);

    border:1px solid rgba(255,255,255,.45);

    min-width:220px;

}

.hero-v4-card strong{

    display:block;

    font-size:1.3rem;

    color:#123458;

    margin-bottom:6px;

}

.hero-v4-card span{

    color:#6b7280;

}

.hero-v4-card-top{

    top:30px;

    right:-25px;

}

.hero-v4-card-bottom{

    bottom:35px;

    left:-30px;

}

/* ==========================================================
   HERO V4
   PART 2 - RESPONSIVE + ANIMATIONS
========================================================== */

/* Floating Animation */

@keyframes heroFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}

.hero-v4-card{

    animation:heroFloat 5s ease-in-out infinite;

}

.hero-v4-card-bottom{

    animation-delay:2s;

}

.hero-v4-image img{

    transition:transform .8s ease;

}

.hero-v4:hover .hero-v4-image img{

    transform:scale(1.03);

}

.hero-v4-btn{

    transition:all .35s ease;

}

.hero-v4-feature{

    transition:all .3s ease;

}

.hero-v4-feature:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(0,0,0,.10);

}

/* ==========================
   TABLET
========================== */

@media (max-width:1024px){

.hero-v4{

    padding:60px 0;

}

.hero-v4-overlay{

    background:

    linear-gradient(

        180deg,

        rgba(248,246,241,.96) 0%,

        rgba(248,246,241,.70) 55%,

        rgba(248,246,241,.15) 100%

    );

}

.hero-v4-container{

    grid-template-columns:1fr;

    gap:45px;

    min-height:auto;

}

.hero-v4-content{

    order:2;

    text-align:center;

}

.hero-v4-content p{

    margin-inline:auto;

}

.hero-v4-buttons{

    justify-content:center;

}

.hero-v4-features{

    justify-content:center;

}

.hero-v4-media{

    order:1;

}

.hero-v4-image img{

    height:560px;

}

.hero-v4-card-top{

    right:20px;

}

.hero-v4-card-bottom{

    left:20px;

}

}

/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

.hero-v4{

    padding:25px 0 40px;

}

.hero-v4-container{

    width:100%;

    max-width:100%;

    margin:0;

    padding:0 16px;

    grid-template-columns:1fr;

    gap:28px;

}

.hero-v4-content{

    order:2;

    text-align:left;

}

.hero-v4-badge{

    font-size:.9rem;

    padding:9px 16px;

}

.hero-v4 h1{

    font-size:2.45rem;

}

.hero-v4 p{

    font-size:1rem;

    line-height:1.8;

}

.hero-v4-buttons{

    flex-direction:column;

}

.hero-v4-btn{

    width:100%;

}

.hero-v4-features{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;

}

.hero-v4-feature{

    justify-content:center;

    text-align:center;

    padding:14px;

    border-radius:16px;

}

.hero-v4-image{

    margin:0;

}

.hero-v4-image img{

    width:100%;

    height:340px;

    border-radius:24px;

}

.hero-v4-card{

    min-width:160px;

    padding:16px 18px;

}

.hero-v4-card strong{

    font-size:1rem;

}

.hero-v4-card span{

    font-size:.82rem;

}

.hero-v4-card-top{

    top:16px;

    right:16px;

}

.hero-v4-card-bottom{

    left:16px;

    bottom:16px;

}

}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width:480px){

.hero-v4 h1{

    font-size:2.05rem;

}

.hero-v4-image img{

    height:300px;

}

.hero-v4-features{

    grid-template-columns:1fr;

}

.hero-v4-card{

    min-width:145px;

}

}
