/* =============================================================================
 * TRANG DỰNG BẰNG TRÌNH KÉO THẢ — KIỂU DÁNG MẶC ĐỊNH
 *
 * Tệp này chạy ở CẢ HAI nơi: trang thật và khung xem trước trong trình dựng.
 * Nhờ vậy những gì người dựng thấy đúng là những gì khách nhìn.
 *
 * NGUYÊN TẮC: CHỈ ĐẶT NHỮNG GÌ BẮT BUỘC
 * -------------------------------------
 * Mỗi luật ở đây là một luật mà người dùng phải ghi đè nếu muốn khác đi. Đặt
 * càng nhiều thì bảng cài đặt càng khó thắng, và sẽ có cảnh "chỉnh mà không
 * thấy đổi gì". Vì vậy ở đây chỉ có:
 *   - khung xương (flex, grid, tỉ lệ khung hình),
 *   - giá trị mặc định trung tính (khoảng cách, cỡ chữ cơ bản),
 *   - và những thứ không đặt được từ bảng cài đặt (hiệu ứng, trạng thái mở/đóng).
 *
 * Toàn bộ dùng tiền tố `elb-` nên không đụng vào CSS sẵn có của website.
 * ========================================================================== */

.elb-page {
    --elb-gap: 20px;
    --elb-primary: #0b2a4a;
    --elb-accent: #f39508;
    --elb-ink: #23324a;
    --elb-ink-soft: #64748b;
    --elb-line: #e2e8f0;
    --elb-surface: #ffffff;
    --elb-surface-2: #f6f8fb;
    --elb-radius: 8px;
    --elb-container: 1200px;
}

/* Dải báo "đang xem bản nháp" — chỉ hiện với người quản trị */
.elb-preview-bar {
    padding: 9px 14px;
    background: #fdf3e3;
    color: #96631a;
    font-size: 14px;
    text-align: center;
}

/* ========================================================== khối chứa === */

.elb-con {
    position: relative;
    display: block;
    width: 100%;

    /*
     * Đệm trên dưới mặc định 10px — bằng đúng mặc định của Elementor.
     *
     * Không phải để cho đẹp: khối chứa sát mép hoàn toàn thì trong lúc dựng,
     * thanh công cụ của phần tử đầu tiên không còn chỗ đứng và phải đè lên
     * chính nội dung đó. Mười pixel là đủ để mọi phần tử đều có chỗ.
     * Người dùng vẫn đặt lại được ở thẻ Nâng cao.
     */
    padding-block: 10px;
}

.elb-con > .elb-con-inner {
    display: flex;
    flex-direction: column;
    gap: var(--elb-gap);
    width: 100%;
    margin-inline: auto;
}

.elb-con--boxed > .elb-con-inner {
    max-width: var(--elb-container);
    padding-inline: 16px;
}

.elb-con--full > .elb-con-inner {
    max-width: none;
}

.elb-con--grid > .elb-con-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elb-con-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Khối chứa lồng trong khối chứa không thụt lề thêm lần nữa */
.elb-con .elb-con--boxed > .elb-con-inner {
    padding-inline: 0;
}

/* Lớp phủ màu lên ảnh nền */
.elb-con::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ------------------------------------------------ hình trang trí mép --- */

.elb-shape {
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.elb-shape--top {
    top: -1px;
}

.elb-shape--bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.elb-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: #ffffff;
}

/* ============================================================= widget === */

.elb-element {
    position: relative;
    min-width: 0;
}

.elb-widget__container {
    min-width: 0;
}

/* Ẩn theo cỡ màn hình (thẻ Nâng cao) */
@media (min-width: 1025px) {
    .elb-hidden-desktop { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .elb-hidden-tablet { display: none !important; }
}

@media (max-width: 767px) {
    .elb-hidden-mobile { display: none !important; }
}

/* ============================================================ tiêu đề === */

.elb-heading-title {
    margin: 0;
    color: inherit;
    line-height: 1.28;
    overflow-wrap: break-word;
}

.elb-heading-title a {
    color: inherit;
    text-decoration: none;
}

.elb-heading-title--small { font-size: 1.05rem; }
.elb-heading-title--medium { font-size: 1.4rem; }
.elb-heading-title--large { font-size: 1.9rem; }
.elb-heading-title--xl { font-size: 2.4rem; }
.elb-heading-title--xxl { font-size: 3rem; }

/* ============================================================ văn bản === */

.elb-text-editor {
    line-height: 1.7;
    overflow-wrap: break-word;
}

.elb-text-editor > :first-child { margin-top: 0; }
.elb-text-editor > :last-child { margin-bottom: 0; }

.elb-text-editor img {
    max-width: 100%;
    height: auto;
}

.elb-text-editor--drop-cap > p:first-of-type::first-letter {
    float: left;
    margin-right: 8px;
    color: var(--elb-accent);
    font-size: 3.2em;
    font-weight: 700;
    line-height: .82;
}

/* ================================================================ ảnh === */

.elb-image {
    margin: 0;
}

.elb-image img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.elb-image__caption {
    margin-top: 8px;
    color: var(--elb-ink-soft);
    font-size: .85rem;
    line-height: 1.55;
}

/* ================================================================ nút === */

.elb-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--elb-radius);
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.elb-button__icon {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.elb-button--xs { padding: 6px 12px; font-size: .78rem; }
.elb-button--sm { padding: 8px 16px; font-size: .86rem; }
.elb-button--md { padding: 11px 22px; font-size: .95rem; }
.elb-button--lg { padding: 14px 30px; font-size: 1.05rem; }
.elb-button--xl { padding: 18px 40px; font-size: 1.15rem; }

.elb-button--default { background: var(--elb-surface-2); color: var(--elb-ink); }
.elb-button--primary { background: var(--elb-primary); color: #fff; }
.elb-button--accent { background: var(--elb-accent); color: #fff; }
.elb-button--success { background: #1c7c4a; color: #fff; }
.elb-button--danger { background: #b42318; color: #fff; }

.elb-button--outline {
    border-color: currentColor;
    background: transparent;
    color: var(--elb-primary);
}

.elb-button:hover {
    filter: brightness(1.07);
}

/* ============================================================== video === */

.elb-video__frame {
    position: relative;
    width: 100%;
    background: #000;
}

.elb-video--169 .elb-video__frame { aspect-ratio: 16 / 9; }
.elb-video--219 .elb-video__frame { aspect-ratio: 21 / 9; }
.elb-video--43 .elb-video__frame { aspect-ratio: 4 / 3; }
.elb-video--32 .elb-video__frame { aspect-ratio: 3 / 2; }
.elb-video--11 .elb-video__frame { aspect-ratio: 1 / 1; }
.elb-video--916 .elb-video__frame { aspect-ratio: 9 / 16; }

.elb-video__frame iframe,
.elb-video__frame video,
.elb-video__frame img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.elb-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--elb-primary);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform .18s ease, background-color .18s ease;
}

.elb-video__play:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.07);
}

/* ========================================================== đường kẻ === */

.elb-divider {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding-block: 15px;
}

.elb-divider__line {
    flex: 1 1 auto;
    border-top: 1px solid var(--elb-line);
}

.elb-divider:not(.elb-divider--with-text) .elb-divider__line + .elb-divider__line {
    display: none;
}

.elb-divider__text {
    flex: none;
    color: var(--elb-ink-soft);
    font-size: .88rem;
    white-space: nowrap;
}

/* ======================================================= khoảng trống === */

.elb-spacer {
    height: 50px;
}

/* ========================================================= biểu tượng === */

.elb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--elb-accent);
    line-height: 0;
}

.elb-icon svg {
    width: 32px;
    height: 32px;
}

.elb-icon--stacked {
    padding: 16px;
    background: var(--elb-primary);
    color: #fff;
}

.elb-icon--framed {
    padding: 16px;
    border: 2px solid currentColor;
}

.elb-icon--circle { border-radius: 50%; }
.elb-icon--square { border-radius: var(--elb-radius); }

/* ============================================================ bản đồ === */

.elb-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

/* ========================================================== hộp ảnh === */

.elb-image-box,
.elb-icon-box {
    display: flex;
    gap: 14px;
}

.elb-image-box--top,
.elb-icon-box--top {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.elb-image-box--left,
.elb-icon-box--left {
    flex-direction: row;
    align-items: flex-start;
}

.elb-image-box--right,
.elb-icon-box--right {
    flex-direction: row-reverse;
    align-items: flex-start;
    text-align: right;
}

.elb-image-box__link,
.elb-icon-box__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.elb-image-box__img {
    flex: none;
    line-height: 0;
}

.elb-image-box__img img {
    max-width: 100%;
    height: auto;
}

.elb-image-box__content,
.elb-icon-box__content {
    min-width: 0;
}

.elb-image-box__title,
.elb-icon-box__title {
    margin: 0 0 6px;
    font-size: 1.12rem;
    line-height: 1.35;
}

.elb-image-box__description,
.elb-icon-box__description {
    margin: 0;
    color: var(--elb-ink-soft);
    line-height: 1.65;
}

/* ============================================ danh sách gạch đầu dòng === */

.elb-icon-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elb-icon-list--inline {
    flex-direction: row;
    flex-wrap: wrap;
}

.elb-icon-list__item {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.elb-icon-list__item > a {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
}

.elb-icon-list--divided .elb-icon-list__item + .elb-icon-list__item {
    padding-top: 9px;
    border-top: 1px solid var(--elb-line);
}

.elb-icon-list__icon {
    flex: none;
    color: var(--elb-accent);
    line-height: 0;
}

.elb-icon-list__icon svg {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.elb-icon-list__text {
    line-height: 1.6;
}

/* ======================================================== thư viện ảnh === */

.elb-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.elb-gallery__item {
    margin: 0;
}

.elb-gallery__item img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.elb-gallery__caption {
    margin-top: 5px;
    color: var(--elb-ink-soft);
    font-size: .8rem;
}

/* ========================================================== ảnh trượt === */

.elb-carousel {
    position: relative;
}

.elb-carousel__viewport {
    overflow: hidden;
}

.elb-carousel__track {
    display: flex;
    gap: 16px;
    transition: transform .4s ease;
}

.elb-carousel__slide {
    flex: none;
    width: calc((100% - 32px) / 3);
}

.elb-carousel__slide img {
    width: 100%;
    height: auto;
    border-radius: var(--elb-radius);
    vertical-align: middle;
}

.elb-carousel__arrow,
.elb-slides__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--elb-primary);
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(15, 25, 45, .18);
}

.elb-carousel__arrow--prev, .elb-slides__arrow--prev { left: 6px; }
.elb-carousel__arrow--next, .elb-slides__arrow--next { right: 6px; }

.elb-carousel__dots,
.elb-slides__dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.elb-carousel__dot,
.elb-slides__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background-color .18s ease, width .18s ease;
}

.elb-carousel__dot.is-on,
.elb-slides__dot.is-on {
    width: 22px;
    border-radius: 999px;
    background: var(--elb-accent);
}

/* ============================================================ số liệu === */

.elb-counter__number {
    display: flex;
    gap: 2px;
    align-items: baseline;
    justify-content: inherit;
    color: var(--elb-accent);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
}

.elb-counter__title {
    margin-top: 4px;
    color: var(--elb-ink-soft);
}

/* ========================================================= tiến độ === */

.elb-progress__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: .9rem;
}

.elb-progress__track {
    width: 100%;
    height: 18px;
    border-radius: 999px;
    background: #eef1f5;
    overflow: hidden;
}

.elb-progress__bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 0;
    height: 100%;
    padding-right: 8px;
    border-radius: 999px;
    background: var(--elb-primary);
    color: #fff;
    font-size: .74rem;
    transition: width 1.1s ease;
}

/* ==================================================== lời khách hàng === */

.elb-testimonial {
    margin: 0;
}

.elb-testimonial__content {
    margin: 0 0 12px;
    font-size: 1.02rem;
    font-style: italic;
    line-height: 1.7;
}

.elb-testimonial__meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.elb-testimonial--top .elb-testimonial__meta {
    flex-direction: column;
    align-items: inherit;
}

.elb-testimonial__avatar {
    display: block;
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.elb-testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elb-testimonial__person {
    display: flex;
    flex-direction: column;
}

.elb-testimonial__name {
    font-weight: 700;
}

.elb-testimonial__job {
    color: var(--elb-ink-soft);
    font-size: .86rem;
}

/* ================================================================ tab === */

.elb-tabs--horizontal {
    display: flex;
    flex-direction: column;
}

.elb-tabs--vertical {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.elb-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    border-bottom: 1px solid var(--elb-line);
}

.elb-tabs--vertical .elb-tabs__nav {
    flex: none;
    flex-direction: column;
    width: 30%;
    border-right: 1px solid var(--elb-line);
    border-bottom: 0;
}

.elb-tabs__title {
    padding: 11px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--elb-ink-soft);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.elb-tabs__title.is-active {
    border-bottom-color: var(--elb-accent);
    color: var(--elb-primary);
}

.elb-tabs--vertical .elb-tabs__title {
    border-bottom: 0;
    border-right: 2px solid transparent;
}

.elb-tabs--vertical .elb-tabs__title.is-active {
    border-right-color: var(--elb-accent);
}

.elb-tabs__panels {
    flex: 1 1 auto;
    min-width: 0;
}

.elb-tabs__panel {
    padding: 16px 2px;
    line-height: 1.7;
}

/* ================================================ câu hỏi thường gặp === */

.elb-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elb-accordion__item {
    border: 1px solid var(--elb-line);
    border-radius: var(--elb-radius);
    overflow: hidden;
}

.elb-accordion__heading {
    margin: 0;
    font-size: inherit;
}

.elb-accordion__title {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    background: var(--elb-surface-2);
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.elb-accordion__marker {
    display: inline-flex;
    flex: none;
    color: var(--elb-ink-soft);
    line-height: 0;
}

.elb-accordion__marker > :last-child { display: none; }

.elb-accordion__item.is-open .elb-accordion__marker > :first-child { display: none; }
.elb-accordion__item.is-open .elb-accordion__marker > :last-child { display: inline; }

.elb-accordion__panel {
    padding: 14px 16px;
    line-height: 1.7;
}

/* ======================================================= mạng xã hội === */

.elb-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.elb-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--elb-primary);
    color: #fff;
    line-height: 0;
    text-decoration: none;
    transition: opacity .18s ease;
}

.elb-social__link:hover { opacity: .86; }

.elb-social--rounded .elb-social__link { border-radius: var(--elb-radius); }
.elb-social--circle .elb-social__link { border-radius: 50%; }
.elb-social--square .elb-social__link { border-radius: 0; }

.elb-social__link svg { width: 18px; height: 18px; }

/* ========================================================== thông báo === */

.elb-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-left: 4px solid;
    border-radius: 0 var(--elb-radius) var(--elb-radius) 0;
}

.elb-alert--info { border-color: #1d4ed8; background: #eff4ff; }
.elb-alert--success { border-color: #1c7c4a; background: #eefaf3; }
.elb-alert--warning { border-color: #b5730a; background: #fff8ec; }
.elb-alert--danger { border-color: #b42318; background: #fef2f1; }

.elb-alert__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
}

.elb-alert__title { font-weight: 700; }
.elb-alert__description { line-height: 1.6; }

.elb-alert__dismiss {
    flex: none;
    padding: 2px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    opacity: .6;
}

.elb-alert__dismiss:hover { opacity: 1; }

/* ============================================================== sao === */

.elb-rating {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.elb-rating__stars {
    display: inline-flex;
    gap: 2px;
}

.elb-rating__star {
    color: #d9dee5;
    line-height: 0;
}

.elb-rating__star.is-on { color: #f5b301; }

/* ============================================================= bảng === */

.elb-table-scroll {
    overflow-x: auto;
}

.elb-table {
    width: 100%;
    border-collapse: collapse;
}

.elb-table th,
.elb-table td {
    padding: 11px 14px;
    border: 1px solid var(--elb-line);
    text-align: left;
}

.elb-table thead th {
    background: var(--elb-primary);
    color: #fff;
    font-weight: 600;
}

.elb-table--striped tbody tr:nth-child(even) {
    background: var(--elb-surface-2);
}

/* ============================================================ neo === */

.elb-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 80px;
}

/* ========================================================= biểu mẫu === */

.elb-form__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.elb-form__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.elb-form__field--w100 { flex: 1 1 100%; }
.elb-form__field--w50 { flex: 1 1 calc(50% - 7px); }
.elb-form__field--w33 { flex: 1 1 calc(33.333% - 10px); }

.elb-form__label {
    font-size: .88rem;
    font-weight: 600;
}

.elb-form__required { margin-left: 3px; color: #b42318; }

.elb-form__control {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--elb-line);
    border-radius: var(--elb-radius);
    background: #fff;
    color: inherit;
    font: inherit;
}

.elb-form__control:focus-visible {
    outline: 2px solid var(--elb-accent);
    outline-offset: 1px;
}

textarea.elb-form__control { min-height: 110px; resize: vertical; }

.elb-form__checkbox { width: auto; }

.elb-form__actions { margin-top: 14px; }
.elb-form__actions--center { text-align: center; }
.elb-form__actions--right { text-align: right; }
.elb-form__actions--stretch .elb-form__submit { width: 100%; }

.elb-form__submit {
    padding: 12px 28px;
    border: 0;
    border-radius: var(--elb-radius);
    background: var(--elb-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.elb-form__message {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: var(--elb-radius);
    background: #eefaf3;
    color: #14603a;
}

.elb-form__message.is-error {
    background: #fef2f1;
    color: #8f1b12;
}

/* ================================================= kêu gọi hành động === */

.elb-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 40px 24px;
    border-radius: var(--elb-radius);
    text-align: center;
    overflow: hidden;
}

.elb-cta--left {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
}

.elb-cta__image {
    position: absolute;
    inset: 0;
    line-height: 0;
}

.elb-cta__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elb-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 30, 53, .72);
}

.elb-cta__content,
.elb-cta__actions {
    position: relative;
    z-index: 1;
}

.elb-cta__title {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.3;
}

.elb-cta__description {
    margin: 8px 0 0;
    color: #dbe4ef;
    line-height: 1.65;
}

.elb-cta__button {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--elb-radius);
    background: var(--elb-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* ============================================================ hộp lật === */

.elb-flip {
    position: relative;
    height: 280px;
    border-radius: var(--elb-radius);
    color: #fff;
    perspective: 1200px;
    overflow: hidden;
}

.elb-flip__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 26px;
    text-align: center;
    backface-visibility: hidden;
    transition: transform .55s ease, opacity .35s ease;
}

.elb-flip__front { background: var(--elb-primary); }
.elb-flip__back { background: var(--elb-accent); }

/* Lật */
.elb-flip--flip .elb-flip__back { transform: rotateY(180deg); }
.elb-flip--flip:hover .elb-flip__front { transform: rotateY(-180deg); }
.elb-flip--flip:hover .elb-flip__back { transform: rotateY(0); }

/* Trượt */
.elb-flip--slide.elb-flip--left .elb-flip__back { transform: translateX(100%); }
.elb-flip--slide.elb-flip--left:hover .elb-flip__front { transform: translateX(-100%); }
.elb-flip--slide.elb-flip--left:hover .elb-flip__back { transform: translateX(0); }

.elb-flip--slide.elb-flip--up .elb-flip__back { transform: translateY(100%); }
.elb-flip--slide.elb-flip--up:hover .elb-flip__front { transform: translateY(-100%); }
.elb-flip--slide.elb-flip--up:hover .elb-flip__back { transform: translateY(0); }

/* Mờ dần */
.elb-flip--fade .elb-flip__back { opacity: 0; }
.elb-flip--fade:hover .elb-flip__front { opacity: 0; }
.elb-flip--fade:hover .elb-flip__back { opacity: 1; }

.elb-flip__title { font-size: 1.25rem; font-weight: 700; }
.elb-flip__text { margin: 0; line-height: 1.6; }

.elb-flip__button {
    margin-top: 6px;
    padding: 9px 20px;
    border-radius: var(--elb-radius);
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

/* ========================================================== bảng giá === */

.elb-pricing {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--elb-line);
    border-radius: var(--elb-radius);
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.elb-pricing__ribbon {
    position: absolute;
    top: 14px;
    right: -34px;
    padding: 5px 40px;
    background: #d64545;
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.elb-pricing__header {
    padding: 22px 18px;
    background: var(--elb-primary);
    color: #fff;
}

.elb-pricing__heading { font-size: 1.15rem; font-weight: 700; }
.elb-pricing__sub { margin-top: 3px; font-size: .85rem; opacity: .82; }

.elb-pricing__price {
    display: flex;
    gap: 3px;
    align-items: baseline;
    justify-content: center;
    padding: 22px 18px 12px;
    color: var(--elb-accent);
}

.elb-pricing__currency { font-size: 1rem; }
.elb-pricing__value { font-size: 2rem; font-weight: 700; }
.elb-pricing__period { color: var(--elb-ink-soft); font-size: .84rem; }

.elb-pricing__features {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 10px 22px 20px;
    list-style: none;
    text-align: left;
}

.elb-pricing__feature {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    line-height: 1.55;
}

.elb-pricing__feature svg {
    flex: none;
    margin-top: 3px;
    color: #1c7c4a;
}

.elb-pricing__footer { padding: 0 22px 24px; }

.elb-pricing__button {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--elb-radius);
    background: var(--elb-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* ======================================================= danh mục giá === */

.elb-price-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elb-price-list__item a { color: inherit; text-decoration: none; }

.elb-price-list__item > a,
.elb-price-list__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.elb-price-list__image {
    flex: none;
    width: 66px;
    line-height: 0;
}

.elb-price-list__image img {
    width: 100%;
    height: auto;
    border-radius: var(--elb-radius);
}

.elb-price-list__body { flex: 1 1 auto; min-width: 0; }

.elb-price-list__head {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.elb-price-list__title { font-weight: 700; }

.elb-price-list__dots {
    flex: 1 1 auto;
    border-bottom: 1px dotted var(--elb-line);
    transform: translateY(-4px);
}

.elb-price-list__price { color: var(--elb-accent); font-weight: 700; }

.elb-price-list__description {
    display: block;
    margin-top: 3px;
    color: var(--elb-ink-soft);
    font-size: .88rem;
}

/* ========================================================= đếm ngược === */

.elb-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.elb-countdown__box {
    display: flex;
    flex: 1 1 78px;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    padding: 14px 8px;
    border-radius: var(--elb-radius);
    background: var(--elb-primary);
    color: #fff;
}

.elb-countdown__digits { font-size: 1.85rem; font-weight: 700; line-height: 1; }
.elb-countdown__label { font-size: .76rem; opacity: .8; }

.elb-countdown__done {
    padding: 14px;
    border-radius: var(--elb-radius);
    background: var(--elb-surface-2);
    text-align: center;
}

/* ======================================================= trình chiếu === */

.elb-slides {
    position: relative;
    height: 420px;
    border-radius: var(--elb-radius);
    overflow: hidden;
}

.elb-slides__track {
    display: flex;
    height: 100%;
    transition: transform .5s ease;
}

.elb-slides__slide {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.elb-slides__slide--center { justify-content: center; text-align: center; }
.elb-slides__slide--left { justify-content: flex-start; text-align: left; }
.elb-slides__slide--right { justify-content: flex-end; text-align: right; }

.elb-slides__image { position: absolute; inset: 0; line-height: 0; }

.elb-slides__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elb-slides__overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 30, 53, .55);
}

.elb-slides__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.elb-slides__heading {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

.elb-slides__description {
    margin: 10px 0 0;
    color: #e3ebf5;
    line-height: 1.65;
}

.elb-slides__button {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 26px;
    border-radius: var(--elb-radius);
    background: var(--elb-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.elb-slides__dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    z-index: 2;
    width: 100%;
    margin: 0;
}

/* ===================================================== tiêu đề động === */

.elb-headline {
    margin: 0;
    line-height: 1.3;
}

.elb-headline__dynamic {
    color: var(--elb-accent);
}

.elb-headline--typing .elb-headline__dynamic::after {
    content: "|";
    animation: elb-caret 1s steps(1) infinite;
}

@keyframes elb-caret {
    50% { opacity: 0; }
}

/* ========================================================= trích dẫn === */

.elb-quote {
    margin: 0;
    padding: 4px 0 4px 18px;
    border-left: 4px solid var(--elb-accent);
}

.elb-quote--clean { padding-left: 0; border-left: 0; }

.elb-quote--quotation {
    position: relative;
    padding-left: 44px;
    border-left: 0;
}

.elb-quote__mark {
    position: absolute;
    top: -10px;
    left: 0;
    color: var(--elb-accent);
    font-size: 3.4rem;
    line-height: 1;
}

.elb-quote__content {
    margin: 0;
    font-size: 1.06rem;
    font-style: italic;
    line-height: 1.7;
}

.elb-quote__author {
    display: block;
    margin-top: 8px;
    color: var(--elb-ink-soft);
    font-size: .88rem;
    font-style: normal;
}

/* ========================================================= chia sẻ === */

.elb-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.elb-share__button {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid var(--elb-line);
    border-radius: var(--elb-radius);
    background: #fff;
    color: var(--elb-ink);
    font: inherit;
    font-size: .88rem;
    cursor: pointer;
}

.elb-share__button:hover { border-color: var(--elb-primary); }

/* =========================================================== mục lục === */

.elb-toc {
    padding: 16px 18px;
    border: 1px solid var(--elb-line);
    border-radius: var(--elb-radius);
    background: var(--elb-surface-2);
}

.elb-toc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.elb-toc__title { font-weight: 700; }

.elb-toc__toggle {
    padding: 3px;
    border: 0;
    background: none;
    color: var(--elb-ink-soft);
    cursor: pointer;
    transition: transform .18s ease;
}

.elb-toc.is-closed .elb-toc__toggle { transform: rotate(-90deg); }
.elb-toc.is-closed .elb-toc__list { display: none; }

.elb-toc__list {
    margin: 10px 0 0;
    padding-left: 20px;
    line-height: 1.85;
}

.elb-toc__list ol { padding-left: 18px; }

.elb-toc__link {
    color: var(--elb-primary);
    text-decoration: none;
}

.elb-toc__link:hover { text-decoration: underline; }

/* ========================================================== trình đơn === */

.elb-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elb-menu-wrap--vertical .elb-menu { flex-direction: column; gap: 8px; }

.elb-menu__link {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.elb-menu__link:hover { color: var(--elb-accent); }

.elb-menu__burger {
    display: none;
    padding: 7px;
    border: 1px solid var(--elb-line);
    border-radius: var(--elb-radius);
    background: none;
    color: inherit;
    cursor: pointer;
}

.elb-menu-wrap--dropdown .elb-menu__burger { display: inline-flex; }
.elb-menu-wrap--dropdown .elb-menu { display: none; }
.elb-menu-wrap--dropdown.is-open .elb-menu { display: flex; flex-direction: column; }

.elb-menu-empty {
    padding: 12px;
    border: 1px dashed var(--elb-line);
    border-radius: var(--elb-radius);
    color: var(--elb-ink-soft);
    font-size: .88rem;
    text-align: center;
}

/* ==================================================== danh sách thẻ === */

.elb-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.elb-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--elb-line);
    border-radius: var(--elb-radius);
    background: #fff;
    overflow: hidden;
}

.elb-card__image { line-height: 0; }

.elb-card__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.elb-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.elb-card__title {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.4;
}

.elb-card__title a { color: inherit; text-decoration: none; }
.elb-card__title a:hover { color: var(--elb-accent); }

.elb-card__excerpt {
    margin: 0;
    color: var(--elb-ink-soft);
    font-size: .9rem;
    line-height: 1.6;
}

.elb-card__more {
    margin-top: auto;
    color: var(--elb-accent);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.elb-cards-empty {
    padding: 24px;
    border: 1px dashed var(--elb-line);
    border-radius: var(--elb-radius);
    color: var(--elb-ink-soft);
    text-align: center;
}

/* ============================================================ logo === */

.elb-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.elb-logos__item { line-height: 0; text-align: center; }

.elb-logos img {
    max-width: 100%;
    height: 64px;
    object-fit: contain;
}

.elb-logos--grayscale img {
    filter: grayscale(1);
    opacity: .72;
    transition: filter .2s ease, opacity .2s ease;
}

.elb-logos--grayscale img:hover {
    filter: none;
    opacity: 1;
}

/* ================================================ tiêu đề, đường dẫn === */

.elb-page-title { margin: 0; line-height: 1.25; }

.elb-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .88rem;
}

.elb-breadcrumbs a { color: var(--elb-primary); text-decoration: none; }
.elb-breadcrumbs__sep { color: var(--elb-ink-soft); }
.elb-breadcrumbs__current { color: var(--elb-ink-soft); }

/* ========================================================= tìm kiếm === */

.elb-search {
    display: flex;
    border: 1px solid var(--elb-line);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.elb-search__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 18px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
}

.elb-search__input:focus-visible { outline: none; }

.elb-search__button {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    background: var(--elb-accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.elb-site-logo img { max-width: 220px; height: auto; }

/* ================================================= hiệu ứng xuất hiện === */

[data-elb-animation] {
    opacity: 0;
}

[data-elb-animation].elb-animated {
    animation-duration: .8s;
    animation-fill-mode: both;
}

[data-elb-animation-duration="slow"].elb-animated { animation-duration: 1.4s; }
[data-elb-animation-duration="fast"].elb-animated { animation-duration: .45s; }

[data-elb-animation="fade-in"].elb-animated { animation-name: elb-fade-in; }
[data-elb-animation="fade-in-up"].elb-animated { animation-name: elb-fade-in-up; }
[data-elb-animation="fade-in-down"].elb-animated { animation-name: elb-fade-in-down; }
[data-elb-animation="fade-in-left"].elb-animated { animation-name: elb-fade-in-left; }
[data-elb-animation="fade-in-right"].elb-animated { animation-name: elb-fade-in-right; }
[data-elb-animation="zoom-in"].elb-animated { animation-name: elb-zoom-in; }
[data-elb-animation="zoom-out"].elb-animated { animation-name: elb-zoom-out; }
[data-elb-animation="slide-in-up"].elb-animated { animation-name: elb-slide-in-up; }
[data-elb-animation="slide-in-down"].elb-animated { animation-name: elb-slide-in-down; }
[data-elb-animation="bounce-in"].elb-animated { animation-name: elb-bounce-in; }
[data-elb-animation="flip-in-x"].elb-animated { animation-name: elb-flip-in-x; }
[data-elb-animation="flip-in-y"].elb-animated { animation-name: elb-flip-in-y; }

@keyframes elb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes elb-fade-in-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes elb-fade-in-down { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes elb-fade-in-left { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes elb-fade-in-right { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes elb-zoom-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes elb-zoom-out { from { opacity: 0; transform: scale(1.14); } to { opacity: 1; transform: none; } }
@keyframes elb-slide-in-up { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes elb-slide-in-down { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }

@keyframes elb-bounce-in {
    0% { opacity: 0; transform: scale(.7); }
    60% { opacity: 1; transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes elb-flip-in-x {
    from { opacity: 0; transform: perspective(500px) rotateX(70deg); }
    to { opacity: 1; transform: none; }
}

@keyframes elb-flip-in-y {
    from { opacity: 0; transform: perspective(500px) rotateY(70deg); }
    to { opacity: 1; transform: none; }
}

/*
 * Người dùng đã bật "giảm chuyển động" trong hệ điều hành thì bỏ hết hiệu ứng.
 * Với một số người, chuyển động trên màn hình gây chóng mặt thật sự.
 */
@media (prefers-reduced-motion: reduce) {
    [data-elb-animation] {
        opacity: 1;
        animation: none !important;
    }
}

/* ============================================ hiệu ứng khi rê chuột === */

.elb-hover-grow { transition: transform .28s ease; }
.elb-hover-grow:hover { transform: scale(1.06); }

.elb-hover-shrink { transition: transform .28s ease; }
.elb-hover-shrink:hover { transform: scale(.94); }

.elb-hover-float { transition: transform .28s ease; }
.elb-hover-float:hover { transform: translateY(-7px); }

.elb-hover-sink { transition: transform .28s ease; }
.elb-hover-sink:hover { transform: translateY(7px); }

.elb-hover-pulse:hover { animation: elb-pulse .7s ease infinite; }
.elb-hover-bob:hover { animation: elb-bob 1.1s ease infinite; }
.elb-hover-wobble:hover { animation: elb-wobble .8s ease; }
.elb-hover-buzz:hover { animation: elb-buzz .2s linear infinite; }
.elb-hover-push:hover { animation: elb-push .3s ease; }
.elb-hover-pop:hover { animation: elb-pop .3s ease; }

@keyframes elb-pulse { 50% { transform: scale(1.06); } }
@keyframes elb-bob { 50% { transform: translateY(-6px); } }
@keyframes elb-wobble { 25% { transform: rotate(3deg); } 75% { transform: rotate(-3deg); } }
@keyframes elb-buzz { 50% { transform: translateX(2px); } }
@keyframes elb-push { 50% { transform: scale(.9); } }
@keyframes elb-pop { 50% { transform: scale(1.12); } }

/* ============================================== màn hình hẹp === */

@media (max-width: 1024px) {
    .elb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .elb-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .elb-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .elb-con--grid > .elb-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .elb-cards,
    .elb-con--grid > .elb-con-inner { grid-template-columns: minmax(0, 1fr); }

    .elb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .elb-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    /*
     * Trên điện thoại, khối xếp ngang tự chuyển thành xếp dọc. Không có luật
     * này thì một khối bốn cột sẽ ép mỗi cột còn 60px và chữ vỡ vụn.
     * Người dùng vẫn ghi đè được bằng cách đặt riêng chiều xếp cho điện thoại.
     */
    .elb-con--flex > .elb-con-inner { flex-wrap: wrap; }

    .elb-tabs--vertical { flex-direction: column; }
    .elb-tabs--vertical .elb-tabs__nav { width: 100%; border-right: 0; border-bottom: 1px solid var(--elb-line); }
    .elb-cta--left { flex-direction: column; text-align: center; }
    .elb-slides { height: 320px; }
    .elb-form__field--w50,
    .elb-form__field--w33 { flex: 1 1 100%; }
    .elb-carousel__slide { width: calc((100% - 16px) / 2); }
}
