/* =========================================================
   TrueFit – web tĩnh (chuyển từ theme WordPress v1.0)
   ========================================================= */
:root {
  --orange: #F48019; --orange-deep: #D9650A;
  --cream: #FDEBD8; --cream-soft: #FFF6EE; --mist: #F2F2F2;
  --ink: #1A1A1A; --ink-soft: #5B5B5B; --line: #E6E6E6;
  --black: #000; --white: #fff;
  --fs-sm: .875rem; --fs-md: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  --fs-lg: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); --fs-xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-display: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
  --gutter: clamp(1rem, 4vw, 2.5rem); --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
b, strong { font-weight: 600; }
h4, h5, h6, th { font-weight: 600; }
:where(a, button):focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: #fff; padding: .5rem 1rem; z-index: 200; }
.skip:focus { left: 0; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .8rem 1.6rem; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 600; text-transform: uppercase; text-decoration: none; font-size: .9rem; border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0,0,0,.45); }
.btn--white { background: #fff; color: var(--orange); }
.btn--white:hover { background: var(--black); color: #fff; }
.btn--black { background: var(--black); }
.btn--black:hover { background: var(--orange-deep); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--orange); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); text-transform: none; font-weight: 500; }
.btn--line:hover { background: #fff; border-color: var(--orange); color: var(--orange); }
.tf-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.tf-promo { margin: 0; padding: .55rem 1rem; text-align: center; font-weight: 600; font-size: var(--fs-sm); background: #fff; }
.tf-header { position: sticky; top: 0; z-index: 50; background: var(--orange); color: #fff; transition: box-shadow .3s; }
.tf-header.is-stuck { box-shadow: 0 6px 24px -10px rgba(0,0,0,.35); }
.tf-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.tf-logo { font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; text-decoration: none; color: #fff; }
.tf-nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 500; font-size: var(--fs-sm); }
.tf-nav a:not(.btn) { color: #fff; text-decoration: none; position: relative; }
.tf-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.tf-nav a:not(.btn):hover::after, .tf-nav a[aria-current]::after { transform: scaleX(1); }
.tf-burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.tf-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 860px) {
  .tf-burger { display: block; }
  .tf-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 5rem 1.75rem 2rem; background: var(--orange); font-size: 1.15rem; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
  .tf-nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,.2); }
  .tf-burger { position: relative; z-index: 60; }
  .tf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .tf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .tf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Khối chung ---------- */
.tf-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.tf-section--cream { background: var(--cream-soft); }
.tf-section--mist { background: var(--mist); }
.tf-title { text-transform: uppercase; font-weight: 700; text-align: center; font-size: var(--fs-xl); letter-spacing: -.01em; }
.tf-title span, .tf-hero__title span { color: var(--orange); }
.tf-eyebrow { display: block; text-align: center; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: var(--fs-sm); margin: 0 0 .5rem; text-decoration: none; }
.tf-lead { text-align: center; color: var(--ink-soft); max-width: 40rem; margin: 0 auto 2.5rem; }
.tf-more { text-align: center; margin: 2.5rem 0 0; }

/* ---------- Hero ---------- */
.tf-hero { padding-block: clamp(3rem, 7vw, 5.5rem); text-align: center; background: linear-gradient(180deg, var(--cream-soft), #fff); position: relative; overflow: hidden; }
.tf-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-bg, none) center/cover; opacity: .18; }
.tf-hero > .wrap { position: relative; }
.tf-hero__title { line-height: 1.2; font-size: var(--fs-display); font-weight: 700; text-transform: uppercase; max-width: 22ch; margin: 0 auto; }
.tf-hero__tagline { font-style: italic; font-weight: 500; margin: 1rem 0 0; }
.tf-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; text-align: left; }
.tf-path { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: 24px; background: #fff; text-decoration: none; border: 2px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.tf-path:first-child { background: var(--cream); border-color: var(--cream); }
.tf-path:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 24px 40px -24px rgba(244,128,25,.6); }
.tf-path img { border-radius: 16px; transition: transform .5s var(--ease); }
.tf-path:hover img { transform: scale(1.06) rotate(-2deg); }
.tf-path__txt { display: grid; gap: .4rem; }
.tf-path__txt strong { font-size: var(--fs-lg); text-transform: uppercase; font-weight: 700; line-height: 1.15; }
.tf-path__txt > span { color: var(--ink-soft); font-size: var(--fs-sm); }
.tf-path__txt .tf-path__go { color: var(--orange); font-weight: 600; text-transform: uppercase; }
@media (max-width: 760px) { .tf-paths { grid-template-columns: 1fr; } }

/* ---------- Số liệu + lý do ---------- */
.tf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.tf-stat { background: var(--mist); border-radius: 16px; padding: 1.5rem 1rem; text-align: center; }
.tf-stat p { margin: 0; }
.tf-stat__num { font-size: var(--fs-xl); font-weight: 700; color: var(--orange); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tf-stat__label { margin-top: .3rem !important; font-weight: 500; font-size: var(--fs-sm); }
.tf-reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tf-reason { background: var(--cream); border-radius: 16px; padding: 1.5rem 1.25rem; transition: transform .35s var(--ease), box-shadow .35s; }
.tf-reason:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(0,0,0,.35); }
.tf-reason h3 { font-size: var(--fs-md); margin: 0 0 .4rem; }
.tf-reason p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.tf-reason--link { text-decoration: none; }
@media (max-width: 900px) { .tf-reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tf-reasons, .tf-stats { grid-template-columns: 1fr; } }

/* ---------- Lưới sản phẩm ---------- */
.tf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tf-card { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1rem 1rem 1.25rem; border-radius: var(--radius); background: var(--cream); text-decoration: none; text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.tf-card:nth-child(even) { background: var(--mist); }
.tf-section--cream .tf-card:nth-child(odd) { background: #fff; }
.tf-card:hover { transform: translateY(-6px); box-shadow: 0 22px 36px -24px rgba(0,0,0,.4); }
.tf-card__img { width: 100%; overflow: hidden; border-radius: 12px; }
.tf-card__img img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .5s var(--ease); }
.tf-card:hover .tf-card__img img { transform: scale(1.07); }
.tf-card__name { background: #fff; border-radius: 999px; padding: .4rem 1.25rem; font-weight: 500; transition: background .3s, color .3s; }
.tf-card:hover .tf-card__name { background: var(--orange); color: #fff; }
.tf-card__meta { font-size: var(--fs-sm); color: var(--ink-soft); }
.tf-card__meta em { font-style: normal; font-weight: 500; color: var(--ink); }
@media (max-width: 780px) { .tf-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }
@media (max-width: 480px) { .tf-card { padding: .6rem .6rem .9rem; } .tf-card__name { padding: .3rem .8rem; font-size: .85rem; } .tf-card__meta { font-size: .75rem; } }
@media (max-width: 330px) { .tf-grid { grid-template-columns: 1fr; } }

.tf-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 2.25rem; }
.tf-switch a { padding: .55rem 1.3rem; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 500; transition: border-color .25s, color .25s, background .25s; }
.tf-switch a:hover { border-color: var(--orange); color: var(--orange); }
.tf-switch a[aria-current] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- Chi tiết sản phẩm / khách hàng ---------- */
.tf-product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tf-product__img { background: var(--cream); border-radius: 24px; overflow: hidden; }
.tf-product__img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.tf-product__img--logo { background: var(--cream-soft); padding: 15%; }
.tf-product__info .tf-eyebrow { text-align: left; }
.tf-product__info h1 { font-size: var(--fs-xl); font-weight: 700; }
.tf-spec { margin: 1.25rem 0 1.75rem; border-block: 1px solid var(--line); padding-block: .75rem; }
.tf-spec div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-block: .4rem; }
.tf-spec dt { font-weight: 600; }
.tf-spec dd { margin: 0; color: var(--ink-soft); }
.tf-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.tf-gallery img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .tf-product { grid-template-columns: 1fr; } }

/* ---------- Quy trình ---------- */
.tf-process { background: var(--orange); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2rem); color: #fff; display: grid; grid-template-columns: minmax(240px, 1fr) 3fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
.tf-process__intro { background: #fff; color: var(--ink); border-radius: 16px; padding: 1.75rem; }
.tf-process__intro h2 { font-size: var(--fs-lg); text-transform: uppercase; font-weight: 700; margin: 0 0 .4rem; }
.tf-process__intro p { margin: 0 0 1.25rem; }
.tf-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.tf-steps > li { counter-increment: step; text-align: center; font-size: var(--fs-sm); line-height: 1.5; position: relative; }
.tf-steps > li::before { content: counter(step); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0 auto .75rem; border: 2px solid #fff; border-radius: 50%; font-weight: 700; font-size: 1.1rem; transition: background .4s, color .4s; }
.tf-steps > li.is-in::before { background: #fff; color: var(--orange); transition-delay: calc(var(--d, 0s) + .3s); }
.tf-steps strong { display: block; font-size: 1rem; margin-bottom: .3rem; }
@media (max-width: 900px) {
  .tf-process { grid-template-columns: 1fr; }
  .tf-steps { grid-template-columns: 1fr; }
  .tf-steps > li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem 1rem; text-align: left; }
  .tf-steps > li::before { margin: 0; grid-row: span 2; }
}

/* ---------- Logo khách hàng chạy ngang ---------- */
.tf-marquee { overflow: hidden; margin-top: 1.5rem; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tf-marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: tf-marquee 30s linear infinite; }
.tf-marquee:hover .tf-marquee__track { animation-play-state: paused; }
.tf-marquee__item { flex: none; width: 180px; height: 110px; display: grid; place-items: center; padding: 1rem 1.5rem; border-radius: 16px; background: var(--cream-soft); }
.tf-marquee__item img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.tf-marquee__item:hover img { filter: none; opacity: 1; }
@keyframes tf-marquee { to { transform: translateX(calc(-50% - .625rem)); } }

.tf-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.tf-client { display: grid; gap: .3rem; justify-items: center; text-align: center; text-decoration: none; padding: 1.25rem; border-radius: var(--radius); background: var(--cream-soft); transition: transform .35s var(--ease), box-shadow .35s; }
.tf-client:hover { transform: translateY(-5px); box-shadow: 0 18px 30px -22px rgba(0,0,0,.4); }
.tf-client__logo { height: 90px; display: grid; place-items: center; }
.tf-client__logo img { max-height: 80px; width: auto; }
.tf-client span:last-child { font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- Tin tức ---------- */
.tf-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tf-post { display: grid; gap: .4rem; align-content: start; text-decoration: none; }
.tf-post__img { overflow: hidden; border-radius: 14px; background: var(--cream); margin-bottom: .4rem; }
.tf-post__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s var(--ease); }
.tf-post:hover .tf-post__img img { transform: scale(1.05); }
.tf-post time { color: var(--orange); font-weight: 500; font-size: var(--fs-sm); }
.tf-post strong { font-size: var(--fs-md); line-height: 1.3; }
.tf-post:hover strong { color: var(--orange-deep); }
.tf-post span:last-child { font-size: var(--fs-sm); color: var(--ink-soft); }
@media (max-width: 860px) { .tf-news { grid-template-columns: 1fr; } }

/* ---------- Bài viết / chính sách ---------- */
.tf-article { max-width: 760px; }
.tf-article .tf-eyebrow { text-align: left; }
.tf-article h1 { font-size: var(--fs-xl); font-weight: 700; }
.tf-article time { display: block; color: var(--orange); font-weight: 500; font-size: var(--fs-sm); margin-bottom: 1.5rem; }
.tf-article__cover { border-radius: 16px; margin-bottom: 1.5rem; width: 100%; }
.tf-prose h2 { font-size: var(--fs-md); color: var(--orange-deep); margin-top: 2rem; }
.tf-prose ul { padding-left: 1.25rem; }
.tf-prose li + li { margin-top: .4rem; }
.tf-prose img { border-radius: 12px; }
.tf-prose a { color: var(--orange-deep); }
.tf-policy-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding-bottom: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.tf-policy-nav a { text-decoration: none; color: var(--ink-soft); }
.tf-policy-nav a[aria-current] { color: var(--ink); font-weight: 600; }
.tf-policy-nav a:hover { color: var(--orange); }

/* ---------- CTA + Footer ---------- */
.tf-cta { background: var(--orange); color: #fff; text-align: center; }
.tf-cta h2 { text-transform: uppercase; font-weight: 700; font-size: var(--fs-xl); }
.tf-cta p { max-width: 36rem; margin: 0 auto 1.75rem; }
.tf-cta .tf-btns { justify-content: center; }
.tf-footer { background: var(--black); color: rgba(255,255,255,.75); font-size: var(--fs-sm); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.tf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.tf-footer__logo { color: #fff; font-weight: 700; font-size: 1.5rem; margin: 0 0 .5rem; }
.tf-footer h3 { color: #fff; text-transform: uppercase; font-size: 1rem; font-weight: 700; }
.tf-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.tf-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.tf-footer a:hover { color: var(--orange); }
.tf-footer__social a { margin-right: 1rem; }
.tf-footer__copy { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.25rem; margin-top: 2rem; }
@media (max-width: 760px) { .tf-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Nút Zalo nổi ---------- */
.tf-zalo { position: fixed; right: 18px; bottom: 18px; z-index: 99; padding: .75rem 1.15rem; border-radius: 999px; background: #0068ff; color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 25px -8px rgba(0,104,255,.6); animation: tf-pulse 1.6s ease-out infinite; }
.tf-zalo:hover { background: #0052cc; animation: none; }
@keyframes tf-pulse { 0% { box-shadow: 0 10px 25px -8px rgba(0,104,255,.6), 0 0 0 0 rgba(0,104,255,.45); } 100% { box-shadow: 0 10px 25px -8px rgba(0,104,255,.6), 0 0 0 16px rgba(0,104,255,0); } }

/* ---------- Thanh ưu đãi + menu luôn dính trên cùng ---------- */
.tf-top { position: sticky; top: 0; z-index: 50; }
.tf-top .tf-header { position: static; }
.tf-top.is-stuck { box-shadow: 0 6px 24px -10px rgba(0,0,0,.35); }
html { scroll-padding-top: 130px; }
@media (max-width: 600px) {
  .tf-promo { font-size: .7rem; line-height: 1.35; padding: .35rem .75rem; }
  .tf-promo .btn--sm { display: none; }
  .tf-header__in { padding-block: .45rem; }
  html { scroll-padding-top: 110px; }
}

/* ---------- Hero trượt ngang ---------- */
.tf-slider { position: relative; background: linear-gradient(180deg, var(--cream-soft), #fff); }
.tf-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.tf-slider__track::-webkit-scrollbar { display: none; }
.tf-slide { flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(420px, 42vw, 620px); display: flex; align-items: center; text-align: center; background: var(--slide-bg, none) center / cover no-repeat; position: relative; }
.tf-slide--img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 55% at 50% 50%, rgba(255,255,255,.85), rgba(255,255,255,0) 75%); }
.tf-slide__in { position: relative; padding-block: 3rem 4rem; }
.tf-slide .tf-hero__title { margin: 0 auto; }
.tf-slide__btn { margin-top: 1.75rem; }
.js .tf-slide .tf-hero__title, .js .tf-slide .tf-hotline, .js .tf-slide .tf-slide__btn, .js .tf-slide .tf-hero__tagline { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tf-slide.is-active .tf-hero__title, .tf-slide.is-active .tf-hotline, .tf-slide.is-active .tf-slide__btn, .tf-slide.is-active .tf-hero__tagline { opacity: 1; transform: none; }
.tf-slide.is-active .tf-hotline, .tf-slide.is-active .tf-slide__btn { transition-delay: .12s; }
.tf-slide.is-active .tf-hero__tagline { transition-delay: .22s; }
.tf-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); transition: background .2s, color .2s; z-index: 2; }
.tf-slider__arrow:hover { background: var(--orange); color: #fff; }
.tf-slider__arrow--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.tf-slider__arrow--next { right: clamp(.5rem, 2vw, 1.5rem); }
.tf-slider__dots { position: absolute; left: 0; right: 0; bottom: 1.25rem; display: flex; justify-content: center; gap: .5rem; z-index: 2; }
.tf-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(0,0,0,.2); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.tf-slider__dots button[aria-current="true"] { width: 28px; background: var(--orange); }
@media (max-width: 600px) { .tf-slider__arrow { display: none; } .tf-slide { min-height: 380px; } }

/* ---------- Icon liên hệ ở footer ---------- */
.tf-social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.tf-social a { display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.tf-social a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px -8px rgba(255,255,255,.5); }
.tf-social img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Khối theo trang gốc ---------- */
.tf-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; }
.btn--sm { padding: .35rem .9rem; font-size: .75rem; }
.tf-logo { text-transform: uppercase; letter-spacing: .02em; }
.tf-hero { padding-block: clamp(4rem, 9vw, 7rem); }
.tf-hotline { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.75rem; padding: .6rem .6rem .6rem 1.4rem; border-radius: 999px; background: var(--black); color: #fff; text-decoration: none; font-weight: 600; text-transform: uppercase; transition: transform .3s var(--ease); }
.tf-hotline strong { background: var(--orange); border-radius: 999px; padding: .45rem 1.1rem; }
.tf-hotline { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tf-hotline strong { transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.tf-hotline:hover, .tf-slide.is-active .tf-hotline:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(232,135,58,.75); transition-delay: 0s; }
.tf-hotline:hover strong { background: #fff; color: var(--orange); transform: scale(1.05); }
.tf-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tf-feature__item { background: var(--cream); border-radius: var(--radius); padding: 1rem 1rem 1.25rem; text-align: center; font-weight: 600; }
.tf-feature__item img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .5s var(--ease); }
.tf-feature__item:hover img { transform: scale(1.06) rotate(-2deg); }
.tf-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.5rem 0 0; }
.tf-badges span { background: var(--orange); color: #fff; font-weight: 600; padding: .45rem 1.1rem; border-radius: 999px; font-size: var(--fs-sm); }
.tf-subtitle { text-align: center; text-transform: uppercase; font-weight: 700; font-size: var(--fs-lg); margin: 3.5rem 0 1.5rem; }
.tf-commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tf-commit__item { border: 2px solid var(--cream); border-radius: var(--radius); padding: 1.5rem; transition: border-color .3s, transform .35s var(--ease); }
.tf-commit__item:hover { border-color: var(--orange); transform: translateY(-4px); }
.tf-commit__item h4 { margin: 0 0 .75rem; color: var(--orange); text-transform: uppercase; font-size: 1rem; }
.tf-commit__item ul { margin: 0; padding-left: 1.1rem; font-size: var(--fs-sm); color: var(--ink-soft); display: grid; gap: .35rem; }
.tf-stats--4 { grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.tf-stat__group { font-size: .7rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: .3rem !important; }
.tf-reason--white { background: #fff; }
.tf-note { text-align: center; font-style: italic; color: var(--ink-soft); font-size: var(--fs-sm); margin: 1.5rem auto 2rem; max-width: 44rem; }
.tf-care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tf-care p { margin: 0; display: flex; align-items: center; gap: .9rem; background: var(--cream-soft); border-radius: 16px; padding: 1.1rem 1.25rem; font-weight: 500; }
.tf-care p span { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; }
@media (max-width: 900px) { .tf-stats--4 { grid-template-columns: repeat(2, 1fr); } .tf-commit, .tf-care { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tf-feature { grid-template-columns: repeat(3, 1fr); gap: .5rem; } .tf-feature__item { padding: .5rem; font-size: .75rem; } .tf-stats--4 { grid-template-columns: repeat(2, 1fr); } }
.tf-nav { gap: 1.1rem; }

/* =========================================================
   ANIMATION
   .rise   = hiện ngay khi tải trang (hero, tiêu đề trang)
   .reveal = hiện khi cuộn tới
   --d     = độ trễ để các thẻ hiện lần lượt
   ========================================================= */
.js .rise { animation: tf-rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes tf-rise { from { opacity: 0; transform: translateY(24px); } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tf-card.reveal.is-in:hover, .js .tf-reason.reveal.is-in:hover, .js .tf-client.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   TRANG CHỦ MỚI (10/2026): 2 hướng · tab sản phẩm · câu chuyện KH · báo giá
   ========================================================= */
.tf-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.tf-section--tight .tf-stats--4 { margin: 0; }

/* 2 cửa lớn */
.tf-doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.tf-door { position: relative; display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: 28px; background: var(--cream); text-decoration: none; overflow: hidden; border: 2px solid transparent; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.tf-door:nth-child(2) { background: var(--mist); }
.tf-door:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 24px 40px -24px rgba(244,128,25,.6); }
.tf-door__img { border-radius: 18px; overflow: hidden; background: #fff; }
.tf-door__img img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .5s var(--ease); }
.tf-door:hover .tf-door__img img { transform: scale(1.06) rotate(-2deg); }
.tf-door__txt { display: grid; gap: .5rem; }
.tf-door__txt strong { font-size: var(--fs-xl); text-transform: uppercase; font-weight: 700; line-height: 1.05; }
.tf-door__txt > span { color: var(--ink-soft); font-size: var(--fs-sm); }
.tf-door__go { font-style: normal; color: var(--orange); font-weight: 600; text-transform: uppercase; font-size: var(--fs-sm); }
@media (max-width: 760px) { .tf-doors { grid-template-columns: 1fr; } .tf-door { grid-template-columns: 40% 1fr; padding: 1rem; } }

/* Tab sản phẩm */
.tf-switch button { font: inherit; cursor: pointer; padding: .55rem 1.3rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 500; transition: border-color .25s, color .25s, background .25s; }
.tf-switch button:hover { border-color: var(--orange); color: var(--orange); }
.tf-switch button[aria-selected="true"], .tf-switch button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.tf-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .tf-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Số thứ tự lý do */
.tf-reason__no { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--cream); color: var(--orange); font-weight: 700; margin-bottom: .9rem; }

/* Câu chuyện khách hàng – hàng card ngang */
.tf-stories { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.tf-stories__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.tf-stories__title { margin: 0; text-transform: uppercase; font-weight: 700; font-size: var(--fs-lg); }
.tf-stories__title span { color: var(--orange); }
.tf-stories__nav { display: flex; gap: .5rem; }
.tf-round { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.tf-round:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.tf-stories__row { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: .25rem .25rem 1rem; margin: 0 -.25rem; outline: none; }
.tf-stories__row::-webkit-scrollbar { display: none; }
.tf-stories__row .tf-story { flex: 0 0 calc((100% - 2.5rem) / 3); scroll-snap-align: start; }
.tf-stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tf-story { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.tf-story:hover { transform: translateY(-6px); box-shadow: 0 22px 36px -24px rgba(0,0,0,.4); }
.tf-story__img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.tf-story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tf-story__img--logo { display: grid; place-items: center; padding: 18%; background: var(--cream-soft); }
.tf-story__img--logo img { object-fit: contain; }
.tf-story:hover .tf-story__img img { transform: scale(1.05); }
.tf-story__body { display: grid; gap: .5rem; padding: 1.25rem 1.25rem 1.4rem; }
.tf-story__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tf-story__tags span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--cream); color: var(--orange-deep); padding: .25rem .7rem; border-radius: 999px; }
.tf-story strong { font-size: var(--fs-md); line-height: 1.3; }
.tf-story__sum { font-size: var(--fs-sm); color: var(--ink-soft); }
.tf-story em { font-style: normal; color: var(--orange); font-weight: 600; font-size: var(--fs-sm); }
.js .tf-story.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0s; }
@media (max-width: 900px) { .tf-stories__row .tf-story { flex-basis: 70%; } .tf-stories__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tf-stories__row .tf-story { flex-basis: 84%; } .tf-stories__nav { display: none; } .tf-stories__grid { grid-template-columns: 1fr; } }
.tf-story[hidden] { display: none; }
.tf-product__img--cover img { object-fit: cover; aspect-ratio: 4/3; }

/* Khối báo giá cuối trang chủ */
.tf-quote { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--orange); color: #fff; border-radius: 28px; padding: clamp(1.75rem, 5vw, 3.5rem); }
.tf-quote h2 { text-transform: uppercase; font-weight: 700; font-size: var(--fs-xl); margin: 0 0 .75rem; }
.tf-quote h2 span { color: var(--black); }
.tf-quote__txt p { margin: 0 0 1.75rem; max-width: 34rem; }
.tf-quote__list { background: #fff; color: var(--ink); border-radius: 20px; padding: 1.5rem 1.75rem; }
.tf-quote__label { margin: 0 0 .75rem; font-weight: 700; text-transform: uppercase; font-size: var(--fs-sm); color: var(--orange); }
.tf-quote__list ol { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: .7rem; }
.tf-quote__list li { counter-increment: q; display: flex; gap: .75rem; align-items: center; font-weight: 500; }
.tf-quote__list li::before { content: counter(q); flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cream); color: var(--orange); font-weight: 700; font-size: .85rem; }
@media (max-width: 760px) { .tf-quote { grid-template-columns: 1fr; } }

/* ---------- ② Đến với TrueFit (ảnh tự chạy + cam kết + số liệu) ---------- */
.tf-intro__head { margin-bottom: 2rem; }
.tf-intro__eyebrow { margin: 0 0 .25rem; font-weight: 700; font-size: var(--fs-lg); }
.tf-intro__title { margin: 0 0 .6rem; font-weight: 700; font-size: var(--fs-display); line-height: 1.1; color: var(--orange); }
.tf-intro__title span { color: var(--orange); text-transform: uppercase; }
.tf-intro__lead { margin: 0; font-size: var(--fs-md); color: var(--ink); max-width: 62rem; }
.tf-intro { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1.05fr) minmax(0, .8fr); gap: 1.25rem; align-items: stretch; }
.tf-intro__show { background: var(--mist); border-radius: 28px; padding: 1.75rem 0; display: flex; flex-direction: column; justify-content: center; gap: 2.25rem; overflow: hidden; min-width: 0; }
.tf-perks { list-style: none; margin: 0 auto; padding: 1rem 1.5rem; display: flex; gap: clamp(1rem, 3vw, 2.5rem); border: 1.5px solid #cfcfcf; border-radius: 18px; background: rgba(255,255,255,.4); }
.tf-perks li { display: grid; justify-items: center; gap: .4rem; font-size: var(--fs-sm); text-align: center; }
.tf-perks svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.tf-reel { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tf-reel__track { display: flex; gap: 1.5rem; width: max-content; animation: tf-reel 32s linear infinite; }
.tf-reel:hover .tf-reel__track { animation-play-state: paused; }
.tf-reel__item { flex: none; width: clamp(170px, 16vw, 230px); margin: 0; display: grid; justify-items: center; gap: .9rem; }
.tf-reel__item figcaption { width: 100%; text-align: center; background: #F5B57A; color: #fff; font-weight: 600; border-radius: 999px; padding: .35rem .75rem; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-reel__item img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 22px 14px rgba(0,0,0,.14)); transition: transform .5s var(--ease); }
.tf-reel__item:hover img { transform: translateY(-6px) scale(1.04); }
@keyframes tf-reel { to { transform: translateX(calc(-50% - .75rem)); } }
.tf-intro__commit { background: var(--mist); border-radius: 28px; padding: 1.25rem; display: grid; gap: .9rem; align-content: start; }
.tf-intro__commit h3 { margin: .25rem 0 .1rem; text-align: center; color: var(--orange); text-transform: uppercase; font-weight: 700; font-size: clamp(1.1rem, .9rem + .6vw, 1.45rem); }
.tf-intro__box { background: #fff; border-radius: 14px; padding: 1rem 1.1rem; }
.tf-intro__box h4 { margin: 0 0 .4rem; text-transform: uppercase; font-size: .9rem; font-weight: 700; }
.tf-intro__box ul { margin: 0; padding-left: 1.1rem; font-size: var(--fs-sm); display: grid; gap: .25rem; }
.tf-intro__stats { display: grid; gap: 1.25rem; }
.tf-intro__stat { background: var(--mist); border-radius: 24px; padding: 1.25rem 1rem; text-align: center; display: grid; align-content: center; }
.tf-intro__stat p { margin: 0; }
.tf-intro__k { font-weight: 700; text-transform: uppercase; font-size: .78rem; }
.tf-intro__num { color: var(--orange); font-weight: 700; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tf-intro__v { font-size: .95rem; }
@media (max-width: 1100px) { .tf-intro { grid-template-columns: 1fr 1fr; } .tf-intro__show { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  .tf-intro { grid-template-columns: 1fr; }
  .tf-intro__stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .tf-intro__stat { padding: .9rem .4rem; border-radius: 16px; }
  .tf-intro__k { font-size: .62rem; } .tf-intro__v { font-size: .72rem; } .tf-intro__num { font-size: 1.6rem; }
  .tf-perks { padding: .75rem 1rem; gap: 1rem; } .tf-perks li { font-size: .7rem; } .tf-perks svg { width: 28px; height: 28px; }
}

/* ---------- Thanh liên hệ + popup báo giá ---------- */
.tf-contactbar { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 28px; box-shadow: 0 18px 40px -24px rgba(0,0,0,.25); padding: 1.1rem .5rem; }
.tf-contactbar a { display: flex; align-items: center; gap: .9rem; padding: .6rem 1.25rem; text-decoration: none; border-right: 1px solid var(--line); transition: transform .25s var(--ease); }
.tf-contactbar a:last-child { border-right: 0; }
.tf-contactbar a:hover { transform: translateY(-2px); }
.tf-contactbar strong { display: block; text-transform: uppercase; font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.tf-contactbar a:hover strong, .tf-contactbar .is-main strong { color: var(--orange); }
.tf-contactbar em { font-style: normal; font-size: var(--fs-sm); color: var(--ink-soft); }
.tf-ci { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .8rem; }
.tf-ci svg { width: 26px; height: 26px; fill: currentColor; }
.tf-ci--zalo { background: #0068ff; } .tf-ci--fb { background: linear-gradient(135deg,#00b2ff,#006aff); } .tf-ci--tel { background: var(--black); } .tf-ci--quote { background: var(--orange); }
@media (max-width: 900px) { .tf-contactbar { grid-template-columns: 1fr 1fr; } .tf-contactbar a:nth-child(2) { border-right: 0; } .tf-contactbar a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .tf-contactbar { grid-template-columns: 1fr; } .tf-contactbar a { border-right: 0; border-bottom: 1px solid var(--line); } .tf-contactbar a:last-child { border-bottom: 0; } }

.tf-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.tf-modal[hidden] { display: none; }
.tf-modal__back { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: tf-fade .25s; }
.tf-modal__box { position: relative; width: min(620px, 100%); max-height: calc(100dvh - 2rem); overflow: auto; background: #fff; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.25rem); animation: tf-pop .35s var(--ease); }
.tf-modal__x { position: absolute; top: .75rem; right: .75rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.tf-modal__x:hover { background: var(--orange); color: #fff; }
@keyframes tf-fade { from { opacity: 0; } }
@keyframes tf-pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
body.tf-lock { overflow: hidden; }
.tf-qform h2 { font-size: var(--fs-lg); font-weight: 700; margin: 0 0 1.25rem; padding-right: 2rem; }
.tf-qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.tf-qform__grid .is-full { grid-column: 1 / -1; }
.tf-qform label { display: grid; gap: .35rem; font-size: var(--fs-sm); font-weight: 500; }
.tf-qform input:not([type=radio]), .tf-qform textarea { font: inherit; font-weight: 400; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%; transition: border-color .2s; }
.tf-qform input:focus, .tf-qform textarea:focus { outline: none; border-color: var(--orange); }
.tf-qform fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tf-qform legend { font-size: var(--fs-sm); font-weight: 500; margin-bottom: .35rem; }
.tf-chip { display: inline-flex !important; cursor: pointer; }
.tf-chip input { position: absolute; opacity: 0; }
.tf-chip span { padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; }
.tf-chip input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.tf-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.tf-hp { position: absolute; left: -9999px; }
.tf-qform__send { width: 100%; margin-top: 1.25rem; }
.tf-qform__send[disabled] { opacity: .6; pointer-events: none; }
.tf-qform__msg { margin: .75rem 0 0; font-weight: 500; text-align: center; }
.tf-qform__msg.is-ok { color: #1a8f3c; } .tf-qform__msg.is-err { color: #c62828; }
.tf-qform__alt { margin: .5rem 0 0; text-align: center; font-size: var(--fs-sm); color: var(--ink-soft); }
.tf-qform__alt a { color: var(--orange-deep); font-weight: 500; }
@media (max-width: 560px) { .tf-qform__grid { grid-template-columns: 1fr; } }

/* ---------- Mega menu khi rê chuột ---------- */
.tf-header__in { position: relative; }
.tf-nav__item { position: static; }
.tf-nav__item > a { display: inline-flex; align-items: center; gap: .3rem; padding-block: .9rem; }
.tf-nav__caret { font-size: .7em; transition: transform .25s var(--ease); }
.tf-nav__cta { background: #fff; color: var(--orange) !important; padding: .45rem 1rem; border-radius: 999px; font-weight: 600; }
.tf-nav__cta::after { display: none; }
.tf-nav__cta:hover { background: var(--black); color: #fff !important; }
.tf-mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 0; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; z-index: 70; }
.tf-mega__in { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; background: #fff; border-radius: 0 0 0 0; padding: 2rem 2.25rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); border-radius: 22px 22px 0 0; }
.tf-mega__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; background: var(--mist); padding: 1rem 2.25rem; border-radius: 0 0 22px 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); font-weight: 600; text-transform: uppercase; font-size: .85rem; }
.tf-mega__bar span { color: var(--ink-soft); font-weight: 500; padding-right: 1.5rem; border-right: 1px solid var(--line); }
.tf-mega__bar em { font-style: normal; }
.tf-mega__bar a { margin-left: auto; color: var(--orange) !important; }
.tf-mega__cols { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
.tf-mega__col { display: grid; align-content: start; gap: .7rem; }
.tf-mega a { color: var(--ink) !important; text-decoration: none; font-weight: 500; }
.tf-mega a::after { display: none !important; }
.tf-mega a:hover { color: var(--orange) !important; }
.tf-mega .tf-mega__h, .tf-mega__h { margin: 0; color: var(--ink); font-weight: 700; text-transform: uppercase; font-size: 1rem; margin-bottom: .2rem; }
.tf-mega__h span { color: var(--orange); margin-left: .3rem; }
.tf-mega__list { columns: 2; column-gap: 2rem; }
.tf-mega__col strong { font-weight: 600; color: var(--orange); }
.tf-mega__list a { display: block; padding: .3rem 0; break-inside: avoid; }
.tf-mega__card { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--cream); aspect-ratio: 4/3; }
.tf-mega__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tf-mega__card:hover img { transform: scale(1.05); }
.tf-mega__card span { position: absolute; left: 1rem; bottom: .9rem; color: #fff; font-weight: 700; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
@media (min-width: 861px) {
  .tf-nav__item:hover .tf-mega, .tf-nav__item:focus-within .tf-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .tf-nav__item:hover .tf-nav__caret { transform: rotate(180deg); }
}
@media (max-width: 860px) { .tf-mega, .tf-nav__caret { display: none; } .tf-nav__item > a { padding-block: 0; } }

/* ---------- Khung ảnh tự do (thay dải sản phẩm) ---------- */
.tf-intro__show[data-frame] { position: relative; padding: 0; display: block; min-height: 420px; background: var(--mist); }
.tf-frame__track { position: absolute; inset: 0; }
.tf-frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 5s linear; }
.tf-frame__img.is-on { opacity: 1; transform: scale(1); }
.tf-frame__dots { position: absolute; left: 0; right: 0; bottom: 1rem; display: flex; justify-content: center; gap: .45rem; z-index: 2; }
.tf-frame__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.tf-frame__dots button[aria-current="true"] { width: 26px; background: var(--orange); }
@media (max-width: 680px) { .tf-intro__show[data-frame] { min-height: 300px; } }

/* Tiêu đề "Đến với TrueFit" luôn nằm 1 dòng trên máy tính */
.tf-intro__title { font-size: clamp(1.5rem, 3.1vw, 2.9rem); }
.tf-intro__title span { white-space: nowrap; }
@media (min-width: 761px) { .tf-intro__title { white-space: nowrap; } }

/* Thanh menu cam gọn lại */
.tf-header__in { padding-block: .55rem; }
.tf-nav__item > a { padding-block: .3rem; }
.tf-mega { top: 100%; }
.tf-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -1.2rem; height: 1.2rem; }
.tf-nav a:not(.btn)::after { bottom: -4px; }
.tf-nav__cta { padding: .35rem .95rem; }

/* Menu thả xuống Chính sách */
.tf-nav__item--drop { position: relative; }
.tf-drop { position: absolute; top: calc(100% + .9rem); left: 50%; min-width: 230px; background: #fff; border-radius: 16px; padding: .6rem; box-shadow: 0 24px 50px -24px rgba(0,0,0,.4); display: grid; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; z-index: 70; }
.tf-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
.tf-drop a { color: var(--ink) !important; padding: .6rem .9rem; border-radius: 10px; font-weight: 500; white-space: nowrap; }
.tf-drop a::after { display: none !important; }
.tf-drop a:hover { background: var(--cream-soft); color: var(--orange) !important; }
@media (min-width: 861px) {
  .tf-nav__item--drop:hover .tf-drop, .tf-nav__item--drop:focus-within .tf-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }
  .tf-nav__item--drop:hover .tf-nav__caret { transform: rotate(180deg); }
}
@media (max-width: 860px) { .tf-drop { display: none; } }

/* Logo đối tác chạy ngang: bỏ nền màu */
.tf-marquee__item { background: transparent; padding: .5rem 1rem; }

/* ---------- Footer mới ---------- */
.tf-footer { padding-block: 0 1.25rem; }
.tf-fcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; background: var(--orange); color: #fff; border-radius: 24px; padding: 1.75rem 2rem; transform: translateY(-50%); margin-bottom: -1rem; }
.tf-fcta__h { margin: 0; font-weight: 700; text-transform: uppercase; font-size: var(--fs-lg); }
.tf-fcta__p { margin: .3rem 0 0; color: rgba(255,255,255,.9); max-width: 38rem; }
.tf-fcta .btn { background: #fff; color: var(--orange); }
.tf-fcta .btn:hover { background: var(--black); color: #fff; }
.tf-fcta .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.tf-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.15fr 1.3fr; gap: 2rem; padding-top: .5rem; }
.tf-footer__slogan { color: var(--orange); font-weight: 600; margin: 0 0 .75rem; }
.tf-fcol h3 { margin-bottom: 1rem; }
.tf-fcol ul { gap: .55rem; }
.tf-fcol a { color: rgba(255,255,255,.78); }
.tf-fcol a:hover { color: var(--orange); }
.tf-fcontact li { display: grid; gap: .1rem; }
.tf-fcontact span { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.tf-fcontact strong, .tf-fcontact a strong { color: #fff; font-weight: 500; }
.tf-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.25rem; }
.tf-footer__bottom p { margin: 0; }
.tf-footer__links { display: flex; gap: 1.5rem; }
.tf-footer__links a { color: rgba(255,255,255,.7); }
#bao-gia + .tf-footer, main + .tf-footer { margin-top: 4.5rem; }
@media (max-width: 1000px) { .tf-footer__grid { grid-template-columns: 1fr 1fr 1fr; } .tf-fcol--brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .tf-footer__grid { grid-template-columns: 1fr 1fr; } .tf-fcta { padding: 1.4rem; transform: translateY(-35%); } .tf-fcta .tf-btns { width: 100%; } .tf-fcta .btn { flex: 1; } }

/* Ảnh card đối tác lấp đầy khung */
.tf-story__img--logo { padding: 0; display: block; }
.tf-story__img--logo img, .tf-story__img img { width: 100%; height: 100%; object-fit: cover; }
.tf-footer--home { margin-top: 0 !important; padding-top: clamp(3rem, 6vw, 4.5rem); }

/* Lọc đối tác */
.tf-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem; margin: -1rem 0 2rem; font-size: var(--fs-sm); }
.tf-chips span { color: var(--ink-soft); margin-right: .25rem; }
.tf-chips button { font: inherit; cursor: pointer; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.tf-chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.tf-story__tags .is-nhom { background: var(--orange); color: #fff; }
.tf-empty { text-align: center; color: var(--ink-soft); padding: 2rem 0; }

/* ---------- Form báo giá điền trực tiếp ở trang chủ ---------- */
.tf-quotebox { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.tf-quotebox__info h2 { font-size: var(--fs-xl); font-weight: 700; text-transform: uppercase; line-height: 1.15; margin: 0 0 .75rem; }
.tf-quotebox__info h2 span { color: var(--orange); }
.tf-quotebox__lead { color: var(--ink-soft); margin: 0 0 1.5rem; }
.tf-quotebox__ways { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.tf-quotebox__ways a { display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: 18px; padding: .8rem 1rem; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.tf-quotebox__ways a:hover { transform: translateX(4px); box-shadow: 0 12px 24px -16px rgba(0,0,0,.3); }
.tf-quotebox__ways strong { display: block; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.tf-quotebox__ways em { font-style: normal; font-size: var(--fs-sm); color: var(--ink-soft); }
.tf-quotebox__ways .tf-ci { width: 46px; height: 46px; }
.tf-quotebox__form { background: #fff; border-radius: 28px; padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: 0 30px 60px -36px rgba(0,0,0,.35); }
@media (max-width: 900px) { .tf-quotebox { grid-template-columns: 1fr; } }
.tf-quotebox .tf-qform__alt { display: none; }

/* Logo hình TrueFit */
.tf-logo { display: inline-flex; align-items: center; }
.tf-logo img { height: 30px; width: auto; display: block; }
.tf-footer__logo img { height: 38px; width: auto; display: block; }
@media (max-width: 600px) { .tf-logo img { height: 24px; } }

/* ---------- 2 ô Đồng phục | Quà tặng: ảnh lớn phủ kín, chữ nằm trên ảnh (kiểu Coolmate) ---------- */
#hai-huong .tf-doors { margin-top: 0; gap: 1rem; }
.tf-door, .tf-door:nth-child(2) { position: relative; display: block; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 24px; background: var(--mist); overflow: hidden; }
.tf-door:hover { transform: none; border: 0; box-shadow: 0 24px 44px -26px rgba(0,0,0,.45); }
.tf-door__img { position: absolute; inset: 0; border-radius: 0; background: transparent; }
.tf-door__img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .7s var(--ease); }
.tf-door:hover .tf-door__img img { transform: scale(1.05); }
.tf-door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); pointer-events: none; }
.tf-door__txt { position: absolute; left: clamp(1.25rem, 3vw, 2.25rem); right: clamp(1.25rem, 3vw, 2.25rem); bottom: clamp(1.25rem, 3vw, 2rem); z-index: 2; gap: .35rem; color: #fff; }
.tf-door__txt strong { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); color: #fff; letter-spacing: -.01em; }
.tf-door__txt > span { color: rgba(255,255,255,.9); font-size: var(--fs-sm); max-width: 28rem; }
.tf-door__go { justify-self: start; margin-top: .6rem; background: #fff; color: var(--ink) !important; padding: .65rem 1.4rem; border-radius: 999px; font-size: .85rem; transition: background .25s, color .25s; }
.tf-door:hover .tf-door__go { background: var(--orange); color: #fff !important; }
@media (max-width: 760px) { .tf-door, .tf-door:nth-child(2) { aspect-ratio: 4 / 3; } }

/* ---------- Trang quy trình ---------- */
.tf-proc-hero { padding-bottom: 1rem; }
.tf-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.tf-timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--cream); }
.tf-timeline__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 1.5rem; }
.tf-timeline__no { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 6px #fff; }
.tf-timeline__card { background: var(--cream-soft); border-radius: 20px; padding: 1.4rem 1.6rem; }
.tf-timeline__card h2 { font-size: var(--fs-md); font-weight: 700; text-transform: uppercase; margin: 0 0 .4rem; }
.tf-timeline__card p { margin: 0 0 .6rem; color: var(--ink-soft); }
.tf-timeline__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.tf-timeline__card li { position: relative; padding-left: 1.5rem; font-weight: 500; }
.tf-timeline__card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.tf-proc-body { max-width: 860px; margin: 1.5rem auto 0; }
.tf-proc-pick { display: grid; gap: .5rem; padding: 2rem; border-radius: 24px; background: var(--cream-soft); text-decoration: none; border: 2px solid transparent; transition: border-color .25s, transform .3s var(--ease); }
.tf-proc-pick:hover { border-color: var(--orange); transform: translateY(-4px); }
.tf-proc-pick strong { font-size: var(--fs-lg); text-transform: uppercase; font-weight: 700; }
.tf-proc-pick span { color: var(--ink-soft); }
.tf-proc-pick em { font-style: normal; color: var(--orange); font-weight: 600; }
.tf-process__more { display: grid; gap: .35rem; margin: 1rem 0 0 !important; font-size: var(--fs-sm); font-weight: 600; }
.tf-process__more a { color: var(--orange); text-decoration: none; }
@media (max-width: 560px) { .tf-timeline__step { grid-template-columns: 44px 1fr; gap: .9rem; } .tf-timeline__no { width: 44px; height: 44px; } .tf-timeline::before { left: 21px; } }

/* Nối ② → ③: bỏ khoảng trống, có tiêu đề dẫn */
#hai-huong { padding-top: 0; }
#hai-huong .tf-title { text-align: left; margin-bottom: 1.1rem; font-size: clamp(1.3rem, 2.4vw, 2rem); }
#hai-huong .tf-door { aspect-ratio: 16/8; }
@media (max-width: 760px) { #hai-huong .tf-door { aspect-ratio: 4/3; } }

/* Icon liên hệ: 1 màu cam thương hiệu */
.tf-quotebox__ways .tf-ci,
.tf-quotebox__ways .tf-ci--zalo,
.tf-quotebox__ways .tf-ci--fb,
.tf-quotebox__ways .tf-ci--tel { background: var(--orange) !important; color: #fff !important; }
.tf-quotebox__ways .tf-ci svg { fill: #fff !important; width: 22px; height: 22px; }
/* Cụm chữ báo giá: canh đầu bằng mép trên khung form */
.tf-quotebox__info { padding-top: clamp(.5rem, 1.5vw, 1rem); }
.tf-quotebox__info .tf-eyebrow, .tf-quotebox__info > :first-child { margin-top: 0; }
/* Cửa: không cắt chữ khi khung hẹp */
#hai-huong .tf-door { aspect-ratio: auto; min-height: clamp(260px, 28vw, 400px); }

/* ===== Trang chi tiết sản phẩm / đối tác ===== */
.tf-pd { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.tf-pd__top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.tf-pd__media { position: sticky; top: 110px; }
.tf-pd__main { border-radius: 24px; overflow: hidden; background: #f1f1f1; aspect-ratio: 1; }
.tf-pd__main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s; }
.tf-pd__empty { display: block; width: 100%; height: 100%; }
.tf-pd__thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; scrollbar-width: none; }
.tf-pd__thumbs button { flex: none; width: 78px; height: 78px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #f1f1f1; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.tf-pd__thumbs button.is-on, .tf-pd__thumbs button:hover { opacity: 1; border-color: var(--orange); }
.tf-pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tf-pd__info { padding-top: clamp(0rem, 2vw, 1.5rem); }
.tf-pd__info .tf-eyebrow { text-align: left; }
.tf-pd__info h1 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.15; margin: .25rem 0 .9rem; }
.tf-pd__logo img { max-height: 48px; width: auto; margin: .5rem 0 .25rem; }
.tf-pd__lead { color: var(--ink-soft); margin: 0 0 1.25rem; }
.tf-pd__keys { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tf-pd__keys li { background: var(--cream-soft, #fdf6ef); border-radius: 14px; padding: .75rem .9rem; display: grid; gap: .15rem; }
.tf-pd__keys span { font-size: .75rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.tf-pd__keys strong { font-weight: 600; line-height: 1.3; }
.tf-pd__nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.tf-pd__nav a { font-size: var(--fs-sm); padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.tf-pd__nav a:hover { border-color: var(--orange); color: var(--orange-deep); }
.tf-pd__body { margin-top: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: clamp(2rem, 4vw, 3rem); }
.tf-pd__block { scroll-margin-top: 110px; }
.tf-pd__block > h2 { font-size: var(--fs-lg); font-weight: 700; text-transform: uppercase; margin: 0 0 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--orange); display: inline-block; }
.tf-pd__block .tf-spec { margin: 0; border-top: 0; }
.tf-pd__block .tf-spec div { grid-template-columns: 11rem 1fr; border-bottom: 1px solid var(--line); padding-block: .7rem; }
.tf-pd__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.tf-pd__steps li { background: var(--cream-soft, #fdf6ef); border-radius: 18px; padding: 1rem; display: grid; gap: .35rem; align-content: start; }
.tf-pd__steps span { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.tf-pd__steps strong { font-weight: 600; line-height: 1.3; }
.tf-pd__steps p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.tf-pd__more { margin: 1rem 0 0; }
.tf-pd__more a { color: var(--orange-deep); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) {
  .tf-pd__top { grid-template-columns: 1fr; }
  .tf-pd__media { position: static; }
  .tf-pd__keys { grid-template-columns: 1fr 1fr; }
  .tf-pd__block .tf-spec div { grid-template-columns: 8rem 1fr; }
}

/* ===== Tìm kiếm ===== */
.tf-sbtn { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; margin-right: 1rem; background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .38rem .9rem .38rem .7rem; font: inherit; font-size: var(--fs-sm); cursor: pointer; min-width: 170px; transition: background .2s; }
.tf-sbtn:hover { background: rgba(255,255,255,.3); }
.tf-sbtn svg, .tf-search__field svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.tf-sbtn span { opacity: .9; }
.tf-header__in .tf-nav { order: 3; } .tf-header__in .tf-sbtn { order: 2; } .tf-header__in .tf-burger { order: 4; }
@media (max-width: 1100px) { .tf-sbtn { min-width: 0; } .tf-sbtn span { display: none; } .tf-sbtn { padding: .45rem; margin-right: .5rem; } }
@media (max-width: 860px) { .tf-sbtn { margin-right: .25rem; } }
.tf-search { position: fixed; inset: 0; z-index: 200; }
.tf-search[hidden] { display: none; }
.tf-search__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: tfFade .2s; }
.tf-search__bar { position: relative; z-index: 2; background: #fff; box-shadow: 0 6px 24px -14px rgba(0,0,0,.3); }
.tf-search__barin { display: flex; align-items: center; gap: 1rem; padding-block: 1rem; max-width: 760px; }
.tf-search__field { flex: 1; display: flex; align-items: center; gap: .6rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .7rem 1.1rem; background: var(--mist); color: var(--ink-soft); }
.tf-search__field:focus-within { border-color: var(--orange); background: #fff; }
.tf-search__field input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); min-width: 0; }
.tf-search__field input::-webkit-search-cancel-button { display: none; }
.tf-search__close { background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--ink); padding: .4rem; line-height: 1; }
.tf-search__panel { position: relative; z-index: 2; margin: .75rem auto 0; width: min(1000px, calc(100% - 2rem)); max-height: calc(100vh - 120px); overflow: auto; background: #fff; border-radius: 22px; animation: tfRise .25s var(--ease); }
.tf-search__in { padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.5rem; }
.tf-search__h { font-weight: 600; margin: 0 0 .75rem; }
.tf-search__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.tf-search__chips button { font: inherit; font-size: var(--fs-sm); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.tf-search__chips button:hover { border-color: var(--orange); color: var(--orange-deep); }
.tf-search__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.tf-search__card { text-decoration: none; color: var(--ink); display: grid; gap: .45rem; font-size: var(--fs-sm); }
.tf-search__card img, .tf-search__card .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--mist); }
.tf-search__card:hover span { color: var(--orange-deep); }
.tf-search__group + .tf-search__group { margin-top: 1.5rem; }
.tf-search__list { display: grid; gap: .25rem; }
.tf-search__row { display: flex; align-items: center; gap: .9rem; padding: .55rem .6rem; border-radius: 12px; text-decoration: none; color: var(--ink); }
.tf-search__row:hover, .tf-search__row.is-focus { background: var(--cream-soft); }
.tf-search__row img, .tf-search__row .ph { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--mist); flex: none; }
.tf-search__row .ph--txt { display: grid; place-items: center; color: var(--orange); font-weight: 700; }
.tf-search__row strong { display: block; font-weight: 600; }
.tf-search__row small { color: var(--ink-soft); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.tf-search__row mark { background: none; color: var(--orange-deep); }
.tf-search__tag { margin-left: auto; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); flex: none; }
.tf-search__empty { text-align: center; padding: 1rem 0; }
.tf-search__empty p { margin: 0 0 1rem; color: var(--ink-soft); }
.tf-search__empty .tf-btns { justify-content: center; }
body.is-searching { overflow: hidden; }
@keyframes tfFade { from { opacity: 0; } }
@keyframes tfRise { from { opacity: 0; transform: translateY(-8px); } }
/* Khối thông tin nằm cạnh ảnh */
.tf-pd__info .tf-btns { margin-bottom: 1.75rem; }
.tf-pd__sec { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1.25rem; }
.tf-pd__sec h2 { font-size: var(--fs-md); font-weight: 700; text-transform: uppercase; margin: 0 0 .5rem; }
.tf-pd__sec .tf-spec { margin: 0; border: 0; padding: 0; }
.tf-pd__sec .tf-spec div { grid-template-columns: 9.5rem 1fr; border-bottom: 1px solid var(--line); padding-block: .6rem; }
.tf-pd__sec .tf-spec div:last-child { border-bottom: 0; }
.tf-pd__sec .tf-spec a { color: var(--orange-deep); }
.tf-pd__sec .tf-prose { color: var(--ink-soft); }
.tf-pd__sec .tf-prose p:first-child { margin-top: 0; }
[data-search-idle] { display: grid; gap: 1.5rem; }
.tf-search__row > span:nth-child(2) { min-width: 0; flex: 1; }
.tf-search__row small { max-width: 100%; }
@media (max-width: 600px) { .tf-search__tag { display: none; } .tf-search__barin { gap: .5rem; } }
[data-search-idle][hidden], [data-search-results][hidden], [data-search-recent][hidden] { display: none !important; }
/* Nút tìm kiếm: icon gọn bên phải, cạnh nút Báo giá */
.tf-header__in .tf-nav { order: 2; margin-left: auto; }
.tf-header__in .tf-sbtn { order: 3; }
.tf-sbtn, .tf-sbtn:hover { min-width: 0; width: 38px; height: 38px; padding: 0; margin: 0 0 0 .6rem; justify-content: center; border: 0; border-radius: 50%; background: transparent; }
.tf-sbtn:hover { background: rgba(255,255,255,.2); }
.tf-sbtn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.tf-sbtn span { display: none; }
@media (max-width: 860px) { .tf-header__in .tf-sbtn { margin-left: auto; } .tf-header__in .tf-nav { margin-left: 0; } }

/* Tab Mô tả dự án | Quy trình đặt hàng */
.tf-tabs__nav { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.tf-tabs__nav button { font: inherit; font-size: var(--fs-md); font-weight: 700; text-transform: uppercase; background: none; border: 0; padding: .25rem 0 .85rem; color: var(--ink-soft); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tf-tabs__nav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }
.tf-tabs__nav button:hover { color: var(--ink); }
.js .tf-tabs__panel[hidden] { display: none; }
.tf-tabs__panel .tf-prose { max-width: 820px; color: var(--ink-soft); }
/* Ô tìm kiếm dạng khung trắng (nhìn là biết) */
.tf-sbtn, .tf-sbtn:hover { width: auto; min-width: 170px; height: 36px; padding: 0 1rem 0 .8rem; margin-left: .9rem; justify-content: flex-start; gap: .5rem; border-radius: 999px; background: #fff; color: var(--ink-soft); border: 1px solid rgba(0,0,0,.06); box-shadow: inset 0 1px 2px rgba(0,0,0,.06); font-size: var(--fs-sm); }
.tf-sbtn:hover { color: var(--ink); box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.tf-sbtn svg { width: 17px; height: 17px; color: var(--ink-soft); }
.tf-sbtn span { display: inline; opacity: 1; }
@media (max-width: 1280px) { .tf-sbtn, .tf-sbtn:hover { min-width: 130px; } }
@media (max-width: 1100px) { .tf-sbtn, .tf-sbtn:hover { min-width: 0; width: 36px; padding: 0; justify-content: center; } .tf-sbtn span { display: none; } }
@media (max-width: 860px) { .tf-sbtn, .tf-sbtn:hover { width: auto; min-width: 0; flex: 1; max-width: 220px; padding: 0 .9rem 0 .75rem; justify-content: flex-start; margin: 0 .5rem 0 auto; } .tf-sbtn span { display: inline; } }
/* Báo giá + ô tìm kiếm: cùng chiều cao, phân biệt rõ */
@media (min-width: 861px) {
  .tf-nav__cta { height: 36px; display: inline-flex; align-items: center; padding: 0 1.1rem !important; background: var(--black, #1a1a1a) !important; color: #fff !important; }
  .tf-nav__cta:hover { background: #fff !important; color: var(--orange) !important; }
  .tf-sbtn, .tf-sbtn:hover { margin-left: -.35rem; }
}

/* Banner: slide chọn «Canh trái» */
.tf-slide--left { text-align: left; }
.tf-slide--left .tf-hero__title { margin: 0; max-width: none; }
.tf-slide--left.tf-slide--img::before { background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.65) 38%, rgba(255,255,255,0) 62%); }
@media (max-width: 600px) { .tf-slide--left.tf-slide--img::before { background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.55)); } }

/* Đối tác chưa có logo: hiện tên chữ */
.tf-logo-text { display: grid; place-items: center; width: 100%; height: 100%; padding: 1rem; text-align: center; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.25; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.tf-story__img .tf-logo-text { position: absolute; inset: 0; background: var(--cream-soft); }
.tf-story__img { position: relative; }
.tf-marquee__item .tf-logo-text { width: auto; height: auto; padding: 0 .5rem; font-size: .95rem; white-space: nowrap; color: var(--ink-soft); }

/* Banner: chữ co theo chiều ngang màn hình để không đè lên người mẫu 2 bên */
@media (min-width: 601px) {
  .tf-slide .tf-hero__title { font-size: min(var(--fs-display), 3.2vw); }
  .tf-slide .tf-hero__tagline { font-size: clamp(.85rem, 1.25vw, 1.05rem); }
  .tf-slide .tf-hotline { font-size: clamp(.85rem, 1.15vw, 1rem); }
}

/* Mũi tên banner: icon nằm chính giữa vòng tròn */
.tf-slider__arrow { display: grid; place-items: center; padding: 0; line-height: 0; }
.tf-slider__arrow svg { display: block; }
@media (max-width: 600px) { .tf-slider__arrow { display: none; } }
.tf-round { display: inline-grid; place-items: center; padding: 0; line-height: 0; }

/* Banner trên điện thoại: chữ ở trên, ảnh hiện đầy đủ bên dưới */
@media (max-width: 600px) {
  .tf-slide--img { background-size: 100% auto; background-position: center bottom; align-items: flex-start; padding-bottom: calc(100vw / 2.4); min-height: 0; }
  .tf-slide--img::before, .tf-slide--left.tf-slide--img::before { background: none; }
  .tf-slide__in { padding-block: 2rem 1.25rem; }
  .tf-slide .tf-hero__title { font-size: clamp(1.35rem, 6.4vw, 1.9rem); }
  .tf-slide .tf-hotline { margin-top: 1.1rem; font-size: .85rem; }
  .tf-slide .tf-hero__tagline { font-size: .85rem; }
  .tf-slider__dots { bottom: .5rem; }
}
@media (max-width: 600px) { .tf-slider { background: #fff; } }

/* Banner điện thoại: dùng ảnh riêng nếu có (ảnh dọc 1080×1350) */
@media (max-width: 600px) {
  .tf-slide--mimg { background-image: var(--slide-bg-m); background-size: cover; background-position: center bottom; padding-bottom: 0; min-height: 125vw; }
}

/* Trang Chính sách dạng tab */
.tf-tabs--policy { max-width: 900px; margin: 2rem auto 0; }
.tf-tabs__nav { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.tf-tabs__nav::-webkit-scrollbar { display: none; }
.tf-tabs__nav button { white-space: nowrap; flex: none; }
.tf-tabs--policy .tf-tabs__panel { scroll-margin-top: 220px; }

/* Banner co giãn theo tỉ lệ màn hình: phóng to / thu nhỏ chữ vẫn không đè lên ảnh */
@media (min-width: 601px) {
  .tf-slide { min-height: 42vw; }
  .tf-slide .tf-hero__title { font-size: 3.2vw; }
  .tf-slide .tf-hotline { font-size: max(.75rem, 1.1vw); padding: .5vw .5vw .5vw 1.3vw; gap: .8vw; margin-top: 1.6vw; }
  .tf-slide .tf-hotline strong { padding: .45vw 1.1vw; }
  .tf-slide .tf-hero__tagline { font-size: max(.75rem, 1.15vw); margin-top: 1vw; }
  .tf-slide--left .tf-slide__in { width: auto; max-width: 52vw; margin: 0; padding-left: 7vw; }
}
/* Mobile: banner nào cũng canh giữa (canh trái chỉ áp dụng desktop) */
@media (max-width: 600px) {
  .tf-slide--left { text-align: center; }
  .tf-slide--left .tf-hero__title { margin: 0 auto; }
  .tf-slide--left .tf-slide__in { margin-inline: auto; padding-left: 0; max-width: none; }
}

/* Trang đối tác: ảnh lớn cùng tỉ lệ 4:3 với thẻ – chỉ 1 size ảnh 1200×900 */
.tf-pd--kh .tf-pd__main { aspect-ratio: 4 / 3; }
/* Logo đối tác: hiện màu gốc, hover phóng to nhẹ */
.tf-marquee__item img { filter: none; opacity: 1; transition: transform .3s var(--ease); }
.tf-marquee__item:hover img { transform: scale(1.12); }
/* Không để 1 chữ rớt xuống dòng một mình (mọi thiết bị) */
h1, h2, h3, h4, .tf-title, .tf-hero__title, .tf-story strong, .tf-card__name, p, li, dd { text-wrap: wrap; } /* lấp đầy dòng; 2 chữ cuối được JS dính lại */
/* "MIỄN PHÍ thiết kế - vận chuyển": luôn 1 dòng, chữ tự co theo màn hình */
.tf-intro__title { white-space: nowrap; }
@media (max-width: 760px) { .tf-intro__title { font-size: min(1.5rem, calc((100vw - 2.2rem) / 15.3)); } }
/* Mô tả ngắn 1 dòng trên máy tính (trang Đối tác) */
@media (min-width: 900px) { .tf-lead--1 { max-width: none; white-space: nowrap; } }

/* Khung ảnh chọn trong CMS (Vị trí + Phóng to) */
img[data-khung] { object-position: var(--pos, 50% 50%); transform-origin: var(--pos, 50% 50%); transform: scale(var(--z, 1)); }
img[data-khung="du"] { object-fit: contain !important; background: #fff; }
.tf-story:hover .tf-story__img img[data-khung] { transform: scale(calc(var(--z, 1) * 1.05)); }
img[data-khung].is-khac { object-position: 50% 50%; transform: none; object-fit: cover !important; }
/* Trang đối tác (máy tính): ảnh chính cao bằng cột thông tin, dải ảnh nhỏ thẳng hàng dòng cuối */
@media (min-width: 901px) {
  .tf-pd--kh .tf-pd__top { align-items: stretch; }
  .tf-pd--kh .tf-pd__media { position: static; display: flex; flex-direction: column; }
  .tf-pd--kh .tf-pd__main { flex: 1 1 auto; aspect-ratio: auto; min-height: 320px; }
}
@media (min-width: 901px) {
  .tf-pd--kh .tf-pd__info { padding-top: 0; }
  .tf-pd--kh .tf-pd__info > .tf-eyebrow:first-child { line-height: 1; margin-top: -1px; }
}

/* Xem ảnh lớn (lightbox) */
.tf-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(15,15,15,.92); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.tf-lb.is-open { display: flex; }
.tf-lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); user-select: none; }
.tf-lb__x { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.tf-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.tf-lb__nav:hover, .tf-lb__x:hover { background: var(--orange); }
.tf-lb__prev { left: 14px; } .tf-lb__next { right: 14px; }
.tf-lb.is-1 .tf-lb__nav, .tf-lb.is-1 .tf-lb__so { display: none; }
.tf-lb__so { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 99px; }
@media (max-width: 600px) { .tf-lb { padding: 56px 8px; } .tf-lb__nav { width: 40px; height: 40px; top: auto; bottom: 10px; transform: none; } .tf-lb__prev { left: 16px; } .tf-lb__next { right: 16px; } }
/* Popup báo giá gọn hơn */
.tf-modal__box { width: min(520px, 100%); padding: 1.5rem 1.6rem 1.25rem; border-radius: 20px; }
.tf-modal .tf-eyebrow { font-size: .72rem; margin-bottom: .3rem; }
.tf-modal .tf-qform h2 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.25; margin: 0 0 .9rem; }
.tf-modal .tf-qform__grid { gap: .6rem .75rem; }
.tf-modal .tf-qform label, .tf-modal .tf-qform legend { font-size: .82rem; gap: .25rem; }
.tf-modal .tf-qform legend { margin-bottom: .25rem; }
.tf-modal .tf-qform input:not([type=radio]), .tf-modal .tf-qform textarea { padding: .5rem .8rem; font-size: .92rem; border-radius: 10px; }
.tf-modal .tf-qform textarea { min-height: 64px; height: 64px; resize: vertical; }
.tf-modal .tf-chip span { padding: .32rem .9rem; font-size: .88rem; }
.tf-modal .tf-qform__send { margin-top: .9rem; padding-block: .7rem; }
.tf-modal .tf-qform__alt { font-size: .8rem; margin-top: .4rem; }
.tf-modal__x { width: 34px; height: 34px; font-size: 1.25rem; top: .6rem; right: .6rem; }

/* Đối tác tiêu biểu trang chủ: 2 hàng × 3 (tối đa 6) */
.tf-stories__six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .tf-stories__six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tf-stories__six { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .75rem; } .tf-stories__six::-webkit-scrollbar { display: none; } .tf-stories__six .tf-story { flex: 0 0 84%; scroll-snap-align: start; } }
.tf-card:hover .tf-card__img img[data-khung] { transform: scale(calc(var(--z, 1) * 1.07)); }
/* Thống nhất khung ảnh 4:3 (1200×900) cho sản phẩm */
.tf-card__img img { aspect-ratio: 4 / 3; }
.tf-pd__main { aspect-ratio: 4 / 3; }
/* Trang sản phẩm (máy tính): chữ đầu cột thông tin thẳng mép trên ảnh */
@media (min-width: 901px) {
  .tf-pd--sp .tf-pd__info { padding-top: 0; }
  .tf-pd--sp .tf-pd__info > .tf-eyebrow:first-child { line-height: 1; margin-top: -1px; }
}
/* Thẻ sản phẩm dùng chung kiểu thẻ đối tác */
.tf-grid--4 .tf-pcard .tf-story__body { padding: 1rem 1rem 1.15rem; }
@media (max-width: 780px) { .tf-pcard .tf-story__body { padding: .8rem .85rem 1rem; gap: .35rem; } .tf-pcard .tf-story__tags span { font-size: .62rem; padding: .2rem .5rem; } .tf-pcard strong { font-size: .95rem; } }
/* Ô Đồng phục | Quà tặng: ảnh vuông phủ kín, chữ trên lớp kính mờ cho dễ đọc */
#hai-huong .tf-door, #hai-huong .tf-door:nth-child(2) { aspect-ratio: 1; min-height: 0; }
#hai-huong .tf-door::after { background: linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 45%); }
#hai-huong .tf-door__txt { left: clamp(.75rem, 2vw, 1.5rem); right: auto; max-width: calc(100% - 2 * clamp(.75rem, 2vw, 1.5rem)); bottom: clamp(.75rem, 2vw, 1.5rem); padding: clamp(.9rem, 2vw, 1.5rem) clamp(1rem, 2.2vw, 1.75rem); border-radius: 20px; background: rgba(20,20,20,.45); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
#hai-huong .tf-door__txt > span { color: #fff; font-weight: 500; }
@media (max-width: 760px) {
  #hai-huong .tf-doors { grid-template-columns: 1fr; gap: .9rem; }
  #hai-huong .tf-door, #hai-huong .tf-door:nth-child(2) { border-radius: 20px; }
  #hai-huong .tf-door__txt { left: .75rem; right: .75rem; max-width: none; bottom: .75rem; padding: 1rem 1.1rem; border-radius: 16px; gap: .3rem; }
  #hai-huong .tf-door__txt strong { font-size: 1.6rem; }
  #hai-huong .tf-door__txt > span { font-size: .85rem; line-height: 1.4; }
  #hai-huong .tf-door__go { margin-top: .4rem; padding: .5rem 1rem; font-size: .75rem; }
}
/* Menu sổ xuống: nút "Khám phá" dạng viên trắng, đọc rõ trên mọi ảnh */
.tf-mega__card span { z-index: 1; left: .9rem; bottom: .9rem; padding: .5rem 1rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .78rem; letter-spacing: .02em; text-shadow: none; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); transition: background .25s, color .25s; }
.tf-mega__card:hover span { background: var(--orange); color: #fff; }
/* Mobile: đối tác 2 thẻ/dòng giống sản phẩm (trang Đối tác + Đối tác tiêu biểu) */
@media (max-width: 780px) {
  .tf-stories__grid, .tf-stories__six { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; overflow: visible; padding-bottom: 0; }
  .tf-stories__six .tf-story { flex: none; }
  .tf-stories__grid .tf-story, .tf-stories__six .tf-story { border-radius: 18px; }
  .tf-stories__grid .tf-story__body, .tf-stories__six .tf-story__body { padding: .8rem .85rem 1rem; gap: .35rem; }
  .tf-stories__grid .tf-story__tags span, .tf-stories__six .tf-story__tags span { font-size: .62rem; padding: .2rem .5rem; }
  .tf-stories__grid .tf-story strong, .tf-stories__six .tf-story strong { font-size: .95rem; }
  .tf-stories__grid .tf-story__sum, .tf-stories__six .tf-story__sum { font-size: .78rem; }
}
@media (max-width: 330px) { .tf-stories__grid, .tf-stories__six { grid-template-columns: 1fr; } }
