/* =========================================
   1. RESET & NỀN TẢNG
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* =========================================
   2. HERO POSTER
========================================= */
.hero-poster {
    width: 100%;
    line-height: 0;
}

.full-poster {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   3. KHUNG CHUNG
========================================= */
.content-shell,
.main-wrapper,
.footer-gallery {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================================
   4. CONTACT SECTION
========================================= */
.contact-section {
    padding: 60px 18px;
    background: #fff;
    color: #ee0000;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 36px;
    letter-spacing: 2px;
}

.single-contact-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(238, 0, 0, 0.98), rgba(255, 77, 77, 0.92)),
        #ee0000;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    box-shadow: 0 18px 42px rgba(238, 0, 0, 0.18);
    overflow: hidden;
}

.contact-pill {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.single-contact-card h3 {
    font-size: 1.55rem;
    margin-bottom: 12px;
    color: #fff;
}

.single-contact-card p {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 6px;
    color: #fff;
}

.contact-link {
    font-weight: 700;
}

.phone-link strong {
    font-size: 1.28rem;
    letter-spacing: 0.4px;
    font-weight: 800;
}

.copy-only {
    user-select: text;
    -webkit-user-select: text;
    cursor: text;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 170px;
}

.contact-btn {
    display: block;
    text-align: center;
    border-radius: 999px;
    padding: 13px 18px;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.contact-btn.primary {
    background: #fff;
    color: #ee0000;
}

.contact-btn.secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.decoration-red-bar {
    width: 100vw;
    height: 36px;
    background: #ff4d4d;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 28px;
    margin-bottom: 36px;
    border-radius: 0;
}

/* =========================================
   5. PRICING
========================================= */
.main-wrapper {
    padding: 0 10px 20px;
}

.main-pricing-title {
    text-align: center;
    font-size: 1.42rem;
    text-transform: uppercase;
    margin: 0 0 24px;
    letter-spacing: 0.8px;
    padding: 6px 0;
    color: #ee0000;
    font-weight: 700;
    line-height: 1.22;
}

.loading-text,
.error-text {
    text-align: center;
    padding: 30px 15px;
    color: #ee0000;
}

.pricing-scale {
    width: 100%;
    display: block;
}

.pricing-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 34px;
    flex-wrap: nowrap;
}

.country-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.country-title {
    color: #ff8a8a;
    text-align: center;
    font-size: 1.28rem;
    font-weight: 300;
    letter-spacing: 4.8px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.table-pair {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
}

.data-table {
    border-collapse: collapse;
    width: 154px;
    font-size: 8.6px;
    table-layout: fixed;
    background: #fff;
}

.data-table th,
.data-table td {
    border: 1px solid #d7d7d7;
    padding: 4px 3px;
    text-align: center;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    line-height: 1.12;
}

.data-table thead th {
    background: #f3f3f3;
    color: #ee0000;
    font-weight: 800;
    font-size: 7.7px;
}

.highlight-red td:first-child,
.highlight-red td {
    color: #ee0000 !important;
    font-weight: 800;
}

/* Divider vạch vàng */
.divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 74px;
    margin: 0 12px;
    flex: 0 0 12px;
}

.v-line {
    width: 1px;
    height: 62px;
    background: #d4af37;
    opacity: 0.7;
}

.star {
    color: #d4af37;
    font-size: 12px;
    margin: 8px 0;
    line-height: 1;
}

/* =========================================
   6. FOOTER IMAGES
========================================= */
.footer-gallery {
    display: block;
    max-width: 800px;
    margin: 30px auto;
    padding: 0 15px 20px;
}

.gallery-item {
    width: 100%;
    margin-bottom: 28px;
    display: block;
}

.footer-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   7. TABLET
========================================= */
@media screen and (max-width: 1024px) {
    .main-wrapper {
        max-width: 880px;
    }

    .pricing-row {
        gap: 20px;
    }

    .country-title {
        font-size: 1.08rem;
        letter-spacing: 4px;
    }

    .table-pair {
        gap: 10px;
    }

    .data-table {
        width: 144px;
        font-size: 8px;
    }

    .data-table thead th {
        font-size: 7px;
    }

    .divider {
        padding-top: 68px;
        margin: 0 10px;
    }

    .v-line {
        height: 54px;
    }
}

/* =========================================
   8. MOBILE - PIXEL GẦN ẢNH 2
========================================= */
@media screen and (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .content-shell,
    .main-wrapper,
    .footer-gallery {
        max-width: 392px;
    }

    .contact-section {
        padding: 16px 14px 0;
    }

    .section-title {
        font-size: 0.82rem;
        font-weight: 400;
        margin-bottom: 10px;
        letter-spacing: 0.8px;
    }

    .single-contact-card {
        max-width: 270px;
        padding: 12px 12px;
        border-radius: 12px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-pill {
        font-size: 0.34rem;
        padding: 3px 6px;
        margin-bottom: 6px;
        letter-spacing: 0.35px;
    }

    .single-contact-card h3 {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }

    .single-contact-card p {
        font-size: 0.47rem;
        line-height: 1.25;
        margin-bottom: 2px;
    }

    .phone-link strong {
        font-size: 0.58rem;
    }

    .contact-actions {
        min-width: 0;
        flex-direction: row;
        gap: 6px;
    }

    .contact-btn {
        flex: 1;
        font-size: 0.4rem;
        padding: 6px 4px;
    }

    .decoration-red-bar {
        height: 18px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .main-wrapper {
        padding: 0 18px 10px;
    }

    .main-pricing-title {
        font-size: 0.69rem;
        line-height: 1.16;
        margin: 0 0 13px;
        padding: 0;
        letter-spacing: 0.25px;
    }

    .pricing-scale {
        width: 100%;
        overflow: visible;
    }

    .pricing-row {
        width: 100%;
        gap: 8px;
        margin-bottom: 16px;
        justify-content: center;
    }

    .country-block {
        width: calc(50% - 4px);
        min-width: 0;
    }

    .country-title {
        font-size: 0.6rem;
        letter-spacing: 2px;
        margin-bottom: 5px;
        font-weight: 400;
    }

    .table-pair {
        gap: 4px;
        width: 100%;
    }

    .data-table {
        width: calc(50% - 2px);
        font-size: 4.55px;
    }

    .data-table th,
    .data-table td {
        padding: 2px 1px;
        line-height: 1.08;
    }

    .data-table thead th {
        font-size: 4.15px;
    }

    .divider {
        display: flex;
        padding-top: 36px;
        margin: 0 7px;
        flex: 0 0 8px;
    }

    .v-line {
        height: 27px;
    }

    .star {
        font-size: 7px;
        margin: 3px 0;
    }

    .footer-gallery {
        padding: 0 14px 16px;
        margin-top: 18px;
    }

    .gallery-item {
        margin-bottom: 16px;
    }
}

/* =========================================
   9. VERY SMALL MOBILE
========================================= */
@media screen and (max-width: 390px) {
    .content-shell,
    .main-wrapper,
    .footer-gallery {
        max-width: 330px;
    }

    .single-contact-card {
        max-width: 255px;
        padding: 11px 10px;
    }

    .single-contact-card h3 {
        font-size: 0.68rem;
    }

    .single-contact-card p {
        font-size: 0.44rem;
    }

    .phone-link strong {
        font-size: 0.54rem;
    }

    .contact-btn {
        font-size: 0.38rem;
        padding: 6px 3px;
    }

    .main-wrapper {
        padding: 0 16px 10px;
    }

    .main-pricing-title {
        font-size: 0.64rem;
    }

    .pricing-row {
        gap: 6px;
        margin-bottom: 14px;
    }

    .country-block {
        width: calc(50% - 3px);
    }

    .country-title {
        font-size: 0.54rem;
        letter-spacing: 1px;
    }

    .table-pair {
        gap: 3px;
    }

    .data-table {
        font-size: 4px;
    }

    .data-table th,
    .data-table td {
        padding: 2px 1px;
    }

    .data-table thead th {
        font-size: 3.8px;
    }

    .divider {
        flex: 0 0 6px;
        margin: 0 5px;
        padding-top: 33px;
    }

    .v-line {
        height: 23px;
    }

    .star {
        font-size: 6px;
    }
}