/* ===========================================================
   THUÊ XE KIA CARNIVAL VIP — Design System
   Display: Oswald (dashboard/gauge condensed)
   Body:    Be Vietnam Pro (Vietnamese-native humanist sans)
   =========================================================== */

:root{
  --ink:        #0E1116;
  --ink-2:      #171B22;
  --ink-3:      #1F252E;
  --line-dark:  #2A313C;
  --paper:      #F3EFE6;

  --bg:         #FAF7F1;
  --panel:      #F1EBDD;
  --panel-2:    #E9E1CD;
  --text:       #171308;
  --text-muted: #6B6455;

  --gold:       #B5893A;
  --gold-bright:#C8A24A;
  --ember:      #D9531E;
  --ember-dark: #B8431A;

  --radius: 2px;
  --container: 1180px;

  --shadow-lift: 0 20px 50px -25px rgba(14,17,22,.45);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Be Vietnam Pro', system-ui, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:'Oswald',sans-serif; font-weight:600; letter-spacing:.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{ outline:3px solid var(--ember); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

.container{ max-width:var(--container); margin-inline:auto; padding-inline:24px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Oswald',sans-serif; font-weight:600; text-transform:uppercase;
  letter-spacing:.18em; font-size:12.5px; color:var(--gold);
}
.eyebrow::before{ content:''; width:22px; height:2px; background:var(--ember); display:inline-block; }

.section{ padding:88px 0; }
.section--tight{ padding:56px 0; }
.section--dark{ background:var(--ink); color:var(--paper); }
.section--panel{ background:var(--panel); }

.h1{ font-size:clamp(2.4rem,5.2vw,4.2rem); line-height:1.04; text-transform:uppercase; }
.h2{ font-size:clamp(1.8rem,3.4vw,2.7rem); line-height:1.1; text-transform:uppercase; }
.h3{ font-size:clamp(1.25rem,2vw,1.55rem); line-height:1.2; }
.lede{ font-size:1.15rem; color:var(--text-muted); max-width:56ch; }
.section--dark .lede{ color:#C7C1B4; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:var(--radius); border:1px solid transparent;
  font-family:'Oswald',sans-serif; font-weight:600; text-transform:uppercase; letter-spacing:.08em; font-size:14px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--ember{ background:var(--ember); color:#fff; }
.btn--ember:hover{ background:var(--ember-dark); transform:translateY(-2px); box-shadow:0 14px 30px -14px rgba(217,83,30,.6); }
.btn--ghost{ border-color:var(--line-dark); color:var(--paper); }
.btn--ghost:hover{ border-color:var(--gold-bright); color:var(--gold-bright); }
.btn--outline{ border-color:var(--gold); color:var(--text); }
.btn--outline:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.btn--block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(14,17,22,.94); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-dark);
}
.header-row{ display:flex; align-items:center; justify-content:space-between; padding-block:16px; gap:24px; }
.brand{ display:flex; align-items:center; gap:12px; color:var(--paper); }
.brand-mark{
  width:38px; height:38px; border:1.5px solid var(--gold-bright); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Oswald',sans-serif; font-weight:700; font-size:14px; color:var(--gold-bright);
}
.brand-name{ font-family:'Oswald',sans-serif; font-weight:600; text-transform:uppercase; letter-spacing:.04em; font-size:16px; line-height:1.15; }
.brand-name small{ display:block; font-family:'Be Vietnam Pro'; font-weight:400; text-transform:none; letter-spacing:0; font-size:11px; color:#9AA3AF; }

.main-nav{ display:flex; align-items:center; gap:30px; }
.main-nav a{
  color:#C7C1B4; font-family:'Oswald',sans-serif; font-size:13.5px; text-transform:uppercase; letter-spacing:.07em; font-weight:500;
  position:relative; padding-bottom:4px;
}
.main-nav a::after{ content:''; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--gold-bright); transition:width .2s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after{ width:100%; }
.main-nav a.is-active{ color:var(--paper); }

.header-cta{ display:flex; align-items:center; gap:14px; }
.header-phone{ display:flex; flex-direction:column; align-items:flex-end; color:var(--paper); }
.header-phone span{ font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:#9AA3AF; }
.header-phone strong{ font-family:'Oswald',sans-serif; font-size:17px; letter-spacing:.02em; }

.nav-toggle{ display:none; background:none; border:1px solid var(--line-dark); color:var(--paper); width:42px; height:38px; border-radius:var(--radius); }

/* ---------- Route ticker (signature element) ---------- */
.route-ticker{
  background:var(--ink-2); border-bottom:1px solid var(--line-dark);
  overflow:hidden; white-space:nowrap; position:relative;
}
.route-ticker::before, .route-ticker::after{
  content:''; position:absolute; top:0; bottom:0; width:60px; z-index:2; pointer-events:none;
}
.route-ticker::before{ left:0; background:linear-gradient(90deg,var(--ink-2),transparent); }
.route-ticker::after{ right:0; background:linear-gradient(270deg,var(--ink-2),transparent); }
.route-track{ display:inline-flex; align-items:center; animation:ticker 34s linear infinite; }
.route-track span{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Oswald',sans-serif; font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:#9AA3AF; padding:9px 26px; border-right:1px dashed var(--line-dark);
}
.route-track span b{ color:var(--gold-bright); font-weight:600; }
.route-track span::before{ content:'✦'; color:var(--ember); font-size:9px; }
@keyframes ticker{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- Hero ---------- */
.hero{ background:var(--ink); color:var(--paper); position:relative; overflow:hidden; }
.hero::before{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(560px 320px at 82% 12%, rgba(200,162,74,.16), transparent 60%),
    radial-gradient(700px 420px at 10% 100%, rgba(217,83,30,.12), transparent 60%);
  pointer-events:none;
}
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; padding-block:76px; position:relative; }
.hero-copy .lede{ margin-top:20px; }
.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }

.hero-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:52px; border-top:1px solid var(--line-dark); padding-top:26px; }
.hero-stats div{ padding-inline:20px 0; border-left:1px solid var(--line-dark); }
.hero-stats div:first-child{ border-left:none; padding-left:0; }
.stat-num{ font-family:'Oswald',sans-serif; font-size:clamp(1.7rem,3vw,2.4rem); color:var(--gold-bright); font-weight:600; }
.stat-label{ font-size:12px; letter-spacing:.06em; color:#9AA3AF; text-transform:uppercase; margin-top:4px; }

.hero-visual{ position:relative; }
.gauge-card{
  background:var(--ink-2); border:1px solid var(--line-dark); border-radius:var(--radius);
  padding:34px; box-shadow:var(--shadow-lift);
}
.car-silhouette{ width:100%; height:auto; }
.car-silhouette path{ fill:none; stroke:var(--gold-bright); stroke-width:1.4; }
.car-silhouette .fill{ fill:var(--ink-3); stroke:none; }
.gauge-caption{ display:flex; justify-content:space-between; align-items:flex-end; margin-top:22px; padding-top:18px; border-top:1px dashed var(--line-dark); }
.gauge-caption .rating{ display:flex; align-items:center; gap:12px; }
.rating-ring{ width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:conic-gradient(var(--gold-bright) 0 98%, var(--line-dark) 98% 100%); }
.rating-ring span{ width:44px; height:44px; border-radius:50%; background:var(--ink-2); display:flex; align-items:center; justify-content:center;
  font-family:'Oswald',sans-serif; font-size:13px; color:var(--paper); font-weight:600; }

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap:26px; }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
.grid--4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:#fff; border:1px solid var(--panel-2); border-radius:var(--radius); padding:30px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lift); border-color:var(--gold); }
.card-index{ font-family:'Oswald',sans-serif; color:var(--gold); font-size:12px; letter-spacing:.1em; }
.card-icon{
  width:48px; height:48px; border-radius:50%; border:1.5px solid var(--gold); color:var(--gold);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; font-size:20px;
}
.card h3{ margin-top:10px; margin-bottom:10px; }
.card p{ color:var(--text-muted); font-size:14.5px; }

.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:44px; }
.section-head .h2{ margin-top:12px; }

/* ---------- Pricing ---------- */
.price-table{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.price-card{ background:var(--ink); color:var(--paper); border-radius:var(--radius); padding:34px; border:1px solid var(--line-dark); position:relative; }
.price-card--feat{ border-color:var(--gold-bright); background:linear-gradient(165deg,var(--ink-2),var(--ink)); }
.price-card--feat .price-badge{
  position:absolute; top:-13px; right:24px; background:var(--ember); color:#fff; font-family:'Oswald',sans-serif;
  font-size:11px; letter-spacing:.08em; text-transform:uppercase; padding:5px 12px; border-radius:2px;
}
.price-name{ font-family:'Oswald',sans-serif; text-transform:uppercase; letter-spacing:.08em; color:var(--gold-bright); font-size:13px; }
.price-value{ font-family:'Oswald',sans-serif; font-size:2.5rem; margin-top:10px; }
.price-value span{ font-size:.9rem; color:#9AA3AF; font-family:'Be Vietnam Pro'; }
.price-list{ margin-top:22px; display:flex; flex-direction:column; gap:11px; border-top:1px dashed var(--line-dark); padding-top:20px; }
.price-list li{ display:flex; gap:10px; font-size:14px; color:#DAD5C7; }
.price-list li::before{ content:'—'; color:var(--gold-bright); }
.price-card .btn{ margin-top:26px; }

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.steps::before{ content:''; position:absolute; top:24px; left:0; right:0; height:1px; background:repeating-linear-gradient(90deg,var(--line-dark) 0 10px, transparent 10px 18px); }
.step{ position:relative; padding-right:20px; }
.step-num{ width:48px; height:48px; border-radius:50%; background:var(--ink); color:var(--gold-bright); display:flex; align-items:center; justify-content:center; font-family:'Oswald',sans-serif; font-weight:600; position:relative; z-index:1; }
.step h4{ margin-top:18px; font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:15px; letter-spacing:.03em; }
.step p{ margin-top:8px; font-size:14px; color:var(--text-muted); }

/* ---------- Testimonials ---------- */
.testi{ background:#fff; border:1px solid var(--panel-2); border-radius:var(--radius); padding:28px; }
.testi-stars{ color:var(--gold); letter-spacing:2px; font-size:14px; }
.testi p{ margin-top:16px; font-size:14.5px; color:var(--text); }
.testi-who{ margin-top:20px; display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:42px; height:42px; border-radius:50%; background:var(--ink); color:var(--gold-bright); display:flex; align-items:center; justify-content:center; font-family:'Oswald',sans-serif; font-weight:600; }
.testi-who strong{ display:block; font-size:14px; }
.testi-who span{ font-size:12px; color:var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--panel-2); }
.faq-q{ width:100%; background:none; border:none; display:flex; justify-content:space-between; align-items:center; padding:22px 0; text-align:left; font-family:'Oswald',sans-serif; font-size:16px; text-transform:uppercase; letter-spacing:.02em; }
.faq-q::after{ content:'+'; font-size:22px; color:var(--gold); transition:transform .2s ease; }
.faq-item.is-open .faq-q::after{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.is-open .faq-a{ max-height:400px; }
.faq-a p{ padding-bottom:22px; color:var(--text-muted); max-width:70ch; }

/* ---------- Contact / forms ---------- */
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:7px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:13px 15px; border:1px solid var(--panel-2); border-radius:var(--radius); background:#fff; font-family:inherit; font-size:14.5px; color:var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--gold); }

.info-line{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line-dark); }
.info-line b{ color:var(--gold-bright); font-family:'Oswald',sans-serif; font-size:12px; text-transform:uppercase; letter-spacing:.08em; min-width:88px; }

/* ---------- CTA band ---------- */
.cta-band{ background:linear-gradient(120deg,var(--ink),#1b1f14); color:var(--paper); text-align:center; padding:70px 0; }
.cta-band .h2{ max-width:16ch; margin-inline:auto; }
.cta-band .btn{ margin-top:30px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#9AA3AF; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid var(--line-dark); }
.footer-brand p{ margin-top:16px; font-size:13.5px; line-height:1.7; max-width:36ch; }
.footer-col h5{ font-family:'Oswald',sans-serif; text-transform:uppercase; letter-spacing:.08em; font-size:12.5px; color:var(--paper); margin-bottom:18px; }
.footer-col li{ margin-bottom:11px; font-size:13.5px; }
.footer-col a:hover{ color:var(--gold-bright); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border:1px solid var(--line-dark); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; }
.footer-social a:hover{ border-color:var(--gold-bright); color:var(--gold-bright); }
.footer-bottom{ display:flex; justify-content:space-between; padding:22px 0; font-size:12.5px; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ margin-left:18px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ background:var(--ink-2); border-bottom:1px solid var(--line-dark); }
.breadcrumb ul{ display:flex; gap:8px; padding-block:14px; font-size:12.5px; color:#9AA3AF; }
.breadcrumb a:hover{ color:var(--gold-bright); }
.breadcrumb li:not(:last-child)::after{ content:'/'; margin-left:8px; color:var(--line-dark); }

/* ---------- Rate table ---------- */
.rate-table{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--panel-2); border-radius:var(--radius); overflow:hidden; }
.rate-table th, .rate-table td{ padding:14px 18px; text-align:left; font-size:14.5px; border-bottom:1px solid var(--panel-2); }
.rate-table th{ font-family:'Oswald',sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:12px; color:var(--gold); background:var(--panel); }
.rate-table td:not(:first-child){ font-family:'Oswald',sans-serif; font-variant-numeric:tabular-nums; color:var(--text); }
.rate-table tr:last-child td{ border-bottom:none; }
.rate-table tr:hover td{ background:var(--panel); }
.table-scroll{ overflow-x:auto; }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0 !important; }
.center{ text-align:center; }
.pill{ display:inline-block; padding:5px 14px; border:1px solid var(--gold); border-radius:20px; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); font-family:'Oswald',sans-serif; }
.divider-dashed{ border:none; border-top:1px dashed var(--panel-2); margin:20px 0; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.badge-list{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.badge-list span{ font-size:12px; padding:7px 13px; border:1px solid var(--panel-2); border-radius:20px; color:var(--text-muted); }

.blog-card img, .blog-card .thumb{ border-radius:var(--radius); margin-bottom:18px; }
.thumb{ aspect-ratio:16/10; background:linear-gradient(140deg,var(--ink),var(--ink-3)); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.thumb svg{ width:46%; opacity:.85; }
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- Photo frame (real vehicle photography) ---------- */
.photo-frame{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line-dark); box-shadow:var(--shadow-lift); }
.photo-frame img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-frame--tall{ aspect-ratio:4/5; }
.photo-frame--wide{ aspect-ratio:16/10; }
.photo-frame--square{ aspect-ratio:1/1; }
.hero-visual .photo-frame{ aspect-ratio:4/5; }

.photo-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.photo-grid .photo-frame:first-child{ grid-column:span 2; grid-row:span 2; }
.photo-caption{ margin-top:10px; font-size:12.5px; color:var(--text-muted); }
.section--dark .photo-caption{ color:#9AA3AF; }

@media (max-width:640px){
  .photo-grid{ grid-template-columns:1fr 1fr; }
  .photo-grid .photo-frame:first-child{ grid-column:span 2; grid-row:auto; aspect-ratio:16/10; }
}
.post-meta{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--gold); font-family:'Oswald',sans-serif; }
.prose{ max-width:74ch; font-size:16px; line-height:1.85; }
.prose h2{ text-transform:none; font-size:1.5rem; margin-top:44px; margin-bottom:14px; }
.prose h3{ margin-top:30px; margin-bottom:10px; font-family:'Oswald',sans-serif; text-transform:none; }
.prose p{ margin-bottom:18px; color:var(--text); }
.prose ul{ margin-bottom:18px; }
.prose li{ position:relative; padding-left:22px; margin-bottom:9px; color:var(--text); }
.prose li::before{ content:'—'; position:absolute; left:0; color:var(--gold); }

/* ---------- Mobile sticky call/Zalo ---------- */
.mobile-cta{ display:none; }
@media (max-width:980px){
  .mobile-cta{
    display:flex; flex-direction:column; gap:10px;
    position:fixed; left:16px; bottom:16px; z-index:60;
  }
  .mobile-cta__btn{
    width:52px; height:52px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 24px -8px rgba(0,0,0,.45);
    font-size:22px; color:#fff;
  }
  .mobile-cta__btn--call{ background:var(--ember); animation:pulse-call 2.2s ease-in-out infinite; }
  .mobile-cta__btn--zalo{ background:#0068FF; font-family:'Oswald',sans-serif; font-weight:700; font-size:13px; letter-spacing:.02em; }
}
@keyframes pulse-call{
  0%, 100%{ box-shadow:0 10px 24px -8px rgba(0,0,0,.45), 0 0 0 0 rgba(217,83,30,.55); }
  50%{ box-shadow:0 10px 24px -8px rgba(0,0,0,.45), 0 0 0 10px rgba(217,83,30,0); }
}
@media (prefers-reduced-motion: reduce){
  .mobile-cta__btn--call{ animation:none; }
}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .main-nav{ display:none; }
  .nav-toggle{ display:block; }
  .header-phone{ display:none; }
  .hero-grid{ grid-template-columns:1fr; padding-block:52px; }
  .hero-stats{ grid-template-columns:repeat(3,1fr); }
  .grid--3, .grid--4, .price-table{ grid-template-columns:1fr 1fr; }
  .steps{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .steps::before{ display:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .two-col{ grid-template-columns:1fr; gap:36px; }
}
@media (max-width:640px){
  .section{ padding:60px 0; }
  .grid--3, .grid--4, .price-table, .grid--2{ grid-template-columns:1fr; }
  .hero-stats{ grid-template-columns:1fr; gap:16px; }
  .hero-stats div{ border-left:none; border-top:1px solid var(--line-dark); padding-top:16px; padding-left:0; }
  .steps{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; }
  .section-head{ flex-direction:column; align-items:flex-start; }
}
