/* FORD DIGITAL V2 — Premium White P3, 2026-11-04.
 * Presentation-only layer. The existing templates, media mapping, routing, tax,
 * financial formulae, and Vehicle Detail data contracts are unchanged.
 * This stylesheet is enqueued AFTER P2 and page-specific styles.
 */
:root {
  --ctf-premium-white: #ffffff;
  --ctf-premium-canvas: #f5f7fa;
  --ctf-premium-ink: #0d2038;
  --ctf-premium-copy: #536a81;
  --ctf-premium-blue: #075bd8;
  --ctf-premium-border: #e2e9f0;
  --ctf-premium-radius: 20px;
  --ctf-premium-hover: cubic-bezier(.22,.72,.24,1);
}
/* Page-level legibility and consistent accessible interactions */
:is(.ctf-service-v2,.ctf-buy-page,.ctf-corporate-page) {
  color:var(--ctf-premium-ink); background:#fff;
}
:is(.ctf-service-v2,.ctf-buy-page,.ctf-corporate-page) :is(a,button,input,select):focus-visible {
  outline:3px solid #83b7ff;outline-offset:3px;
}
:is(.ctf-service-v2,.ctf-buy-page,.ctf-corporate-page) :is(h1,h2,h3) {
  text-wrap:balance;
}
/* SERVICE — editorial rhythm: spotlight -> discovery -> compact specialist chapters */
.ctf-service-v2 {
  --sv-navy:var(--ctf-premium-ink);
  --sv-blue:var(--ctf-premium-blue);
  --sv-muted:var(--ctf-premium-copy);
  --sv-border:var(--ctf-premium-border);
  --sv-soft:var(--ctf-premium-canvas);
}
.ctf-service-v2 .ctf-sv-breadcrumb{color:#70849a;padding-block:18px;}
.ctf-service-v2 .ctf-sv-hero{padding:0 0 22px;}
.ctf-service-v2 .ctf-sv-hero-grid{
  border:0;border-radius:24px;background:#f5f7fa;min-height:530px;
  grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);box-shadow:none;
}
.ctf-service-v2 .ctf-sv-hero-copy{padding:clamp(35px,4.7vw,73px);}
.ctf-service-v2 .ctf-sv-hero-copy .ctf-kicker{font-size:11px;letter-spacing:.14em;margin-bottom:21px;}
.ctf-service-v2 .ctf-sv-hero h1{
  font-size:clamp(43px,4.3vw,64px);font-weight:800;
  letter-spacing:-.062em;line-height:1.09;max-width:650px;
}
.ctf-service-v2 .ctf-sv-hero h1 em{color:#075bd8;}
.ctf-service-v2 .ctf-sv-hero-copy>p{font-size:15px;line-height:1.75;max-width:450px;margin-top:22px;}
.ctf-service-v2 .ctf-sv-hero-visual{min-height:510px;background-position:center center;}
.ctf-service-v2 .ctf-sv-photo-tag{font-size:10px;letter-spacing:.09em;}
.ctf-service-v2 .ctf-sv-actions{margin-top:27px;gap:10px;}
.ctf-service-v2 .ctf-sv-actions .ctf-btn{min-height:46px;padding:12px 19px;font-size:12.5px;}
.ctf-service-v2 .ctf-sv-hero-phone{margin-top:22px;}
/* Quiet on-page sticky navigation. Mobile stays scrollable, never wraps. */
.ctf-service-v2 .ctf-sv-nav{
  border-block:1px solid #e8edf2;background:rgba(255,255,255,.965);
  box-shadow:none;backdrop-filter:blur(18px);
}
.ctf-service-v2 .ctf-sv-nav-inner{min-height:63px;}
.ctf-service-v2 .ctf-sv-nav-link{font-size:12px;font-weight:720;letter-spacing:-.01em;padding:10px 15px;}
.ctf-service-v2 .ctf-sv-nav-link:is(.is-active,[aria-current="location"]){background:#eaf2fd;color:#075bd8;}
.ctf-service-v2 [data-service-section],.ctf-service-v2 #service-contact{scroll-margin-top:calc(var(--ctf-header-offset,82px) + 75px);}
.ctf-service-v2 .ctf-sv-section{padding-block:clamp(60px,6.3vw,98px);}
.ctf-service-v2 .ctf-sv-section--tint{background:#f6f8fa;}
.ctf-service-v2 .ctf-sv-heading{margin-bottom:35px;}
.ctf-service-v2 .ctf-sv-heading h2,
.ctf-service-v2 .ctf-sv-maintenance-copy h2,
.ctf-service-v2 .ctf-sv-parts-layout h2,
.ctf-service-v2 .ctf-sv-insurance-copy h2,
.ctf-service-v2 .ctf-sv-roadside h2,
.ctf-service-v2 .ctf-sv-final h2{
  font-size:clamp(32px,3.55vw,49px);letter-spacing:-.052em;
  line-height:1.14;font-weight:800;
}
.ctf-service-v2 .ctf-sv-heading p,
.ctf-service-v2 .ctf-sv-maintenance-copy>p,
.ctf-service-v2 .ctf-sv-insurance-copy>p,
.ctf-service-v2 .ctf-sv-roadside p,
.ctf-service-v2 .ctf-sv-final p{
  color:var(--ctf-premium-copy);font-size:15px;line-height:1.72;
}
/* Promotions are square media, no arbitrary crop or separate detail URL. */
.ctf-service-v2 .ctf-sv-poster-track{gap:18px;scrollbar-width:none;padding-bottom:12px;}
.ctf-service-v2 .ctf-sv-poster-track::-webkit-scrollbar{display:none;}
.ctf-service-v2 .ctf-sv-promo-card{flex-basis:calc((100% - 36px)/3);}
.ctf-service-v2 .ctf-sv-promo-open{border-radius:17px;overflow:hidden;}
.ctf-service-v2 .ctf-sv-promo-open img{aspect-ratio:1/1;object-fit:contain;}
.ctf-service-v2 .ctf-sv-carousel-controls button{
  background:#fff;border-color:#d4e1ed;color:#16456e;transition:background .2s,border-color .2s;
}
.ctf-service-v2 .ctf-sv-carousel-controls button:hover{background:#eef5fc;border-color:#afc9e1;}
.ctf-service-v2 .ctf-sv-promo-empty{
  background:#f5f8fb;border:0;border-radius:21px;box-shadow:none;min-height:280px;
}
.ctf-service-v2 .ctf-sv-promo-empty-stage{border-radius:14px;}
/* Bảo dưỡng uses one excellent full-height image instead of repeated image/text rows. */
.ctf-service-v2 .ctf-sv-maintenance-layout{gap:clamp(30px,5vw,85px);}
.ctf-service-v2 .ctf-sv-maintenance-photo{min-height:530px;border-radius:22px;}
.ctf-service-v2 .ctf-sv-benefits{margin-top:25px;}
.ctf-service-v2 .ctf-sv-benefits>div{padding-block:16px;grid-template-columns:36px 1fr;}
.ctf-service-v2 .ctf-sv-benefits strong{font-size:14px;line-height:1.45;}
.ctf-service-v2 .ctf-sv-benefits small{font-size:12px;line-height:1.65;}
.ctf-service-v2 .ctf-sv-maintenance-also{padding-top:16px;}
.ctf-service-v2 .ctf-sv-inline-actions{margin-top:25px;}
/* Warranty: two distinct but balanced information blocks */
.ctf-service-v2 .ctf-sv-warranty-grid{gap:17px;}
.ctf-service-v2 .ctf-sv-warranty-card{
  border-color:#e3eaf0;border-radius:21px;min-height:265px;padding:34px 35px;
  background:#fff;box-shadow:none;
}
.ctf-service-v2 .ctf-sv-warranty-card--soft{background:#f5f8fb;border-color:#f5f8fb;}
.ctf-service-v2 .ctf-sv-warranty-card h3{font-size:clamp(23px,2.4vw,30px);letter-spacing:-.04em;}
.ctf-service-v2 .ctf-sv-warranty-card p{font-size:14px;line-height:1.7;max-width:490px;}
/* Single dark chapter deliberately retains Ford identity, not a repeated dark card. */
.ctf-service-v2 .ctf-sv-section--parts{background:#102c4b;padding-block:clamp(58px,5.4vw,80px);}
.ctf-service-v2 .ctf-sv-parts-points>div{border-color:rgba(255,255,255,.15);}
/* Insurance + partner logos: no invented partner endorsements */
.ctf-service-v2 .ctf-sv-insurance-partners{
  background:#f6f8fa;border:0;border-radius:21px;padding:32px;
}
.ctf-service-v2 .ctf-sv-insurance-types>div{padding-block:15px;}
.ctf-service-v2 .ctf-sv-insurance-types strong{font-size:13px;}
.ctf-service-v2 .ctf-sv-insurance-types span{font-size:12px;}
.ctf-service-v2 .ctf-sv-partners-pending{padding:25px;}
/* Car Care: clean four-up square artwork and shared text rhythm */
.ctf-service-v2 .ctf-sv-care-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 17px;}
.ctf-service-v2 .ctf-sv-care-art{border:0;border-radius:17px;background:#edf3f9;aspect-ratio:1/1;}
.ctf-service-v2 .ctf-sv-care-body{padding:16px 2px 0;}
.ctf-service-v2 .ctf-sv-care-body h3{font-size:17px;font-weight:780;line-height:1.38;}
.ctf-service-v2 .ctf-sv-care-body p{font-size:12.5px;line-height:1.6;}
.ctf-service-v2 .ctf-sv-roadside{background:#edf4fb;}
.ctf-service-v2 .ctf-sv-roadside-call{border:0;background:#fff;border-radius:21px;box-shadow:none;}
.ctf-service-v2 .ctf-sv-final{padding-bottom:50px;}
/* FINANCE — harmonize shell and UI components, DO NOT CHANGE calculator logic */
.ctf-buy-page{background:#fff;}
.ctf-buy-intro{background:#f5f7fa;padding-block:clamp(60px,6.6vw,94px);border-bottom:0;}
.ctf-buy-intro__grid{gap:clamp(25px,4vw,70px);}
.ctf-buy-intro h1{font-size:clamp(40px,4.45vw,62px);font-weight:800;line-height:1.1;letter-spacing:-.06em;}
.ctf-buy-intro p{font-size:15px;color:var(--ctf-premium-copy);line-height:1.75;}
.ctf-buy-intro__art{background:radial-gradient(ellipse at 50% 68%,#e1eaf4,#f5f7fa 70%);border-radius:22px;}
.ctf-buy-intro__marks span{background:#fff;border:1px solid #e1e8f1;color:#456a91;}
.ctf-buy-layout{gap:25px;padding-top:clamp(28px,4vw,56px);}
.ctf-buy-panel,.ctf-buy-results,.ctf-buy-schedule{
  border:1px solid #e3eaf0;border-radius:21px;background:#fff;box-shadow:none;
}
.ctf-buy-panel{padding:clamp(22px,3vw,42px);}
.ctf-buy-results{padding:clamp(22px,2.3vw,32px);}
.ctf-buy-section-head{margin-bottom:24px;}
.ctf-buy-section-head h2{font-size:clamp(25px,2.4vw,32px);font-weight:800;letter-spacing:-.045em;}
.ctf-buy-section-head p{font-size:13.5px;line-height:1.7;}
.ctf-buy-fields{gap:18px 15px;}
.ctf-buy-fields label{font-size:13px;}
.ctf-buy-fields :is(input,select){height:48px;border:1px solid #d5e0ec;border-radius:11px;background:#fff;font-size:14px;}
.ctf-buy-fields :is(input,select):focus-visible{box-shadow:0 0 0 3px rgba(7,91,216,.1);}
.ctf-buy-option,.ctf-buy-mode label{border-radius:14px;border-color:#e2e9f1;}
.ctf-buy-mode label.is-current{background:#f1f6fd;border-color:#a9c9f0;}
.ctf-buy-option:has(input[type="checkbox"]:checked){background:#f9fbff;border-color:#bed5ed;}
.ctf-buy-amount{color:#075bd8;font-weight:820;}
.ctf-buy-summary-split{background:#f5f8fc;border-color:#e4ecf4;border-radius:13px;}
.ctf-buy-results__caution{background:#f2f7fd;}
.ctf-buy-copy,.ctf-buy-call,.ctf-buy-schedule-toggle{border-radius:999px;min-height:46px;}
.ctf-buy-call{background:#075bd8;}
.ctf-buy-table-wrap th{background:#f1f5f9;}
.ctf-buy-table-wrap tr:hover td{background:#f8fbfe;}
/* CORPORATE PAGE SHELL — content remains from current WordPress/Core */
.ctf-corporate-page .ctf-page-hero{background:#f5f7fa;}
.ctf-corporate-page .ctf-page-hero-grid{gap:clamp(20px,4vw,55px);}
.ctf-corporate-page .ctf-page-hero h1{
  font-size:clamp(40px,4.1vw,61px);line-height:1.1;letter-spacing:-.06em;font-weight:800;
}
.ctf-corporate-page .ctf-page-hero p{font-size:15px;line-height:1.7;color:#526a81;}
.ctf-corporate-page .ctf-page-hero-mark{color:#075bd8;opacity:.11;}
.ctf-corporate-page .ctf-content-card,
.ctf-corporate-page .ctf-accessory-product-v2{border-radius:20px;border-color:#e4eaf1;box-shadow:none;}
.ctf-corporate-page .ctf-inline-link{color:#075bd8;}
/* Product detail uses existing LOCKED layouts/data: only inherited typography,
   already-shared buttons/header/footer are aligned. No card or image overrides. */
/* Responsive contracts are explicit so shared desktop rules cannot leak down. */
@media(max-width:1024px){
  .ctf-service-v2 .ctf-sv-hero-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);min-height:455px;}
  .ctf-service-v2 .ctf-sv-hero h1{font-size:clamp(34px,4.3vw,48px);}
  .ctf-service-v2 .ctf-sv-hero-visual{min-height:455px;}
  .ctf-service-v2 .ctf-sv-care-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .ctf-service-v2 .ctf-sv-hero-grid{grid-template-columns:1fr;min-height:0;}
  .ctf-service-v2 .ctf-sv-hero-copy{padding:clamp(26px,6.5vw,44px);}
  .ctf-service-v2 .ctf-sv-hero h1{font-size:clamp(35px,7vw,48px);}
  .ctf-service-v2 .ctf-sv-hero-visual{min-height:320px;}
  .ctf-service-v2 .ctf-sv-nav{top:var(--ctf-header-offset,70px);}
  .ctf-service-v2 [data-service-section],.ctf-service-v2 #service-contact{scroll-margin-top:calc(var(--ctf-header-offset,70px) + 68px);}
  .ctf-service-v2 .ctf-sv-maintenance-photo{min-height:340px;}
  .ctf-service-v2 .ctf-sv-warranty-card{min-height:0;padding:28px;}
  .ctf-service-v2 .ctf-sv-section{padding-block:clamp(54px,8vw,70px);}
  .ctf-buy-intro__grid{grid-template-columns:1fr;}
  .ctf-buy-intro{padding-block:48px;}
}
@media(max-width:550px){
  .ctf-service-v2 .ctf-sv-hero-grid{border-radius:18px;}
  .ctf-service-v2 .ctf-sv-hero-copy{padding:32px 24px 28px;}
  .ctf-service-v2 .ctf-sv-hero h1{font-size:36px;}
  .ctf-service-v2 .ctf-sv-hero-visual{min-height:260px;}
  .ctf-service-v2 .ctf-sv-heading h2,
  .ctf-service-v2 .ctf-sv-maintenance-copy h2,
  .ctf-service-v2 .ctf-sv-parts-layout h2,
  .ctf-service-v2 .ctf-sv-insurance-copy h2,
  .ctf-service-v2 .ctf-sv-roadside h2,
  .ctf-service-v2 .ctf-sv-final h2{font-size:32px;}
  .ctf-service-v2 .ctf-sv-care-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;}
  .ctf-service-v2 .ctf-sv-care-body h3{font-size:14px;}
  .ctf-service-v2 .ctf-sv-care-body p{font-size:12px;}
  .ctf-service-v2 .ctf-sv-warranty-card{padding:24px;}
  .ctf-service-v2 .ctf-sv-promo-card{flex-basis:83%;}
  .ctf-buy-intro{padding-block:39px;}
  .ctf-buy-intro h1{font-size:38px;}
  .ctf-buy-panel,.ctf-buy-results{padding:23px 18px;}
}
@media(prefers-reduced-motion:reduce){
  .ctf-service-v2 *, .ctf-buy-page *{scroll-behavior:auto!important;transition:none!important;}
}
