/* Dịch vụ Thay dầu — dùng token và nút chung của theme. */
:root { --gl-font: 'Be Vietnam Pro', sans-serif; --gl-font-head: 'Be Vietnam Pro', sans-serif; }
.td-page { font-family: var(--gl-font); overflow: hidden; }
.td-page h3 { font-style: normal; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { overflow-x: hidden; }
.td-skip { position: absolute; z-index: 100; top: -60px; left: 16px; padding: 10px 16px; background: #fff; color: #102f50; border-radius: 6px; }
.td-skip:focus { top: 12px; }
.td-header { position: sticky; top: 0; z-index: 60; background: #0b2748; color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12); }
.td-header__inner { display: flex; align-items: center; gap: 30px; min-height: 76px; }
.td-logo { display: inline-flex; align-items: center; flex: none; }
.td-logo img { display: block; width: auto; height: 32px; }
.td-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.td-nav a { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.78); transition: color .2s; }
.td-nav a:hover, .td-nav a:focus-visible { color: var(--gl-yellow); }
.td-header__cta { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 10px 18px; border-radius: 6px; background: var(--gl-yellow); color: #102d50; font-size: 13px; font-weight: 800; }
.td-header__cta:hover { background: #ffdc67; }
.td-eyebrow { margin: 0 0 15px; color: #0e5ba5; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.td-eyebrow--light { color: var(--gl-yellow); }
.td-hero { position: relative; min-height: 630px; background: #071c34; color: #fff; overflow: hidden; }
.td-hero__photo { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,21,40,.96) 0%,rgba(5,21,40,.83) 25%,rgba(5,21,40,.29) 63%,rgba(5,21,40,.1) 100%),var(--td-hero-image) center/cover no-repeat; }
.td-hero__inner { position: relative; display: flex; align-items: center; min-height: 550px; padding-block: 78px 54px; }
.td-hero__copy { max-width: 640px; }
.td-hero h1 { max-width: 700px; font-size: clamp(38px,5.5vw,72px); line-height: 1.12; letter-spacing: -.045em; color: #fff; }
.td-hero h1 span { color: var(--gl-yellow); }
.td-hero__copy > p:not(.td-eyebrow) { max-width: 510px; margin-top: 23px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.75; }
.td-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.td-btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; }
.td-btn-ghost:hover { border-color: var(--gl-yellow); color: var(--gl-yellow); }
.td-hero__strip { position: relative; display: flex; border-top: 1px solid rgba(255,255,255,.23); }
.td-hero__strip span { display: flex; gap: 12px; flex: 1; align-items: center; min-height: 78px; color: rgba(255,255,255,.84); font-size: 13px; font-weight: 600; }
.td-hero__strip b { color: var(--gl-yellow); font-weight: 900; }
.td-section-head { max-width: 720px; margin-bottom: 36px; }
.td-section-head--split { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 36px; }
.td-section-head--split > div { max-width: 650px; }
.td-section-head--split > p { max-width: 310px; color: #617184; font-size: 14px; }
.td-section-head h2, .td-match h2, .td-spec h2, .td-trust h2, .td-faq h2 { font-size: clamp(29px,3.45vw,44px); line-height: 1.2; letter-spacing: -.035em; color: #102d50; }
.td-section-head h2 em, .td-match h2 em, .td-spec h2 em, .td-trust h2 em, .td-faq h2 em { color: #0e5ba5; font-style: normal; }
.td-section-head > p:not(.td-eyebrow) { max-width: 580px; margin-top: 15px; color: #617184; font-size: 14px; line-height: 1.75; }
.td-match { background: #f5f8fb; }
.td-match__layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: min(8vw,100px); align-items: center; }
.td-match__intro > p:not(.td-eyebrow) { max-width: 470px; margin-top: 20px; color: #617184; line-height: 1.8; }
.td-match__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 29px; }
.td-text-link { display: inline-flex; align-items: center; gap: 9px; color: #0e5ba5; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.td-text-link:hover { color: #103d70; }
.td-match__panel { overflow: hidden; border: 1px solid #dce5ee; border-radius: 17px; background: #fff; box-shadow: 0 22px 45px rgba(11,46,85,.08); }
.td-match__panel-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 25px; background: #0e3157; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.td-match__panel-top span:last-child { color: var(--gl-yellow); font-size: 19px; letter-spacing: 0; }
.td-match__panel ol { padding: 8px 25px; }
.td-match__panel li { display: flex; gap: 19px; padding: 20px 0; border-bottom: 1px solid #e6ebf0; }
.td-match__panel li > span { display: grid; place-items: center; flex: none; width: 35px; height: 35px; border-radius: 9px; background: #e9f1f9; color: #0e5ba5; font-size: 12px; font-weight: 900; }
.td-match__panel strong { color: #102d50; font-size: 15px; }
.td-match__panel li p { margin-top: 4px; color: #66788c; font-size: 13px; }
.td-match__hint { padding: 16px 25px 23px; color: #62748a; font-size: 12px; }
.td-when__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.td-when__grid article { display: grid; grid-template-columns: auto minmax(0,1fr); align-content: start; align-items: center; column-gap: 12px; min-height: 235px; padding: 26px 25px; border: 1px solid #dce5ee; border-radius: 14px; background: #fff; transition: border-color .2s, transform .2s; }
.td-when__grid article:hover { border-color: #0e5ba5; transform: translateY(-4px); }
.td-when__grid article > span { color: #0e5ba5; font-size: 12px; font-weight: 900; }
.td-when__grid h3 { margin-top: 0; color: #102d50; font-size: 18px; }
.td-when__grid p { grid-column: 1 / -1; margin-top: 12px; color: #617184; font-size: 14px; line-height: 1.75; }
.td-service { background: #f5f8fb; }
.td-service__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.td-service__grid article { display: grid; grid-template-columns: auto minmax(0,1fr); align-content: start; align-items: center; column-gap: 12px; min-height: 225px; padding: 25px 22px; border: 1px solid #dde5ee; border-radius: 14px; background: #fff; }
.td-service__number { display: inline-grid; place-items: center; width: 37px; height: 37px; border-radius: 9px; background: #e8f1fa; color: #0e5ba5; font-size: 12px; font-weight: 900; }
.td-service__grid h3 { margin-top: 0; color: #102d50; font-size: 17px; }
.td-service__grid p { grid-column: 1 / -1; margin-top: 12px; color: #617184; font-size: 13px; line-height: 1.7; }
.td-spec { background: radial-gradient(circle at 100% 0,#194d7c,#0c2d52 55%,#08243e); color: #fff; }
.td-spec__header { max-width: 680px; }
.td-spec h2 { color: #fff; }
.td-spec h2 em { color: var(--gl-yellow); }
.td-spec__header > p:last-child { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.75; }
.td-spec__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 38px; }
.td-spec__grid article { padding: 27px; border: 1px solid rgba(255,255,255,.23); border-radius: 14px; background: rgba(255,255,255,.07); }
.td-spec__grid b { color: var(--gl-yellow); font-size: 11px; letter-spacing: .11em; }
.td-spec__grid h3 { margin-top: 42px; color: #fff; font-size: 19px; }
.td-spec__grid p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.75; }
.td-spec__foot { margin-top: 22px; color: rgba(255,255,255,.6); font-size: 12px; }
.td-process__steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
.td-process__steps li { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); align-content: start; align-items: center; column-gap: 10px; padding-top: 18px; border-top: 1px solid #ccd9e5; }
.td-process__steps li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gl-yellow); border: 2px solid #fff; box-shadow: 0 0 0 1px #d9e4ee; }
.td-process__steps li > span { color: #0e5ba5; font-size: 12px; font-weight: 900; }
.td-process__steps h3 { margin-top: 0; color: #102d50; font-size: 17px; }
.td-process__steps p { grid-column: 1 / -1; margin-top: 10px; color: #617184; font-size: 13px; line-height: 1.7; }
.td-trust { background: #f5f8fb; }
.td-trust__layout { display: grid; grid-template-columns: .87fr 1.13fr; gap: min(9vw,110px); align-items: center; }
.td-trust__layout > div:first-child > p:not(.td-eyebrow) { margin-top: 18px; color: #617184; line-height: 1.8; }
.td-trust .gl-btn { margin-top: 25px; }
.td-trust__list { border-top: 1px solid #dce5ee; }
.td-trust__list article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid #dce5ee; }
.td-trust__list article > span { color: #0e5ba5; font-size: 17px; font-weight: 900; }
.td-trust__list h3 { color: #102d50; font-size: 17px; }
.td-trust__list p { margin-top: 6px; color: #617184; font-size: 14px; line-height: 1.7; }
.td-faq__layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: min(9vw,105px); }
.td-faq__layout > div:first-child > p:last-child { margin-top: 18px; color: #617184; line-height: 1.75; }
.td-faq__items { border-top: 1px solid #dce5ee; }
.td-faq__items details { border-bottom: 1px solid #dce5ee; }
.td-faq__items summary { position: relative; padding: 21px 35px 21px 0; color: #102d50; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.td-faq__items summary::-webkit-details-marker { display: none; }
.td-faq__items summary::after { content: '+'; position: absolute; right: 3px; top: 17px; color: #0e5ba5; font-size: 23px; font-weight: 400; }
.td-faq__items details[open] summary::after { content: '−'; }
.td-faq__items details p { max-width: 600px; padding: 0 22px 21px 0; color: #617184; font-size: 14px; line-height: 1.7; }
.td-blog .gl-post__media { display: block; background: #dce8f3; }
.td-blog__placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 68% 35%, #c3d8e9, #e7f0f8 65%, #dce8f3); }
.td-blog__empty { padding: 28px; border: 1px solid #e0e7ef; border-radius: 12px; background: #fff; color: #617184; font-size: 14px; }
.td-cta { padding-block: 68px; background: #08284b; color: #fff; }
.td-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.td-cta h2 { max-width: 650px; color: #fff; font-size: clamp(29px,3.3vw,44px); line-height: 1.2; }
.td-cta h2 span { color: var(--gl-yellow); }
.td-cta__inner > div:first-child > p:last-child { margin-top: 13px; color: rgba(255,255,255,.7); font-size: 14px; }
.td-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: none; }
.td-cta__actions > a:last-child { color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.td-footer { background: #061d36; color: rgba(255,255,255,.68); }
.td-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 34px; }
.td-footer p { margin-top: 12px; font-size: 13px; }
.td-footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.td-footer nav a:hover { color: var(--gl-yellow); }
@media (max-width: 1100px) {
  .td-service__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .td-process__steps { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 35px; }
}
@media (max-width: 820px) {
  .td-header__inner { min-height: 66px; }
  .td-nav { display: none; }
  .td-header__cta { margin-left: auto; }
  .td-match__layout, .td-trust__layout, .td-faq__layout { grid-template-columns: 1fr; gap: 36px; }
  .td-when__grid, .td-spec__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .td-section-head--split { display: block; }
  .td-section-head--split > p, .td-section-head--split > .td-text-link { margin-top: 15px; }
  .td-hero__photo { background-position: 58% center; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 68px; }
  .td-logo img { height: 27px; }
  .td-header__cta { padding: 9px 13px; }
  .td-hero { min-height: 0; }
  .td-hero__photo { background: linear-gradient(90deg,rgba(5,21,40,.86),rgba(5,21,40,.63)),var(--td-hero-image) 62% center/cover no-repeat; }
  .td-hero__inner { min-height: 530px; padding-block: 64px 46px; }
  .td-hero h1 { font-size: clamp(36px,10vw,49px); }
  .td-hero__copy > p:not(.td-eyebrow) { font-size: 15px; }
  .td-actions { align-items: stretch; flex-direction: column; }
  .td-hero__strip { flex-wrap: wrap; padding-block: 9px; }
  .td-hero__strip span { flex: 1 1 155px; min-height: 48px; }
  .td-when__grid, .td-service__grid, .td-spec__grid, .td-process__steps { grid-template-columns: 1fr; }
  .td-when__grid article, .td-service__grid article { min-height: 0; }
  .td-spec__grid h3 { margin-top: 26px; }
  .td-process__steps { gap: 25px; }
  .td-cta__inner { flex-direction: column; align-items: flex-start; }
  .td-cta__actions { align-items: flex-start; }
  .td-footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .td-when__grid article { transition: none; } }

.td-mobile-contact { display: none; }
@media (max-width: 600px) {
  .td-page { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .td-mobile-contact {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 9px;
    padding: 9px 13px calc(9px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--gl-line, #e3e6ec);
    background: #fff;
    box-shadow: 0 -5px 18px rgba(21, 42, 79, .12);
  }
  .td-mobile-contact a {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--gl-navy, #1b3a6b);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
  .td-mobile-contact a:last-child {
    background: var(--gl-yellow, #f5c842);
    color: var(--gl-navy-d, #142c52);
  }
}
