
/* ===============================
   HERO BANNER - DRAGON TRAVEL
================================ */

.tx-hero {
    position: relative;
    width: 100%;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #321019;
    color: #ffffff;
}

/* ẢNH NỀN */
.tx-hero__background,
.tx-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tx-hero__background {
    z-index: -2;
}

.tx-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* LỚP PHỦ GIÚP CHỮ NỔI BẬT */
.tx-hero__overlay {
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(30, 8, 15, .89) 0%,
        rgba(45, 12, 22, .75) 38%,
        rgba(30, 8, 15, .12) 100%
    );
}

/* CONTENT */
.tx-hero__container {
    position: relative;
    width: 100%;
    padding-top: 160px;
    padding-bottom: 85px;
}

.tx-hero__content {
    max-width: 650px;
}

.tx-hero__eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #f5d1d7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.tx-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(38px, 4.6vw, 65px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.tx-hero h1 span {
    display: block;
    color: #ffd4d9;
}

.tx-hero__subtitle {
    max-width: 570px;
    margin: 0 0 22px;
    color: #f5e8ea;
    font-size: 19px;
    line-height: 1.7;
}

/* DANH SÁCH ƯU ĐIỂM */
.tx-hero__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.tx-hero__features li {
    position: relative;
    padding-left: 27px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

.tx-hero__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #9e1828;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

/* CTA BUTTONS */
.tx-hero__actions {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
}

.tx-hero__btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition:
        transform .2s ease,
        filter .2s ease;
}

.tx-hero__btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.tx-hero__btn--call {
    background: #a4182b;
}

.tx-hero__btn--zalo {
    background: #0866f9;
}

.tx-hero__btn--whatsapp {
    background: #18b95d;
}

.tx-hero__btn:hover {
    color: #fff;
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.tx-hero__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* HOTLINE */
.tx-hero__hotline {
    margin: 22px 0 0;
    color: #f0dfe3;
    font-size: 15px;
}

.tx-hero__hotline a {
    color: #fff;
    font-weight: 800;
}

/* TABLET */
@media (max-width: 1024px) {
    .tx-hero {
        min-height: 620px;
    }

    .tx-hero__container {
        padding-top: 145px;
        padding-bottom: 70px;
    }

    .tx-hero__content {
        max-width: 570px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .tx-hero {
        min-height: 620px;
        align-items: flex-start;
    }

    .tx-hero__container {
        padding-top: 125px;
        padding-bottom: 50px;
    }

    .tx-hero__image {
        object-position: 65% center;
    }

    .tx-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(30, 8, 15, .8) 0%,
            rgba(30, 8, 15, .72) 65%,
            rgba(30, 8, 15, .45) 100%
        );
    }

    .tx-hero__eyebrow {
        font-size: 10px;
        letter-spacing: 1.3px;
        margin-bottom: 15px;
    }

    .tx-hero h1 {
        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.2;
        letter-spacing: -.5px;
        margin-bottom: 15px;
    }

    .tx-hero__subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .tx-hero__features {
        gap: 10px;
        margin-bottom: 24px;
    }

    .tx-hero__features li {
        font-size: 13px;
        padding-left: 25px;
    }

    .tx-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .tx-hero__btn {
        min-height: 48px;
        padding: 10px 9px;
        font-size: 13px;
        border-radius: 8px;
    }

    .tx-hero__btn--call {
        grid-column: 1 / -1;
    }

    .tx-hero__hotline {
        margin-top: 16px;
        font-size: 13px;
    }
}

/* MOBILE NHỎ */
@media (max-width: 380px) {
    .tx-hero h1 {
        font-size: 31px;
    }

    .tx-hero__btn {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tx-hero__btn {
        transition: none;
    }
}


/* ==================================
   HERO RESPONSIVE - DRAGON TRAVEL
================================== */

/* Đảm bảo picture phủ kín Hero */
.tx-hero__background picture {
    display: block;
    width: 100%;
    height: 100%;
}

.tx-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop: nội dung không quá sát lề */
.tx-hero .tx-hero__container {
    width: min(calc(100% - 80px), 1200px);
    margin-inline: auto;
}

.tx-hero__content {
    max-width: 650px;
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
    .tx-hero .tx-hero__container {
        width: calc(100% - 64px);
    }
}

/* MOBILE */
@media (max-width: 767px) {

    .tx-hero {
        min-height: 670px;
        height: auto;
    }

    /* Căn lề trái và phải */
    .tx-hero .tx-hero__container {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 125px 24px 55px;
    }

    .tx-hero__content {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Hiển thị ảnh mobile */
    .tx-hero__image {
        object-position: center center;
    }

    /* Phủ tối ảnh để chữ dễ đọc */
    .tx-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(25, 7, 12, .74) 0%,
            rgba(37, 10, 18, .68) 55%,
            rgba(37, 10, 18, .48) 100%
        );
    }

    /* Tiêu đề */
    .tx-hero h1 {
        margin: 0 0 18px;
        font-size: clamp(32px, 8.5vw, 42px);
        line-height: 1.2;
        letter-spacing: -.5px;
        overflow-wrap: break-word;
    }

    /* Mô tả */
    .tx-hero__subtitle {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    /* Danh sách ưu điểm */
    .tx-hero__features {
        margin-bottom: 25px;
        gap: 12px;
    }

    .tx-hero__features li {
        font-size: 14px;
        line-height: 1.55;
    }

    /* Nhóm nút liên hệ */
    .tx-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .tx-hero__btn {
        min-width: 0;
        min-height: 50px;
        padding: 12px 8px;
        font-size: 13px;
        border-radius: 9px;
    }

    /* Nút gọi chiếm cả hàng */
    .tx-hero__btn--call {
        grid-column: 1 / -1;
    }

    .tx-hero__hotline {
        margin-top: 18px;
        font-size: 14px;
    }
}

/* MOBILE NHỎ */
@media (max-width: 380px) {

    .tx-hero .tx-hero__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tx-hero h1 {
        font-size: 31px;
    }

    .tx-hero__btn {
        font-size: 12px;
    }
}


/* HERO - MULTILINGUAL RESPONSIVE */

.tx-hero__content {
    min-width: 0;
}

.tx-hero h1 {
    overflow-wrap: break-word;
    text-wrap: balance;
}

.tx-hero__subtitle {
    overflow-wrap: break-word;
}

.tx-hero__btn {
    min-width: 0;
    white-space: normal;
    line-height: 1.4;
}

/* TABLET */
@media (max-width: 1024px) {
    .tx-hero h1 {
        font-size: clamp(34px, 5vw, 52px);
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .tx-hero h1 {
        font-size: clamp(30px, 7.5vw, 40px);
        line-height: 1.2;
    }

    .tx-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tx-hero__btn {
        min-height: 50px;
        padding: 12px 8px;
        font-size: 13px;
        text-align: center;
    }

    .tx-hero__btn--call {
        grid-column: 1 / -1;
    }
}

/* TIẾNG NGA: TRÁNH NÚT QUÁ CHẬT */
@media (max-width: 420px) {
    html[lang^="ru"] .tx-hero__actions {
        grid-template-columns: 1fr;
    }

    html[lang^="ru"] .tx-hero__btn--call {
        grid-column: auto;
    }
}
