/* Portable enhancements to the existing Redline Clean Details layout. */
html { scroll-behavior: smooth; }
body { margin: 0; background: #000; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline: 3px solid #f10608; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 100; left: 16px; top: -100px; padding: 12px 20px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
.brand-page__inner { overflow-y: visible !important; }
.c-button { cursor: pointer; }
.mobile-nav { width: 100%; color: #fff; font-family: Roboto, Arial, sans-serif; }
.mobile-nav summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; font-size: 18px; border: 1px solid #545454; border-radius: 4px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: '\2630'; font-size: 22px; }
.mobile-nav[open] summary::after { content: '\00d7'; }
.mobile-nav nav { display: grid; margin-top: 8px; gap: 6px; }
.mobile-nav a { padding: 12px 16px; color: #fff; text-decoration: none; border-bottom: 1px solid #545454; text-align: center; }
.mobile-nav a[aria-current="page"] { border-color: #f10608; background: #111; }
.quote-form { color: #fff; font-family: Roboto, Arial, sans-serif; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 26px; }
.quote-field { display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.quote-field.full-width { grid-column: 1 / -1; }
.quote-field label { color: #fff; font-weight: 500; }
.quote-field input, .quote-field select, .quote-field textarea { width: 100%; border: 1px solid #868686; border-radius: 4px; background: #fff; color: #111; padding: 11px 13px; font: 16px/1.5 Roboto, Arial, sans-serif; }
.quote-field textarea { min-height: 120px; resize: vertical; }
.quote-explanation { margin: 22px auto 16px; max-width: 760px; color: #d1d5db; font-size: 16px; line-height: 1.6; text-align: center; }
.quote-explanation a { color: #fff; text-decoration: underline; }
.quote-submit-container { display: flex; justify-content: center; }
.quote-submit { display: block; padding: 15px 24px; border: 2px solid #f10608; border-radius: 8px; background: #d1d5db; color: #000; font: 20px/1.2 Lato, Arial, sans-serif; letter-spacing: .02em; cursor: pointer; }
.quote-submit:hover { background: #fff; }
.quote-submit:disabled { opacity: .7; cursor: default; }
.quote-privacy { margin: 16px auto; max-width: 760px; color: #d1d5db; font: 14px/1.6 Roboto, Arial, sans-serif; text-align: center; }
.quote-status { margin-top: 24px; padding: 20px; border: 1px solid #868686; border-radius: 8px; background: #111; color: #fff; font: 16px/1.6 Roboto, Arial, sans-serif; }
.quote-status[data-state="success"] { border-color: #85bf96; }
.quote-status[data-state="error"] { border-color: #f10608; }
.quote-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map-address-link { display: block; padding: 14px 20px; text-align: center; color: #fff; background: #111; text-decoration: underline; font-family: Roboto, Arial, sans-serif; }
.image-viewer { max-width: min(94vw, 1200px); max-height: 94vh; margin: auto; padding: 12px; border: 1px solid #545454; border-radius: 8px; background: #111; color: #fff; }
.image-viewer::backdrop { background: rgb(0 0 0 / .85); }
.image-viewer img { display: block; width: auto; height: auto; max-width: 86vw; max-height: 78vh; margin: 0 auto; object-fit: contain; }
.image-viewer button { display: block; margin: 0 0 12px auto; padding: 7px 14px; border: 1px solid #868686; border-radius: 4px; background: #fff; color: #111; cursor: pointer; font: 16px/1.5 Roboto, Arial, sans-serif; }
.gallery-image-button { display: block; width: 100%; background: none; padding: 0; border: 0; cursor: zoom-in; }
@media (max-width: 1100px) {
  .brand-site__header [data-component="css-desktop-only"] { display: none !important; }
  .brand-site__header [data-component="css-mobile-only"] { display: block !important; }
}
@media (max-width: 767px) {
  .brand-page__content--desktop [data-component="text-wrapper"] span[style*="font-size: 3.75em"] { font-size: 2.15em !important; }
  .brand-page__content--desktop [data-component="text-wrapper"] span[style*="font-size: 2.6875em"] { font-size: 1.85em !important; }
  .brand-page__content--desktop [data-component="text-wrapper"] span[style*="font-size: 1.25em"] { font-size: 1.08em !important; }
  .quote-fields { grid-template-columns: 1fr; }
  .quote-field.full-width { grid-column: auto; }
  .c-grid-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
