/* ==========================================================================
   SECTION: HARVEST PROCESS (QUY TRÌNH THU HOẠCH)
   Path: template-parts/sections/harvest-process/style.css
   ========================================================================== */

.harvest-process {
    padding: 70px 0 85px 0;
    background-color: var(--color-bg-main, #FFF5E8);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.harvest-process__container {
    max-width: 1250px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 2;
}

.harvest-process__header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 45px auto;
}

.harvest-process__title {
    font-family: var(--font-primary, 'Parastoo', serif);
    font-size: var(--fs-h2, 38px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-heading, #2F2B29);
    margin: 0 0 16px 0;
}

.harvest-process__desc {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: var(--fs-body-s, 18px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-body, #5C5752);
    margin: 0;
}

/* GRID 3 CỘT DESKTOP */
.harvest-process__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* THẺ CARD BO TRÒN HIỆU ỨNG BO GÓC SẮC NÉT */
.harvest-process__card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--text-heading, #2F2B29);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base, all 0.3s ease-in-out);
    display: flex;
    flex-direction: column;
}

.harvest-process__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.harvest-process__card-media {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Aspect ratio 1:1 VUÔNG */
    overflow: hidden;
}

.harvest-process__card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-base, all 0.3s ease-in-out);
}

.harvest-process__card:hover .harvest-process__card-media img {
    transform: scale(1.04);
}

.harvest-process__number-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    color: var(--text-heading, #2F2B29);
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 24px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.harvest-process__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.harvest-process__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 22px;
    z-index: 2;
    box-sizing: border-box;
}

.harvest-process__card-title {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-white, #F7F8F9);
    margin: 0 0 8px 0;
}

.harvest-process__card-desc {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(247, 248, 249, 0.88);
    margin: 0;
}

/* FOOTER NẰM BÊN DƯỚI LƯỚI THẺ (GỒM GHI CHÚ VÀ NÚT BẤM) */
.harvest-process__footer {
    text-align: center;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.harvest-process__footer-note {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body, #5C5752);
    margin: 0;
    text-align: center;
    max-width: 800px;
    line-height: 1.5;
}

.harvest-process__btn {
    background: linear-gradient(135deg, #A86B52 0%, var(--color-accent-2, #794B38) 100%);
    color: var(--text-white, #ffffff) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--ff-btn-m, var(--font-secondary, sans-serif));
    font-size: var(--fs-btn-m, 14px);
    font-weight: var(--fw-btn-m, 600);
    transition: var(--transition-base, all 0.3s ease);
    box-shadow: 0 4px 12px rgba(121, 75, 56, 0.2);
}

.harvest-process__btn:hover {
    background: var(--color-accent-2, #794B38);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(121, 75, 56, 0.3);
}
