/* Footer matched to the Honda reference; selectors stay inside this component. */
#footer .otoq2-mobile-cta { display: none; }
#otoq2-mobile-quote .btn-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
#otoq2-mobile-quote .modal-body { padding: 22px 26px 24px; color: #333; text-align: center; }
#otoq2-mobile-quote .modal-dialog { max-width: 410px; }
#otoq2-mobile-quote .row { display: block; margin: 0; }
#otoq2-mobile-quote .col-md-12 { width: 100%; padding: 0; }
#otoq2-mobile-quote .logo-popup { margin: 0 0 16px; }
#otoq2-mobile-quote .logo-popup img { display: block; width: 160px; height: auto; margin: 0 auto; }
#otoq2-mobile-quote h4 { color: #111; font-size: 17px; line-height: 1.35; margin: 0 0 9px; }
#otoq2-mobile-quote p { font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
#otoq2-mobile-quote p:last-child { margin: 18px 0 0; }
#otoq2-mobile-quote p span:not(.wpcf7-form-control-wrap):not(.wpcf7-spinner) { font-weight: 700; color: #222; }
#otoq2-mobile-quote form { margin: 0; }
#otoq2-mobile-quote .form-recive p { margin: 0; }
#otoq2-mobile-quote input[type="tel"] { width: 100%; height: 38px; margin: 0 0 9px; text-align: center; border: 1px solid #ddd; border-radius: 3px; background: #fff; color: #333; box-shadow: none; font-size: 14px; }
#otoq2-mobile-quote input[type="submit"] { width: 100%; min-height: 38px; white-space: normal; margin: 0; border: 0; border-radius: 3px; background: #e60023; color: #fff; font-size: 14px; font-weight: 700; }
#otoq2-mobile-quote .form-recive > div:last-child { position: relative; }
#otoq2-mobile-quote .wpcf7-spinner { position: absolute; right: 0; top: 7px; margin: 0; }
#otoq2-mobile-quote .wpcf7-response-output { margin: 12px 0 0; font-size: 13px; }
#otoq2-mobile-quote .wpcf7-not-valid-tip { font-size: 12px; }
#footer .otoq2-mobile-cta a:focus-visible { outline: 3px solid #222; outline-offset: 2px; }
@media (max-width: 849px) {
    #header #masthead .custom-mb-logo { padding: 16px 0 12px; }
    #header #masthead .custom-mb-logo > .logo { margin: 0 auto; padding: 0; background: none; border-radius: 0; box-shadow: none; width: 190px; max-width: 60%; }
    #header #masthead .custom-mb-logo > .logo img { width: 100%; max-height: none !important; margin: 0 !important; }
    #header .otoq2-mobile-locations { display: grid; grid-template-columns: 1fr 1fr; margin: 16px auto 0; max-width: 600px; padding: 0 12px; text-align: left; color: #111; }
    #header .otoq2-mobile-location { display: flex; align-items: flex-start; justify-content: center; gap: 6px; padding: 0 8px; min-width: 0; }
    #header .otoq2-mobile-location + .otoq2-mobile-location { border-left: 1px solid #d1d1d1; }
    #header .otoq2-mobile-location svg { color: #e60020; width: 16px; height: 23px; flex-shrink: 0; margin-top: 2px; }
    #header .otoq2-mobile-location > div { min-width: 0; overflow-wrap: anywhere; }
    #header .otoq2-mobile-location strong { display: block; font-size: 14px; line-height: 1.3; }
    #header .otoq2-mobile-location b { display: block; font-size: 11px; line-height: 1.4; }
    #header .otoq2-mobile-location span { display: block; font-size: 11px; line-height: 1.4; }
    #footer .otoq2-mobile-cta { position: fixed; z-index: 1040; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1.5fr 1fr 50px; gap: 8px; padding: 8px 7px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -2px 8px #00000018; }
    #footer .otoq2-mobile-cta a { display: flex; align-items: center; justify-content: center; height: 49px; min-width: 0; padding: 0 6px; border-radius: 4px; color: #fff; font-size: 15px; line-height: 1.2; font-weight: 700; text-decoration: none; }
    #footer .otoq2-mobile-cta__quote { background: #df0000; }
    #footer .otoq2-mobile-cta__zalo, #footer .otoq2-mobile-cta__call { background: #0866ff; }
    #footer .otoq2-mobile-cta__call svg { width: 21px; height: 21px; }
    #footer .zalo-messsage { display: none; }
    #footer { padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)); }
    #otoq2-mobile-quote .modal-dialog { margin-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 600px) and (max-width: 849px) {
    #header .otoq2-mobile-location strong { font-size: 14px; }
    #header .otoq2-mobile-location b { font-size: 12px; }
    #header .otoq2-mobile-location span { font-size: 12px; }
}
#footer .otoq2-footer {
    color: #fff;
    border-top: 7px solid #f5f5f5;
    background: linear-gradient(163deg, transparent 58%, #bd071b55 58%, #9c071955 80%, transparent 80%), linear-gradient(115deg, #b20b20, #a00618 56%, #bd061d);
    font-size: 16px;
    line-height: 1.5;
}
#footer .otoq2-footer a { color: #fff; text-decoration: none; }
#footer .otoq2-footer a:hover { color: #fff; text-decoration: underline; }
#footer .otoq2-footer svg { width: 24px; height: 24px; flex-shrink: 0; }
#footer .otoq2-footer__main { display: grid; grid-template-columns: 1fr 1.12fr 1.12fr; gap: 34px; max-width: 1920px; margin: auto; padding: 38px 3.4% 26px; }
#footer .otoq2-footer__about { border-right: 1px solid #ffffff50; padding-right: 28px; }
#footer .otoq2-footer__brand { display: block; width: 255px; max-width: 90%; margin-bottom: 22px; }
#footer .otoq2-footer__brand img { display: block; width: 100%; height: auto; filter: grayscale(1) invert(1) brightness(2); mix-blend-mode: screen; }
#footer .otoq2-footer__intro { border-top: 2px solid #ffffff80; padding-top: 15px; margin: 0 0 20px; }
#footer .otoq2-footer__contact { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
#footer .otoq2-footer__contact > svg { margin-top: 3px; }
#footer .otoq2-footer__contact strong { font-size: 16px; }
#footer .otoq2-footer__contact p { margin: 5px 0 0; font-size: 13px; font-weight: 700; line-height: 1.25; }
#footer .otoq2-footer h2 { color: #fff; font-size: clamp(19px, 1.6vw, 28px); line-height: 1.25; font-weight: 800; text-transform: uppercase; margin: 0 0 16px; }
#footer .otoq2-footer__signup h2 { display: flex; align-items: center; gap: 16px; }
#footer .otoq2-footer__signup h2 svg { width: 42px; height: 42px; }
#footer .otoq2-footer__signup > p { margin: 0 0 12px; }
#footer .otoq2-footer__connect { background: transparent; align-self: start; padding: 18px 16px 38px; }
#footer .otoq2-footer__social { display: flex; gap: 5px; margin-bottom: 15px; }
#footer .otoq2-footer__social a { width: 38px; height: 38px; border: 2px solid #ffffff80; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
#footer .otoq2-footer__social a span { font: bold 28px/1 Arial, sans-serif; }
#footer .otoq2-footer__social svg { width: 21px; height: 21px; }
#footer .otoq2-footer__search { display: flex; margin: 0; }
#footer .otoq2-footer__search input { background: #fff; color: #333; height: 44px; min-width: 0; flex: 1; border: 1px solid #ddd; border-radius: 0; margin: 0; box-shadow: none; padding: 0 12px; font-size: 15px; }
#footer .otoq2-footer__search button { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 44px; padding: 0; margin: 0; background: #e60024; border: 0; color: #fff; }
#footer .otoq2-footer__signup .wpcf7 { margin: 0; }
#footer .otoq2-footer__signup form { margin: 0; }
#footer .otoq2-offer-field { display: block; position: relative; margin: 0 0 7px; color: #666; font-weight: 400; }
#footer .otoq2-offer-field::before { position: absolute; z-index: 1; top: 12px; left: 18px; width: 20px; height: 20px; background: #6b7174; content: ''; mask: var(--field-icon) center / contain no-repeat; pointer-events: none; }
#footer .otoq2-offer-field--name { --field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='5'/%3E%3Cpath d='M2 23v-4a10 7 0 0120 0v4z'/%3E%3C/svg%3E"); }
#footer .otoq2-offer-field--phone { --field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 1 9 6 7 10c2 3 4 5 7 7l4-2 5 5c-3 8-11 2-16-3S-2 4 4 1Z'/%3E%3C/svg%3E"); }
#footer .otoq2-offer-field--email { --field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 4h22v17H1z'/%3E%3Cpath d='m1 4 11 9L23 4' fill='none' stroke='white'/%3E%3C/svg%3E"); }
#footer .otoq2-offer-field--car { --field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h14l3 9v11h-4v-3H6v3H2V11Zm1 3-2 6h16l-2-6Z'/%3E%3Ccircle cx='6' cy='15' r='2' fill='white'/%3E%3Ccircle cx='18' cy='15' r='2' fill='white'/%3E%3C/svg%3E"); }
#footer .otoq2-offer-field .wpcf7-form-control-wrap { display: block; }
#footer .otoq2-offer-field input, #footer .otoq2-offer-field select { display: block; width: 100%; height: 44px; padding: 0 36px 0 55px; border: 1px solid #ddd; border-radius: 9px; background-color: #fff; color: #666; font-size: 15px; box-shadow: none; margin: 0; }
#footer .otoq2-offer-field input::placeholder { color: #767676; opacity: 1; }
#footer .otoq2-offer-fields p { margin: 0; }
#footer .otoq2-offer-fields br { display: none; }
#footer .otoq2-offer-submit { position: relative; }
#footer .otoq2-offer-submit input { width: 100%; height: 50px; margin: 0; border: 1px solid #ffffff55; border-radius: 9px; background: #ed0028; color: #fff; font-size: 18px; font-weight: 700; box-shadow: inset 0 0 0 2px #ffffff12; }
#footer .otoq2-offer-submit input:hover { background: #d50021; }
#footer .otoq2-offer-submit .wpcf7-spinner { position: absolute; right: 5px; top: 13px; margin: 0; }
#footer .otoq2-footer .wpcf7-response-output { color: #fff; margin: 12px 0 0; }
#footer .otoq2-footer .wpcf7-not-valid-tip { color: #fff; font-size: 13px; padding: 3px 10px; }
#footer .otoq2-footer__signup .wpcf7-not-valid-tip { position: static; width: auto; margin: 4px 0 0; padding: 0; border: 0; background: transparent; }
#footer .otoq2-footer__bottom { background: #660505a6; }
#footer .otoq2-footer__bottom-inner { max-width: 1920px; margin: auto; padding: 26px 2.2%; display: flex; align-items: center; gap: 30px; min-height: 96px; }
#footer .otoq2-footer nav { flex: 1; }
#footer .otoq2-footer nav ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 12px 0; }
#footer .otoq2-footer nav li { margin: 0; border-right: 1px solid #ffffff55; padding: 0 20px; font-size: 12px; line-height: 20px; text-transform: uppercase; }
#footer .otoq2-footer nav li:last-child { border: 0; }
#footer .otoq2-footer__top { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid #ffffffb3; border-radius: 50%; flex-shrink: 0; }
#footer .otoq2-footer :is(a, input, select, button):focus-visible { outline: 3px solid #ffe39a; outline-offset: 3px; }
#footer > .back-to-top { display: none; }
@media (max-width: 1100px) and (min-width: 850px) {
    #footer .otoq2-footer__main { gap: 22px; padding-left: 25px; padding-right: 25px; grid-template-columns: 1fr 1.15fr .9fr; }
    #footer .otoq2-footer__about { padding-right: 20px; }
    #footer .otoq2-footer nav li { padding: 0 10px; }
}
@media (max-width: 849px) {
    #footer .otoq2-footer__main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 30px 22px; }
    #footer .otoq2-footer__connect { grid-column: 1 / -1; padding-bottom: 24px; }
    #footer .otoq2-footer__bottom-inner { flex-wrap: wrap; padding: 22px 20px 90px; gap: 20px; }
    #footer .otoq2-footer nav { flex-basis: 100%; order: 3; }
    #footer .otoq2-footer nav li { padding: 0 12px; }
    #footer .otoq2-footer__top { margin-left: auto; }
}
@media (max-width: 600px) {
    #footer .otoq2-footer__main { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
    #footer .otoq2-footer__about { border-right: 0; border-bottom: 1px solid #ffffff50; padding: 0 0 22px; }
    #footer .otoq2-footer__connect { grid-column: auto; }
    #footer .otoq2-footer h2 { font-size: 23px; }
    #footer .otoq2-footer__signup h2 { gap: 12px; }
    #footer .otoq2-footer__signup h2 svg { width: 36px; height: 36px; }
    #footer .otoq2-footer__contact strong { font-size: 16px; }
}
