/* ===== ОСНОВНЫЕ ПЕРЕМЕННЫЕ ===== */
.igc-zen-advantages {
    --zen-bg: #fafdfa;          /* Очень светлый фон секции */
    --zen-card-bg: #ffffff;     /* Белый фон карточек */
    --zen-primary: #a8c8a8;     /* Основной пастельно-зелёный */
    --zen-primary-light: #E8F0E8; /* Ваш светлый пастельный */
    --zen-primary-dark: #8ab08a; /* Более тёмный оттенок для текста иконок */
    --zen-text-dark: #4a5c4a;   /* Мягкий тёмно-зелёный для заголовков */
    --zen-text-light: #6c7c6c;  /* Светло-серо-зелёный для описаний */
    --zen-border: #e0eae0;      /* Цвет границ */
    --zen-shadow: rgba(168, 200, 168, 0.1); /* Тень в зелёных тонах */
    
    /* ФИРМЕННЫЙ АКЦЕНТ - только бронзовый */
    --zen-accent: #b68d40; /* Ваш --bronze */
    --zen-accent-glow: rgba(182, 141, 64, 0.15);
    
    padding:3rem;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    background: #fff; /* Явно задаем фон, чтобы перекрыть --ivory */
}

/* Тонкий фоновый паттерн (еле заметные линии) */
.igc-zen-advantages::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 24px, var(--zen-border) 25px),
        repeating-linear-gradient(90deg, transparent, transparent 24px, var(--zen-border) 25px);
    background-size: 25px 25px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.igc-zen-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

/* ===== СЕТКА ===== */
.igc-zen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

/* ===== КАРТОЧКА ===== */
.igc-zen-card {
    background: var(--zen-card-bg);
    border-radius: 24px;
    padding: 60px 35px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--zen-border);
    box-shadow: 
        0 4px 20px var(--zen-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: zenCardAppear 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-play-state: paused;
}

/* Тонкая бронзовая линия внизу при наведении */
.igc-zen-hover-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--zen-accent);
    transform: translateX(-50%);
    transition: width 0.6s ease;
    border-radius: 3px 3px 0 0;
}

.igc-zen-card:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 25px 50px var(--zen-shadow),
        0 15px 35px var(--zen-accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: var(--zen-accent);
}

.igc-zen-card:hover .igc-zen-hover-line {
    width: 100%;
}

/* ===== ИКОНКА ===== */
.igc-zen-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 35px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.igc-zen-icon-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--zen-primary-light);
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.5s ease;
    transform: scale(1);
}

.igc-zen-icon {
    font-size: 2.8rem;
    color: #B58D40;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

/* Акцент на иконке - бронзовый фон при наведении */
.igc-zen-card:hover .igc-zen-icon-bg {
    opacity: 1;
    transform: scale(1.1);
    background-color: var(--zen-accent);
    box-shadow: 0 10px 25px var(--zen-accent-glow);
}

.igc-zen-card:hover .igc-zen-icon {
    color: white;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* ===== ТЕКСТ ===== */
.igc-zen-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--zen-text-dark);
    margin: 0 0 18px 0;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* Заголовок становится бронзовым при наведении */
.igc-zen-card:hover .igc-zen-title {
    color: var(--zen-accent);
}

.igc-zen-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--zen-text-light);
    margin: 0;
    opacity: 0.9;
    max-width: 95%;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.igc-zen-card:hover .igc-zen-desc {
    opacity: 1;
    transform: translateY(3px);
}

/* ===== АНИМАЦИИ ===== */
@keyframes zenCardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Легкое мерцание фона */
@keyframes zenBgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.97; }
}

.igc-zen-advantages {
    animation: zenBgPulse 10s ease-in-out infinite;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1400px) {
    .igc-zen-container { padding: 0 30px; }
    .igc-zen-grid { gap: 30px; }
    .igc-zen-card { padding: 50px 30px 40px; }
}

@media (max-width: 1200px) {
    .igc-zen-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
        gap: 30px;
    }
    .igc-zen-card { padding: 50px 40px 40px; }
}

@media (max-width: 768px) {
    .igc-zen-advantages {
        padding: 70px 20px;
        min-height: auto;
    }
    .igc-zen-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 25px;
    }
    .igc-zen-card {
        padding: 45px 35px 35px;
        max-width: 450px;
        margin: 0 auto;
    }
    .igc-zen-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 30px;
    }
    .igc-zen-icon { font-size: 2.5rem; }
    .igc-zen-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .igc-zen-advantages { padding: 60px 15px; }
    .igc-zen-container { padding: 0 15px; }
    .igc-zen-card { padding: 40px 25px 30px; }
    .igc-zen-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    .igc-zen-icon { font-size: 2.2rem; }
    .igc-zen-title { font-size: 1.4rem; margin-bottom: 15px; }
    .igc-zen-desc { font-size: 1rem; }
}

/* Для тач-устройств - упрощаем hover */
@media (hover: none) and (pointer: coarse) {
    .igc-zen-card:active {
        transform: translateY(-8px);
    }
    .igc-zen-card:active .igc-zen-hover-line {
        width: 80%;
    }
}