/* FORD · MẪU C — TRANG PHỤ (giới thiệu, liên hệ, bảng giá, so sánh, bảo hành, cảm ơn, danh sách xe, tin tức, 404) */
.fc-ph-hero{padding:56px 0 48px;background:radial-gradient(1000px 300px at 50% 0%,#EEF1F6,#fff 70%)}
.fc-ph-h1{font-size:clamp(34px,4.6vw,56px);font-weight:700;letter-spacing:-.04em;line-height:1.08;color:var(--fc-navy);margin:0 0 14px!important;max-width:900px}
.fc-ph-hero .fc-lead-p{max-width:720px}
.fc-sec-top0{padding-top:0}
.fc-h3{font-size:21px;letter-spacing:-.02em;color:var(--fc-navy);margin-bottom:12px!important}
.fc-trong{background:var(--fc-silver);border-radius:var(--fc-r);padding:28px;color:#384254;margin-bottom:28px!important}
.fc-trong a{color:var(--fc-acc-d);text-decoration:underline}
.fc-loc{margin-bottom:28px}
.fc-mt{margin-top:40px}
.fc-break{word-break:break-word;overflow-wrap:anywhere}
.fc-note-box{margin-top:40px;background:var(--fc-silver);border-radius:var(--fc-r);padding:24px 28px;display:grid;gap:8px;font-size:14px;color:#384254}
.fc-note-box a{color:var(--fc-acc-d);text-decoration:underline}
.fc-left-cta{justify-content:flex-start}

/* Bảng */
.fc-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:18px;border:1px solid var(--fc-line);background:#fff}
.fc-table{width:100%;border-collapse:collapse;font-size:15px;min-width:560px}
.fc-table th,.fc-table td{padding:14px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--fc-silver2)}
.fc-table thead th{background:var(--fc-silver);font-size:13.5px;font-weight:600;color:#384254}
.fc-table tbody th{font-weight:600;color:var(--fc-ink)}
.fc-table tbody tr:last-child>*{border-bottom:0}
.fc-num{text-align:right!important;white-space:nowrap}
.fc-table .fc-num b{color:var(--fc-navy);font-size:16px}
.fc-td-phu{display:block;font-weight:400;font-size:13px;color:var(--fc-muted);margin-top:2px}
.fc-td-ud{color:var(--fc-ok);font-size:14px}

/* Bảng giá */
.fc-bg-list{display:grid;gap:28px}
.fc-bg-list>*,.fc-bg-model>*{min-width:0}
.fc-bg-model{border-radius:28px;padding:28px;background:var(--fc-khung-bac);border:var(--fc-khung-vien);box-shadow:var(--fc-khung-bong-nhe)}
.fc-bg-model[hidden]{display:none}
.fc-bg-head{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:center;margin-bottom:20px}
.fc-bg-img .fc-car{width:100%;height:auto;aspect-ratio:16/10;object-fit:contain}
.fc-bg-head h2{font-size:28px;letter-spacing:-.03em}
.fc-bg-head h2 a:hover{color:var(--fc-acc-d)}
.fc-bg-head .fc-pr{font-weight:600;margin-top:4px!important}
.fc-bg-cta{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px}

/* So sánh */
.fc-ss-chon{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px;max-width:640px}
.fc-ss-table thead th{vertical-align:bottom;background:#fff}
.fc-ss-table thead th:first-child{background:var(--fc-silver)}
.fc-ss-xe{display:grid;gap:8px;font-weight:700;color:var(--fc-navy);font-size:16px}
.fc-ss-xe .fc-car{width:180px;max-width:100%;height:auto;aspect-ratio:16/10;object-fit:contain}
.fc-ss-table tbody th{width:180px;background:var(--fc-silver)}
.fc-ss-an,.fc-js .fc-ss-table [data-ss-an]{display:none} /* data-ss-an: cột ẩn sẵn từ PHP (28/10, chống CLS) */

/* Liên hệ */
.fc-lh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.fc-lh-card{background:var(--fc-silver);border-radius:var(--fc-r);padding:24px;display:flex;flex-direction:column;gap:8px;transition:transform .35s var(--fc-ease),box-shadow .35s,background .35s;min-width:0}
.fc-lh-card:hover{transform:translateY(-4px);background:#fff;box-shadow:var(--fc-sh2)}
.fc-lh-card b{font-size:18px;color:var(--fc-navy);line-height:1.35}
.fc-lh-card .fc-tile{margin-bottom:8px}
.fc-lh-card .fc-tl{margin-top:auto}
.fc-lh-info{margin-top:40px;max-width:760px}
.fc-dl{display:grid;margin:0}
.fc-dl div{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:12px 0;border-top:1px solid var(--fc-silver2)}
.fc-dl dt{color:var(--fc-muted)}
.fc-dl dd{margin:0;font-weight:600;min-width:0}
.fc-dl a{color:var(--fc-acc-d)}

/* Giới thiệu, bảo hành */
.fc-tool-tinh:hover{box-shadow:none;border-color:var(--fc-line);transform:none}
.fc-gt-2{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
.fc-gt-2 .fc-lead-p{margin-top:16px!important}
.fc-gt-2 .fc-tl{margin-top:12px}
.fc-bh-tom{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.fc-bh-tom .fc-card{background:var(--fc-silver)}
.fc-bh-tom p{color:#384254;font-size:15px}
.fc-bh-2{margin-top:48px}
.fc-list{display:grid;gap:10px;padding-left:20px!important;color:#384254}
.fc-list li::marker{color:var(--fc-acc)}

/* Cảm ơn */
.fc-cam-on{text-align:center}
.fc-cam-on .fc-ph-h1,.fc-cam-on .fc-lead-p{margin-inline:auto!important}
.fc-tile-lg{width:64px;height:64px;border-radius:20px;margin:0 auto 20px}
.fc-tile-lg .fc-ic{width:30px;height:30px}

/* Tin tức */
.fc-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.fc-pg{display:flex;gap:8px;margin-top:32px;flex-wrap:wrap}
.fc-pg a,.fc-pg span{min-width:44px;min-height:44px;display:grid;place-items:center;padding:0 14px;border-radius:999px;background:var(--fc-silver);font-weight:600}
.fc-pg .current{background:var(--fc-navy);color:#fff}
.fc-tim{display:flex;gap:10px;margin-bottom:28px;max-width:560px}
.fc-bai .fc-prose{max-width:820px}
.fc-bai-anh img{border-radius:var(--fc-r);width:100%;height:auto}
.fc-bai .fc-crumb,.fc-ph-hero .fc-crumb{padding:0 0 12px}

@media (max-width:980px){
 .fc-lh-grid{grid-template-columns:1fr 1fr}
 .fc-gt-2,.fc-bh-tom{grid-template-columns:1fr}
 .fc-post-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
 .fc-ph-hero{padding:36px 0 32px}
 .fc-ph-h1{font-size:32px}
 .fc-bg-model{padding:18px;border-radius:22px}
 .fc-bg-head{grid-template-columns:1fr;gap:8px}
 .fc-bg-img{max-width:240px}
 .fc-bg-head h2{font-size:22px}
 .fc-table{font-size:14px}
 .fc-table th,.fc-table td{padding:12px 12px}
 .fc-ss-chon{grid-template-columns:1fr}
 .fc-lh-grid,.fc-post-grid{grid-template-columns:1fr}
 .fc-dl div{grid-template-columns:1fr;gap:2px}
 .fc-tim{flex-direction:column}
}
@media (max-width:600px){
 .fc-bg-model .fc-table-wrap{border:0;background:transparent;overflow:visible}
 .fc-bg-table{min-width:0}
 .fc-bg-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .fc-bg-table,.fc-bg-table tbody{display:block}
 .fc-bg-table tr{display:grid;grid-template-columns:1fr auto;gap:2px 12px;background:#fff;border-radius:16px;padding:14px 16px;margin-bottom:10px}
 .fc-bg-table th,.fc-bg-table td{padding:0;border:0}
 .fc-bg-table tbody th{grid-column:1/-1;font-size:15px}
 .fc-bg-table .fc-td-dc{grid-column:1;color:var(--fc-muted);font-size:13.5px}
 .fc-bg-table .fc-num{grid-column:2;grid-row:2/4;align-self:center}
 .fc-bg-table .fc-td-ud{grid-column:1/-1;margin-top:4px;font-size:13.5px}
}

/* ---------- Khung nền + chuyển động (27/10/2026, thiết kế thiet-ke/chuyen-dong-khung/THIET-KE.md mục B; nhịp/khung học từ app Sổ Tay Sale) ---------- */
.fc-tool-tinh:hover::after{opacity:0}
.fc-tool-tinh:hover .fc-tile{transform:none}

/* ---------- Sửa lỗi rà soát 28/10/2026 ---------- */
/* R-05: so sánh xe trên điện thoại: 2 xe đang chọn đứng cạnh nhau, vừa 360px (cột Hạng mục hẹp, ảnh xe co theo cột) */
@media (max-width:600px){
 .fc-ss-chon{grid-template-columns:1fr 1fr;gap:10px}
 .fc-js .fc-ss-table{table-layout:fixed;width:100%;min-width:0}
 .fc-js .fc-ss-table tbody th,.fc-js .fc-ss-table thead th:first-child{width:28%}
 .fc-js .fc-ss-table td,.fc-js .fc-ss-table th{padding:10px 8px;font-size:14px;overflow-wrap:anywhere}
 .fc-js .fc-ss-xe{font-size:14.5px}
 .fc-ss-xe .fc-car{width:100%}
 .fc-js .fc-ss-table .fc-ss-gia td{white-space:nowrap;font-size:12.5px;padding-left:6px;padding-right:6px;font-variant-numeric:tabular-nums}
 /* không JS (bảng đủ 6 xe, phải vuốt): mép phải mờ báo còn cột */
 html:not(.fc-js) .fc-ss .fc-table-wrap,html:not(.fc-js) .fc-table-wrap:has(.fc-ss-table){-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent)}
}


/* ==========================================================================
   TRANG GIỚI THIỆU · phương án A (28/10/2026, thiet-ke/trang-gioi-thieu/THIET-KE.md, nguồn gt.css).
   Lớp .gt-*; template page-gioi-thieu.php, ảnh ford_gt_img() (inc/ford-ui.php).
   ========================================================================== */
.gt-img{display:block;width:100%;height:100%;object-fit:cover;background:var(--fc-silver2)}
.gt-fig{position:relative;margin:0;border-radius:24px;overflow:hidden;background:var(--fc-silver2);isolation:isolate}
.gt-fig figcaption{position:absolute;left:12px;bottom:12px;z-index:1;max-width:calc(100% - 24px);padding:6px 12px;border-radius:999px;background:rgba(0,9,91,.78);color:#fff;font:600 13px/1.3 var(--fc-f);backdrop-filter:blur(6px)}
.gt-r32{aspect-ratio:3/2}.gt-r43{aspect-ratio:4/3}.gt-r11{aspect-ratio:1/1}.gt-r45{aspect-ratio:4/5}
.gt-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.gt-btn-dark{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45)}
.gt-btn-dark:hover{background:rgba(255,255,255,.2);color:#fff}
.gt-list{list-style:none;display:grid;gap:12px;margin-top:22px!important}
.gt-list li{display:flex;gap:12px;align-items:flex-start;color:var(--fc-ink)}
.gt-list .fc-ic{color:var(--fc-acc);margin-top:3px}
.gt-p{color:var(--fc-muted);font-size:17px;margin-top:16px!important;max-width:560px}
.gt-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border-radius:24px;box-shadow:var(--fc-khung-bong,0 20px 50px -20px rgba(11,20,36,.25));overflow:hidden}
.gt-facts>div{display:flex;gap:14px;align-items:flex-start;padding:22px 24px;border-left:1px solid var(--fc-line)}
.gt-facts>div:first-child{border-left:0}
.gt-facts .fc-ic{width:22px;height:22px;color:var(--fc-acc);margin-top:2px}
.gt-facts b{display:block;font:600 13px/1.3 var(--fc-f);color:var(--fc-muted);margin-bottom:4px}
.gt-facts span,.gt-facts a{font:600 16px/1.45 var(--fc-f);color:var(--fc-navy)}
.gt-facts a{text-decoration:underline;text-decoration-color:rgba(6,111,239,.35);text-underline-offset:3px}
.gt-hero{position:relative;color:#fff;background:var(--fc-navy);overflow:hidden}
.gt-hero picture,.gt-hero>.gt-hero-bg{position:absolute;inset:0}
.gt-hero picture img{width:100%;height:100%;object-fit:cover;object-position:70% 18%}
.gt-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,9,91,.92) 0%,rgba(0,9,91,.78) 34%,rgba(0,9,91,.15) 66%,rgba(0,9,91,0) 100%)}
.gt-hero .fc-wrap{position:relative;z-index:1;min-height:clamp(560px,72vh,700px);display:flex;flex-direction:column;justify-content:center;padding:40px 0 120px}
.gt-hero .fc-crumb{padding:0 0 18px;color:rgba(255,255,255,.75)}
.gt-hero .fc-crumb a{color:rgba(255,255,255,.75)}
.gt-hero .fc-crumb [aria-current]{color:#fff}
.gt-hero .fc-eyebrow{color:#9CC6FF}
.gt-hero h1{color:#fff!important;font-size:clamp(36px,4.8vw,60px);letter-spacing:-.04em;line-height:1.06;max-width:620px}
.gt-hero .gt-sub{margin-top:18px!important;font-size:18px;line-height:1.6;color:rgba(255,255,255,.86);max-width:520px}
.gt-a-facts{position:relative;z-index:2;margin-top:-64px}

.gt-nav{display:flex;flex-wrap:wrap;gap:8px;margin:56px auto 0;justify-content:center}
.gt-nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;background:var(--fc-silver);color:var(--fc-navy);font:600 15px/1 var(--fc-f)}
.gt-nav a:hover{background:var(--fc-acc-l)}
.gt-nav a span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--fc-navy);color:#fff;font-size:12px}

.gt-story{display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center}
.gt-story.gt-dao{grid-template-columns:.85fr 1.15fr}
.gt-story.gt-dao .gt-story-anh{order:2}
.gt-story-anh{position:relative}
.gt-story-anh .gt-phu{position:absolute;right:-28px;bottom:-36px;width:44%;border:6px solid #fff;border-radius:20px;box-shadow:0 24px 50px -18px rgba(11,20,36,.35)}
.gt-dao .gt-story-anh .gt-phu{right:auto;left:-28px}
.gt-buoc{display:inline-flex;align-items:center;gap:10px;font:600 14px/1 var(--fc-f);color:var(--fc-acc-d);margin-bottom:14px!important}
.gt-buoc span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--fc-acc-l);color:var(--fc-acc-d)}

.gt-navy{background:var(--fc-navy);color:#fff;border-radius:32px;padding:72px 64px;overflow:hidden;position:relative}
.gt-navy .fc-h2{color:#fff}
.gt-navy .gt-buoc{color:#9CC6FF}.gt-navy .gt-buoc span{background:rgba(255,255,255,.12);color:#fff}
.gt-navy .gt-p{color:rgba(255,255,255,.8)}
.gt-navy .gt-list li{color:#fff}.gt-navy .gt-list .fc-ic{color:#9CC6FF}
.gt-navy-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}
.gt-navy-anh{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gt-navy-anh .gt-fig:first-child{grid-column:1/-1}
.gt-navy-anh .gt-fig{border-radius:18px}

.gt-xuong-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.gt-xuong{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:auto auto;gap:16px;margin-top:40px}
.gt-xuong .gt-fig:first-child{grid-row:1/3}
.gt-xuong .gt-fig:first-child .gt-img{aspect-ratio:auto;height:100%}
.gt-dv{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}
.gt-dv>div{background:var(--fc-silver);border-radius:20px;padding:24px}
.gt-dv h3{font-size:18px;margin:14px 0 6px!important}
.gt-dv p{color:var(--fc-muted);font-size:15px;line-height:1.55}
.gt-dv .fc-tile{width:44px;height:44px;border-radius:12px}

.gt-ghe{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:stretch}
.gt-ghe .gt-fig{min-height:100%}
.gt-ghe .fc-card{background:var(--fc-silver)}
.gt-xe-chip{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.gt-xe-chip a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--fc-line);font:600 14px/1 var(--fc-f);color:var(--fc-navy);background:#fff}
.gt-xe-chip a:hover{box-shadow:inset 0 0 0 1.5px var(--fc-navy)}
@media (max-width:980px){
 .gt-story,.gt-story.gt-dao,.gt-navy-grid,.gt-ghe{grid-template-columns:1fr;gap:32px}
 .gt-story.gt-dao .gt-story-anh{order:0}
 .gt-story-anh .gt-phu{right:12px;bottom:-24px;width:40%}
 .gt-dao .gt-story-anh .gt-phu{left:auto;right:12px}
 .gt-dv{grid-template-columns:1fr 1fr}
 .gt-xuong{grid-template-columns:1fr 1fr}
 .gt-xuong .gt-fig figcaption{font-size:12px}
 .gt-xuong .gt-fig:first-child{grid-column:1/-1;grid-row:auto}
 .gt-xuong .gt-fig:first-child .gt-img{aspect-ratio:3/2}
}
@media (max-width:720px){
 .gt-hero::after{background:linear-gradient(180deg,rgba(0,9,91,.1) 0%,rgba(0,9,91,.35) 38%,rgba(0,9,91,.94) 72%,var(--fc-navy) 100%)}
 .gt-hero picture img{object-position:50% 20%}
 .gt-hero .fc-wrap{min-height:auto;justify-content:flex-end;padding:300px 0 96px}
 .gt-hero .fc-crumb{display:none}
 .gt-hero h1{font-size:34px}
 .gt-hero .gt-sub{font-size:16px}
 .gt-cta .fc-btn{flex:1 1 100%}
 .gt-facts{grid-template-columns:1fr}
 .gt-facts>div{border-left:0;border-top:1px solid var(--fc-line);padding:16px 20px}
 .gt-facts>div:first-child{border-top:0}
 .gt-nav{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;margin-inline:-16px;padding:0 16px;scrollbar-width:none}
 .gt-nav a{white-space:nowrap}
 .gt-navy{padding:44px 20px;border-radius:24px}
 .gt-dv{grid-template-columns:1fr}
 .gt-fig{border-radius:18px}
}

/* ---------- Bổ sung khi dựng vào theme (28/10/2026) ---------- */
.gt-hero picture img{display:block}
.gt-buoc-0{margin:0!important}
.gt-h2-nho{font-size:clamp(28px,3vw,38px)}
.gt-cta-4{margin-top:4px}
.gt-xe-chip{list-style:none;padding:0}
.gt-a .gt-chang{scroll-margin-top:96px}
.gt-nav a:focus-visible,.gt-xe-chip a:focus-visible{outline:3px solid var(--fc-acc);outline-offset:3px;border-radius:999px}
.gt-hero :focus-visible,.gt-navy :focus-visible{outline-color:#9CC6FF}
.gt-stats{margin-top:40px}
@media (max-width:720px){
 .gt-a .gt-chang{scroll-margin-top:80px}
 .gt-nav{scroll-padding-inline:16px}
 .gt-nav a:focus-visible{outline-offset:-3px}
}
/* 28/10: trang Liên hệ gộp vào chặng 5 (#lien-he; neo cũ #ghe-tham, #ghe-dai-ly) */
.gt-neo{display:block;height:0;scroll-margin-top:96px}
.gt-p-lh{margin-top:0!important}
@media (max-width:720px){.gt-neo{scroll-margin-top:80px}}
/* 0.5.4–0.5.5 (28/10): chặng 1 "Địa chỉ showroom" #dia-chi: khối địa chỉ .gt-dc (ảnh mặt tiền dùng .gt-story/.gt-r32 chung) */
.gt-dc{display:flex;gap:14px;align-items:flex-start;margin-top:22px;padding:18px 20px;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px var(--fc-line);max-width:560px}
.gt-dc>.fc-ic{flex:none;width:22px;height:22px;color:var(--fc-acc);margin-top:2px}
.gt-dc p{margin:0}
.gt-dc-h{font:600 13px/1.3 var(--fc-f);color:var(--fc-muted);margin-bottom:4px!important}
.gt-dc-dc{font:600 16px/1.45 var(--fc-f);color:var(--fc-navy)}
.gt-dc-dong{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px!important;font-size:14.5px;color:var(--fc-ink)}
.gt-dc-dong .fc-ic{width:16px;height:16px;color:var(--fc-muted)}
.gt-dc-dong a{font-weight:600;color:var(--fc-navy);text-decoration:underline;text-decoration-color:rgba(6,111,239,.35);text-underline-offset:3px}
@media (max-width:720px){
 .gt-dc{padding:16px}
}

/* Chính sách bảo mật (0.5.6, page-chinh-sach-bao-mat.php): một cột chữ, cùng kiểu trang Bảo hành */
.fc-bm{color:#384254;font-size:16px;line-height:1.65}
.fc-bm>*+*{margin-top:12px}
.fc-bm h2.fc-h3{margin-top:36px!important}
.fc-bm h2.fc-h3:first-child{margin-top:0!important}
.fc-bm a{color:var(--fc-acc-d);text-decoration:underline;overflow-wrap:anywhere}
.fc-bm b{color:var(--fc-ink)}
.fc-bm-lh{max-width:820px;font-size:15px}
/* 0.6.2: tiêu đề nhỏ (h3) + hộp #lien-he-bao-mat nằm trong cột chữ */
.fc-bm h3.fc-bm-h3{font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.4;color:var(--fc-navy);margin-top:24px!important}
.fc-bm .fc-note-box{margin-top:20px}
.fc-bm .fc-note-box>*,.fc-bm .fc-note-box>.fc-bm-h3{margin-top:0!important}
