/* ==================================================
   HOME - MEDICORP
================================================== */


/* ==================================================
   HERO HOME
================================================== */

.hero-home{
    position:relative;
    overflow:hidden;
    padding:120px 0 110px;
    background:
        radial-gradient(circle at top right, rgba(39,166,217,.18), transparent 35%),
        linear-gradient(135deg, #F8FAFC 0%, #EAF4FD 100%);
}

.hero-home::before{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    right:-180px;
    top:40px;
    background:rgba(14,75,135,.08);
    border-radius:50%;
}

.hero-home::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    left:-120px;
    bottom:-120px;
    background:rgba(0,195,137,.10);
    border-radius:50%;
}

.hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:70px;
    align-items:center;
}

.hero-content h1{
    max-width:720px;
    color:var(--primary-dark);
}

.hero-content p{
    max-width:680px;
    font-size:1.12rem;
    color:var(--text-color);
}

.hero-actions{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    margin-top:34px;
}

.hero-trust{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-top:40px;
    max-width:680px;
}

.hero-trust div{
    background:rgba(255,255,255,.85);
    border:1px solid rgba(14,75,135,.10);
    border-radius:var(--radius-md);
    padding:20px;
    box-shadow:var(--shadow-sm);
}

.hero-trust strong{
    display:block;
    color:var(--primary-dark);
    font-size:.98rem;
    margin-bottom:5px;
}

.hero-trust span{
    display:block;
    color:var(--text-light);
    font-size:.9rem;
    line-height:1.5;
}

.hero-image{
    position:relative;
}

.hero-image::before{
    content:"";
    position:absolute;
    inset:28px -28px -28px 28px;
    background:var(--primary-color);
    border-radius:var(--radius-lg);
    opacity:.12;
}

.hero-image img{
    position:relative;
    z-index:2;
    width:100%;
    height:620px;
    object-fit:cover;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-lg);
}


/* ==================================================
   PATH SECTION
================================================== */

.path-section{
    background:var(--white);
}

.path-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px;
}

.path-card{
    position:relative;
    overflow:hidden;
    background:var(--white);
    border:1px solid rgba(14,75,135,.10);
    border-radius:var(--radius-lg);
    padding:42px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.path-card::before{
    content:"";
    position:absolute;
    width:160px;
    height:160px;
    right:-60px;
    top:-60px;
    background:var(--primary-light);
    border-radius:50%;
}

.path-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-md);
}

.card-label{
    position:relative;
    z-index:2;
    display:inline-flex;
    background:var(--primary-light);
    color:var(--primary-color);
    border-radius:999px;
    padding:8px 15px;
    font-size:.82rem;
    font-weight:700;
    margin-bottom:20px;
}

.path-card h3,
.path-card p,
.path-card a{
    position:relative;
    z-index:2;
}

.path-card h3{
    color:var(--primary-dark);
    margin-bottom:16px;
}

.path-card p{
    color:var(--text-light);
}

.card-link{
    display:inline-flex;
    color:var(--primary-color);
    font-weight:700;
    margin-top:10px;
}

.card-link:hover{
    color:var(--primary-dark);
}


/* ==================================================
   SERVICES SECTION
================================================== */

.services-section{
    background:var(--bg-light);
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
}

.service-card{
    background:var(--white);
    border:1px solid rgba(14,75,135,.08);
    border-radius:var(--radius-md);
    padding:32px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.service-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-md);
}

.service-card h3{
    color:var(--primary-dark);
    margin-bottom:14px;
}

.service-card p{
    color:var(--text-light);
    font-size:.96rem;
}

.service-card a{
    display:inline-flex;
    color:var(--primary-color);
    font-weight:700;
    margin-top:8px;
}

.service-card a:hover{
    color:var(--primary-dark);
}


/* ==================================================
   SUPPORT SECTION
================================================== */

.support-section{
    background:var(--white);
}

.support-grid{
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    gap:70px;
    align-items:center;
}

.support-image{
    position:relative;
}

.support-image::after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    right:-35px;
    bottom:-35px;
    background:var(--accent-color);
    border-radius:50%;
    opacity:.13;
}

.support-image img{
    width:100%;
    height:560px;
    object-fit:cover;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-lg);
}

.support-content h2{
    color:var(--primary-dark);
}

.support-content p{
    color:var(--text-color);
    font-size:1.05rem;
}

.check-list{
    display:grid;
    gap:14px;
    margin:28px 0 34px;
}

.check-list li{
    position:relative;
    padding-left:34px;
    color:var(--text-color);
    font-weight:500;
}

.check-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:5px;
    width:20px;
    height:20px;
    background:var(--accent-color);
    border-radius:50%;
}

.check-list li::after{
    content:"";
    position:absolute;
    left:7px;
    top:10px;
    width:6px;
    height:10px;
    border-right:2px solid var(--white);
    border-bottom:2px solid var(--white);
    transform:rotate(45deg);
}


/* ==================================================
   PROCESS SECTION
================================================== */

.process-section{
    background:
        linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color:rgba(255,255,255,.78);
}

.process-section .section-heading h2{
    color:var(--white);
}

.process-section .section-heading p{
    color:rgba(255,255,255,.75);
}

.process-section .section-badge{
    background:rgba(255,255,255,.12);
    color:var(--white);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

.process-step{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.15);
    border-radius:var(--radius-md);
    padding:30px;
    backdrop-filter:blur(10px);
}

.process-step span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    background:rgba(255,255,255,.15);
    color:var(--white);
    border-radius:50%;
    font-weight:800;
    margin-bottom:22px;
}

.process-step h3{
    color:var(--white);
    font-size:1.18rem;
    margin-bottom:12px;
}

.process-step p{
    color:rgba(255,255,255,.76);
    font-size:.95rem;
    margin-bottom:0;
}


/* ==================================================
   WHY SECTION
================================================== */

.why-section{
    background:var(--bg-light);
}

.why-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:70px;
    align-items:start;
}

.why-content{
    position:sticky;
    top:130px;
}

.why-content h2{
    color:var(--primary-dark);
}

.why-content p{
    color:var(--text-light);
    font-size:1.05rem;
}

.why-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.why-list article{
    background:var(--white);
    border:1px solid rgba(14,75,135,.08);
    border-radius:var(--radius-md);
    padding:32px;
    box-shadow:var(--shadow-sm);
}

.why-list h3{
    color:var(--primary-dark);
    margin-bottom:12px;
}

.why-list p{
    color:var(--text-light);
    margin-bottom:0;
}


/* ==================================================
   SUCCESS PREVIEW SECTION
================================================== */

.success-preview-section{
    background:var(--white);
}

.case-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
}

.case-card{
    background:var(--white);
    border:1px solid rgba(14,75,135,.10);
    border-radius:var(--radius-md);
    padding:34px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.case-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-md);
}

.case-card h3{
    color:var(--primary-dark);
    margin-bottom:14px;
}

.case-card p{
    color:var(--text-light);
    margin-bottom:0;
}

.section-action{
    display:flex;
    justify-content:center;
    margin-top:42px;
}


/* ==================================================
   FAQ SECTION
================================================== */

.faq-section{
    background:var(--bg-light);
}

.faq-list{
    max-width:900px;
    margin:0 auto;
    display:grid;
    gap:16px;
}

.faq-list details{
    background:var(--white);
    border:1px solid rgba(14,75,135,.08);
    border-radius:var(--radius-md);
    padding:0;
    box-shadow:var(--shadow-sm);
    overflow:hidden;
}

.faq-list summary{
    position:relative;
    cursor:pointer;
    list-style:none;
    padding:24px 60px 24px 28px;
    color:var(--primary-dark);
    font-weight:700;
}

.faq-list summary::-webkit-details-marker{
    display:none;
}

.faq-list summary::after{
    content:"+";
    position:absolute;
    right:28px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary-light);
    color:var(--primary-color);
    border-radius:50%;
    font-size:1.3rem;
    font-weight:700;
}

.faq-list details[open] summary::after{
    content:"−";
}

.faq-list details p{
    padding:0 28px 26px;
    color:var(--text-light);
    margin-bottom:0;
}


/* ==================================================
   FINAL CTA SECTION
================================================== */

.final-cta-section{
    background:var(--white);
    padding:90px 0 110px;
}

.final-cta-box{
    position:relative;
    overflow:hidden;
    text-align:center;
    max-width:1100px;
    background:
        radial-gradient(circle at top right, rgba(39,166,217,.20), transparent 35%),
        linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius:var(--radius-lg);
    padding:70px 50px;
    box-shadow:var(--shadow-lg);
}

.final-cta-box::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    left:-80px;
    bottom:-100px;
    background:rgba(255,255,255,.10);
    border-radius:50%;
}

.final-cta-box .section-badge{
    background:rgba(255,255,255,.14);
    color:var(--white);
}

.final-cta-box h2{
    position:relative;
    z-index:2;
    color:var(--white);
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

.final-cta-box p{
    position:relative;
    z-index:2;
    color:rgba(255,255,255,.78);
    max-width:720px;
    margin-left:auto;
    margin-right:auto;
}

.final-cta-actions{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
    margin-top:34px;
}

.final-cta-box .btn-primary{
    background:var(--white);
    color:var(--primary-color);
}

.final-cta-box .btn-primary:hover{
    background:var(--primary-light);
    color:var(--primary-dark);
}

.final-cta-box .btn-secondary{
    border-color:rgba(255,255,255,.65);
    color:var(--white);
}

.final-cta-box .btn-secondary:hover{
    background:var(--white);
    color:var(--primary-color);
}


/* ==================================================
   RESPONSIVE HOME
================================================== */

@media (max-width:1100px){

    .hero-grid,
    .support-grid,
    .why-grid{
        gap:50px;
    }

    .services-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .process-grid{
        grid-template-columns:repeat(2, 1fr);
    }

}

@media (max-width:991px){

    .hero-home{
        padding:95px 0 90px;
    }

    .hero-grid,
    .support-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .hero-image img,
    .support-image img{
        height:480px;
    }

    .why-content{
        position:relative;
        top:auto;
    }

    .case-grid{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    .hero-home{
        padding:80px 0;
    }

    .hero-trust,
    .path-grid,
    .services-grid,
    .why-list{
        grid-template-columns:1fr;
    }

    .path-card,
    .service-card,
    .case-card,
    .why-list article{
        padding:28px;
    }

    .process-grid{
        grid-template-columns:1fr;
    }

    .hero-image img,
    .support-image img{
        height:400px;
    }

    .final-cta-box{
        padding:55px 28px;
    }

}

@media (max-width:576px){

    .hero-actions,
    .final-cta-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .hero-actions .btn,
    .final-cta-actions .btn{
        width:100%;
    }

    .hero-image img,
    .support-image img{
        height:330px;
    }

    .faq-list summary{
        padding:22px 55px 22px 22px;
    }

    .faq-list details p{
        padding:0 22px 24px;
    }

}