/* Shared responsive homepage; desktop header and floating quote stay PC-only. */
.otoq2-desktop-header,.otoq2-desktop-home{display:none}
.otoq2-floating-quote{display:none}
@media (min-width:1024px){
    .otoq2-floating-quote{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:1000;display:flex;flex-direction:column;align-items:center;gap:12px;width:108px;text-align:center;text-decoration:none!important;font-family:Arial,sans-serif}
    .otoq2-floating-quote__icon{position:relative;display:flex;align-items:center;justify-content:center;width:62px;height:62px;border:2px solid #fff;border-radius:50%;background:#dc001d;color:#fff;box-shadow:0 3px 14px #0002}
    .otoq2-floating-quote__icon::before{content:"";position:absolute;inset:-7px;border:2px solid #dc001d;border-radius:50%;pointer-events:none;animation:otoq2-quote-pulse 2.6s ease-out infinite}
    .otoq2-floating-quote__icon i{font-size:27px;line-height:1;color:#fff}
    .otoq2-floating-quote__label{display:block;padding:8px 7px;border:1px solid #fff;border-radius:6px;background:#dc001d;color:#fff;font-size:11px;font-weight:700;line-height:1.5;box-shadow:0 3px 12px #0002}
    .otoq2-floating-quote:hover .otoq2-floating-quote__icon,.otoq2-floating-quote:hover .otoq2-floating-quote__label{background:#b60018}
    .otoq2-floating-quote:hover .otoq2-floating-quote__icon::before,.otoq2-floating-quote:focus-visible .otoq2-floating-quote__icon::before{animation-play-state:paused}
    .otoq2-floating-quote:focus-visible{outline:3px solid #147cba;outline-offset:5px;border-radius:8px}
    #header .otoq2-legacy-header,.otoq2-legacy-home{display:none!important}
    #header,#header .header-wrapper{height:auto!important;min-height:0!important}
    #header .header-wrapper{background:#dc001d!important}
    .otoq2-desktop-header{display:block;background:#dc001d;color:#fff;border-bottom:3px solid #ed2841}
    .otoq2-desktop-header__inner{max-width:1440px;min-height:72px;padding:10px 40px;margin:auto;display:flex;align-items:center;gap:26px}
    .otoq2-brand{display:flex;flex-direction:column;color:#fff!important;flex-shrink:0;line-height:1.1}
    .otoq2-brand strong{font-family:Georgia,'Times New Roman',serif;font-size:32px;letter-spacing:1px;font-weight:900}
    .otoq2-brand span{font:11px Arial,sans-serif;letter-spacing:.5px}
    .otoq2-brand img{display:block;width:160px;height:auto;filter:grayscale(1) invert(1) brightness(2);mix-blend-mode:screen}
    .otoq2-desktop-header nav{margin-left:auto;min-width:0}
    .otoq2-desktop-menu{list-style:none;margin:0;display:flex;align-items:center;gap:22px}
    .otoq2-desktop-menu li{margin:0;position:relative;list-style:none}
    .otoq2-desktop-menu>li>a{display:block;white-space:nowrap;padding:14px 0 11px;font-size:12px;font-weight:700;text-transform:uppercase;color:#fff;border-bottom:2px solid transparent}
    .otoq2-desktop-menu a:hover,.otoq2-desktop-menu a[aria-current=page],.otoq2-desktop-menu .current-menu-item>a{border-bottom-color:#fff;color:#fff}
    .otoq2-desktop-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:200px;background:#fff;box-shadow:0 8px 20px #0002;padding:12px;z-index:30}
    .otoq2-desktop-menu li:hover>.sub-menu,.otoq2-desktop-menu li:focus-within>.sub-menu{display:block}
    .otoq2-desktop-menu .sub-menu a{display:block;padding:8px;color:#222}
    .otoq2-header-phone{border:1px solid #ffffff9c;border-radius:24px;padding:7px 13px;color:#fff!important;font-size:14px;white-space:nowrap;font-weight:700}
    .otoq2-header-phone i{margin-right:7px}
    .otoq2-header-search{position:relative;flex-shrink:0}
    .otoq2-header-search summary{list-style:none;cursor:pointer;padding:8px;color:#fff}
    .otoq2-header-search summary::-webkit-details-marker{display:none}
    .otoq2-header-search form{position:absolute;right:0;top:44px;display:flex;width:310px;padding:12px;background:#fff;box-shadow:0 4px 20px #0003;margin:0;z-index:50}
    .otoq2-header-search input{margin:0;height:40px}
    .otoq2-header-search button{margin:0;background:#d9001b;color:#fff;min-width:40px;padding:0}
}
@media (min-width:0px){
    .otoq2-desktop-home{display:block;width:100%;margin:0;background:#fff;color:#202124;font-family:Arial,sans-serif}
    .otoq2-desktop-home *{box-sizing:border-box}
    .otoq2-home-container{width:100%;max-width:1440px;padding-left:40px;padding-right:40px;margin-left:auto;margin-right:auto}
    .otoq2-desktop-home h1,.otoq2-desktop-home h2,.otoq2-desktop-home h3{font-family:Arial,sans-serif;color:#161719;letter-spacing:0}
    .otoq2-hero{position:relative;width:100%;margin:0;padding:0;overflow:hidden;background:#eef1f3}
    .otoq2-hero-slide{position:relative;height:auto;overflow:hidden}
    .otoq2-hero-slide img{display:block;width:100%;max-width:none;height:auto;margin:0}
    .otoq2-hero-slide[hidden]{display:none!important}
    .otoq2-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid #d9001b;background:#d9001b;color:#fff!important;border-radius:4px;padding:9px 17px;font-size:12px;line-height:1.3;font-weight:600;text-decoration:none}
    .otoq2-button:hover{background:#b60016;border-color:#b60016}
    .otoq2-button--outline{color:#c70019!important;background:#fff;border-color:#d9001b}
    .otoq2-button--outline:hover{background:#fff1f3}
    .otoq2-hero-image-link{display:block;width:100%;max-width:none;margin:0;position:relative;z-index:1}
    .otoq2-hero-controls{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;z-index:3;background:#ffffffdf;border-radius:20px;padding:0 8px}
    .otoq2-hero-controls button{border:0;background:none;box-shadow:none;min-height:26px;min-width:26px;line-height:26px;padding:0;margin:0;color:#333;font-size:20px}
    .otoq2-hero-controls .otoq2-hero-dot{min-width:10px;min-height:10px;width:10px;height:10px;border-radius:50%;background:#c3c5c8}
    .otoq2-hero-controls .otoq2-hero-dot[aria-pressed=true]{background:#df001c}
    .otoq2-new-cars{padding-top:22px;padding-bottom:28px}
    .otoq2-section-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px}
    .otoq2-section-heading h2{border-left:4px solid #df001c;padding-left:14px;font-size:22px;line-height:1.3;font-weight:700;margin:0;text-transform:uppercase}
    .otoq2-section-heading p{margin:8px 0 0 18px;font-size:15px;color:#505258;line-height:1.5}
    .otoq2-all-link{color:#c60019;font-size:13px;white-space:nowrap}
    .otoq2-all-link span{margin-left:14px}
    .otoq2-new-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
    .otoq2-car-card,.otoq2-used-card{border:1px solid #ececef;background:#fff;min-width:0;border-radius:3px;overflow:hidden}
    .otoq2-car-image{height:142px;display:flex;align-items:center;justify-content:center;background:linear-gradient(#f8f8fa,#fff);padding:8px}
    .otoq2-car-image img{width:100%;height:100%;object-fit:contain}
    .otoq2-car-body{padding:15px}
    .otoq2-car-body h3{font-size:16px;line-height:1.4;font-weight:700;margin:0 0 8px;text-transform:none}
    .otoq2-car-body h3 a{color:inherit}
    .otoq2-car-body p{font-size:12px;line-height:1.6;color:#62656a;margin:0 0 12px;min-height:38px}
    .otoq2-car-body .otoq2-button{padding:8px 14px;gap:12px;font-size:11px}
    .otoq2-used-cars{padding:26px 0 24px;background:#f7f7f9}
    .otoq2-used-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
    .otoq2-used-image{display:block;aspect-ratio:1.6;overflow:hidden;background:#eee}
    .otoq2-used-image img{display:block;width:100%;height:100%;object-fit:cover}
    .otoq2-used-card h3{font-size:14px;min-height:20px;margin-bottom:12px}
    .otoq2-banner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;padding-top:22px;padding-bottom:20px}
    .otoq2-promo{display:block;min-width:0;overflow:hidden;border-radius:5px}
    .otoq2-promo>img{display:block;width:100%;height:auto}
    .otoq2-desktop-home a:focus-visible,.otoq2-desktop-home button:focus-visible,.otoq2-desktop-header a:focus-visible,.otoq2-desktop-header summary:focus-visible{outline:3px solid #147cba;outline-offset:4px}
}
@keyframes otoq2-quote-pulse{
    0%{transform:scale(.85);opacity:.7}
    70%,100%{transform:scale(1.35);opacity:0}
}
@media (prefers-reduced-motion:reduce){
    .otoq2-floating-quote__icon::before{animation:none;opacity:0}
}
/* One container and gutter for desktop header, homepage and footer. */
@media (min-width:1024px){
    .otoq2-desktop-header__inner,
    .otoq2-home-container,
    #footer .otoq2-footer__main,
    #footer .otoq2-footer__bottom-inner{
        box-sizing:border-box;
        width:100%;
        max-width:1440px;
        margin-left:auto;
        margin-right:auto;
        padding-left:40px;
        padding-right:40px;
    }
}
@media (min-width:1024px) and (max-width:1279px){
    .otoq2-desktop-header__inner{gap:14px}
    .otoq2-desktop-menu{gap:14px}
    .otoq2-desktop-menu>li>a{font-size:10px}
    .otoq2-header-phone{font-size:12px;padding:7px 9px}
    .otoq2-brand strong{font-size:28px}
    .otoq2-brand img{width:150px}
    .otoq2-section-heading h2{font-size:19px}
    .otoq2-car-body{padding:12px}
    .otoq2-car-body h3{font-size:14px}
    .otoq2-car-image{height:120px}
}
@media (max-width:1023px){
    .otoq2-home-container{padding-left:24px;padding-right:24px}
    .otoq2-new-grid,.otoq2-used-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .otoq2-section-heading{gap:14px;align-items:flex-start}
    .otoq2-section-heading h2{font-size:20px;padding-left:12px}
    .otoq2-section-heading p{font-size:14px}
    .otoq2-all-link{font-size:12px}
}
@media (max-width:639px){
    .otoq2-home-container{padding-left:16px;padding-right:16px}
    .otoq2-new-grid,.otoq2-used-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .otoq2-section-heading{flex-direction:column;gap:10px;margin-bottom:16px}
    .otoq2-section-heading h2{font-size:18px;line-height:1.4}
    .otoq2-section-heading p{margin-left:16px;font-size:13px}
    .otoq2-all-link{margin-left:16px}
    .otoq2-new-cars{padding-top:20px;padding-bottom:24px}
    .otoq2-used-cars{padding-top:22px;padding-bottom:24px}
    .otoq2-car-image{height:auto;aspect-ratio:1.45;padding:6px}
    .otoq2-car-body{padding:12px}
    .otoq2-car-body h3{font-size:14px}
    .otoq2-car-body p{min-height:0;font-size:12px}
    .otoq2-car-body .otoq2-button{min-height:36px;padding:8px 10px;gap:10px}
    .otoq2-banner-grid{grid-template-columns:minmax(0,1fr);gap:14px;padding-top:18px;padding-bottom:18px}
    .otoq2-hero-controls{bottom:4px;gap:6px}
}

