/*
 * Taxi Lâm Đồng — Core Design System
 * TOÀN BỘ selector trong file này được đặt trong phạm vi ".tld-scope"
 * (class gắn trên <body> ở page template Canvas) để không bao giờ đè lên
 * hoặc bị đè bởi CSS của theme / plugin khác đang chạy trên site.
 */

.tld-scope{
  --bg:#FFFFFF;
  --bg-soft:#EAFBFC;
  --ink:#0E2126;
  --muted:#5B6B6E;
  --cyan:#2DCCD3;
  --cyan-deep:#16A8AE;
  --cyan-ink:#0B4D50;
  --yellow:#FFCA00;
  --yellow-deep:#E6B400;
  --zalo:#0068FF;
  --line:#DCF2F3;
  --red:#E5484D;
  --shadow:0 10px 30px rgba(14,33,38,0.08);
  --shadow-sm:0 4px 14px rgba(14,33,38,0.06);

  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  line-height:1.6;
  padding-bottom:78px;
  -webkit-font-smoothing:antialiased;
}
.tld-scope *{ box-sizing:border-box; }
.tld-scope h1, .tld-scope h2, .tld-scope h3{ font-family:'Inter',sans-serif; letter-spacing:-0.01em; }
.tld-scope a{ color:inherit; text-decoration:none; }
.tld-scope button, .tld-scope select{ font-family:inherit; cursor:pointer; }
html.tld-scroll-smooth{ scroll-behavior:smooth; }
.tld-scope .wrap{ max-width:1280px; margin:0 auto; padding:0 22px; }
.tld-scope .narrow{ max-width:760px; margin:0 auto; padding:0 22px; }

/* ---- top-bar (tuỳ chọn, 03/08/2026 — rỗng thì Core không in ra thẻ này) ---- */
.tld-scope .top-bar{ background:linear-gradient(90deg,var(--cyan-ink),var(--cyan-deep)); color:#fff; font-size:12.5px; font-weight:500; }
.tld-scope .top-bar .wrap{ display:flex; align-items:center; justify-content:center; gap:14px; padding:7px 22px; flex-wrap:wrap; text-align:center; }
.tld-scope .top-bar-text{ opacity:0.95; }
.tld-scope .top-bar-link{ text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
.tld-scope .top-bar-link:hover{ opacity:0.85; }

/* ---- header ---- */
.tld-scope header{ position:sticky; top:0; z-index:70; background:rgba(255,255,255,0.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.tld-scope nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; flex-wrap:wrap; row-gap:8px; }
.tld-scope .logo{ display:flex; align-items:center; gap:9px; font-size:20px; font-weight:700; }
.tld-scope .logo .mark{ width:32px; height:32px; border-radius:9px; background:linear-gradient(135deg,var(--cyan),var(--cyan-deep)); display:flex; align-items:center; justify-content:center; font-size:16px; }
.tld-scope .nav-links{ display:flex; align-items:center; gap:24px; font-size:13.5px; color:var(--muted); font-weight:500; }
.tld-scope .nav-links a:hover{ color:var(--ink); }
.tld-scope .nav-dropdown{ position:relative; }
.tld-scope .nav-drop-btn{ background:none; border:none; font-family:inherit; font-size:13.5px; font-weight:500; color:var(--muted); padding:0; line-height:1; }
.tld-scope .nav-dropdown:hover .nav-drop-btn, .tld-scope .nav-drop-btn:hover, .tld-scope .nav-drop-btn:focus-visible{ color:var(--ink); }
.tld-scope .nav-drop-menu{ position:absolute; top:100%; left:50%; transform:translateX(-50%); padding-top:12px; z-index:80; opacity:0; visibility:hidden; transition:opacity .15s ease; }
.tld-scope .nav-dropdown:hover .nav-drop-menu, .tld-scope .nav-dropdown:focus-within .nav-drop-menu{ opacity:1; visibility:visible; }
.tld-scope .nav-drop-menu-inner{ background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:8px; min-width:200px; display:flex; flex-direction:column; gap:2px; }
.tld-scope .nav-drop-menu-inner a{ padding:9px 12px; border-radius:9px; font-size:13.5px; font-weight:500; color:var(--ink); white-space:nowrap; }
.tld-scope .nav-drop-menu-inner a:hover{ background:var(--bg-soft); color:var(--cyan-ink); }
.tld-scope .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border-radius:999px; font-size:13.5px; font-weight:700; border:1.5px solid transparent; transition:.15s ease; white-space:nowrap; }
/* Chữ trắng trên nền cyan chỉ đạt tỷ lệ tương phản ~1.96:1 (WCAG AA yêu cầu
   tối thiểu 4.5:1 cho chữ thường) — dùng màu chữ đậm (--ink) thay vì trắng,
   đạt ~8.46:1 trên nền cyan và ~5.73:1 trên nền cyan-deep (hover), không đổi
   màu nền cyan thương hiệu. */
.tld-scope .btn-cyan{ background:var(--cyan); color:var(--ink); }
.tld-scope .btn-cyan:hover{ background:var(--cyan-deep); color:var(--ink); transform:translateY(-1px); }
.tld-scope .btn-yellow{ background:var(--yellow); color:var(--ink); }
.tld-scope .btn-yellow:hover{ background:var(--yellow-deep); transform:translateY(-1px); }
.tld-scope .btn-outline{ border-color:var(--line); color:var(--ink); background:#fff; }
.tld-scope .btn-outline:hover{ border-color:var(--cyan); }
.tld-scope .btn-zalo{ background:var(--zalo); color:#fff; }
.tld-scope .btn-zalo:hover{ filter:brightness(1.08); }
.tld-scope .btn-home{ width:38px; height:38px; padding:0; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:16px; border:1.5px solid var(--line); background:#fff; color:var(--ink); flex-shrink:0; }
.tld-scope .btn-home:hover{ border-color:var(--cyan); color:var(--cyan-deep); }
.tld-scope .nav-cta{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
@media(max-width:1180px){ .tld-scope .nav-links{ display:none; } }
.tld-scope .menu-toggle{ display:none; background:none; border:1.5px solid var(--line); border-radius:8px; font-size:18px; color:var(--ink); padding:5px 10px; line-height:1; }
@media(max-width:1180px){ .tld-scope .menu-toggle{ display:inline-flex; } }
.tld-scope .mobile-menu{ display:none; flex-direction:column; border-top:1px solid var(--line); }
/* Vì sao có max-height + overflow-y: header là position:sticky nên khi menu
   mở dài hơn màn hình, phần dưới (vd "Taxi sân bay Liên Khương" trở xuống)
   bị thanh gọi cố định (.mobile-bar, fixed đáy màn hình) che mất và không
   cuộn trang tới được — Quang phát hiện qua ảnh chụp thực tế 2026-08-02.
   Cho chính menu tự cuộn nội bộ để luôn bấm được hết mọi mục. */
.tld-scope .mobile-menu.open{ display:flex; max-height:calc(100vh - 150px); overflow-y:auto; -webkit-overflow-scrolling:touch; }
.tld-scope .mobile-menu a{ padding:13px 4px; font-size:14.5px; font-weight:600; color:var(--ink); border-bottom:1px solid var(--line); }
.tld-scope .mobile-menu a:last-child{ border-bottom:none; }
@media(max-width:560px){
  .tld-scope .logo{ font-size:16px; }
  .tld-scope .logo .mark{ width:26px; height:26px; font-size:13px; }
  .tld-scope .nav-cta{ gap:6px; }
  .tld-scope .nav-cta .btn{ padding:8px 11px; font-size:11.5px; }
}

/* ---- section / heading patterns dùng chung ---- */
.tld-scope section{ padding:52px 0; }
.tld-scope section.soft{ background:var(--bg-soft); }
.tld-scope .sec-head{ max-width:640px; margin:0 auto 30px; text-align:center; }
.tld-scope .sec-eyebrow{ font-size:12.5px; font-weight:700; color:var(--cyan-ink); text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px; }
.tld-scope .sec-head h2{ font-size:clamp(23px,3vw,31px); font-weight:700; margin-bottom:10px; }
.tld-scope .sec-head p{ color:var(--muted); font-size:14.5px; }

/* ---- section "Về Taxi Lâm Đồng" / mô hình hoạt động ---- */
.tld-scope .about-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:28px; }
@media(max-width:860px){ .tld-scope .about-grid{ grid-template-columns:1fr; } }
.tld-scope .about-step{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; position:relative; }
.tld-scope .about-step .num{ font-size:12px; font-weight:800; color:var(--cyan-ink); background:var(--bg-soft); display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; margin-bottom:12px; }
.tld-scope .about-step h3{ font-size:15px; font-weight:700; margin-bottom:8px; }
.tld-scope .about-step p{ font-size:13px; color:var(--muted); }
.tld-scope .about-lead{ font-size:14.5px; color:var(--ink); max-width:720px; margin:0 auto 28px; text-align:center; }
.tld-scope .trademark-note{ background:#FFF9E5; border:1.5px solid var(--yellow); border-radius:16px; padding:22px 24px; font-size:13px; color:var(--ink); line-height:1.75; max-width:820px; margin:0 auto; }
.tld-scope .trademark-note strong{ display:block; font-size:13.5px; margin-bottom:8px; }

/* ---- footer ---- */
.tld-scope footer{ border-top:1px solid var(--line); padding:36px 0 90px; }
.tld-scope .foot-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:28px; margin-bottom:26px; }
.tld-scope .foot-col h4{ font-size:12px; color:var(--muted); margin-bottom:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.tld-scope .foot-col a{ display:block; font-size:13.5px; margin-bottom:8px; color:var(--ink); }
.tld-scope .foot-col a:hover{ color:var(--cyan-deep); }
.tld-scope .foot-company p{ font-size:13px; color:var(--muted); margin-bottom:6px; display:flex; gap:7px; align-items:flex-start; }
.tld-scope .foot-company p .ico{ flex-shrink:0; }
.tld-scope .social-row{ display:flex; gap:8px; margin-top:14px; }
.tld-scope .social-row a{ width:32px; height:32px; border-radius:50%; background:var(--bg-soft); display:flex; align-items:center; justify-content:center; font-size:14px; color:var(--cyan-ink); margin:0; }
.tld-scope .social-row a:hover{ background:var(--cyan); color:var(--ink); }
.tld-scope .legal-line{ font-size:11.5px; color:var(--muted); text-align:center; margin-bottom:14px; line-height:1.7; }
.tld-scope .foot-bottom{ padding-top:18px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); text-align:center; }
.tld-scope .disclaimer-box{ background:var(--bg-soft); border:1px solid var(--line); border-radius:14px; padding:16px 18px; margin-bottom:20px; font-size:12.5px; color:var(--muted); line-height:1.7; }
.tld-scope .disclaimer-box strong{ color:var(--ink); }

/* ---- thanh gọi cố định (mobile) + nút gọi nổi (desktop) ---- */
.tld-scope .mobile-bar{ position:fixed; bottom:0; left:0; right:0; z-index:80; background:#fff; border-top:1px solid var(--line); box-shadow:0 -6px 20px rgba(14,33,38,.1); padding:10px 14px calc(10px + env(safe-area-inset-bottom)); display:flex; gap:10px; }
.tld-scope .mobile-bar .btn{ flex:1; padding:14px 10px; font-size:14px; font-weight:800; min-height:48px; }
@keyframes tldCallPulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(255,202,0,0.55); } 50%{ box-shadow:0 0 0 9px rgba(255,202,0,0); } }
.tld-scope .btn-call{ animation:tldCallPulse 2.2s infinite; }
@media(min-width:900px){ .tld-scope .mobile-bar{ display:none; } .tld-scope{ padding-bottom:0; } }
.tld-scope .desktop-hotline-float{ display:none; }
@media(min-width:900px){
  .tld-scope .desktop-hotline-float{ display:flex; position:fixed; bottom:24px; right:24px; z-index:70; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:12px 20px 12px 14px; box-shadow:var(--shadow); }
  .tld-scope .desktop-hotline-float .ico{ width:34px; height:34px; border-radius:50%; background:var(--cyan); color:#fff; display:flex; align-items:center; justify-content:center; font-size:15px; animation:tldCallPulse 2.2s infinite; }
  .tld-scope .desktop-hotline-float .num{ font-weight:700; font-size:14px; }
  .tld-scope .desktop-hotline-float .lbl{ font-size:10.5px; color:var(--muted); }
}

/* ---- các thành phần dùng lại nhiều nơi (button lớn, badge, card cơ bản) ---- */
.tld-scope .fchip{ padding:8px 15px; border-radius:20px; border:1.5px solid var(--line); font-size:12.5px; font-weight:600; color:var(--muted); background:#fff; }
.tld-scope .fchip.on{ border-color:var(--cyan); color:var(--cyan-ink); background:var(--bg-soft); }
.tld-scope .mbadge{ font-size:10px; font-weight:700; padding:3px 8px; border-radius:20px; white-space:nowrap; }
.tld-scope .mbadge.gold{ background:var(--yellow); color:var(--ink); }
.tld-scope .mbadge.verified{ background:var(--bg-soft); color:var(--cyan-ink); }
.tld-scope .mbadge.xang{ background:#FFE9CE; color:#B4570A; }
.tld-scope .mbadge.dien{ background:var(--bg-soft); color:var(--cyan-ink); }
.tld-scope .mbadge.seat{ background:#fff; color:var(--muted); border:1px solid var(--line); }

/* ---- FAQ accordion (dùng chung mọi nơi có shortcode [tld_faq]) ---- */
.tld-scope .faq-item{ background:#fff; border:1px solid var(--line); border-radius:14px; margin-bottom:10px; overflow:hidden; }
.tld-scope .faq-q{ width:100%; text-align:left; background:none; border:none; padding:16px 18px; font-size:14px; font-weight:700; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:12px; }
.tld-scope .faq-q .plus{ flex-shrink:0; font-size:18px; color:var(--cyan-ink); transition:transform .2s ease; }
.tld-scope .faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.tld-scope .faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.tld-scope .faq-item.open .faq-a{ max-height:400px; }
.tld-scope .faq-a p{ padding:0 18px 16px; font-size:13.5px; color:var(--muted); line-height:1.7; }
