/* =========================================
   PACKAGES SECTION + REDESIGNED CARDS
========================================= */

.packages-section {
    width: 100%;
    padding: 70px 20px 90px;
    background: #f4f7fb;
    overflow: hidden;
    font-family: "Manrope", system-ui, sans-serif;
}

.packages-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.packages-heading {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.packages-heading span {
    display: inline-block;
    color: #d4a017;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}

.packages-heading h2 {
    margin: 0;
    color: #14213d;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;
}

.packages-heading h2 strong {
    color: #d4a017;
}

.packages-heading p {
    margin: 14px 0 0;
    color: #697386;
    font-size: 15px;
    line-height: 1.7;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.package-card {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(20, 33, 61, 0.08);
    box-shadow: 0 10px 28px rgba(20, 33, 61, 0.06);
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.package-card.package-visible {
    opacity: 1;
    transform: translateY(0);
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 33, 61, 0.12);
}

.package-image {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.package-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.06);
}

.package-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,18,36,0.05) 35%, rgba(8,18,36,0.72) 100%);
    pointer-events: none;
}

.package-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.94);
    color: #14213d;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.package-badge i {
    color: #d4a017;
    font-size: 11px;
}

.package-location-chip {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.package-location-chip i {
    color: #d4a017;
}

.package-content {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    min-height: 0;
}

.package-content h3 a {
    color: #14213d;
    text-decoration: none;
}

.package-content h3 a:hover {
    color: #0b3d91;
}

.package-include-chips {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.package-include-chips li {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #4b5c72;
    font-size: 11px;
    font-weight: 700;
}

.package-bottom {
    margin-top: auto;
    padding-top: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(20, 33, 61, 0.06);
}

.package-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.package-price small {
    color: #8a93a3;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.package-price strong {
    color: #14213d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 2px;
}

.package-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pkg-card-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e8f8ee;
    color: #128c7e;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pkg-card-wa:hover {
    background: #d4f0de;
    transform: translateY(-1px);
}

.view-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    min-height: 42px;
    padding: 0 14px;
    background: #14213d;
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: background 0.25s ease, transform 0.25s ease;
}

.view-details-btn span {
    font-size: 15px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.view-details-btn:hover {
    background: #d4a017;
    color: #14213d;
    transform: translateY(-1px);
}

.view-details-btn:hover span {
    transform: translateX(3px);
}

@media (max-width: 1000px) {
    .packages-section {
        padding: 60px 18px 75px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 700px) {
    .packages-section {
        padding: 48px 14px 60px;
    }

    .packages-heading {
        margin-bottom: 28px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 460px;
        margin: 0 auto;
    }

    .package-image {
        height: 210px;
    }

    .package-bottom {
        flex-wrap: wrap;
    }

    .package-card-actions {
        width: 100%;
    }

    .view-details-btn {
        flex: 1;
    }
}

@media (max-width: 450px) {
    .package-content {
        padding: 16px;
    }

    .package-content h3 {
        font-size: 17px;
    }

    .package-price strong {
        font-size: 18px;
    }
}
