/* Footer layout is independent from the page's content width. */
body>.footer{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:40px clamp(24px,4vw,80px) 28px;display:block}
.footer-inner{width:100%;max-width:1600px;margin:0 auto}
.footer .footer-brand{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px 32px;padding-bottom:28px;margin-bottom:32px;border-bottom:1px solid #ffffff30}
.footer .footer-brand img{width:180px;max-width:180px;height:95px;object-fit:contain}
.footer .footer-brand p{width:auto;margin:0 auto 0 0;font-size:18px;line-height:1.5;color:#dce7f6}
.footer .footer-social{display:flex;flex-direction:row;gap:12px;margin:0}
.footer .footer-social a{width:40px;height:40px}
.footer .footer-top{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr);gap:clamp(24px,4vw,72px);align-items:start}
.footer .footer-top>div{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:14px;font-size:15px;line-height:1.55;grid-column:auto}
.footer .footer-top strong{font-size:17px;line-height:1.4;margin:0 0 8px}
.footer .footer-top a,.footer .footer-company a,.footer .footer-branches a{font-size:15px;line-height:1.55;overflow-wrap:break-word}
.footer .footer-branches #footer-directory{width:100%}
.footer .compact-branch{padding:0 0 18px;margin:0 0 18px}
.footer .compact-branch strong{font-size:15px;display:block;margin:0 0 8px}
.footer .compact-branch small{font-size:13px;line-height:1.55}
.footer .footer-legal p{width:auto;font-size:14px;line-height:1.65}
.footer .footer-documents a{font-size:14px;line-height:1.6}
.footer .footer-bottom{padding-top:22px;margin-top:24px}
.footer .footer-bottom small{font-size:12px;line-height:1.6}
.footer-inner>nav{padding:20px 0 0;font-size:14px;line-height:1.8;color:#d3e2f6}
.mobile-home-catalog-link{display:none}
@media(max-width:1000px){.footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}}
@media(max-width:760px){body>.footer{padding:28px 22px calc(105px + env(safe-area-inset-bottom))}.footer .footer-brand{justify-content:flex-start;gap:14px 22px;margin-bottom:26px}.footer .footer-brand img{width:145px;height:80px;max-width:145px}.footer .footer-brand p{font-size:16px}.footer .footer-social{width:100%}.footer .footer-top{gap:28px 22px}.footer .footer-top>div,.footer .footer-top a,.footer .footer-company a,.footer .footer-branches a{font-size:14px}.footer .footer-top strong{font-size:16px}.footer .footer-branches{grid-column:1/-1}.footer .footer-documents{gap:12px}.mobile-home-catalog-link{display:flex;margin:24px 0 0;width:100%}.home-catalog-grid>.car-card:nth-child(n+4){display:none}}
@media(max-width:380px){body>.footer{padding-left:16px;padding-right:16px}.footer .footer-top{gap:24px 16px}.footer .footer-brand p{font-size:15px}}
@media(min-width:1200px){.footer .footer-branches #footer-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.footer .compact-branch{margin:0;padding:0 0 14px}.footer .compact-branch a{display:block}.footer .compact-branch strong{font-size:14px}.footer .compact-branch a{font-size:14px}.footer .compact-branch small{font-size:12px}}

/* Informational payment tile fills the space beneath the credit service. */
.payment-methods{min-width:0;scroll-margin-top:120px;padding:24px;border:1px solid #315180;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#164a8b66,transparent 65%),linear-gradient(135deg,#07172f,#0b2549);color:#fff;box-shadow:inset 0 3px #ed2443}
.payment-methods h2{font-size:25px;line-height:1.15;color:#fff;letter-spacing:-.025em}
.payment-methods .payment-methods-intro{font-size:13px;line-height:1.5;color:#d5e2f5;margin:12px 0 18px}
.payment-methods-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.payment-method{min-width:0;padding:13px 11px;border:1px solid #7799c73d;border-radius:12px;background:#ffffff08}
.payment-method-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#1762c4;border-radius:9px;margin-bottom:10px}
.payment-method:nth-child(2n) .payment-method-icon{background:#d82143}
.payment-method-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.payment-method h3{font-size:14px;line-height:1.35;color:#fff;letter-spacing:0}
.payment-method p{font-size:12px;line-height:1.45;color:#d5e2f5;margin-top:6px}
.payment-methods .payment-methods-note{font-size:11px;line-height:1.5;color:#becfe8;margin-top:15px}
.car-payment-methods{font-size:11px;line-height:1.6;color:#3e587d;margin:12px 0;padding-top:10px;border-top:1px solid #dce5f2}
.detail-info .car-payment-methods{font-size:13px;margin:16px 0}
@media(min-width:521px) and (max-width:1000px){.payment-methods{grid-column:1/-1}.payment-methods-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.payment-methods{padding:23px 20px}.payment-methods h2{font-size:26px}}
@media(max-width:340px){.payment-methods-grid{grid-template-columns:1fr}}

/* Only the six service tiles on the homepage. */
.home-page>.services-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:280px 260px;gap:18px}
.home-page>.services-grid>.service,.home-page>.services-grid>.payment-methods{min-width:0;height:100%;margin:0;border:1px solid #315180;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#164a8b66,transparent 65%),linear-gradient(135deg,#07172f,#0b2549);color:#fff;box-shadow:inset 0 3px #ed2443}
.home-page>.services-grid>.service{padding:26px;gap:14px}
.home-page>.services-grid>.service h3{color:#fff}
.home-page>.services-grid>.service p{color:#d5e2f5;line-height:1.55}
.home-page>.services-grid>.service .index{color:#91b9ff}
.home-page>.services-grid>.service .text-link{color:#bed8ff;font-weight:650;margin-top:auto}
.home-page>.services-grid>.service:hover{border-color:#7ca7e0;box-shadow:inset 0 3px #397cf4}
.home-page>.services-grid>.payment-methods{padding:14px;grid-column:auto;display:flex;flex-direction:column}
.home-page>.services-grid>.payment-methods h2{font-size:19px;line-height:1.2}
.home-page>.services-grid>.payment-methods .payment-methods-intro{font-size:11px;line-height:1.35;margin:6px 0 8px}
.home-page>.services-grid .payment-methods-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;flex:1}
.home-page>.services-grid .payment-method{padding:8px;display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:6px;align-content:start}
.home-page>.services-grid .payment-method-icon{width:22px;height:22px;border-radius:6px;grid-column:1;grid-row:1/3;margin:0}
.home-page>.services-grid .payment-method-icon svg{width:16px;height:16px}
.home-page>.services-grid .payment-method h3{grid-column:2;font-size:11px;line-height:1.25}
.home-page>.services-grid .payment-method p{grid-column:2;font-size:10.5px;line-height:1.3;margin-top:4px}
.home-page>.services-grid>.payment-methods .payment-methods-note{font-size:10px;line-height:1.3;margin-top:7px}
@media(min-width:1001px) and (max-width:1199px){.home-page>.services-grid{grid-template-rows:300px 290px}}
@media(min-width:761px) and (max-width:1000px){.home-page>.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(270px,auto)}}
@media(max-width:760px){.home-page>.services-grid{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:auto}.home-page>.services-grid>.service,.home-page>.services-grid>.payment-methods{height:auto;min-height:0;padding:23px 20px}.home-page>.services-grid>.service .text-link{margin-top:12px}.home-page>.services-grid>.payment-methods h2{font-size:25px}.home-page>.services-grid>.payment-methods .payment-methods-intro{font-size:13px;line-height:1.5;margin:12px 0 16px}.home-page>.services-grid .payment-method{padding:12px;display:block}.home-page>.services-grid .payment-method-icon{width:28px;height:28px;margin-bottom:9px}.home-page>.services-grid .payment-method-icon svg{width:20px;height:20px}.home-page>.services-grid .payment-method h3{font-size:13px;line-height:1.35}.home-page>.services-grid .payment-method p{font-size:12px;line-height:1.45;margin-top:6px}.home-page>.services-grid>.payment-methods .payment-methods-note{font-size:11px;line-height:1.5;margin-top:14px}}
@media(max-width:340px){.home-page>.services-grid .payment-methods-grid{grid-template-columns:1fr}}
