/* 頁腳上方 CTA ------------------------------
   獨立檔案，class 皆以 footer-cta 開頭，不影響既有樣式 */
.footer-cta {
    position: relative;
    background: #fff url('../img/footer-cta-bg.jpg') no-repeat right bottom;
    background-size: cover;
    padding: 300px 0 80px;
    overflow: hidden;
}

.footer-cta .footer-cta-inner {
    max-width: 480px;
}

.footer-cta .footer-cta-title {
    font-family: Gabarito, 'Microsoft JhengHei', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
    color: #3d1f12;
    margin: 0 0 20px;
}

.footer-cta .footer-cta-text {
    font-size: 17px;
    line-height: 1.7;
    color: #6b6b6b;
    margin: 0 0 32px;
}

.footer-cta .footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 30px;
    border-radius: 30px;
    background: #e95513;
    border: 2px solid #e95513;
    color: #fff;
    font-family: Gabarito, 'Microsoft JhengHei', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

.footer-cta .footer-cta-btn:hover,
.footer-cta .footer-cta-btn:focus {
    background: #fff;
    color: #e95513;
    text-decoration: none;
}

.footer-cta .footer-cta-btn i {
    transition: transform .3s;
}

.footer-cta .footer-cta-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 1199px) {
    .footer-cta .footer-cta-inner {
        max-width: 420px;
    }

    .footer-cta .footer-cta-title {
        font-size: 36px;
    }
}

/* 平板以下：文字在上、插圖在下，避免文字壓到杯子 */
@media (max-width: 991px) {
    .footer-cta {
        background-size: 170% auto;
        background-position: right bottom;
        padding: 50px 0 58%;
    }

    .footer-cta .footer-cta-inner {
        max-width: none;
    }

    .footer-cta .footer-cta-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .footer-cta .footer-cta-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .footer-cta .footer-cta-btn {
        font-size: 16px;
        padding: 10px 26px;
    }
}
