/* assets/css/index.css */

.home-hero {
    min-height: 620px;
}

.home-slide-content {
    max-width: 920px;
}

.home-slide-content h1 {
    font-size: clamp(38px, 6vw, 64px);
}

.home-slide-content p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.home-overview {
    background: #fff;
    border-bottom: 1px solid #eee8dc;
}

.home-overview-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 52px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: center;
}

.home-overview-intro h2,
.home-section-header h2,
.home-cta-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
    font-weight: 400;
    margin-bottom: 14px;
    color: #1d1d1d;
}

.home-overview-intro p,
.home-section-header p {
    color: #666;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.8;
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.home-stat-card {
    background: #f7f4ed;
    border: 1px solid #eee5d3;
    border-radius: 12px;
    padding: 20px 14px;
    text-align: center;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.home-stat-card:hover {
    transform: translateY(-3px);
    border-color: #d8bf7d;
    background: #fff;
}

.home-stat-card span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #c9a959;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid #eee5d3;
}

.home-stat-card strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    font-weight: 400;
    margin-bottom: 8px;
}

.home-stat-card small {
    color: #777;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.home-section {
    padding: 82px 20px;
}

.home-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.home-show-all {
    color: #c9a959;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.home-show-all:hover,
.home-card-link:hover,
.home-preview-body h3 a:hover {
    color: #a88431;
}

.home-info-section {
    background: #f7f4ed;
}

.home-card-grid {
    display: grid;
    gap: 28px;
}

.home-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-info-card {
    border-radius: 14px;
    padding: 40px;
    min-height: 250px;
    border: 1px solid #eadfc9;
}

.home-info-card-light {
    background: #fff;
}

.home-info-card-dark {
    background: #1d1d1d;
    color: #fff;
    border-color: #1d1d1d;
}

.home-info-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f7f0df;
    color: #c9a959;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
}

.home-info-card-dark .home-info-icon {
    background: rgba(201, 169, 89, 0.14);
}

.home-info-card h3 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 14px;
}

.home-info-card p {
    font-size: 14px;
    line-height: 1.85;
    color: #666;
}

.home-info-card-dark p {
    color: #d8d8d8;
}

.home-content-section {
    background: #fff;
}

.home-trainings-preview {
    background: #f7f4ed;
}

.home-blog-preview {
    background: #fff;
}

.home-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-preview-card {
    background: #fff;
    border: 1px solid #eee5d3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.055);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.home-preview-card:hover {
    transform: translateY(-4px);
    border-color: #d8bf7d;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.home-preview-image-link {
    display: block;
    text-decoration: none;
    background: #f7f4ed;
}

.home-preview-image-link img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.home-preview-body {
    padding: 24px;
}

.home-preview-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: #9a7a2c;
    font-size: 12px;
    margin-bottom: 12px;
}

.home-preview-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-preview-body h3 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 12px;
}

.home-preview-body h3 a {
    color: inherit;
    text-decoration: none;
}

.home-preview-body p {
    color: #666;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.home-card-link {
    color: #c9a959;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-empty-card {
    background: #fff;
    border: 1px dashed #dbc78f;
    border-radius: 14px;
    padding: 34px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-empty-card i {
    color: #c9a959;
    font-size: 24px;
}

.home-cta-section {
    background: #1d1d1d;
    color: #fff;
    padding: 86px 20px;
}

.home-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.18), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(201, 169, 89, 0.28);
    border-radius: 18px;
    padding: 54px 44px;
    text-align: center;
}

.home-cta-content {
    max-width: 820px;
    margin: 0 auto;
}

.home-cta-content h2 {
    color: #fff;
}

.home-cta-content p {
    color: #e2e2e2;
    line-height: 1.8;
    font-size: 16px;
}

.btn-row-center {
    justify-content: center;
}

@media (max-width: 1024px) {
    .home-overview-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-hero {
        min-height: 520px;
    }

    .home-overview-inner,
    .home-section,
    .home-cta-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-overview-inner {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .home-stat-grid,
    .home-info-grid,
    .home-content-grid {
        grid-template-columns: 1fr;
    }

    .home-stat-card {
        display: grid;
        grid-template-columns: auto 1fr auto;
        text-align: left;
        align-items: center;
        gap: 12px;
        padding: 16px;
    }

    .home-stat-card span {
        margin-bottom: 0;
    }

    .home-stat-card strong {
        margin-bottom: 0;
        font-size: 24px;
    }

    .home-stat-card small {
        text-align: right;
    }

    .home-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .home-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .home-show-all {
        white-space: normal;
    }

    .home-info-card,
    .home-preview-body,
    .home-cta-inner {
        padding: 28px;
    }

    .home-preview-image-link img {
        height: 220px;
    }

    .home-empty-card {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .home-stat-card {
        grid-template-columns: auto 1fr;
    }

    .home-stat-card small {
        grid-column: 2;
        text-align: left;
    }

    .home-cta-inner {
        padding: 28px 22px;
        border-radius: 14px;
    }
}
