/* WayCare HomeCare Hero Exact v1.1 - aligned + mobile-first */

.wchc-hero-section,
.wchc-hero-section *{
    box-sizing:border-box;
    text-shadow:none !important;
}

.wchc-hero-section{
    width:100%;
    padding:0;
    font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.wchc-hero-shell{
    width:100%;
    max-width:none;
    margin:0 auto;
}


.wchc-hero{
    --wchc-fade-color:#fff;
    position:relative;
    min-height:520px;
    overflow:hidden;
    border-radius:24px;
    background:#fff;
    box-shadow:0 20px 58px rgba(15,23,42,.10);
    isolation:isolate;
}

.wchc-media{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:66%;
    z-index:1;
}

.wchc-image{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:var(--wchc-img-x, center) var(--wchc-img-y, center);
}

.wchc-fade{
    position:absolute;
    inset:0;
    z-index:2;
    background:
        linear-gradient(90deg,
            var(--wchc-fade-color) 0%,
            color-mix(in srgb, var(--wchc-fade-color) 97%, transparent) 19%,
            color-mix(in srgb, var(--wchc-fade-color) 88%, transparent) 31%,
            color-mix(in srgb, var(--wchc-fade-color) 68%, transparent) 42%,
            color-mix(in srgb, var(--wchc-fade-color) 34%, transparent) 54%,
            color-mix(in srgb, var(--wchc-fade-color) 10%, transparent) 63%,
            transparent 72%
        ),
        radial-gradient(circle at 22% 48%, color-mix(in srgb, var(--wchc-fade-color) 82%, transparent) 0%, color-mix(in srgb, var(--wchc-fade-color) 55%, transparent) 22%, transparent 46%),
        linear-gradient(180deg, color-mix(in srgb, var(--wchc-fade-color) 16%, transparent) 0%, transparent 38%, color-mix(in srgb, var(--wchc-fade-color) 10%, transparent) 100%);
    pointer-events:none;
}

.wchc-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    background:
        radial-gradient(circle at 10% 18%, rgba(122,231,194,.12), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.08), transparent 18%);
    pointer-events:none;
}

.wchc-content{
    position:relative;
    z-index:4;
    min-height:inherit;
    display:flex;
    align-items:center;
    padding:58px 64px 48px;
}

.wchc-copy{
    max-width:500px;
}

.wchc-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:0 0 22px;
    padding:8px 14px;
    border:1px solid rgba(46,155,106,.16);
    border-radius:8px;
    background:rgba(91,227,184,.12);
    color:#2E9B6A;
    font-family:"Geist Mono",monospace;
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.wchc-badge-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#2E9B6A;
    font-size:14px;
    line-height:1;
}

.wchc-badge-icon svg,
.wchc-badge-icon img{
    width:14px;
    height:14px;
    display:block;
    object-fit:contain;
}

.wchc-title{
    margin:0 0 20px;
    padding:0;
    color:#122C4A;
    font-family:Fraunces,Georgia,serif;
    font-size:clamp(48px,4.7vw,72px);
    line-height:.98;
    letter-spacing:-.055em;
    font-weight:500;
}

.wchc-title-main{
    display:block;
    color:#122C4A;
}

.wchc-title-accent{
    display:block;
    color:#2E9B6A;
    font-style:italic;
    font-weight:500;
}

.wchc-subtitle{
    margin:0;
    max-width:380px;
    color:#334155;
    font-size:17px;
    line-height:1.5;
    font-weight:500;
    letter-spacing:.01em;
}

.wchc-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:26px;
}

.wchc-btn{
    min-width:168px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:15px 30px;
    border-radius:13px;
    font-size:14px;
    line-height:1;
    font-weight:850;
    letter-spacing:.01em;
    text-decoration:none !important;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
    overflow:hidden;
    position:relative;
    isolation:isolate;
}

.wchc-btn::after{
    content:"";
    position:absolute;
    inset:0;
    transform:translateX(-120%);
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
    transition:transform .58s ease;
    z-index:-1;
}

.wchc-btn:hover::after{
    transform:translateX(120%);
}

.wchc-btn:hover{
    transform:translateY(-2px);
}

.wchc-btn-primary{
    --wchc-primary-start:#5BE3B8;
    --wchc-primary-end:#2E9B6A;
    color:#fff;
    border:1px solid transparent;
    background:linear-gradient(90deg, var(--wchc-primary-start), var(--wchc-primary-end));
    box-shadow:0 16px 36px rgba(46,155,106,.24);
}

.wchc-btn-primary:hover{
    box-shadow:0 20px 48px rgba(46,155,106,.30);
}

.wchc-btn-primary b{
    font-size:22px;
    line-height:.8;
    font-weight:400;
}

.wchc-btn-secondary{
    color:#122C4A;
    background:rgba(255,255,255,.70);
    border:1px solid rgba(18,44,74,.22);
    box-shadow:0 10px 26px rgba(15,23,42,.04);
    backdrop-filter:blur(8px);
}

.wchc-btn-secondary:hover{
    background:#fff;
    border-color:rgba(46,155,106,.36);
    box-shadow:0 14px 34px rgba(15,23,42,.08);
}

.wchc-secondary-icon,
.wchc-secondary-icon svg,
.wchc-secondary-icon i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:15px;
    height:15px;
    font-size:14px;
    line-height:1;
}

.wchc-trust{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:30px;
}

.wchc-trust-icon{
    flex:0 0 auto;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#2E9B6A;
    font-size:28px;
    line-height:1;
}

.wchc-trust-icon svg,
.wchc-trust-icon img{
    width:34px;
    height:34px;
    display:block;
    object-fit:contain;
}

.wchc-trust-text{
    color:#334155;
    font-size:13px;
    line-height:1.32;
    font-weight:720;
    letter-spacing:.01em;
}

/* Tablet */
@media (max-width:1024px){
    .wchc-hero-section{
        padding:0;
    }

    .wchc-hero{
        min-height:520px;
    }

    .wchc-content{
        padding:46px 34px 40px;
    }

    .wchc-media{
        width:72%;
    }

    .wchc-title{
        font-size:clamp(44px,6vw,62px);
    }

    .wchc-subtitle{
        max-width:350px;
    }
}

/* Mobile: true mobile card, no missing buttons */
@media (max-width:767px){
    .wchc-hero-section{
        padding:0;
    }

    .wchc-hero{
        display:flex;
        flex-direction:column;
        min-height:auto !important;
        border-radius:20px;
        box-shadow:0 14px 38px rgba(15,23,42,.10);
        background:#fff;
    }

    .wchc-media{
        position:relative;
        top:auto;
        left:auto;
        right:auto;
        bottom:auto;
        width:100% !important;
        height:245px;
        order:1;
        overflow:hidden;
        border-radius:20px 20px 0 0;
    }

    .wchc-image{
        opacity:1 !important;
        object-position:var(--wchc-img-x, center) var(--wchc-img-y, center);
    }

    .wchc-fade{
        z-index:2;
        background:
            linear-gradient(180deg, transparent 0%, rgba(255,255,255,.30) 58%, #fff 100%),
            linear-gradient(90deg, rgba(255,255,255,.72) 0%, transparent 32%, transparent 74%, rgba(255,255,255,.28) 100%);
    }

    .wchc-hero::before{
        background:radial-gradient(circle at 15% 55%, rgba(122,231,194,.18), transparent 38%);
    }

    .wchc-content{
        order:2;
        min-height:auto !important;
        align-items:flex-start;
        text-align:left;
        padding:20px 18px 22px;
    }

    .wchc-copy{
        width:100%;
        max-width:100%;
    }

    .wchc-badge{
        margin:0 0 14px;
        padding:7px 12px;
        font-size:10.5px;
        border-radius:8px;
    }

    .wchc-title{
        max-width:100%;
        font-size:clamp(36px,10.6vw,48px);
        line-height:.99;
        margin-bottom:16px;
    }

    .wchc-subtitle{
        max-width:100%;
        font-size:14px;
        line-height:1.45;
    }

    .wchc-actions{
        display:grid;
        grid-template-columns:1fr;
        gap:10px !important;
        margin-top:18px;
    }

    .wchc-btn{
        width:100%;
        min-width:0;
        padding:14px 18px;
        border-radius:14px;
        font-size:14px;
    }

    .wchc-trust{
        gap:10px;
        margin-top:14px;
        padding:12px;
        border:1px solid rgba(46,155,106,.12);
        border-radius:15px;
        background:rgba(248,250,252,.86);
    }

    .wchc-trust-icon{
        width:31px;
        height:31px;
        font-size:23px;
    }

    .wchc-trust-icon svg,
    .wchc-trust-icon img{
        width:27px;
        height:27px;
    }

    .wchc-trust-text{
        font-size:11.8px;
        line-height:1.32;
    }

    .wchc-hero-section.mobile-mode-hide .wchc-media,
    .wchc-hero-section.mobile-mode-hide .wchc-fade{
        display:none;
    }

    .wchc-hero-section.mobile-mode-background .wchc-hero{
        min-height:620px !important;
        display:block;
    }

    .wchc-hero-section.mobile-mode-background .wchc-media{
        position:absolute;
        inset:0;
        height:auto;
        width:100% !important;
        border-radius:20px;
    }

    .wchc-hero-section.mobile-mode-background .wchc-fade{
        position:absolute;
        inset:0;
        background:
            linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.76) 34%, #fff 66%, #fff 100%),
            linear-gradient(90deg, rgba(255,255,255,.86), transparent 55%);
    }

    .wchc-hero-section.mobile-mode-background .wchc-content{
        position:relative;
        min-height:620px !important;
        align-items:flex-end;
    }
}

@media (max-width:390px){
    .wchc-media{
        height:220px;
    }

    .wchc-content{
        padding:18px 16px 20px;
    }

    .wchc-title{
        font-size:34px;
    }

    .wchc-subtitle{
        font-size:13px;
    }
}
