/*
Theme Name: Đức Tuấn Logistics
Theme URI: https://ductuanlogistics.com/
Author: Đức Tuấn Logistics
Description: Theme riêng cho landing page vận chuyển Trung – Việt chính ngạch (Việt / 中文). CSS nạp trong <head> nên không còn nháy giao diện WordPress mặc định khi tải trang.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ductuan
*/

html { scroll-behavior:smooth; }
body { margin:0; background:#fff; }

#dtl { --navy:#0b2545; --navy2:#071a33; --navy3:#13315c; --gold:#f5b700; --gold2:#ffcf3f; --ink:#0f1b2d; --muted:#5b6b82; --bg:#f4f6fa; --zalo:#0068ff; --call:#16a34a;
  font-family:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; color:var(--ink); line-height:1.6; font-size:16px;
  width:auto; max-width:none !important; margin:0 !important; overflow-x:clip; background:#fff; }
html[lang^="zh"] #dtl { font-family:'Be Vietnam Pro','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC','Noto Sans CJK SC',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
#dtl *, #dtl *::before, #dtl *::after { box-sizing:border-box; }
#dtl a { text-decoration:none; color:inherit; }
#dtl h1, #dtl h2, #dtl h3, #dtl p { margin:0; font-family:inherit; letter-spacing:normal; }
#dtl .wrap { max-width:1140px; margin:0 auto; padding:0 20px; }
#dtl section { padding:72px 0; }
#dtl .eyebrow { display:inline-block; font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; }
#dtl h2 { font-size:clamp(26px,3.4vw,38px); line-height:1.2; font-weight:800; color:var(--navy); }
#dtl .lead { color:var(--muted); font-size:17px; margin-top:12px; max-width:640px; }
#dtl .center { text-align:center; } #dtl .center .lead { margin-left:auto; margin-right:auto; }

/* Buttons */
#dtl .btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; font-weight:700; font-size:16px; padding:15px 26px; border-radius:12px; transition:transform .15s, box-shadow .15s, background .15s; cursor:pointer; border:0; white-space:nowrap; }
#dtl .btn:hover { transform:translateY(-2px); }
#dtl .btn svg { width:22px; height:22px; flex:none; }
#dtl .btn-zalo { background:var(--zalo); color:#fff; box-shadow:0 8px 24px rgba(0,104,255,.35); }
#dtl .btn-call { background:var(--gold); color:var(--navy2); box-shadow:0 8px 24px rgba(245,183,0,.35); }
#dtl .btn-ghost { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25); }

/* Top bar */
#dtl .top { position:sticky; top:0; z-index:50; background:rgba(7,26,51,.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid rgba(255,255,255,.08); }
.admin-bar #dtl .top { top:32px; } @media (max-width:782px){ .admin-bar #dtl .top { top:0; } }
#dtl .top .wrap { display:flex; align-items:center; justify-content:space-between; height:66px; }
#dtl .brand { display:flex; align-items:center; gap:10px; color:#fff; }
#dtl .logo { width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,#1d4e89,#0b2545); border:1px solid rgba(255,255,255,.25); display:grid; place-items:center; font-weight:800; font-size:16px; color:#e8eef7; letter-spacing:-.02em; }
#dtl .brand b { display:block; font-size:16px; line-height:1.1; font-weight:800; }
#dtl .brand small { display:block; font-size:11.5px; color:#9fb3cf; line-height:1.2; }
#dtl .top .btn { padding:10px 16px; font-size:15px; }
#dtl .top .phone-txt { display:none; }

/* Hero */
#dtl .hero { background:radial-gradient(1200px 500px at 85% -10%, rgba(245,183,0,.18), transparent 60%), linear-gradient(160deg,var(--navy2) 0%, var(--navy) 55%, var(--navy3) 100%); color:#fff; padding:64px 0 80px; position:relative; overflow:hidden; }
#dtl .hero::after { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size:44px 44px; mask-image:linear-gradient(to bottom, #000 30%, transparent); -webkit-mask-image:linear-gradient(to bottom, #000 30%, transparent); pointer-events:none; }
#dtl .hero .wrap { display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; position:relative; z-index:1; }
#dtl .badge { display:inline-flex; align-items:center; gap:8px; background:rgba(245,183,0,.14); color:var(--gold2); border:1px solid rgba(245,183,0,.35); padding:7px 14px; border-radius:999px; font-size:13.5px; font-weight:600; margin-bottom:20px; }
#dtl .badge i { width:8px; height:8px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(245,183,0,.25); }
#dtl .hero h1 { font-size:clamp(32px,5vw,54px); line-height:1.12; font-weight:800; letter-spacing:-.02em; color:#fff; }
#dtl .hero h1 em { font-style:normal; color:var(--gold); }
#dtl .hero .sub { margin-top:18px; font-size:18px; color:#c9d6e8; max-width:560px; }
#dtl .hero .cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
#dtl .ticks { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:28px; padding:0; list-style:none; }
#dtl .ticks li { display:flex; align-items:center; gap:8px; font-size:15px; color:#dbe5f2; margin:0; }
#dtl .ticks svg { width:18px; height:18px; color:var(--gold); flex:none; }

/* Route card */
#dtl .route { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:22px; padding:26px; backdrop-filter:blur(6px); }
#dtl .route h3 { font-size:14px; font-weight:700; color:#9fb3cf; text-transform:uppercase; letter-spacing:.08em; margin-bottom:18px; }
#dtl .stop { display:flex; gap:14px; align-items:flex-start; position:relative; padding-bottom:22px; }
#dtl .stop:last-child { padding-bottom:0; }
#dtl .stop:not(:last-child)::before { content:""; position:absolute; left:17px; top:38px; bottom:2px; border-left:2px dashed rgba(245,183,0,.5); }
#dtl .dot { width:36px; height:36px; border-radius:50%; flex:none; display:grid; place-items:center; background:rgba(245,183,0,.15); border:2px solid var(--gold); color:var(--gold); }
#dtl .dot svg { width:18px; height:18px; }
#dtl .stop b { display:block; color:#fff; font-size:16px; }
#dtl .stop span { color:#a9bbd3; font-size:14px; }
#dtl .stop .cn { color:var(--gold2); font-size:13px; margin-left:6px; }
#dtl .route .foot { margin-top:22px; padding-top:18px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:12px; font-size:14px; color:#c9d6e8; }
#dtl .route .foot strong { color:#fff; font-size:20px; display:block; }

/* Trust strip */
#dtl .strip { background:var(--gold); padding:18px 0; }
#dtl .strip .wrap { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 36px; font-weight:700; color:var(--navy2); font-size:15px; }
#dtl .strip span { display:flex; align-items:center; gap:8px; }
#dtl .strip svg { width:18px; height:18px; }

/* Services */
#dtl .grid { display:grid; gap:20px; margin-top:40px; }
#dtl .g3 { grid-template-columns:repeat(3,1fr); }
#dtl .card { background:#fff; border:1px solid #e4e9f1; border-radius:18px; padding:28px; transition:box-shadow .2s, transform .2s, border-color .2s; }
#dtl .card:hover { box-shadow:0 18px 40px rgba(11,37,69,.10); transform:translateY(-3px); border-color:#cdd8e8; }
#dtl .ic { width:52px; height:52px; border-radius:14px; background:var(--navy); color:var(--gold); display:grid; place-items:center; margin-bottom:18px; }
#dtl .ic svg { width:26px; height:26px; }
#dtl .card h3 { font-size:19px; font-weight:700; color:var(--navy); margin-bottom:8px; }
#dtl .card p { color:var(--muted); font-size:15.5px; }

/* Why */
#dtl .why { background:var(--bg); }
#dtl .why .wrap { display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center; }
#dtl .why-list { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
#dtl .why-item { background:#fff; border-radius:16px; padding:22px; border:1px solid #e4e9f1; }
#dtl .why-item b { display:flex; align-items:center; gap:10px; color:var(--navy); font-size:16.5px; margin-bottom:6px; }
#dtl .why-item b svg { width:22px; height:22px; color:var(--gold); flex:none; }
#dtl .why-item p { color:var(--muted); font-size:15px; }
#dtl .why .cta { margin-top:28px; display:flex; gap:12px; flex-wrap:wrap; }

/* Steps */
#dtl .steps { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-top:44px; counter-reset:s; }
#dtl .step { text-align:center; padding:0 6px; position:relative; }
#dtl .step:not(:last-child)::after { content:""; position:absolute; top:28px; left:calc(50% + 36px); right:calc(-50% + 36px); border-top:2px dashed #c8d3e3; }
#dtl .num { width:56px; height:56px; border-radius:50%; margin:0 auto 14px; display:grid; place-items:center; background:var(--navy); color:var(--gold); font-weight:800; font-size:20px; box-shadow:0 0 0 6px #e8eef7; }
#dtl .step b { display:block; color:var(--navy); font-size:16px; margin-bottom:4px; }
#dtl .step span { color:var(--muted); font-size:14.5px; }

/* Goods */
#dtl .goods { background:var(--navy); color:#fff; }
#dtl .goods h2 { color:#fff; } #dtl .goods .lead { color:#b8c7dc; }
#dtl .chips { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:32px; }
#dtl .chip { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); padding:11px 18px; border-radius:999px; font-weight:600; font-size:15px; color:#e6edf7; }

/* FAQ */
#dtl .faq { max-width:780px; margin:36px auto 0; }
#dtl details { background:#fff; border:1px solid #e4e9f1; border-radius:14px; margin-bottom:12px; overflow:hidden; }
#dtl summary { list-style:none; cursor:pointer; padding:18px 22px; font-weight:700; color:var(--navy); display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:16.5px; }
#dtl summary::-webkit-details-marker { display:none; }
#dtl summary::after { content:"+"; font-size:24px; color:var(--gold); font-weight:600; line-height:1; transition:transform .2s; }
#dtl details[open] summary::after { transform:rotate(45deg); }
#dtl details p { padding:0 22px 20px; color:var(--muted); font-size:15.5px; }

/* Final CTA */
#dtl .final { background:linear-gradient(135deg,var(--navy2),var(--navy3)); color:#fff; text-align:center; position:relative; overflow:hidden; }
#dtl .final h2 { color:#fff; }
#dtl .final .lead { color:#c9d6e8; }
#dtl .final .cta { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin-top:30px; }
#dtl .final .hotline { margin-top:22px; font-size:15px; color:#a9bbd3; }
#dtl .final .hotline a { color:var(--gold); font-weight:800; font-size:22px; }

/* Footer */
#dtl .foot2 { background:var(--navy2); color:#8ea3bf; font-size:14px; padding:28px 0 110px; }
#dtl .foot2 .wrap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; }
#dtl .foot2 b { color:#fff; }

/* Floating buttons (desktop) */
#dtl .float { position:fixed; right:22px; bottom:26px; z-index:60; display:flex; flex-direction:column; gap:12px; }
#dtl .fab { width:60px; height:60px; border-radius:50%; display:grid; place-items:center; color:#fff; box-shadow:0 10px 26px rgba(0,0,0,.25); position:relative; }
#dtl .fab svg { width:30px; height:30px; }
#dtl .fab.z { background:var(--zalo); } #dtl .fab.c { background:var(--call); }
#dtl .fab.c::before { content:""; position:absolute; inset:0; border-radius:50%; background:var(--call); animation:dtlpulse 1.8s infinite; z-index:-1; }
@keyframes dtlpulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.6);opacity:0} }

/* Mobile bottom bar */
#dtl .mbar { display:none; position:fixed; left:0; right:0; bottom:0; z-index:60; background:#fff; box-shadow:0 -6px 24px rgba(0,0,0,.12); padding:10px 12px calc(10px + env(safe-area-inset-bottom)); gap:10px; }
#dtl .mbar a { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; padding:14px 8px; border-radius:12px; font-weight:800; font-size:16px; color:#fff; }
#dtl .mbar a svg { width:22px; height:22px; }
#dtl .mbar .z { background:var(--zalo); } #dtl .mbar .c { background:var(--call); }

@media (min-width: 720px) { #dtl .top .phone-txt { display:inline; } #dtl .top .phone-short { display:none; } }
@media (max-width: 980px) {
  #dtl .hero .wrap, #dtl .why .wrap { grid-template-columns:1fr; gap:36px; }
  #dtl .g3 { grid-template-columns:1fr 1fr; }
  #dtl .steps { grid-template-columns:1fr; gap:22px; text-align:left; }
  #dtl .step { display:grid; grid-template-columns:56px 1fr; column-gap:16px; text-align:left; align-items:center; }
  #dtl .step .num { margin:0; grid-row:span 2; }
  #dtl .step:not(:last-child)::after { display:none; }
}
@media (max-width: 640px) {
  #dtl section { padding:56px 0; }
  #dtl .hero { padding:40px 0 56px; }
  #dtl .hero .sub { font-size:16.5px; }
  #dtl .hero .cta .btn { flex:1 1 100%; }
  #dtl .g3, #dtl .why-list { grid-template-columns:1fr; }
  #dtl .float { display:none; }
  #dtl .mbar { display:flex; }
  #dtl .brand small { display:none; }
  #dtl .top .btn-call { display:none; }
}
/* Language switch */
#dtl .top-r { display:flex; align-items:center; gap:10px; }
#dtl .lang { color:#dbe5f2; font-weight:700; font-size:14px; padding:9px 12px; border:1px solid rgba(255,255,255,.25); border-radius:10px; white-space:nowrap; }
#dtl .lang:hover { background:rgba(255,255,255,.1); }

/* Fanpage */
#dtl .fb .wrap { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
#dtl .fbbox { background:#fff; border:1px solid #e4e9f1; border-radius:18px; padding:12px; box-shadow:0 18px 40px rgba(11,37,69,.08); min-height:200px; display:flex; justify-content:center; }
#dtl .fbbox iframe { border:0; max-width:100%; display:block; }
#dtl .btn-fb { background:#1877f2; color:#fff; margin-top:26px; box-shadow:0 8px 24px rgba(24,119,242,.3); }
@media (max-width: 980px) { #dtl .fb .wrap { grid-template-columns:1fr; gap:28px; } }

/* ===== Trang thường (bài viết, trang con, lưu trữ, 404) ===== */
#dtl .page-head { background:linear-gradient(160deg,var(--navy2) 0%, var(--navy) 60%, var(--navy3) 100%); color:#fff; padding:56px 0 48px; }
#dtl .page-head h1 { font-size:clamp(28px,4vw,42px); line-height:1.2; font-weight:800; color:#fff; }
#dtl .page-head .meta { margin-top:10px; color:#a9bbd3; font-size:14px; }
#dtl .page-body { padding:48px 0 72px; }
#dtl .page-body .wrap { max-width:820px; }
#dtl .entry > * + * { margin-top:1.1em; }
#dtl .entry h2 { font-size:clamp(22px,2.6vw,30px); margin-top:1.6em; }
#dtl .entry h3 { font-size:20px; color:var(--navy); margin-top:1.4em; }
#dtl .entry a { color:#1d4e89; text-decoration:underline; text-underline-offset:.15em; }
#dtl .entry img { max-width:100%; height:auto; border-radius:12px; }
#dtl .entry ul, #dtl .entry ol { padding-left:1.4em; }
#dtl .entry blockquote { margin-left:0; padding:14px 20px; border-left:4px solid var(--gold); background:var(--bg); border-radius:0 12px 12px 0; }
#dtl .post-list { display:grid; gap:18px; }
#dtl .post-list .card h2 { font-size:21px; }
#dtl .post-list .card .meta { color:var(--muted); font-size:14px; margin-top:4px; }
#dtl .pager { display:flex; justify-content:space-between; gap:12px; margin-top:32px; font-weight:700; color:var(--navy); }
#dtl .screen-reader-text { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
#dtl .skip-link:focus { position:fixed !important; top:8px; left:8px; width:auto; height:auto; clip:auto; z-index:100; background:#fff; color:var(--navy); padding:10px 14px; border-radius:8px; }
