/* Cần Thơ Ford v1.4.0 — final visual consistency pass */
:root{
  --fsk-navy:#001b3f;
  --fsk-blue:#0068d7;
  --fsk-blue-hover:#0058b8;
  --fsk-text:#101820;
  --fsk-muted:#647386;
  --fsk-line:#dce5ee;
  --fsk-soft:#f4f7fa;
  --fsk-radius:8px;
  --fsk-shadow:0 14px 34px rgba(0,35,78,.10);
}

/* Header / primary navigation */
.site-header{
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #e1e7ee!important;
  box-shadow:0 3px 14px rgba(0,27,63,.045);
  backdrop-filter:blur(16px) saturate(1.08);
}
.site-header .header-inner{height:74px!important;gap:24px!important}
.site-header .brand{min-width:170px!important}
.site-header .brand-logo-img{height:50px!important;width:118px!important;object-fit:contain!important}
.site-header .primary-nav{
  align-items:center;
  gap:4px!important;
  padding:5px;
  border:1px solid #e4eaf0;
  border-radius:999px;
  background:#f7f9fb;
  flex:0 1 auto;
  margin:auto;
}
.site-header .primary-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px!important;
  border:0!important;
  border-radius:999px;
  color:#394b60;
  font-size:13px;
  font-weight:650;
  line-height:1;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.site-header .primary-nav a:hover,
.site-header .primary-nav a:focus-visible{
  color:var(--fsk-navy)!important;
  background:#e9f2fb;
  transform:translateY(-1px);
}
.site-header .primary-nav a.is-current,
.site-header .primary-nav a[aria-current="page"]{
  color:#fff!important;
  background:var(--fsk-blue)!important;
  box-shadow:0 5px 14px rgba(0,104,215,.18);
}
.site-header .header-actions{gap:10px!important}
.site-header .phone-link{font-size:12.5px!important;font-weight:700;color:var(--fsk-navy)}

/* Global type scale */
.eyebrow,
.ranger-page .eyebrow,
.everest-page .eyebrow,
.territory-page .eyebrow,
.transit-page .eyebrow,
.mustang-page .eyebrow,
.home .eyebrow{
  font-size:12.5px!important;
  line-height:1.25!important;
  letter-spacing:.15em!important;
  font-weight:800!important;
}
.ranger-page .section-head h2,
.everest-page .section-head h2,
.territory-page .section-head h2,
.transit-page .section-head h2,
.mustang-page .section-head h2,
.home .section-head h2{
  font-size:clamp(38px,3.5vw,54px)!important;
  line-height:1.01!important;
  letter-spacing:-.04em!important;
  font-weight:700!important;
}
.ranger-hero-copy h1,
.everest-overview-copy h1,
.territory-hero-copy h1,
.transit-hero-copy h1,
.mustang-hero-copy h1{
  font-size:clamp(48px,4.5vw,66px)!important;
  line-height:.96!important;
  letter-spacing:-.045em!important;
}
.ranger-page .section-head>p,
.everest-page .section-head>p,
.territory-page .section-head>p,
.transit-page .section-head>p,
.mustang-page .section-head>p,
.home .section-head>p{
  color:var(--fsk-muted)!important;
  font-size:14px!important;
  line-height:1.65!important;
}

/* Unified buttons */
.btn,
.ranger-page .btn,
.everest-page .btn,
.territory-page .btn,
.transit-page .btn,
.mustang-page .btn{
  min-height:44px;
  height:44px;
  padding:0 17px;
  border-radius:4px!important;
  font-size:12.5px;
  font-weight:750;
  line-height:1!important;
  letter-spacing:0;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease!important;
}
.btn-primary:hover,.btn-primary:focus-visible{
  background:var(--fsk-blue-hover)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 7px 17px rgba(0,104,215,.16)!important;
}
.btn-ghost:hover,.btn-ghost:focus-visible{
  border-color:var(--fsk-blue)!important;
  color:var(--fsk-blue)!important;
  transform:translateY(-1px)!important;
}
.btn-small{min-height:38px!important;height:38px!important;padding:0 14px!important;font-size:11.5px!important}

/* Section rhythm and panels */
.ranger-page .section,
.everest-page .section,
.territory-page .section,
.transit-page .section,
.mustang-page .section{padding-top:82px;padding-bottom:82px}
.ranger-page .section-head,
.everest-page .section-head,
.territory-page .section-head,
.transit-page .section-head,
.mustang-page .section-head,
.home .section-head{margin-bottom:34px!important}

/* Vehicle local navs */
.ranger-localnav,
.everest-localnav,
.territory-localnav,
.transit-localnav,
.mustang-localnav{
  border-bottom:1px solid #dfe6ed!important;
  box-shadow:0 3px 10px rgba(0,27,63,.035)!important;
}
.ranger-localnav a:not(.btn),
.everest-localnav a:not(.btn),
.territory-localnav a:not(.btn),
.transit-localnav a:not(.btn),
.mustang-localnav a:not(.btn){
  font-size:12.5px!important;
  font-weight:650!important;
}

/* Transit configurator gains the same price hierarchy as the other vehicle pages */
.transit-panel-price{
  display:grid;
  gap:4px;
  margin:18px 0 2px;
  padding:16px 0;
  border-top:1px solid var(--tt-line,#dce5ee);
  border-bottom:1px solid var(--tt-line,#dce5ee);
}
.transit-panel-price span{
  font-size:9.5px;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:#7b8795;
  font-weight:700;
}
.transit-panel-price strong{
  color:var(--tt-navy,#001b3f);
  font-size:23px;
  line-height:1.15;
}

/* Homepage vehicle cards: equal visual mass and smoother feedback */
.home-model-card{
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.home-model-card:hover{
  transform:translateY(-3px);
  border-color:#c8d7e6!important;
  box-shadow:0 16px 32px rgba(0,35,78,.08);
}
.home-model-image img{transition:transform .2s ease!important}
.home-model-card:hover .home-model-image img{transform:scale(1.025)}
#territory .home-model-image img{transform:scale(1.12)}
#mustang-mach-e .home-model-image img{transform:scale(1.14)}
#territory:hover .home-model-image img{transform:scale(1.145)}
#mustang-mach-e:hover .home-model-image img{transform:scale(1.165)}
.home-model-body h3{font-weight:600!important}

/* Contact popup / back-to-top */
.site-contact-fab>summary{
  width:52px!important;
  height:52px!important;
  border:1px solid rgba(255,255,255,.94)!important;
  background:linear-gradient(180deg,#0b78e6,#0068d7)!important;
  box-shadow:0 12px 28px rgba(0,55,120,.22)!important;
}
.site-contact-fab>summary:hover{transform:translateY(-2px) scale(1.02)!important}
.site-contact-fab-icon,
.site-contact-action-icon{font-size:0!important}
.site-contact-fab-icon svg{width:22px;height:22px;fill:currentColor}
.site-contact-action-icon svg{width:20px;height:20px;fill:currentColor}
.site-contact-zalo-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.site-contact-zalo-icon .z-mark{fill:none;stroke:currentColor;stroke-width:1.7}
.site-contact-fab-panel{
  width:244px!important;
  gap:6px!important;
  padding:9px!important;
  border-radius:12px!important;
  box-shadow:0 18px 42px rgba(0,27,63,.17)!important;
}
.site-contact-action{min-height:56px!important;border-radius:9px!important}
.site-contact-action-icon{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
  background:#edf5ff!important;
  color:var(--fsk-blue)!important;
}
.site-contact-zalo-icon{background:#eaf5ff!important;color:#0b8cff!important}
.site-back-to-top{
  width:46px!important;
  height:46px!important;
  border:1px solid #d5e0ea!important;
  box-shadow:0 9px 22px rgba(0,27,63,.11)!important;
}
.site-back-to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Focus states */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(0,104,215,.22)!important;
  outline-offset:2px!important;
}

/* Responsive feel */
@media(max-width:1180px){
  .site-header .primary-nav{gap:2px!important}
  .site-header .primary-nav a{padding:0 11px!important;font-size:12.5px}
  .site-header .brand{min-width:145px!important}
}
@media(max-width:980px){
  .site-header .header-inner{height:66px!important}
  .site-header .brand-logo-img{width:100px!important;height:46px!important}
  .site-header .primary-nav{
    top:66px!important;
    left:14px!important;
    right:14px!important;
    padding:8px!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 18px 42px rgba(0,27,63,.14)!important;
  }
  .site-header .primary-nav a{
    justify-content:flex-start;
    min-height:42px;
    padding:0 13px!important;
    border-radius:8px;
  }
  .ranger-page .section-head h2,
  .everest-page .section-head h2,
  .territory-page .section-head h2,
  .transit-page .section-head h2,
  .mustang-page .section-head h2,
  .home .section-head h2{font-size:clamp(36px,5vw,46px)!important}
}
@media(max-width:640px){
  .eyebrow,
  .ranger-page .eyebrow,
  .everest-page .eyebrow,
  .territory-page .eyebrow,
  .transit-page .eyebrow,
  .mustang-page .eyebrow,
  .home .eyebrow{font-size:11.5px!important;letter-spacing:.14em!important}
  .ranger-hero-copy h1,
  .everest-overview-copy h1,
  .territory-hero-copy h1,
  .transit-hero-copy h1,
  .mustang-hero-copy h1{font-size:40px!important;line-height:.98!important}
  .ranger-page .section-head h2,
  .everest-page .section-head h2,
  .territory-page .section-head h2,
  .transit-page .section-head h2,
  .mustang-page .section-head h2,
  .home .section-head h2{font-size:34px!important;line-height:1.03!important}
  .btn,.ranger-page .btn,.everest-page .btn,.territory-page .btn,.transit-page .btn,.mustang-page .btn{
    min-height:44px;height:44px;font-size:12px;padding:0 14px;
  }
  .site-contact-fab{right:12px!important;bottom:122px!important}
  .site-contact-fab>summary{width:46px!important;height:46px!important}
  .site-back-to-top{right:14px!important;bottom:68px!important;width:42px!important;height:42px!important}
  .transit-panel-price strong{font-size:21px}
  #territory .home-model-image img{transform:scale(1.08)}
  #mustang-mach-e .home-model-image img{transform:scale(1.1)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
.vehicle-price-note{
  display:block;
  margin-top:7px;
  color:#7d8997;
  font-size:9.5px;
  line-height:1.45;
  font-weight:500;
}

/* Missing-media safety: avoid huge grey placeholders in editorial card rows. */
.ranger-story-rail article:has(.fsk-media-placeholder) .fsk-media-frame,
.territory-feature-grid article:has(.fsk-media-placeholder) .fsk-media-frame,
.transit-feature-grid article:has(.fsk-media-placeholder) .fsk-media-frame,
.mustang-feature-grid article:has(.fsk-media-placeholder) .fsk-media-frame,
.mustang-tech-grid article:has(.fsk-media-placeholder) .fsk-media-frame{
  display:none!important;
}
.ranger-story-rail article:has(.fsk-media-placeholder),
.territory-feature-grid article:has(.fsk-media-placeholder),
.transit-feature-grid article:has(.fsk-media-placeholder),
.mustang-feature-grid article:has(.fsk-media-placeholder),
.mustang-tech-grid article:has(.fsk-media-placeholder){
  min-height:0!important;
  padding-top:22px!important;
}
.everest-media-section figure:has(img[hidden]){display:none!important}
