.feature-cards {
	position: relative;
	padding: 80px 0;
	overflow: hidden;
	border-radius: 20px;

    @media screen and (max-width: 768px) {
        padding: 60px 8px;
    }
}
.feature-cards .container { 
    position: relative; 
    z-index: 2;     
    max-width: 1320px;
    margin: 0 auto;

    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

/* фон */
.feature-cards .fc-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	filter: none;

    @media screen and (max-width: 768px) {
        max-width: calc(100% - 16px);
        left: 8px;
        border-radius: 20px;
    }
}
.feature-cards .fc-overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(0deg, rgba(0,0,0,0.10), rgba(0,0,0,0.10)),
		linear-gradient(360deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.75) 100%);

    @media screen and (max-width: 768px) {
        max-width: calc(100% - 16px);
        left: 8px;
        border-radius: 20px;
    }
}

.fc-kicker { 
    font-family: 'Closer Text', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 14px;
    margin: 0 0 60px;

    @media screen and (max-width: 768px) {
        font-size: 16px;
        margin: 0 0 30px;
    }
}

.fc-title  { 
    font-family: 'Closer Text', sans-serif;
    font-weight: 500;
    font-size: 42px;
    line-height: 110%;
    letter-spacing: -0.02em;
    margin: 0;
    color: rgba(255, 255, 255, 1);
    max-width: 315px;

    @media screen and (max-width: 768px) {
        max-width: unset;
        margin: 0 0 18px;
    }
}

/* сетка карт */
.fc-grid {
	display: grid;
	gap: 20px;
    align-items: stretch; 
}

.feature-cards.is-cols-2 .fc-grid { 
    grid-template-columns: repeat(2, minmax(0,1fr)); 
}
.feature-cards.is-cols-3 .fc-grid { 
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr); 

    .fc-card {
        &:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
        &:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
        &:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
        &:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
        &:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
        &:nth-child(6) { grid-area: 3 / 3 / 4 / 4; }
    }
    
    @media screen and (max-width: 768px) {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;

        .fc-card {
            &:nth-child(n) {
                grid-area: unset;
            }
        }
    }
}

/* карточка */
.fc-card-inner {
	position: relative;
	background: rgba(241, 245, 248, 1);
	border-radius: 16px;
	padding: 26px;

    .fc-icon {
        display: flex;
        justify-content: space-between;

        img { 
            width: 70px; 
            height: 70px; 
            object-fit: contain; 
            display: block;
            margin-bottom: 60px; 

            @media screen and (max-width: 768px) {
                margin-bottom: 30px; 
            }
        }

        .fc-check {
            background: #CFE2E0;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            box-shadow: 0 0 0 1px #004735 inset;
        }
    }

    .fc-card-desc { 
        font-family: 'Closer Text', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: -0.01em;
        color: #004735;
    }
}

.fc-card-title { font-size: 16px; color: #0b3e35; margin: 0 0 8px; }


/* чек в правом верхнем (вариант results) */
/* .is-variant-results .fc-card-inner { padding-right: 42px; } */
.is-variant-results 

/* вариант openness — без фона-изображения, темный текст, может без overlay */
.is-variant-openness .fc-head { color: #0b3e35; }
.is-variant-openness .fc-title { color: #0b3e35; }
.is-variant-openness .fc-overlay { display: none; }
.is-variant-openness .fc-card-inner { background: #f4faf7; }

/* адаптив */
/* @media (max-width: 992px) {
	.feature-cards { padding: 60px 0; }
	.fc-title { font-size: 28px; }
	.feature-cards .fc-grid { grid-template-columns: 1fr 1fr; }
} */
/* @media (max-width: 640px) {
	.feature-cards .fc-grid { grid-template-columns: 1fr; }
} */
