/* =================================================================
   YO Giao Thương — Thương mại & Dịch vụ
   Load SAU bootstrap.min.css và SAU <style>themeCss()</style>.
   themeCss() (động từ admin Settings) cung cấp --primary, --accent,
   --bg, --text, --font-*. File này bổ sung token tĩnh + style component.

   NGUYÊN TẮC MÀU: chỉ --primary là hex (do themeCss inject; fallback #e8752a).
   Mọi sắc thái cam khác dẫn xuất bằng color-mix() từ --primary — đổi 1 dòng
   ở admin là đổi toàn bộ nhận diện. Giữ nguyên tên class .yo-* / .section /
   .t-* / .eyebrow của yes-office, chỉ đổi giá trị.
   ================================================================= */

:root {
    /* --- Sắc thái primary dẫn xuất (không hardcode mã cam) --- */
    --primary-dark: color-mix(in srgb, var(--primary, #e8752a) 84%, #000);
    --primary-10:   color-mix(in srgb, var(--primary, #e8752a) 10%, #fff);
    --primary-18:   color-mix(in srgb, var(--primary, #e8752a) 18%, #fff);
    --primary-hover: var(--primary-dark);

    /* --- Token tĩnh (bảng màu design) --- */
    --bg-2:          #faf8f4;   /* cream — nền Hero, Section 5, .bg-alt */
    --cream:         #faf8f4;
    --surface:       #ffffff;
    --ink:           #1f2933;
    --ink-2:         #374151;
    --muted:         #6b7280;
    --muted-2:       #9ca3af;
    --border:        #e7e2da;
    --border-strong: #d6d0c6;
    --accent-soft:   var(--primary-10);
    --success:       #1e7a3c;

    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   20px;
    --r-xl:   24px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(31,41,51,.06);
    --shadow-md: 0 8px 24px rgba(31,41,51,.08);
    --shadow-lg: 0 20px 52px rgba(31,41,51,.14);

    /* Design không dùng mono — trỏ về sans để các class cũ (service-tag,
       duration-tag, browser-url…) không hiện dạng code. */
    --font-mono: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;

    /* Bootstrap override */
    --bs-body-bg:            #faf8f4;
    --bs-body-color:         #1f2933;
    --bs-border-color:       #e7e2da;
    --bs-border-radius:      12px;
    --bs-border-radius-sm:   8px;
    --bs-border-radius-lg:   20px;
    --bs-border-radius-xl:   24px;
    --bs-border-radius-pill: 999px;
    --bs-primary:            var(--primary, #e8752a);
}

/* Container — design chốt 1200px */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px;
    }
}

body {
    background: var(--bg-2, #faf8f4);
    color: var(--ink);
    font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { text-wrap: balance; color: var(--ink); }

/* Focus-visible thống nhất cho mọi phần tử tương tác */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--primary, #e8752a);
    outline-offset: 2px;
}

/* ---------- Typography scale ---------- */
.t-display { font-size: clamp(30px, 5.4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: pretty; }
.t-h1      { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; line-height: 1.1;  letter-spacing: -0.025em; }
.t-h2      { font-size: clamp(25px, 3.4vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.t-h3      { font-size: 18px; font-weight: 700; line-height: 1.35; }
.t-lead    { font-size: 17px; line-height: 1.65; color: var(--muted); }
.t-muted   { color: var(--muted); }

/* ---------- Eyebrow (dot + text, sans) ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
}
.eyebrow::before {
    content: ""; display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; background: var(--primary, #e8752a); opacity: 1;
}
.eyebrow-accent { color: var(--muted); }
.eyebrow-light  { color: rgba(255,255,255,.85); }
.eyebrow-light::before { background: #fff; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; transition: transform .15s, box-shadow .15s, background-color .15s, color .15s; }
.btn-lg { border-radius: var(--r-pill); }
.btn-primary {
    --bs-btn-bg: var(--primary, #e8752a);
    --bs-btn-border-color: var(--primary, #e8752a);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-disabled-bg: var(--primary, #e8752a);
    --bs-btn-disabled-border-color: var(--primary, #e8752a);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-hover-color: #fff;
}
.btn .bi-arrow-right, .btn .arrow { transition: transform .15s; display: inline-block; }
.btn:hover .bi-arrow-right, .btn:hover .arrow { transform: translateX(3px); }

/* Ghost / outline pill "Xem tất cả →" */
.btn-ghost {
    color: var(--ink); font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--border); border-radius: var(--r-pill);
    padding: 13px 22px; font-size: 14px; white-space: nowrap;
    transition: border-color .15s, color .15s, background-color .15s;
}
.btn-ghost:hover { border-color: var(--primary, #e8752a); color: var(--primary-dark); }

/* ---------- Forms ---------- */
.form-control, .form-select {
    border-color: var(--border);
    border-radius: var(--r-md);
    background: #fcfbf9;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 15px;
}
.form-control::placeholder { color: #9ca3af; }
.form-control:focus, .form-select:focus {
    border-color: var(--primary, #e8752a);
    background: #fff;
    box-shadow: none;
    outline: 2px solid var(--primary, #e8752a);
    outline-offset: 2px;
}
textarea.form-control { min-height: 108px; line-height: 1.6; }
.form-label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }

.alert { border: 0; border-radius: var(--r-md); font-size: 14px; font-weight: 600; padding: 12px 14px; }
.alert-success { background: #edf7ef; color: #1e7a3c; }
.alert-danger  { background: #fdeeee; color: #b3261e; }

/* ---------- Cards ---------- */
.card { border-color: var(--border); border-radius: var(--r-lg); }
.card-hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

/* ---------- Section rhythm ---------- */
.section      { padding: 64px 0; }
.section-sm   { padding: 56px 0; }
.section-tight{ padding: 72px 0 108px; }   /* hero — chừa chỗ card Stats đè lên */
.section-tight.no-stats { padding-bottom: 72px; }
.bg-ink       { background: var(--ink); color: #fff; }
.bg-alt       { background: var(--cream); }
.bg-surface   { background: var(--surface); }
.bg-primary-soft { background: var(--primary-10); }
.bg-primary-full { background: var(--primary, #e8752a); color: #fff; }
@media (max-width: 767.98px) {
    .section       { padding: 32px 0; }
    .section-tight { padding: 40px 0 72px; }
}

.section-head { margin-bottom: 36px; }

/* ---------- Placeholder pattern (thay ảnh stock) ---------- */
.placeholder-pattern {
    background: linear-gradient(180deg, #f3f1ec, #ece8e0);
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
    border-radius: var(--r-md);
}
.placeholder-pattern .placeholder-label {
    padding: 4px 8px; background: rgba(255,255,255,.85);
    border-radius: 4px; border: 1px solid var(--border);
}

/* ---------- Marquee (logo strip) ---------- */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex; gap: 56px; width: max-content;
    animation: yo-marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes yo-marquee { to { transform: translateX(-50%); } }
@media (max-width: 767.98px) {
    .marquee-track { gap: 24px; animation-duration: 26s; }
}

/* ---------- Header ---------- */
.yo-header {
    position: sticky; top: 0; z-index: 1030;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .15s;
}
.yo-header.is-scrolled { box-shadow: var(--shadow-sm); }
.yo-logo { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.yo-logo .yes    { color: var(--ink); }
.yo-logo .office { color: var(--primary, #e8752a); }
.yo-logo-mark {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    background: var(--primary, #e8752a); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; letter-spacing: 0;
}
.yo-nav-pill {
    padding: 8px 13px; border-radius: var(--r-pill);
    color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none;
    transition: background-color .15s, color .15s;
}
.yo-nav-pill:hover  { color: var(--primary-dark); }
.yo-nav-pill.active { color: var(--primary, #e8752a); font-weight: 600; }
.yo-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f2933' stroke-width='2.5' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
}
.yo-hotline {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink); font-weight: 700; font-size: 15px;
    text-decoration: none; white-space: nowrap;
    border: 1px solid var(--border); border-radius: var(--r-pill);
    padding: 9px 16px;
    transition: border-color .15s;
}
.yo-hotline:hover  { border-color: var(--primary, #e8752a); color: var(--ink); }
.yo-hotline i      { color: var(--primary, #e8752a); font-size: 14px; }

/* Nav item có menu con — CSS-only hover dropdown */
.yo-nav-item { position: relative; display: inline-flex; align-items: center; }
.yo-nav-item > .yo-nav-pill .caret {
    display: inline-block; margin-left: 6px; font-size: 10px; line-height: 1;
    transition: transform .15s; color: var(--muted);
}
.yo-nav-item:hover > .yo-nav-pill .caret,
.yo-nav-item:focus-within > .yo-nav-pill .caret { transform: translateY(2px); }

.yo-dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 240px; margin: 0; margin-top: 14px; padding: 6px;
    list-style: none; background: #fff;
    border: 1px solid var(--border); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 50;
}
.yo-dropdown-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.yo-nav-item:hover > .yo-dropdown-menu,
.yo-nav-item:focus-within > .yo-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.yo-dropdown-menu li { margin: 0; padding: 0; list-style: none; }
.yo-dropdown-item {
    display: block; padding: 8px 14px; border-radius: var(--r-sm);
    color: var(--ink-2); font-size: 15px; font-weight: 500;
    text-decoration: none; white-space: nowrap;
    transition: background .12s, color .12s;
}
.yo-dropdown-item:hover, .yo-dropdown-item:focus {
    background: var(--primary-10); color: var(--primary-dark); text-decoration: none;
}

@media (max-width: 991.98px) {
    .yo-nav-item { display: block; width: 100%; }
    .yo-nav-item > .yo-nav-pill .caret { display: none; }
    .yo-dropdown-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        margin: 0 0 0 16px; padding: 0; background: transparent;
        border: none; box-shadow: none; min-width: 0;
    }
    .yo-dropdown-menu::before { display: none; }
    .yo-nav-item:hover > .yo-dropdown-menu,
    .yo-nav-item:focus-within > .yo-dropdown-menu { transform: none; }
    .yo-dropdown-item { padding: 6px 12px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.yo-hero { background: var(--cream); overflow: hidden; }
.yo-hero-h1 .accent-line { color: var(--primary, #e8752a); }
.yo-hero-image {
    border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border); background: var(--surface);
    box-shadow: var(--shadow-md);
    height: 420px;
}
.yo-hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Ảnh nhô lệch phải vượt container ở desktop */
@media (min-width: 992px) {
    .yo-hero-media { position: relative; right: -72px; }
}
@media (max-width: 991.98px) {
    .yo-hero-image { height: 200px; }
}

/* Hero carousel indicators — dots pill */
.yo-hero .carousel-fade .carousel-item { transition: opacity .6s ease-in-out; }
.yo-carousel-indicators {
    position: relative; bottom: auto; margin: 40px 0 0;
    justify-content: flex-start; padding: 0;
}
.yo-carousel-indicators [data-bs-target] {
    width: 6px; height: 6px; border: none; border-radius: 999px;
    background: #d6d0c6; margin: 0 5px 0 0; opacity: 1;
    transition: background .15s, width .15s; text-indent: 0;
}
.yo-carousel-indicators [data-bs-target].active {
    background: var(--primary, #e8752a); width: 26px;
}
@media (max-width: 991.98px) { .yo-carousel-indicators { justify-content: center; } }

/* Testimonial carousel indicators — trên nền sáng (primary-10) */
.yo-testi-indicators {
    position: relative; bottom: auto; margin: 18px 0 0; padding: 0;
    justify-content: center;
}
.yo-testi-indicators [data-bs-target] {
    width: 7px; height: 7px; border: none; border-radius: 999px;
    background: rgba(31,41,51,.18); margin: 0 4px; opacity: 1;
    transition: background .15s, width .15s; text-indent: 0;
}
.yo-testi-indicators [data-bs-target].active { background: var(--primary, #e8752a); width: 22px; }

/* ---------- Stats bar (card trắng đè hero) ---------- */
.yo-stat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); box-shadow: var(--shadow-md);
    margin-top: -56px; position: relative; z-index: 3;
    display: grid; grid-template-columns: repeat(var(--stat-cols, 4), 1fr);
    overflow: hidden;
}
.yo-stat-cell { padding: 30px 28px; border-left: 1px solid var(--border); }
.yo-stat-cell:first-child { border-left: 0; }
.yo-stat-num { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--primary, #e8752a); }
.yo-stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 767.98px) {
    .yo-stat-card { grid-template-columns: repeat(2, 1fr); }
    .yo-stat-cell { padding: 18px 16px; }
    .yo-stat-cell:nth-child(2) { border-left: 1px solid var(--border); }
    .yo-stat-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
    .yo-stat-cell:nth-child(odd) { border-left: 0; }
    .yo-stat-num { font-size: 24px; }
    .yo-stat-label { font-size: 12px; }
}

/* ---------- Logo strip ---------- */
.yo-logo-chip {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 136px; height: 48px; padding: 0 18px;
    border-radius: var(--r-md); background: #f3f1ec;
    color: var(--muted); font-weight: 700; font-size: 16px; white-space: nowrap;
}
@media (max-width: 767.98px) { .yo-logo-chip { min-width: 104px; height: 40px; font-size: 14px; } }

/* ---------- Product / service card ---------- */
.yo-service-thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.yo-service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card-hover:hover .yo-service-thumb img { transform: scale(1.04); }
.yo-service-tag {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 11px; border-radius: var(--r-pill);
    background: rgba(255,255,255,.92); color: var(--primary, #e8752a);
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.yo-price { font-size: 15px; font-weight: 700; color: var(--ink); }
.yo-price.is-empty { color: var(--muted); font-weight: 600; }
.yo-quote-btn {
    border: 0; border-radius: var(--r-pill);
    background: var(--primary-10); color: var(--primary-dark);
    font-size: 13px; font-weight: 700; padding: 8px 15px; white-space: nowrap;
    transition: background .15s, color .15s;
}
.card-hover:hover .yo-quote-btn { background: var(--primary, #e8752a); color: #fff; }
.yo-arrow-circle {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-2); transition: background-color .15s, color .15s;
}
.card-hover:hover .yo-arrow-circle { background: var(--primary, #e8752a); color: #fff; border-color: var(--primary, #e8752a); }

/* ---------- Process ---------- */
.yo-process-circle {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--primary, #e8752a); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 800;
    position: relative; z-index: 2;
    box-shadow: 0 0 0 8px var(--cream);
}
.yo-process-line {
    position: absolute; top: 26px; left: 60px; right: 60px;
    border-top: 2px dashed var(--primary, #e8752a); opacity: .45; z-index: 1;
}
.yo-duration-tag { font-size: 12px; color: var(--primary, #e8752a); font-weight: 600; }
@media (max-width: 991.98px) {
    .yo-process-line { display: none; }
}

/* ---------- Case study + testimonial (nền primary-10 sáng) ---------- */
.yo-metric-cell {
    background: var(--surface); border: 1px solid rgba(31,41,51,.06);
    border-radius: var(--r-md); padding: 18px 18px 16px;
}
.yo-metric-num { font-size: 26px; font-weight: 800; color: var(--primary, #e8752a); letter-spacing: -0.02em; }
.yo-metric-label { font-size: 13px; color: var(--muted); }
.yo-quote-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.yo-quote-mark { font-size: 28px; line-height: 1; color: var(--primary, #e8752a); }
.yo-quote-text { font-size: 16px; line-height: 1.7; color: #374151; margin: 8px 0 0; font-weight: 400; }
.yo-quote-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-18); color: var(--primary-dark); font-weight: 800; font-size: 16px;
}
.yo-quote-author { font-weight: 700; font-size: 15px; color: var(--ink); }
.yo-quote-role   { font-size: 13px; color: var(--muted); }

/* ---------- News card ---------- */
.yo-news-cover { aspect-ratio: 16/9; border-bottom: 1px solid var(--border); overflow: hidden; }
.yo-news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yo-cat-pill {
    display: inline-block; padding: 4px 10px; border-radius: var(--r-sm);
    background: var(--primary-10); color: var(--primary-dark);
    font-size: 11px; font-weight: 700; text-transform: uppercase;
}
@media (max-width: 767.98px) {
    .yo-news-cover { aspect-ratio: 4/3; }
}

/* ---------- Contact (nền primary) ---------- */
.yo-contact-info { color: #fff; }
.yo-contact-info .ico {
    width: 36px; height: 36px; border-radius: var(--r-md);
    background: rgba(255,255,255,.14); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    font-size: 18px;
}
.yo-contact-card {
    background: var(--surface); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); color: var(--ink);
}
.yo-zalo-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--primary-dark); font-weight: 700; font-size: 14px;
    border-radius: var(--r-pill); padding: 11px 20px; text-decoration: none;
}
.yo-zalo-btn:hover { color: var(--primary-dark); }

/* ---------- Footer ---------- */
.yo-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 56px 0 0; }
.yo-footer h6 {
    color: rgba(255,255,255,.55); font-size: 13px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.yo-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.yo-footer a:hover { color: #fff; }
.yo-social {
    width: 40px; height: 40px; border-radius: var(--r-md);
    background: rgba(255,255,255,.08); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; transition: background-color .15s;
}
.yo-social:hover { background: var(--primary, #e8752a); color: #fff; }
.yo-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px;
    padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.55);
}

/* ---------- Sticky mobile bar (Gọi / Zalo, chỉ <992px) ---------- */
.gt-sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
    height: 64px; background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(31,41,51,.08);
    padding: 9px 12px;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px;
}
.gt-sticky-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: var(--r-pill); font-weight: 700; font-size: 15px;
    text-decoration: none; height: 100%;
}
.gt-sticky-call { background: var(--primary, #e8752a); color: #fff; }
.gt-sticky-call:hover { color: #fff; }
.gt-sticky-zalo { border: 1px solid var(--primary, #e8752a); color: var(--primary-dark); }
.gt-sticky-zalo:hover { color: var(--primary-dark); }
@media (max-width: 991.98px) {
    body.has-sticky-bar { padding-bottom: 64px; }
}

/* ---------- Table trong nội dung (TinyMCE) ---------- */
.content table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  border: 1px solid var(--border-strong); font-size: 15px;
}
.content table th, .content table td {
  border: 1px solid var(--border); padding: 10px 14px; vertical-align: top; text-align: left;
}
.content table thead th, .content table thead td {
  background: var(--cream); color: var(--ink); font-weight: 600;
}
.content table tbody tr:nth-child(even) { background: rgba(0,0,0,.02); }
@media (max-width: 767.98px) {
  .content table { display: block; overflow-x: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .yo-hero .carousel-fade .carousel-item { transition: none; }
    .card-hover, .btn, .yo-service-thumb img { transition: none !important; }
    .card-hover:hover { transform: none; }
}
