/*
Theme Name: Picar Rental
Theme URI: https://picar.com.vn
Author: Picar Rental
Description: Theme WordPress tuỳ chỉnh cho Picar Rental - dịch vụ cho thuê xe tự lái, có tài tại TPHCM.
Version: 1.0.0
Text Domain: picar
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --navy: #1c2a5d;
    --navy-dark: #162352;
    --orange: #f58220;
    --orange-dark: #e8741c;
    --footer-bg: #084D79;
    --bg-soft: #f4f7fb;
    --border: #eee;
    --green: #10b981;
    --radius-6: 6px;
    --radius-39: 39px;
    --container: 1280px;
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1f2937;
    background: #fff;
    margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 8px 0 48px; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.eyebrow.center { justify-content: center; }
.eyebrow .bar { width: 28px; height: 2px; background: var(--orange); border-radius: 99px; }
.eyebrow span.label {
    font-size: 11px;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-title {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 16px;
}
.section-lead {
    font-size: 15px;
    color: rgba(28, 42, 93, 0.7);
    line-height: 1.7;
    max-width: 720px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.intro-grid { display: grid; gap: 32px; align-items: center; }
.intro-img img { width: 100%; height: auto; border-radius: 12px; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-6);
    border: 1px solid transparent;
    padding: 12px 24px;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-shadow { box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.btn-block { width: 100%; }
.btn-pill { border-radius: var(--radius-39); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline-navy { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: #f4f7fb; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f4f7fb; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--navy); height: 36px; display: flex; align-items: center; overflow: hidden; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.topbar-title { color: #fff; font-size: 12px; font-weight: 500; font-style: italic; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar-links { display: none; flex-shrink: 0; }
.topbar-links ul { display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.topbar-links li + li::before { content: "|"; color: rgba(255,255,255,.4); font-size: 12px; margin-right: 16px; }
.topbar-links a { color: #fff; font-size: 12px; font-weight: 500; transition: color .2s ease; }
.topbar-links a:hover { color: #93c5fd; }

.site-header { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); position: relative; z-index: 40; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 56px; width: auto; }

.main-nav { display: none; align-items: center; gap: 4px; flex: 1; margin-left: 20px; }
.main-nav a.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 6px;
    font-size: 14px; font-weight: 600; color: var(--navy);
    white-space: nowrap; text-transform: uppercase;
}
.main-nav a.nav-link:hover { color: #2563eb; background: #f1f2f4; }
.nav-item { position: relative; }
.nav-dropdown {
    display: none;
    position: absolute; top: 100%; left: 0; padding-top: 8px; min-width: 280px; z-index: 50;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown-inner {
    background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px;
    box-shadow: 0 8px 24px rgba(28,42,93,.12); padding: 8px 0; overflow: hidden;
}
.nav-dropdown-inner a {
    display: block; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--navy);
    border-left: 3px solid transparent;
}
.nav-dropdown-inner a:hover { background: #eff6ff; border-left-color: #3b82f6; color: #2563eb; }

.header-cta { display: none; align-items: center; }
.header-cta .btn { padding: 10px 20px; }

.services-strip { display: none; background: #f1f2f4; }
.services-strip .container { padding-top: 10px; padding-bottom: 10px; }
.services-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: #374151; }
.services-strip-inner strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.services-strip-inner a { color: #2563eb; font-weight: 500; }
.services-strip-inner a:hover { color: #1d4ed8; }

.mobile-menu-btn { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; border: none; background: none; color: var(--navy); cursor: pointer; font-size: 20px; }
.mobile-menu-btn:hover { background: #f1f2f4; }
body.mobile-menu-open, body.gallery-lightbox-open { overflow: hidden; position: fixed; width: 100%; }

@media (min-width: 768px) {
    .topbar-links { display: flex; }
    .main-nav { display: flex; }
    .header-cta { display: flex; }
    .services-strip { display: block; }
    .mobile-menu-btn { display: none; }
}

#mobile-menu-panel { display: none; position: fixed; inset: 36px 0 0 0; z-index: 50; background: #fff; flex-direction: column; }
#mobile-menu-panel.open { display: flex; }
#mobile-menu-overlay { display: none; position: fixed; inset: 36px 0 0 0; z-index: 45; background: rgba(0,0,0,.5); }
#mobile-menu-overlay.open { display: block; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 16px; border-bottom: 1px solid #f3f4f6; }
.mobile-menu-head img { height: 56px; width: auto; }
.mobile-menu-nav { display: flex; flex-direction: column; padding: 20px 16px; gap: 2px; overflow: auto; flex: 1; }
.mobile-menu-nav a, .mobile-menu-nav .mm-toggle { padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--navy); background: none; border: none; text-align: left; width: 100%; cursor: pointer; }
.mobile-menu-nav a:hover, .mobile-menu-nav .mm-toggle:hover { background: #f1f2f4; }
.mobile-menu-nav > a, .mobile-menu-nav > .mm-toggle { text-transform: uppercase; }
.mobile-submenu { display: none; flex-direction: column; padding-left: 16px; }
.mobile-submenu.open { display: flex; }
.mobile-submenu a { font-size: 14px; font-weight: 500; color: #374151; padding: 10px 16px; }
.mobile-menu-foot { padding: 16px; border-top: 1px solid #f3f4f6; }
@media (min-width: 768px) { #mobile-menu-panel, #mobile-menu-overlay { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative; overflow-x: clip; background: var(--bg-soft);
    background-image: radial-gradient(circle, rgba(28,42,93,.05) 1px, transparent 1.5px);
    background-size: 32px 32px;
}
.hero-blob-1 { position: absolute; top: -80px; right: -80px; width: 288px; height: 288px; border-radius: 50%; background: rgba(28,42,93,.025); pointer-events: none; }
.hero-blob-2 { position: absolute; top: 50%; left: -64px; width: 224px; height: 224px; border-radius: 50%; background: rgba(245,130,32,.04); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 40px 0; }

.hero-grid {
    display: grid; gap: 24px; align-items: start;
    grid-template-columns: 1fr;
    grid-template-areas: "text" "visual" "below";
}
.hero-text { grid-area: text; min-width: 0; }
.hero-visual { grid-area: visual; display: flex; justify-content: center; }
.hero-below { grid-area: below; min-width: 0; }

.hero-eyebrow { display: none; color: var(--orange); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.hero-eyebrow .bar { width: 28px; height: 2px; background: var(--orange); border-radius: 99px; flex-shrink: 0; }
.hero h1 { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; }
.hero h1 .accent { color: var(--orange); font-weight: 600; }
.typing-cursor { display: inline-block; animation: blink 1s infinite; color: var(--orange); margin-left: 2px; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.hero h1 .sub { font-size: 20px; font-weight: 400; display: inline-block; margin-top: 4px; }
.hero-desc { font-size: 15px; color: rgba(28,42,93,.7); line-height: 1.625; max-width: 540px; margin-bottom: 20px; }

.hero-search { position: relative; margin-bottom: 16px; }
.hero-search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e2e7f2; border-radius: 99px; padding: 4px 4px 4px 18px; box-shadow: 0 2px 12px rgba(28,42,93,.08); height: 52px; }
.hero-search-box input { flex: 1; border: none; outline: none; padding: 10px 12px; font-size: 16px; font-family: inherit; background: transparent; }
.hero-search-box button { flex-shrink: 0; border-radius: 99px; }
.hero-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.hero-feature { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--navy); padding: 10px; border-radius: 12px; cursor: default; transition: background-color .3s ease; }
.hero-feature .dot { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); transition: transform .3s ease, box-shadow .3s ease; }
.hero-feature .dot i { font-size: 18px; }
@media (hover: hover) {
    .hero-feature:hover .dot { transform: scale(1.1); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
}
.hero-cta-more { display: none; }

/* Card stack: kích thước CỐ ĐỊNH 400x560 ở mọi breakpoint, giống bản gốc */
.hero-card-stack { position: relative; width: 100%; max-width: 400px; height: 560px; margin: 0 auto; }
.hero-card {
    position: absolute; inset: 0; box-sizing: border-box;
    background: #fff; border-radius: 6px; box-shadow: 0 18px 44px -14px rgba(28,42,93,.18);
    padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center;
    opacity: 0; transform: scale(.95) translateY(20px); pointer-events: none; z-index: 1;
    transition: opacity .7s ease-in-out, transform .7s ease-in-out;
    overflow: hidden;
}
.hero-card.active { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; z-index: 10; }
.hero-card-media { width: 100%; margin: 15px 0 0; display: flex; justify-content: center; flex-shrink: 0; }
.hero-card img { width: 519px; max-width: 100%; height: 290px; object-fit: contain; }
.hero-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-top: 24px; margin-bottom: 0; }
.hero-card-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; width: 100%; max-width: 280px; margin: 16px auto 0; text-align: left; }
.hero-card-spec { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(28,42,93,.8); }
.hero-card-spec .ic { width: 28px; height: 28px; border-radius: 50%; background: #f6f8fe; border: 1px solid #e2e7f2; color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card-spec .ic i { font-size: 13px; }
.hero-card .btn { width: 100%; margin-top: 24px; border-radius: var(--radius-39); }

/* Dots: nằm NGOÀI grid, canh giữa theo cả section (không phải theo riêng cột card) */
.hero-dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: none; background: #9ca3af; cursor: pointer; padding: 0; transition: background-color .3s ease, transform .3s ease; }
.hero-dot:hover { transform: scale(1.1); }
.hero-dot.active { background: var(--navy); }

.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; pointer-events: none; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 90px; }

@media (min-width: 768px) {
    .hero-eyebrow { display: flex; align-items: center; gap: 8px; }
    .hero-features { gap: 12px; margin-bottom: 20px; }
    .hero-feature { gap: 12px; font-size: 14px; }
    .hero-feature .dot { width: 44px; height: 44px; }
}
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        grid-template-areas: "text visual" "below visual";
        gap: 48px; row-gap: 0;
    }
    .hero-text { margin-top: 32px; }
    .hero-below { margin-top: -56px; }
    .hero-visual { justify-content: flex-end; align-items: center; }
    .hero h1 { font-size: 33px; }
    .hero h1 .sub { font-size: 22px; }
    .hero-desc { font-size: 16px; margin-bottom: 20px; }
    .hero-card { overflow: visible; }
    .hero-card-media { margin: -40px 0 0; }
    .hero-card img { width: 520px; max-width: none; height: 350px; filter: drop-shadow(0 10px 12px rgba(28,42,93,.15)); }
    .hero-cta-more { display: inline-flex; margin-top: 4px; }
}

/* ==========================================================================
   Cards (car / service / blog / process / review)
   ========================================================================== */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
    background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.card:hover { box-shadow: 0 14px 34px rgba(28,42,93,.14); transform: translateY(-4px); border-color: rgba(28,42,93,.18); }

.car-card-img { position: relative; height: 200px; background: var(--bg-soft); overflow: hidden; }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-card-img img { transform: scale(1.06); }
.car-card-badge { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.car-card-body { padding: 16px 16px 8px; flex: 1; display: flex; flex-direction: column; }
.car-card-cat { font-size: 12px; font-weight: 600; color: rgba(28,42,93,.6); margin-bottom: 8px; }
.car-card-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.car-card:hover .car-card-title { color: var(--orange); }
@media (min-width: 768px) { .car-card-title { min-height: 2.5em; } }
.car-card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.car-card-price .old { font-size: 14px; color: rgba(28,42,93,.5); text-decoration: line-through; }
.car-card-price .now { font-size: 18px; font-weight: 700; color: var(--navy); }
.car-card-specs { border-top: 1px solid rgba(28,42,93,.1); padding-top: 12px; display: flex; gap: 12px; font-size: 13px; color: var(--navy); flex-wrap: wrap; }
.car-card-specs span { display: inline-flex; align-items: center; gap: 6px; }
.car-card-loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--navy); margin-top: 10px; }
.car-card-cta { display: block; text-align: center; padding: 12px; font-weight: 600; font-size: 14px; background: var(--navy); color: #fff; transition: background .2s ease; }
.car-card:hover .car-card-cta { background: var(--orange); }

.service-card-img { height: 200px; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.service-card-img img { object-fit: contain; height: 100%; }
.service-card-body { padding: 20px; }
.service-card-body h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.service-card-body p { font-size: 14px; color: rgba(28,42,93,.7); line-height: 1.6; }

.process-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px; transition: box-shadow .3s ease, transform .3s ease; }
.process-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.process-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.process-num { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.process-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-card h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.process-card p { font-size: 14px; color: rgba(28,42,93,.7); line-height: 1.6; }

.review-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px; transition: box-shadow .3s ease, transform .3s ease; }
.review-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--navy); flex-shrink: 0; }
.review-name { font-size: 16px; font-weight: 600; color: var(--navy); }
.review-role { font-size: 12px; color: rgba(28,42,93,.7); }
.review-stars { color: var(--orange); margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: rgba(28,42,93,.7); line-height: 1.6; }

.blog-card-img { height: 200px; background: var(--bg-soft); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-card-cat { font-size: 12px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.blog-card-title { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.blog-card:hover .blog-card-title { color: var(--orange); }
.blog-card-desc { font-size: 14px; color: rgba(28,42,93,.7); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(28,42,93,.6); }
.blog-card-meta a { font-weight: 600; color: var(--navy); }

/* ==========================================================================
   CTA banners
   ========================================================================== */
.cta-banner { border-radius: 6px; padding: 32px; min-height: 220px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background-position: bottom right; background-repeat: no-repeat; background-size: 200px auto; }
.cta-banner h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; max-width: 65%; }
.cta-banner p { font-size: 14px; color: rgba(28,42,93,.8); max-width: 65%; margin-bottom: 12px; }

/* ==========================================================================
   Breadcrumb / product page
   ========================================================================== */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #6b7280; padding: 16px 0; }
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: #d1d5db; }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

.product-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1fr 400px; } }

.product-title { font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; font-size: 14px; color: #374151; }
.product-meta strong { color: var(--navy); font-weight: 600; margin-right: 4px; }

.product-gallery { margin-bottom: 24px; }
.product-gallery-main { border-radius: 6px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 1/1; margin-bottom: 8px; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.product-gallery-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.product-gallery-thumbs img.active { border-color: var(--orange); }

.product-gallery-main { position: relative; cursor: zoom-in; }
.product-gallery-zoom-hint {
    position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 14px; pointer-events: none; transition: background-color .2s ease;
}
.product-gallery-main:hover .product-gallery-zoom-hint { background: rgba(0,0,0,.75); }

.gallery-lightbox {
    display: none; position: fixed; inset: 0; z-index: 200; background: rgba(10,12,20,.94);
    align-items: center; justify-content: center;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.gallery-lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.gallery-lightbox-close {
    position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; z-index: 2;
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,.2); }
.gallery-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; z-index: 2;
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,.2); }
.gallery-lightbox-prev { left: 12px; }
.gallery-lightbox-next { right: 12px; }
.gallery-lightbox-counter {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500;
    background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 99px;
}
@media (min-width: 768px) {
    .gallery-lightbox-close, .gallery-lightbox-nav { width: 48px; height: 48px; }
    .gallery-lightbox-prev { left: 24px; }
    .gallery-lightbox-next { right: 24px; }
}
@media (min-width: 768px) {
    .product-gallery-main { aspect-ratio: 16/9; }
    .product-gallery-thumbs img { width: 84px; height: 64px; }
}

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; margin-bottom: -15px; }
@media (min-width: 768px) { .spec-grid { margin-bottom: 32px; } }
.spec-box { background: #eff6ff; border: 1px solid #dbeafe; border-radius: 6px; padding: 16px; }
.spec-box .label { font-size: 12px; color: #6b7280; margin-bottom: 2px; }
.spec-box .value { font-size: 14px; font-weight: 600; color: var(--navy); }

.info-block { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 16px; margin-bottom: 24px; }
.info-block h2 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.info-block p { font-size: 15px; color: #374151; line-height: 1.75; white-space: pre-line; }

.checkmark-list { list-style: none; padding: 0; margin: 0; }
.checkmark-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; line-height: 1.6; color: #374151; font-size: 15px; }
.checkmark-item i { color: var(--green); font-size: 15px; flex-shrink: 0; }

.policy-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.policy-table th, .policy-table td { padding: 12px; text-align: left; border: 1px solid #e5e7eb; }
.policy-table th { background: var(--navy); color: #fff; font-weight: 600; }

.booking-box { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; position: sticky; top: 16px; box-shadow: 0 6px 24px rgba(28,42,93,.07); }
.booking-box-header { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--border); }
.booking-box h3 { font-size: 15px; font-weight: 600; color: rgba(28,42,93,.65); margin-bottom: 10px; line-height: 1.4; }
.booking-box .price-label { font-size: 12px; color: #9ca3af; margin-bottom: 4px; }
.booking-box .price-now { font-size: 28px; font-weight: 800; color: var(--orange); line-height: 1.15; }
.booking-box .price-now .price-unit { font-size: 13px; font-weight: 500; color: #6b7280; margin-left: 2px; }
.booking-box .price-old-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.booking-box .price-old { font-size: 13px; color: #9ca3af; text-decoration: line-through; font-weight: 500; }
.booking-box .price-discount-badge { display: inline-block; background: #fee2e2; color: #dc2626; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }

.wpcf7-form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 420px) { .wpcf7-form-row { grid-template-columns: 1fr 1fr; } }
.wpcf7-form-row > p { min-width: 0; }
.wpcf7-form-row input { width: 100%; min-width: 0; box-sizing: border-box; }
.field-icon { display: block; position: relative; width: 100%; overflow: hidden; border-radius: 6px; }
.field-icon > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 13px; pointer-events: none; z-index: 1; }
.field-icon input { padding-left: 38px !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
.wpcf7-form textarea { padding-left: 12px !important; }

.booking-box-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f3f4f6; }
.booking-box-trust span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6b7280; }
.booking-box-trust i { color: var(--green); font-size: 13px; flex-shrink: 0; }
.wpcf7-form p { margin-bottom: 12px; }
.wpcf7-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.wpcf7-form input[type=text], .wpcf7-form input[type=tel], .wpcf7-form input[type=email], .wpcf7-form input[type=date], .wpcf7-form textarea {
    width: 100%; border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px 12px; font-size: 16px; font-family: inherit; outline: none;
}
.wpcf7-form textarea { height: 112px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,130,32,.12); }
.wpcf7-form input[type=submit] {
    width: 100%; color: #fff; border: none; border-radius: 99px; padding: 14px; margin-top: 4px; font-weight: 600; font-size: 15px; cursor: pointer;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 8px 18px rgba(245,130,32,.3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wpcf7-form input[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245,130,32,.38); }
.wpcf7-not-valid-tip { color: #dc2626; font-size: 12px; margin-top: 4px; }
.wpcf7-response-output { border-radius: 6px; padding: 10px; font-size: 13px; margin-top: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: #fff; }
.footer-perks { display: grid; gap: 16px; margin-bottom: 32px; padding-top: 48px; }
.footer-perk { display: flex; align-items: center; gap: 16px; }
.footer-perk .ic { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-perk h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.footer-perk p, .footer-perk a { font-size: 13px; color: rgba(255,255,255,.75); }
.footer-perk a:hover { color: #fff; }
@media (min-width: 768px) { .footer-perks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-perks { grid-template-columns: repeat(4, 1fr); } }

.footer-cols { display: grid; gap: 32px; border-top: 1px solid rgba(255,255,255,.1); padding: 32px 0; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.7); }
.footer-col ul a:hover { color: #fff; }
.footer-brand img { height: 64px; opacity: .86; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 16px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.footer-contact a { display: block; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-bottom: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(255,255,255,.25); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pay span { background: #fff; color: var(--navy); font-weight: 700; font-size: 12px; padding: 8px 12px; border-radius: 6px; }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 16px; }

/* ==========================================================================
   Pagination (the_posts_pagination — blog/danh mục/tag/danh sách xe)
   ========================================================================== */
.navigation.pagination { margin-top: 8px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 8px;
    border-radius: 6px; border: 1px solid var(--border);
    background: #fff; color: var(--navy); font-size: 14px; font-weight: 600;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
a.page-numbers:hover { background: var(--bg-soft); border-color: var(--navy); }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-numbers.dots { border: none; background: none; color: rgba(28,42,93,.4); min-width: auto; }
.page-numbers.prev, .page-numbers.next { padding: 0 16px; font-weight: 600; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ==========================================================================
   Utility icon sizing
   ========================================================================== */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; line-height: 1; }
i.icon { font-size: 1em; }

/* ==========================================================================
   Blog: single post + sidebar
   ========================================================================== */
.blog-post { padding: 0; overflow: hidden; }
/* Khối nội dung tĩnh (không phải link) — bỏ hiệu ứng hover nâng/đổ bóng kế thừa từ .card */
.blog-post:hover, .blog-sidebar .card:hover { transform: none; box-shadow: none; border-color: var(--border); }
.blog-post-cover { width: 100%; aspect-ratio: 1200/628; background: var(--bg-soft); overflow: hidden; }
.blog-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-head { padding: 20px 20px 16px; border-bottom: 1px solid #f3f4f6; text-align: center; }
.blog-post-title { font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; font-size: 14px; color: #6b7280; }
.blog-post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-post-body { padding: 20px; }

/* Nội dung bài viết (WYSIWYG từ content) — khớp đúng .prose bản gốc */
.prose { color: inherit; }
.prose h1 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 1.5rem 0 1rem; }
.prose h2 { font-size: 18px; font-weight: 600; color: var(--navy); margin-top: 1.5rem; margin-bottom: 0; padding-bottom: 1rem; }
.prose h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 1.25rem 0 .5rem; }
.prose h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin: 1rem 0 .5rem; }
.prose p { font-size: 15px; color: #374151; line-height: 1.75; margin-bottom: .5rem; text-align: justify; }
.prose li { font-size: 15px; color: #374151; line-height: 1.75; text-align: justify; margin: .5rem 0; }
.prose a { font-size: 15px; color: var(--orange); text-decoration: underline; }
.prose a:hover { color: var(--orange-dark); }
.prose strong, .prose b { color: var(--navy); font-weight: 600; }
.prose ul { list-style-type: disc; padding-left: 1.5rem; margin: 1rem 0; }
.prose ol { list-style-type: decimal; padding-left: 1.5rem; margin: 1rem 0; }
.prose img { border-radius: 6px; margin: 1.5rem 0; max-width: 100%; height: auto; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--orange); background: var(--bg-soft); border-radius: 0 6px 6px 0; font-style: italic; color: #374151; }
.prose blockquote p { margin-bottom: 0; }
.prose hr { border: none; border-top: 1px solid #e5e7eb; margin: 2rem 0; }

.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; margin: 1.5rem 0; }
.prose table th, .prose table td { padding: .75rem; text-align: left; border: 1px solid #e5e7eb; font-size: 14px; }
.prose table th { background-color: var(--navy); color: #fff; font-weight: 600; }

.prose .mce-toc, .prose [data-mce-toc] { max-width: 100%; overflow-x: auto; padding: 1rem; margin: 1.5rem 0; background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; }
.prose .mce-toc h2, .prose [data-mce-toc] h2 { font-size: 16px; font-weight: 600; color: var(--navy); margin-top: 0; margin-bottom: .75rem; padding-bottom: .5rem; }
.prose .mce-toc ul, .prose [data-mce-toc] ul { list-style-type: none; padding-left: 0; margin: 0; }
.prose .mce-toc li, .prose [data-mce-toc] li { margin: .5rem 0; padding-left: 1rem; }
.prose .mce-toc a, .prose [data-mce-toc] a { color: var(--navy); text-decoration: none; font-size: 15px; }
.prose .mce-toc a:hover, .prose [data-mce-toc] a:hover { color: var(--orange); text-decoration: underline; }
.blog-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #f3f4f6; }
.blog-post-tags a { font-size: 13px; color: var(--navy); background: var(--bg-soft); padding: 6px 12px; border-radius: 99px; }
.blog-post-tags a:hover { background: #e5e9f0; }

.blog-author-box { display: flex; gap: 16px; margin-top: 24px; padding: 16px; background: linear-gradient(135deg, var(--bg-soft), #fff); border: 1px solid #f3f4f6; border-radius: 8px; }
.blog-author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.blog-author-box h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.blog-author-box p { font-size: 13px; color: #374151; line-height: 1.5; }

.blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 16px; height: fit-content; }
.blog-sidebar .card { display: block; }
.blog-sidebar-img { width: 100%; aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden; }
.blog-sidebar-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-sidebar-body { padding: 16px; }
.blog-sidebar-body p { font-size: 14px; color: #374151; line-height: 1.6; margin-bottom: 16px; }
.blog-sidebar-contact { display: flex; flex-direction: column; gap: 10px; }
.blog-sidebar-contact div { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; }
.blog-sidebar-contact a { color: var(--navy); font-weight: 600; }
.blog-sidebar-recent { padding: 16px; }
.blog-sidebar-recent h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.blog-sidebar-list { display: flex; flex-direction: column; gap: 16px; }
.blog-sidebar-item { display: flex; gap: 12px; align-items: flex-start; transition: opacity .2s ease; }
.blog-sidebar-item:hover { opacity: .8; }
.blog-sidebar-item:hover .blog-sidebar-item-title { color: var(--orange); }
.blog-sidebar-thumb { position: relative; width: 80px; aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; background: var(--bg-soft); flex-shrink: 0; }
.blog-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-sidebar-thumb-date { position: absolute; inset: 0; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 500; }
.blog-sidebar-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.blog-sidebar-item-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.4; transition: color .2s ease; }
.blog-sidebar-item-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; color: #6b7280; font-style: italic; line-height: 1.4; }

.blog-share { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f3f4f6; }
.blog-share-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-right: 4px; }
.blog-share a { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; transition: background-color .2s ease; }
.blog-share a:hover { background: #e5e9f0; }

/* ==========================================================================
   Page Hero — banner đầu trang cho các trang nội dung (Giới thiệu, Liên hệ...)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.5px); background-size: 28px 28px; pointer-events: none; }
.page-hero .breadcrumb { position: relative; z-index: 1; padding: 16px 0; font-size: 13px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,.3); }
.page-hero .breadcrumb .current { color: #fff; font-weight: 600; }
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; padding: 16px 0 56px; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 7px 16px; font-size: 13px; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.page-hero-badge i { color: var(--orange); }
.page-hero h1 { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.page-hero h1 .accent { color: var(--orange); }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.65; }
.page-hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; pointer-events: none; z-index: 1; }
.page-hero-wave svg { display: block; width: 100%; height: 60px; }
@media (min-width: 768px) { .page-hero h1 { font-size: 40px; } .page-hero p { font-size: 17px; } .page-hero-inner { padding: 24px 0 76px; } .page-hero-wave svg { height: 80px; } }

/* Câu chuyện / giới thiệu — badge nổi trên ảnh + checklist */
.intro-badge { position: absolute; bottom: 16px; right: 16px; background: var(--orange); color: #fff; border-radius: 6px; padding: 10px 18px; box-shadow: 0 6px 18px rgba(0,0,0,.18); text-align: center; }
.intro-badge .num { font-size: 22px; font-weight: 700; line-height: 1; }
.intro-badge .label { font-size: 11px; opacity: .9; margin-top: 2px; white-space: nowrap; }
.intro-checklist { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.intro-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; line-height: 1.5; }
.intro-checklist li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* Stat cards */
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px; text-align: center; transition: box-shadow .3s ease; }
.stat-card:hover { box-shadow: 0 6px 18px rgba(28,42,93,.08); }
.stat-card .stat-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.stat-card .stat-num { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.stat-card .stat-label { font-size: 13px; color: rgba(28,42,93,.6); }
.stat-card.tone-blue .stat-icon { background: #dbeafe; color: #2563eb; }
.stat-card.tone-emerald .stat-icon { background: #d1fae5; color: #059669; }
.stat-card.tone-amber .stat-icon { background: #fef3c7; color: #d97706; }
.stat-card.tone-rose .stat-icon { background: #ffe4e6; color: #e11d48; }

/* Value cards (Giá trị cốt lõi) */
.value-card { position: relative; border-radius: 6px; padding: 24px; border: 1px solid; transition: box-shadow .3s ease, transform .3s ease; }
.value-card:hover { box-shadow: 0 10px 24px rgba(28,42,93,.1); transform: translateY(-3px); }
.value-card .value-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: rgba(28,42,93,.65); line-height: 1.6; }
.value-card.tone-blue { background: linear-gradient(135deg,#eff6ff,#eef2ff); border-color: #dbeafe; }
.value-card.tone-blue .value-icon { background: #dbeafe; color: #2563eb; }
.value-card.tone-amber { background: linear-gradient(135deg,#fffbeb,#fff7ed); border-color: #fde68a; }
.value-card.tone-amber .value-icon { background: #fef3c7; color: #d97706; }
.value-card.tone-emerald { background: linear-gradient(135deg,#ecfdf5,#f0fdfa); border-color: #a7f3d0; }
.value-card.tone-emerald .value-icon { background: #d1fae5; color: #059669; }
.value-card.tone-rose { background: linear-gradient(135deg,#fff1f2,#fdf2f8); border-color: #fecdd3; }
.value-card.tone-rose .value-icon { background: #ffe4e6; color: #e11d48; }

/* Commit cards (Cam kết) — số watermark + icon navy */
.commit-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px; overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.commit-card:hover { box-shadow: 0 10px 24px rgba(28,42,93,.1); transform: translateY(-3px); }
.commit-card .commit-num { position: absolute; top: 12px; right: 16px; font-size: 36px; font-weight: 800; color: rgba(28,42,93,.06); line-height: 1; }
.commit-card .commit-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: background-color .3s ease; }
.commit-card:hover .commit-icon { background: var(--orange); }
.commit-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.commit-card p { font-size: 14px; color: rgba(28,42,93,.65); line-height: 1.6; }

/* CTA tối cuối trang (dùng chung Giới thiệu / Liên hệ) */
.cta-dark { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 56px 0; text-align: center; }
.cta-dark h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.cta-dark p { font-size: 15px; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 28px; line-height: 1.6; }
.cta-dark-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 768px) { .cta-dark { padding: 72px 0; } .cta-dark h2 { font-size: 32px; } }

/* ==========================================================================
   Trang Liên hệ
   ========================================================================== */
.contact-info-grid { position: relative; z-index: 2; margin-top: -44px; margin-bottom: 40px; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px; text-align: center; box-shadow: 0 8px 22px rgba(28,42,93,.08); }
.contact-info-card .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.contact-info-card h3 { font-size: 12px; font-weight: 600; color: rgba(28,42,93,.55); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .03em; }
.contact-info-card p { font-size: 14px; font-weight: 600; color: var(--navy); word-break: break-word; }

.contact-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 1.6fr 1fr; } }
.contact-box { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px; }
.contact-box h2 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-box-lead { font-size: 13px; color: rgba(28,42,93,.6); margin-bottom: 20px; }
.contact-form-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }

.contact-quick-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-quick-item:last-child { border-bottom: none; }
.contact-quick-item .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-quick-item .label { font-size: 12px; color: rgba(28,42,93,.55); }
.contact-quick-item .value { font-size: 14px; font-weight: 600; color: var(--navy); }
.contact-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #059669; background: #ecfdf5; padding: 4px 10px; border-radius: 99px; margin-top: 8px; }
.contact-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.contact-map { border-radius: 6px; overflow: hidden; border: 1px solid var(--border); margin-top: 24px; }
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ==========================================================================
   Trang 404
   ========================================================================== */
.error-404-section { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); min-height: 60vh; display: flex; align-items: center; padding: 80px 0; }
.error-404-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.5px); background-size: 28px 28px; pointer-events: none; }
.error-404-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; text-align: center; }
.error-404-code { font-size: 96px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.error-404-inner h1 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.error-404-inner p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: 32px; }
.error-404-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 768px) { .error-404-code { font-size: 140px; } .error-404-inner h1 { font-size: 30px; } }

/* ==========================================================================
   Danh sách xe (archive-car / taxonomy-car_category)
   ========================================================================== */
.car-listing-hero { padding: 20px 0 4px; background: #fff; }
.car-listing-hero h1 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.car-listing-hero p { font-size: 14px; color: #4b5563; max-width: 640px; line-height: 1.6; }

.car-tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 24px; }
.car-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.car-tab { flex-shrink: 0; padding: 9px 18px; border-radius: 99px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); color: var(--navy); background: #fff; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.car-tab:hover { border-color: var(--navy); }
.car-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.car-tabs-count { flex-shrink: 0; font-size: 13px; color: #6b7280; font-weight: 500; white-space: nowrap; }
.car-tabs-count strong { color: var(--navy); }

/* Nội dung SEO danh mục xe (bên dưới danh sách xe) — khối bài viết co giãn + sidebar liên hệ */
.seo-collapse { position: relative; max-height: 280px; overflow: hidden; }
.seo-collapse.expanded { max-height: none; }
.seo-collapse-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 96px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.55) 60%, rgba(255,255,255,.96) 100%); pointer-events: none; }
.seo-collapse-block.is-open .seo-collapse-fade { display: none; }
.seo-collapse-toggle-wrap { display: flex; justify-content: center; margin-top: 20px; }
.seo-collapse-toggle { border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; }
.seo-collapse-toggle-icon { transition: transform .2s ease; }
.seo-collapse-block.is-open .seo-collapse-toggle-icon { transform: rotate(180deg); }

/* ==========================================================================
   Trang tĩnh chung (page.php) — Điều khoản, Chính sách bảo mật...
   ========================================================================== */
.legal-page-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(28,42,93,.05); }
.legal-page-card .prose > *:first-child { margin-top: 0; }
@media (min-width: 768px) { .legal-page-card { padding: 40px; } }

/* ==========================================================================
   Trang Ký gửi xe
   ========================================================================== */
.consignment-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, #0f1a3d 100%); padding: 48px 0 40px; color: #fff; }
.consignment-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.5px); background-size: 28px 28px; pointer-events: none; }
.consignment-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.consignment-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,130,32,.15); border: 1px solid rgba(245,130,32,.3); border-radius: 99px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: #ffcb93; margin-bottom: 16px; }
.consignment-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: consignment-pulse 1.6s ease-in-out infinite; }
@keyframes consignment-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.consignment-hero h1 { font-size: 28px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.consignment-hero h1 .accent { background: linear-gradient(90deg, var(--orange), #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; }
.consignment-hero h1 .sub { display: block; font-size: 18px; font-weight: 400; color: rgba(255,255,255,.85); margin-top: 6px; }
.consignment-hero p { font-size: 14px; color: rgba(219,234,254,.8); line-height: 1.65; margin-bottom: 20px; }
.consignment-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.consignment-hero-trust { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: 13px; color: rgba(219,234,254,.7); }
.consignment-hero-trust span { display: flex; align-items: center; gap: 6px; }
.consignment-hero-trust i { color: #34d399; }
@media (min-width: 768px) { .consignment-hero { padding: 72px 0 64px; } .consignment-hero h1 { font-size: 38px; } .consignment-hero h1 .sub { font-size: 22px; } .consignment-hero p { font-size: 15px; } }

.consignment-value-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px; transition: box-shadow .3s ease, transform .3s ease; }
.consignment-value-card:hover { box-shadow: 0 10px 24px rgba(28,42,93,.1); transform: translateY(-3px); }
.consignment-value-card .icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.consignment-value-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.consignment-value-card p { font-size: 14px; color: rgba(28,42,93,.65); line-height: 1.6; }

.consignment-tabs { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 768px) { .consignment-tabs { grid-template-columns: repeat(3, 1fr); } }
.consignment-tab { display: block; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 18px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.consignment-tab:hover { border-color: var(--orange); box-shadow: 0 6px 18px rgba(28,42,93,.08); }
.consignment-tab .icon-box { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.consignment-tab h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.consignment-tab p { font-size: 13px; color: rgba(28,42,93,.6); line-height: 1.5; }

.consignment-form-box { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; box-shadow: 0 6px 24px rgba(28,42,93,.07); }
@media (min-width: 768px) { .consignment-form-box { padding: 32px; } }
.form-section-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--navy); margin: 24px 0 14px; }
.form-section-title:first-child { margin-top: 0; }
.form-section-num { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wpcf7-form select {
    width: 100%; border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px 12px; font-size: 16px; font-family: inherit; outline: none; background: #fff; color: #1f2937;
}
.consignment-form-note { font-size: 12px; color: #9ca3af; text-align: center; margin-top: 12px; }
