/*
 * Thành Phát EV Luxury Theme v0.0.95 — open, card-free footer.
 * Scoped to the site footer: no changes to headers, product cards, checkout or Pages.
 * Depends on existing footer.php markup and SVG icon helpers.
 */
.evf-footer{
  --evf-bg:#06192a;
  --evf-ink:#f5fbff;
  --evf-text:#c5d9e7;
  --evf-muted:#a3bfd0;
  --evf-cyan:#22dcf0;
  --evf-line:rgba(106,185,212,.25);
  position:relative;isolation:isolate;overflow:hidden;margin:0;
  background:linear-gradient(115deg,#06192b 0%,#071b2d 58%,#05283a 100%)!important;
  color:var(--evf-text);font-family:var(--tpa-font,"Roboto",Arial,Helvetica,sans-serif);
}
/* Refined handoff from pale page sections; never a thick bordered panel. */
.evf-footer::before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 40% 55% at 96% 0%,rgba(0,169,205,.11),transparent 85%),
             radial-gradient(ellipse 34% 60% at 2% 78%,rgba(9,99,151,.14),transparent 85%);
}
.evf-footer::after{
  content:"";position:absolute;top:0;left:0;right:0;height:2px;pointer-events:none;
  background:linear-gradient(90deg,#104a68 0%,#129fbd 48%,#0d6680 100%);opacity:.8;
}
.evf-footer .evf-container{width:min(calc(100% - 48px),1320px);margin:0 auto;min-width:0;}
.evf-footer .evf-top-grid{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(178px,.62fr) minmax(0,1.2fr);
  column-gap:clamp(32px,4.6vw,76px);padding:50px 0 38px;align-items:start;
}
.evf-footer .evf-top-grid>*{min-width:0;}
.evf-footer .evf-brand{padding:0;}
.evf-footer .evf-wordmark{
  display:inline-flex;gap:12px;align-items:center;max-width:100%;
  color:#fff;text-decoration:none;
}
.evf-footer .evf-wordmark img{display:block;flex:none;width:60px;height:60px;object-fit:contain;}
.evf-footer .evf-wordmark>span{display:flex;flex-direction:column;gap:6px;min-width:0;}
.evf-footer .evf-wordmark strong{
  display:block;font-size:clamp(20px,1.7vw,25px);font-weight:700;line-height:1.2;
  letter-spacing:0;white-space:nowrap;color:#fff;
}
.evf-footer .evf-wordmark em{color:var(--evf-cyan);font-style:normal;}
.evf-footer .evf-wordmark small{font-size:12px;font-weight:600;letter-spacing:0;color:#8be6f3;line-height:1.4;}
.evf-footer .evf-brand>p{
  max-width:425px;margin:20px 0 26px;color:var(--evf-text);
  font-size:14px;font-weight:400;line-height:1.75;
}
.evf-footer .evf-contact-grid{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;}
.evf-footer .evf-contact-grid>a{
  display:flex;align-items:center;gap:11px;min-width:0;max-width:100%;
  color:var(--evf-ink)!important;text-decoration:none;
}
.evf-footer .evf-contact-grid>a:hover strong{color:var(--evf-cyan);}
.evf-footer .evf-contact-icon{
  width:44px;height:44px;display:grid;place-items:center;flex:none;
  border:1px solid rgba(34,220,240,.57);border-radius:50%;
  background:rgba(5,64,84,.28);color:var(--evf-cyan);
}
.evf-footer .evf-contact-icon .tpa-icon{width:20px;height:20px;}
.evf-footer .evf-contact-grid strong{display:block;font-size:14px;font-weight:700;line-height:1.45;color:#fff;white-space:nowrap;}
.evf-footer .evf-contact-grid small{display:block;font-size:12px;font-weight:400;line-height:1.5;color:var(--evf-muted);}
.evf-footer h2{
  position:relative;margin:0 0 20px!important;font-size:18px!important;
  font-weight:700!important;line-height:1.35;color:#fff!important;
  letter-spacing:0!important;text-transform:none!important;
}
.evf-footer .evf-explore h2::after,.evf-footer .evf-vehicles h2::after{
  content:"";display:block;margin-top:12px;width:40px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,#2cf3fa,#0a85bd);
}
.evf-footer .evf-explore ul{margin:0;padding:0;list-style:none;display:grid;gap:5px;}
.evf-footer .evf-explore li{margin:0;padding:0;list-style:none;}
.evf-footer .evf-explore li>a{
  display:flex;align-items:center;gap:12px;padding:7px 0;min-height:43px;
  color:#e5f2f7!important;text-decoration:none;font-size:14px;font-weight:500;line-height:1.4;
}
.evf-footer .evf-explore li>a:hover{color:var(--evf-cyan)!important;}
.evf-footer .evf-nav-icon{flex:0 0 22px;display:grid;place-items:center;color:var(--evf-cyan);}
.evf-footer .evf-nav-icon .tpa-icon{width:18px;height:18px;}
.evf-footer .evf-link-arrow{width:14px;height:14px;margin-left:auto;opacity:.5;}
/* The nine models are unboxed links, not miniature product cards. */
.evf-footer .evf-vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;row-gap:10px;}
.evf-footer .evf-vehicle{
  box-sizing:border-box;min-width:0;min-height:60px;display:flex;align-items:center;gap:8px;
  padding:3px 0;border:0;border-radius:0;background:transparent;
  color:var(--evf-ink)!important;text-decoration:none;
  transition:color .2s ease,transform .2s ease;
}
.evf-footer .evf-vehicle:hover{color:var(--evf-cyan)!important;transform:translateY(-1px);}
.evf-footer .evf-vehicle img{
  width:68px;height:44px;flex:0 0 68px;object-fit:contain;border:0;border-radius:3px;
}
.evf-footer .evf-vehicle>span{font-size:13px;font-weight:600;line-height:1.45;white-space:nowrap;}
.evf-footer .evf-view-all{
  display:inline-flex;justify-content:flex-start;align-items:center;gap:10px;
  min-height:38px;margin-top:18px;padding:0;border:0;border-radius:0;
  background:transparent;color:var(--evf-cyan)!important;
  text-decoration:none;font-size:14px;font-weight:600;
}
.evf-footer .evf-view-all:hover{text-decoration:underline;text-underline-offset:4px;}
.evf-footer .evf-view-all .tpa-icon{width:16px;height:16px;transition:transform .2s ease;}
.evf-footer .evf-view-all:hover .tpa-icon{transform:translateX(3px);}
/* The branches are editorial columns, separated only by subtle hairlines. */
.evf-footer .evf-locations{padding:27px 0 32px;border-top:1px solid var(--evf-line);}
.evf-footer .evf-locations>h2{display:flex;align-items:center;gap:11px;margin-bottom:25px!important;}
.evf-footer .evf-locations>h2 .tpa-icon{width:22px;height:22px;color:var(--evf-cyan);flex:none;}
.evf-footer .evf-branches-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;}
.evf-footer .evf-branch-card{
  display:flex;gap:17px;align-items:flex-start;min-width:0;min-height:116px;
  margin:0;padding:8px 28px 5px 0;
  border:0;border-radius:0;background:transparent;
}
.evf-footer .evf-branch-card + .evf-branch-card{
  border-left:1px solid var(--evf-line);padding-left:28px;
}
.evf-footer .evf-branch-symbol{
  flex:none;display:grid;place-items:center;width:35px;height:35px;
  border:0;border-radius:0;background:transparent;color:var(--evf-cyan);
}
.evf-footer .evf-branch-symbol .tpa-icon{width:27px;height:27px;}
.evf-footer .evf-branch-details{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1;}
.evf-footer .evf-branch-details h3{
  margin:0 0 6px;color:#fff;font-size:15px;font-weight:700;line-height:1.4;
}
.evf-footer .evf-branch-details p{
  display:flex;align-items:flex-start;gap:7px;min-width:0;margin:0 0 12px;
  color:var(--evf-text);font-size:13px;line-height:1.65;
}
.evf-footer .evf-branch-details p .tpa-icon{flex:none;width:14px;height:14px;margin-top:4px;color:var(--evf-cyan);}
.evf-footer .evf-branch-details p span{min-width:0;overflow-wrap:break-word;}
.evf-footer .evf-branch-details a{
  display:inline-flex;align-items:center;gap:7px;margin-top:auto;
  color:var(--evf-cyan)!important;text-decoration:none;font-size:13px;font-weight:600;
}
.evf-footer .evf-branch-details a:hover{text-decoration:underline;text-underline-offset:3px;}
.evf-footer .evf-branch-details a .tpa-icon{width:13px;height:13px;}
.evf-footer .evf-bottom-bar{border-top:1px solid var(--evf-line);background:rgba(1,13,24,.58);}
.evf-footer .evf-bottom-inner{
  display:flex;gap:16px;align-items:center;justify-content:space-between;
  min-height:67px;color:var(--evf-muted);font-size:12px;line-height:1.5;
}
.evf-footer .evf-bottom-inner nav{display:flex;align-items:center;flex-wrap:wrap;gap:0;}
.evf-footer .evf-bottom-inner nav a{
  padding:0 13px;color:var(--evf-text)!important;text-decoration:none;
  font-size:12px;line-height:1.6;
}
.evf-footer .evf-bottom-inner nav a+a{border-left:1px solid rgba(106,185,212,.35);}
.evf-footer .evf-bottom-inner nav a:hover{color:var(--evf-cyan)!important;}
.evf-footer a:focus-visible{outline:2px solid #62edf5;outline-offset:4px;border-radius:2px;}
@media(max-width:1220px){
  .evf-footer .evf-top-grid{grid-template-columns:minmax(0,1.03fr) minmax(156px,.57fr) minmax(0,1.22fr);column-gap:28px;}
  .evf-footer .evf-vehicle-grid{column-gap:9px;}
  .evf-footer .evf-vehicle img{width:55px;flex-basis:55px;height:40px;}
  .evf-footer .evf-vehicle>span{font-size:12px;}
  .evf-footer .evf-branch-card{gap:11px;padding-right:16px;}
  .evf-footer .evf-branch-card + .evf-branch-card{padding-left:16px;}
}
@media(max-width:940px){
  .evf-footer .evf-top-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:30px 36px;padding:39px 0 32px;}
  .evf-footer .evf-brand{grid-column:1 / -1;}
  .evf-footer .evf-brand>p{max-width:620px;margin-top:15px;margin-bottom:18px;}
  .evf-footer .evf-vehicle img{width:65px;flex-basis:65px;}
  .evf-footer .evf-branches-grid{grid-template-columns:1fr;}
  .evf-footer .evf-branch-card{min-height:0;padding:13px 0 15px;}
  .evf-footer .evf-branch-card + .evf-branch-card{border-left:0;border-top:1px solid var(--evf-line);padding:15px 0;}
}
@media(max-width:620px){
  .evf-footer .evf-container{width:calc(100% - 36px);}
  .evf-footer .evf-top-grid{grid-template-columns:1fr;gap:31px;padding:34px 0 26px;}
  .evf-footer .evf-brand{grid-column:auto;}
  .evf-footer .evf-wordmark img{width:52px;height:52px;}
  .evf-footer .evf-wordmark strong{font-size:20px;}
  .evf-footer .evf-wordmark small{font-size:12px;}
  .evf-footer .evf-brand>p{font-size:14px;line-height:1.7;margin:15px 0 20px;}
  .evf-footer .evf-contact-grid{gap:14px 19px;}
  .evf-footer .evf-contact-icon{width:40px;height:40px;}
  .evf-footer .evf-contact-grid strong{font-size:13px;}
  .evf-footer .evf-explore ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px;}
  .evf-footer .evf-explore li>a{min-height:44px;gap:8px;font-size:13px;}
  .evf-footer .evf-explore li .evf-link-arrow{display:none;}
  .evf-footer .evf-vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;}
  .evf-footer .evf-vehicle{min-height:57px;}
  .evf-footer .evf-vehicle img{width:64px;height:42px;flex-basis:64px;}
  .evf-footer .evf-vehicle>span{font-size:13px;}
  .evf-footer .evf-view-all{margin-top:11px;}
  .evf-footer .evf-locations{padding:25px 0 22px;}
  .evf-footer .evf-locations>h2{margin-bottom:14px!important;}
  .evf-footer .evf-bottom-inner{padding:18px 0;flex-direction:column;justify-content:center;gap:11px;text-align:center;}
  .evf-footer .evf-bottom-inner nav{justify-content:center;}
  .evf-footer .evf-bottom-inner nav a{padding:0 8px;}
}
@media(max-width:370px){
  .evf-footer .evf-wordmark strong{font-size:19px;}
  .evf-footer .evf-contact-grid{flex-direction:column;align-items:flex-start;}
  .evf-footer .evf-vehicle-grid{column-gap:10px;}
  .evf-footer .evf-vehicle img{width:54px;height:38px;flex-basis:54px;}
  .evf-footer .evf-vehicle>span{font-size:12px;}
}
@media(prefers-reduced-motion:reduce){
  .evf-footer .evf-vehicle,.evf-footer .evf-view-all .tpa-icon{transition:none;}
  .evf-footer .evf-vehicle:hover,.evf-footer .evf-view-all:hover .tpa-icon{transform:none;}
}
