/*==================================================
    MINDCLAR RESOURCES
==================================================*/
:root{
    --cream:#F8F7F4;
    --white:#FFFFFF;
    --navy:#13294B;
    --navy-light:#274A79;
    --gold:#CFA35A;
    --gold-light:#E8C98C;
    --green:#2F6D55;
    --green-light:#67B089;
    --text:#374151;
    --muted:#6B7280;
    --border:#E8EAED;
    --shadow-sm:0 10px 30px rgba(15,28,63,.05);
    --shadow:0 18px 50px rgba(15,28,63,.08);
    --shadow-lg:0 30px 70px rgba(15,28,63,.12);
    --radius:30px;
    --transition:.35s ease;
    --container:1280px;
}

/*==================================================
RESET
==================================================*/

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/*
html{
    scroll-behavior:smooth;
}

body{
    font-family:"Inter",sans-serif;
    background:var(--cream);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
}
*/

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
    transition:var(--transition);
}

button{
    font:inherit;
}

ul{
    list-style:none;
}

/*==================================================
CONTAINER
==================================================*/

.mc-container{
    width:min(var(--container),92%);
    margin-inline:auto;
}

/*==================================================
SECTION
==================================================*/
section{
    position:relative;
}

.mc-services{
    padding:90px 0 110px;
}

/*==================================================
HEADER
==================================================*/
.services-header{
    max-width:900px;
    margin:0 auto 70px;
    text-align:center;
}

.section-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(207,163,90,.12);
    color:var(--gold);
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-top:10px;
    margin-bottom:24px;
}

.services-header h1{
    font-family:"Playfair Display",serif;
    font-size:clamp(30px,5vw,34px);
    line-height:1.08;
    color:var(--navy);
    margin-bottom:24px;
}

.services-header p{
    max-width:760px;
    margin:auto;
    font-size:20px;
    line-height:1.4;
    color:var(--muted);
}

/*==================================================
GRID
==================================================*/
.service-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(340px,1fr));
    gap:42px;
    align-items:stretch;
}

/*==================================================
    SERVICE CARD
==================================================*/
.service-card{
    position:relative;
    display:flex;
    flex-direction:column;

    background:linear-gradient(180deg,#ffffff 0%,#fbfbfb 100%);
    border:1px solid rgba(19,41,75,.06);
    border-radius:32px;
    padding:42px;
    overflow:hidden;

    box-shadow:var(--shadow);
    transition:transform .35s ease, box-shadow .35s ease;

    height:auto;
/*кнопка всегда внизу*/
    display:grid;
    grid-template-rows:
        auto
        auto
        auto
        1fr
        auto;


}

.service-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:6px;
}

.accounting::before{
    background:linear-gradient(
        90deg,
        var(--gold),
        var(--gold-light)
    );
}

.psychology::before{
    background:linear-gradient(
        90deg,
        var(--green),
        var(--green-light)
    );
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

/*==================================================
    TOP
==================================================*/
.service-top{
    display:flex;
    align-items:center;
    gap:22px;
    margin-bottom:22px;
}

/*==================================================
    ICON
==================================================*/
.service-icon{
    width:76px;
    height:76px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
/*    font-size:34px;*/
    flex-shrink:0;
}

/*
.service-icon.gold{
    background:#FFF3DC;
}

.service-icon.green{
    background:#E5F7EC;
}
    */

/*==================================================
    CATEGORY
==================================================*/
.service-category{
    display:none;
}

/*==================================================
    TITLE
==================================================*/
.service-top h3{
    font-family:"Playfair Display",serif;
    font-size:38px;
    font-weight:700;
    line-height:1.15;
    color:var(--navy);
}

/*==================================================
    DESCRIPTION
==================================================*/
.service-text{
    margin:0 0 30px;
    color:var(--muted);
    font-size:19px;
    line-height:1.8;
}

/*==================================================
    LIST
==================================================*/
.service-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:28px;
}

.service-item{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.service-item span{
    width:30px;
    height:30px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    font-size:14px;
    font-weight:700;
    margin-top:2px;
}

.accounting .service-item span{
    background:#FFF3DD;
    color:#BF8730;
}

.psychology .service-item span{
    background:#E6F6EC;
    color:#2F6D55;
}

.service-item p{
    margin:2px 0 0;
    font-size:20px;
    line-height:1.25;
    color:var(--text);

}

/*==================================================
    FOOTER
==================================================*/
.service-footer{
    padding-top:24px;
    border-top:1px solid var(--border);

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    margin-top:22;
}

.service-info{
    flex:1;
}

.service-info strong{
    display:block;
    color:var(--navy);
    font-size:16px;
    margin-bottom:6px;
}

.service-info small{
    color:var(--muted);
    font-size:14px;
}

/*==================================================
    BUTTON
==================================================*/
.service-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:180px;
    height:54px;
    padding:0 28px;
    border-radius:60px;
    color:#fff;
    font-weight:700;
    font-size:15px;
    transition:all .30s ease;
}

.gold-btn{
    background:linear-gradient(
        135deg,
        var(--gold),
        var(--gold-light)
    );
}

.green-btn{
    background:linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );
}

.service-btn:hover{
    transform:translateY(-3px);
}

.service-btn::after{
    content:"→";
    transition:transform .30s ease;
}

.service-btn:hover::after{
    transform:translateX(4px);
}


/*==================================================
    COMPLEX SECTION
==================================================*/
.mc-complex{
    padding:100px 0;
    background:#ffffff;
}

/*=========================================
HEADER
=========================================*/
.complex-heading{
    max-width:900px;
    margin:0 auto 60px;
    text-align:center;
}

.complex-heading h2{
    font-family:"Playfair Display",serif;
    font-size:clamp(38px,4vw,58px);
    line-height:1.15;
    color:var(--navy);
    margin:18px 0 22px;
}

.complex-heading p{
    max-width:760px;
    margin:auto;
    font-size:19px;
    line-height:1.85;
    color:var(--muted);
}

/*=========================================
GRID
=========================================*/
.complex-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
    margin-bottom:70px;
}

/*=========================================
CARD
=========================================*/
.feature-card{
    background:#fff;
    border:1px solid rgba(19,41,75,.06);
    border-radius:28px;
    padding:34px;
    text-align:left;
    transition:all .35s ease;
    box-shadow:var(--shadow-sm);
}

.feature-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

/*=========================================
ICON
=========================================*/
.feature-icon{
    width:68px;
    height:68px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:24px;
}

.gold-bg{
    background:#FFF3DD;
}

.blue-bg{
    background:#EAF3FF;
}

.green-bg{
    background:#E6F6EC;
}

.purple-bg{
    background:#F2EDFF;
}

/*=========================================
TITLE
=========================================*/
.feature-card h3{
    font-family:"Playfair Display",serif;
    font-size:28px;
    line-height:1.25;
    color:var(--navy);
    margin-bottom:16px;
}

/*=========================================
TEXT
=========================================*/
.feature-card p{
    color:var(--muted);
    line-height:1.8;
    font-size:16px;
}

/*=========================================
BANNER
=========================================*/
.complex-banner{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    align-items:center;
    padding:60px;
    border-radius:34px;
    background:linear-gradient(
        135deg,
        var(--navy),
        var(--navy-light)
    );
    color:#fff;
    overflow:hidden;
    position:relative;
}

.complex-banner::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-180px;
    top:-180px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
}

/*=========================================
LEFT
=========================================*/
.banner-left{
    position:relative;
    z-index:2;
}

.banner-left h3{
    font-family:"Playfair Display",serif;
    font-size:44px;
    line-height:1.15;
    margin:20px 0;
}

.banner-left p{
    font-size:18px;
    line-height:1.9;
    color:rgba(255,255,255,.88);
}

/*=========================================
RIGHT
=========================================*/
.banner-right{
    display:grid;
    gap:18px;
    position:relative;
    z-index:2;
}

.banner-stat{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,.10);
    border-radius:20px;
    padding:24px 28px;
}

.banner-stat strong{
    display:block;
    font-size:34px;
    margin-bottom:6px;
    color:#fff;

}

.banner-stat span{

    font-size:15px;

    color:rgba(255,255,255,.85);

    line-height:1.6;

}