/* ==========================================================================
   The Open Garage - public-site design system (Kingdom Auto & Detail)
   Plan: .scs/plan-open-garage.md section 1. Prefix: og-. Loaded after
   Bootstrap 5.3 + design-system/style/pages css; scoped to body.og-shell.
   ========================================================================== */

/* ---- 1.1 Tokens -------------------------------------------------------- */
:root {
  --og-blue: #2E6BD6; --og-blue-hover: #1F53B3; --og-blue-deep: #184A9E;
  --og-blue-soft: #E8F0FB; --og-blue-tint: #F3F7FD; --og-blue-border: #BFD4F2;
  --og-navy: #0F2547; --og-navy-800: #15305C;
  --og-ink: #2F3A4F; --og-muted: #5F6B80; --og-light: #8A95A8; --og-white: #FFFFFF;
  --og-border: #E3E9F2; --og-border-strong: #CBD5E3;
  --og-on-blue-muted: rgba(255,255,255,0.95); --og-on-blue-line: rgba(255,255,255,0.22);
  --og-shadow-sm: 0 1px 2px rgba(15,37,71,0.06);
  --og-shadow-md: 0 6px 16px -6px rgba(15,37,71,0.14);
  --og-shadow-lg: 0 18px 40px -16px rgba(15,37,71,0.22);
  --og-r-sm: 6px; --og-r-md: 10px; --og-r-lg: 14px; --og-r-pill: 999px;
  --og-font-display: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --og-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --og-fs-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
  --og-fs-h1-sm: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --og-fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --og-fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --og-fs-h4: 1.125rem; --og-fs-lead: 1.125rem; --og-fs-body: 1rem;
  --og-fs-small: 0.875rem; --og-fs-eyebrow: 0.75rem;
  --og-s1: 4px; --og-s2: 8px; --og-s3: 12px; --og-s4: 16px; --og-s5: 24px;
  --og-s6: 32px; --og-s7: 48px; --og-s8: 64px; --og-s9: 96px;
  --og-section-y: clamp(40px, 5.4vw, 72px);
  --og-container: 1180px; --og-container-narrow: 760px;
  --og-header-h: 80px; --og-strip-h: 40px; --og-mobilebar-h: 70px;
  --og-ease: cubic-bezier(.22,.61,.36,1); --og-ease-in-out: cubic-bezier(.65,0,.35,1);
  --og-d-fast: 160ms; --og-d-base: 260ms; --og-d-slow: 600ms;
  --og-focus: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--og-blue);
  --og-focus-on-blue: 0 0 0 3px var(--og-blue), 0 0 0 6px #FFFFFF;
}
@media (max-width: 991.98px) { :root { --og-header-h: 64px; } }

/* ---- 1.2 Base ---------------------------------------------------------- */
body.og-shell { padding-top: 0 !important; background: #fff; color: var(--og-ink); font-family: var(--og-font-body); line-height: 1.6; }
:where(body.og-shell) :is(h1, h2, h3, h4) { font-family: var(--og-font-display); color: var(--og-navy); }
:where(body.og-shell) a { color: var(--og-blue); }
:where(body.og-shell) img { max-width: 100%; }
:where(body.og-shell) :is(h1, h2, h3) { text-wrap: balance; }
.og-h1 { font-size: var(--og-fs-h1); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
.og-h1-sm { font-size: var(--og-fs-h1-sm); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.og-h2 { font-size: var(--og-fs-h2); line-height: 1.1; font-weight: 800; letter-spacing: -0.015em; }
.og-h3 { font-size: var(--og-fs-h3); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.og-h4 { font-size: var(--og-fs-h4); line-height: 1.3; font-weight: 700; }
.og-lead { font-size: var(--og-fs-lead); line-height: 1.6; color: var(--og-muted); max-width: 60ch; }
.og-small { font-size: var(--og-fs-small); line-height: 1.5; }
.og-eyebrow { display: block; margin-bottom: 12px; font-size: var(--og-fs-eyebrow); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--og-blue); }
.og-eyebrow--on-blue { color: var(--og-on-blue-muted); }
.og-container { width: 100%; max-width: var(--og-container); margin-inline: auto; padding-inline: 16px; }
.og-container--narrow { max-width: var(--og-container-narrow); }
@media (min-width: 768px) { .og-container { padding-inline: 24px; } }
.og-section { padding-block: var(--og-section-y); }
.og-section--tint { background: var(--og-blue-tint); }
.og-section--navy { background: var(--og-navy); color: #fff; }
.og-section--blue { background: linear-gradient(180deg, var(--og-blue) 0%, var(--og-blue-deep) 100%); color: #fff; }
.og-section--navy :is(h1, h2, h3, h4), .og-section--blue :is(h1, h2, h3, h4) { color: #fff; }
.og-section--blue .og-lead, .og-section--navy .og-lead { color: var(--og-on-blue-muted); }
.og-section--blue .og-eyebrow, .og-section--navy .og-eyebrow { color: var(--og-on-blue-muted); }
.og-section-head { max-width: 640px; margin-bottom: var(--og-s6); }
.og-section-head--center { margin-inline: auto; text-align: center; }
.og-section-head--center .og-lead { margin-inline: auto; }
.og-rule { display: block; width: 48px; height: 3px; background: var(--og-blue); border-radius: 2px; margin-bottom: var(--og-s4); }
.og-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--og-blue); min-height: 24px; }
.og-card-link:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--og-blue-hover); }
body.og-shell :is(a, button, [tabindex]):focus-visible { outline: none; box-shadow: var(--og-focus); }
body.og-shell :is(.og-section--blue, .og-footer, .og-strip) :is(a, button, [tabindex]):focus-visible { box-shadow: var(--og-focus-on-blue); }
.og-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 2000; background: #fff; color: var(--og-navy); padding: 10px 14px; border-radius: var(--og-r-md); box-shadow: var(--og-shadow-md); }

/* ---- 1.3 Buttons ------------------------------------------------------- */
.og-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; font: 600 15px/1 var(--og-font-body); border-radius: var(--og-r-md); border: 1.5px solid transparent; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--og-d-fast) var(--og-ease), color var(--og-d-fast), border-color var(--og-d-fast), box-shadow var(--og-d-fast), transform var(--og-d-fast); }
.og-btn:hover { text-decoration: none; }
.og-btn-primary { background: var(--og-blue); color: #fff; }
.og-btn-primary:hover, .og-btn-primary:focus { background: var(--og-blue-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--og-shadow-md); }
.og-btn-primary:active { background: var(--og-blue-deep); transform: translateY(0); }
.og-btn-secondary { background: #fff; color: var(--og-navy); border-color: var(--og-border-strong); }
.og-btn-secondary:hover, .og-btn-secondary:focus { border-color: var(--og-blue); color: var(--og-blue); background: var(--og-blue-tint); }
.og-btn-on-blue { background: #fff; color: var(--og-navy); }
.og-btn-on-blue:hover, .og-btn-on-blue:focus { background: var(--og-blue-tint); color: var(--og-navy); transform: translateY(-1px); }
.og-btn-ghost-on-blue { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.og-btn-ghost-on-blue:hover, .og-btn-ghost-on-blue:focus { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.og-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.og-btn-block { width: 100%; }
.og-link-phone { display: inline-flex; gap: 8px; align-items: center; color: var(--og-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--og-blue-border); text-underline-offset: 4px; }
.og-link-phone .bi { color: var(--og-blue); }
.og-link-phone:hover { color: var(--og-blue); text-decoration-color: var(--og-blue); }

/* ---- 1.4 Surfaces ------------------------------------------------------ */
.og-card { background: #fff; border: 1px solid var(--og-border); border-radius: var(--og-r-lg); padding: var(--og-s5); box-shadow: var(--og-shadow-sm); transition: border-color var(--og-d-fast), box-shadow var(--og-d-fast); }
.og-card:has(a):hover { border-color: var(--og-blue-border); box-shadow: var(--og-shadow-md); }
.og-card-title { margin: 0 0 6px; font: 700 18px/1.3 var(--og-font-display); }
.og-card-text { margin: 0 0 14px; color: var(--og-muted); font-size: 15px; line-height: 1.55; }
.og-card-price { display: block; margin-bottom: 12px; color: var(--og-navy); font-weight: 700; font-size: 16px; }
.og-card-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.og-frame { position: relative; padding: 6px; background: #fff; border: 1.5px solid var(--og-blue-border); border-radius: var(--og-r-lg); box-shadow: var(--og-shadow-sm); }
.og-frame > picture, .og-frame > img { display: block; width: 100%; border-radius: calc(var(--og-r-lg) - 6px); overflow: hidden; }
.og-frame img { display: block; width: 100%; height: auto; }
.og-frame::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -2px; height: 3px; background: var(--og-blue); border-radius: 2px; }
.og-frame-tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: #fff; color: var(--og-navy); font: 700 11px/1 var(--og-font-body); letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border-radius: var(--og-r-sm); border-left: 3px solid var(--og-blue); }
.og-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--og-border); }
.og-list-item { display: grid; grid-template-columns: 1fr; gap: 12px 32px; padding: 20px 0; border-bottom: 1px solid var(--og-border); align-items: center; }
.og-list-main { min-width: 0; }
.og-list-title { font: 700 18px/1.3 var(--og-font-display); color: var(--og-navy); text-decoration: none; }
.og-list-title:hover { color: var(--og-blue); }
.og-list-text { margin: 4px 0 0; color: var(--og-muted); font-size: 15px; }
.og-list-side { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; }
.og-price { font-weight: 700; color: var(--og-navy); white-space: nowrap; }
@media (min-width: 576px) {
  .og-list-item { grid-template-columns: 1fr auto; gap: 16px 32px; }
  .og-list-side { text-align: right; align-items: flex-end; }
}
.og-page-head { background: var(--og-blue-tint); border-bottom: 1px solid var(--og-border); padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 4vw, 48px); }
.og-page-head .og-h1-sm { margin: 0 0 16px; }
.og-page-head .og-lead { margin: 0; }
.og-page-head-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.og-faq .accordion-item { border: 1px solid var(--og-border); border-radius: var(--og-r-lg) !important; margin-bottom: 10px; background: #fff; overflow: hidden; }
.og-faq .accordion-header { margin: 0; }
.og-faq .accordion-button { font: 600 16px/1.4 var(--og-font-body); color: var(--og-navy); background: #fff; padding: 18px 20px; box-shadow: none; }
.og-faq .accordion-button:not(.collapsed) { color: var(--og-blue); background: var(--og-blue-tint); box-shadow: none; }
.og-faq .accordion-button:focus { box-shadow: var(--og-focus); }
.og-faq .accordion-body { color: var(--og-ink); font-size: 15px; line-height: 1.6; padding: 4px 20px 20px; }
.og-faq--on-blue .accordion-item { background: rgba(255,255,255,.06); border-color: var(--og-on-blue-line); }
.og-faq--on-blue .accordion-button { color: #fff; background: transparent; }
.og-faq--on-blue .accordion-button:not(.collapsed) { color: #fff; background: rgba(255,255,255,.10); }
.og-faq--on-blue .accordion-button:focus { box-shadow: var(--og-focus-on-blue); }
.og-faq--on-blue .accordion-button::after, .og-faq--on-blue .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.og-faq--on-blue .accordion-body { color: #fff; }
.og-faq--on-blue .accordion-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.og-cta { padding-block: clamp(36px, 5vw, 56px); }
.og-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.og-cta h2 { color: #fff; margin: 0; font-size: var(--og-fs-h3); font-weight: 800; }
.og-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 992px) { .og-aside-card { position: sticky; top: calc(var(--og-header-h) + 16px); } }
.og-aside-price { display: block; margin-bottom: 12px; font: 800 28px/1.1 var(--og-font-display); color: var(--og-navy); }
.og-aside-note { font-size: 13px; color: var(--og-muted); line-height: 1.5; }
.og-chipbar { display: flex; gap: 8px; flex-wrap: wrap; }
.og-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--og-r-pill); background: var(--og-blue-soft); color: var(--og-navy); font: 600 13px/1 var(--og-font-body); text-decoration: none; border: 1px solid transparent; }
.og-chip:hover { border-color: var(--og-blue-border); color: var(--og-blue); }
.og-page-head .og-chip, .og-section--tint .og-chip { background: #fff; border-color: var(--og-blue-border); }
.og-steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 576px) { .og-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .og-steps { grid-template-columns: repeat(4, 1fr); } }
.og-steps .og-step p { margin: 0; color: var(--og-muted); font-size: 15px; line-height: 1.55; }
.og-steps .og-step h3 { margin: 0 0 6px; }
.og-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--og-blue-soft); color: var(--og-blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 12px; }
.og-field { margin-bottom: 16px; }
.og-label { display: block; font: 600 13px/1 var(--og-font-body); color: var(--og-navy); margin-bottom: 8px; }
.og-input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--og-border-strong); border-radius: var(--og-r-md); font: 400 16px/1.4 var(--og-font-body); color: var(--og-ink); background: #fff; }
.og-input:focus { outline: none; border-color: var(--og-blue); box-shadow: 0 0 0 3px var(--og-blue-soft); }
textarea.og-input { min-height: 140px; resize: vertical; }
.og-input.is-invalid { border-color: #C5472E; }
.og-error { color: #C5472E; font-size: 13px; margin-top: 6px; }
.og-alert { padding: 14px 16px; border-radius: var(--og-r-md); margin-bottom: 20px; font-size: 15px; }
.og-alert--ok { background: #E6F5EE; color: #1E6B47; border: 1px solid #BFE5D1; }
.og-alert--err { background: #F8E5DF; color: #8E2E1B; border: 1px solid #F0CCC3; }
.og-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.og-seg-btn { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--og-border-strong); border-radius: var(--og-r-md); background: #fff; color: var(--og-navy); font: 600 14px/1 var(--og-font-body); cursor: pointer; transition: background-color var(--og-d-fast), border-color var(--og-d-fast), color var(--og-d-fast); }
.og-seg-btn:hover { border-color: var(--og-blue); }
.og-seg-btn[aria-pressed="true"] { background: var(--og-blue); border-color: var(--og-blue); color: #fff; }

/* ---- 1.5 Shell: strip, header, nav, footer, mobile bar ----------------- */
.og-strip { background: var(--og-blue); color: #fff; min-height: var(--og-strip-h); font-size: 13px; line-height: 1.4; }
.og-strip[hidden] { display: none; }
.og-strip-inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 8px; }
.og-strip-text { margin: 0; text-align: center; }
.og-strip-text strong { font-weight: 700; }
.og-strip-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.og-strip-link:hover { color: #fff; }
.og-strip-close { flex: none; background: transparent; border: 0; color: #fff; width: 44px; height: 44px; margin-block: -8px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--og-r-sm); opacity: .85; cursor: pointer; }
.og-strip-close:hover { opacity: 1; background: rgba(255,255,255,.12); }
@media (min-width: 576px) { .og-strip { font-size: 14px; } }
.og-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--og-border); transition: box-shadow var(--og-d-fast); }
.og-header.is-scrolled { box-shadow: var(--og-shadow-md); }
.og-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--og-header-h); }
.og-brand { display: block; flex: none; }
.og-brand-img { height: 52px; width: auto; display: block; }
.og-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; }
.og-nav-list { display: flex; flex-direction: column; gap: 0; list-style: none; margin: 0; padding: 0; }
.og-nav-link { display: flex; align-items: center; min-height: 48px; width: 100%; padding: 0 14px; border-radius: var(--og-r-md); color: var(--og-navy); font: 500 16px/1 var(--og-font-body); text-decoration: none; position: relative; }
.og-nav-link:hover { background: var(--og-blue-tint); color: var(--og-blue); }
.og-nav-link.is-active { color: var(--og-blue); background: var(--og-blue-tint); }
.og-nav-utility { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 12px 0 0; }
.og-nav-phone { justify-content: center; min-height: 44px; }
.og-nav-account { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; color: var(--og-muted); font-size: 14px; text-decoration: none; border-radius: var(--og-r-md); }
.og-nav-account:hover { color: var(--og-navy); background: var(--og-blue-tint); }
.og-nav-book { width: 100%; }
.og-nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1.5px solid var(--og-border-strong); border-radius: var(--og-r-md); cursor: pointer; }
.og-burger, .og-burger::before, .og-burger::after { display: block; width: 20px; height: 2px; background: var(--og-navy); border-radius: 1px; }
.og-burger { position: relative; transition: background-color var(--og-d-fast); }
.og-burger::before, .og-burger::after { content: ""; position: absolute; left: 0; transition: transform var(--og-d-fast), top var(--og-d-fast); }
.og-burger::before { top: -6px; }
.og-burger::after { top: 6px; }
.og-nav-toggle[aria-expanded="true"] .og-burger { background: transparent; }
.og-nav-toggle[aria-expanded="true"] .og-burger::before { top: 0; transform: rotate(45deg); }
.og-nav-toggle[aria-expanded="true"] .og-burger::after { top: 0; transform: rotate(-45deg); }
.og-nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--og-border); box-shadow: var(--og-shadow-lg); padding: 12px 16px 20px; display: none; max-height: calc(100vh - var(--og-header-h)); overflow-y: auto; }
.og-nav-panel.is-open { display: block; }
@media (min-width: 992px) {
  :root { --og-header-h: 84px; }
  .og-brand-img { height: 72px; }
  .og-nav-toggle { display: none; }
  .og-nav-panel, .og-nav-panel.is-open { position: static; display: flex; align-items: center; justify-content: flex-end; flex: 1; background: transparent; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; }
  .og-nav-list { flex-direction: row; gap: 4px; }
  .og-nav-link { width: auto; min-height: 44px; font-size: 15px; }
  .og-nav-link.is-active { background: transparent; }
  .og-nav-link.is-active:hover { background: var(--og-blue-tint); }
  .og-nav-link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--og-blue); border-radius: 1px; }
  .og-nav-utility { flex-direction: row; align-items: center; gap: 12px; margin: 0 0 0 16px; }
  .og-nav-phone { display: none; }
  .og-nav-account { justify-content: flex-start; }
  .og-nav-book { width: auto; }
}
@media (min-width: 1200px) { .og-nav-phone { display: inline-flex; } }
.og-footer { background: var(--og-navy); color: var(--og-on-blue-muted); padding: var(--og-s8) 0 var(--og-s5); }
.og-footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 576px) { .og-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .og-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.og-footer-logo { display: block; height: 132px; width: auto; max-width: 100%; margin-bottom: 16px; }
.og-footer-tagline { max-width: 34ch; margin: 0; font-size: 14px; line-height: 1.6; }
.og-footer-social { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--og-on-blue-line); border-radius: 50%; color: #fff; text-decoration: none; margin-top: 12px; }
.og-footer-social:hover { background: rgba(255,255,255,.12); color: #fff; }
.og-footer-h { color: #fff; font: 700 12px/1 var(--og-font-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.og-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.og-footer-col a { color: var(--og-on-blue-muted); text-decoration: none; font-size: 14px; min-height: 24px; display: inline-block; }
.og-footer-col a:hover, .og-footer-legal a:hover { color: #fff; text-decoration: underline; }
.og-footer-address { margin: 0; font-style: normal; font-size: 14px; line-height: 1.8; }
.og-footer-address .bi { color: #7FB1F4; margin-right: 8px; }
.og-footer-bottom { border-top: 1px solid var(--og-on-blue-line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; }
.og-footer-copy { margin: 0; }
.og-footer-legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; }
.og-footer-legal a { color: var(--og-on-blue-muted); text-decoration: none; }
.og-mobilebar { display: none; }
@media (max-width: 767.98px) {
  .og-mobilebar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1029; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--og-border); box-shadow: 0 -6px 16px -8px rgba(15,37,71,.18); }
  .og-mobilebar.is-hidden { display: none; }
  .og-footer { padding-bottom: calc(var(--og-s5) + var(--og-mobilebar-h) + env(safe-area-inset-bottom)); }
  body.og-shell:not(:has(.og-footer)) { padding-bottom: calc(var(--og-mobilebar-h) + env(safe-area-inset-bottom)); }
}

/* ---- 1.6 Homepage components ------------------------------------------- */
.og-hero { padding: clamp(24px, 3.4vw, 40px) 0 clamp(28px, 3.4vw, 40px); background: #fff; overflow: hidden; }
.og-hero-grid { display: grid; gap: 32px; align-items: center; }
.og-hero-copy, .og-hero-visual { min-width: 0; }
.og-hero-copy { container-type: inline-size; }
.og-hero-h1 { margin: 0 0 20px; display: flex; flex-direction: column; }
.og-hero-line { display: block; font-family: var(--og-font-display); font-weight: 800; font-size: var(--og-fs-h1); line-height: 1.02; letter-spacing: -0.02em; color: var(--og-navy); }
@supports (font-size: 1cqi) { .og-hero-line { font-size: min(var(--og-fs-h1), 9.6cqi); } }
.og-hero-line--blue { color: var(--og-blue); }
.og-hero-lead { font-size: var(--og-fs-lead); line-height: 1.6; color: var(--og-muted); max-width: 46ch; margin: 0 0 24px; }
.og-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.og-hero-phone { font-size: 15px; color: var(--og-muted); margin: 0; }
.og-hero-hours { white-space: nowrap; }
.og-hero-accent { display: block; height: 3px; width: 120px; background: var(--og-blue); border-radius: 2px; margin-top: 28px; transform-origin: left; transform: scaleX(calc(0.35 + 0.65 * var(--og-hero-p, 0))); }
.og-hero-visual { position: relative; }
.og-bay { position: relative; display: block; padding: 6px; border: 1.5px solid var(--og-blue-border); border-radius: var(--og-r-lg); }
.og-bay::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -2px; height: 3px; background: var(--og-blue); border-radius: 2px; }
.og-bay-frame { display: none; }
.og-bay-list { list-style: none; margin: 0; padding: 0; display: block; }
.og-bay-item { position: relative; display: none; aspect-ratio: 16 / 10; border-radius: calc(var(--og-r-lg) - 6px); overflow: hidden; }
.og-bay-item.is-active { display: block; }
.og-panel { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; border-radius: inherit; overflow: hidden; outline: none; }
.og-panel:hover { color: #fff; }
.og-panel picture, .og-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.og-panel picture { clip-path: inset(0% 0% 0% 0% round 0px); }
.og-panel img { transition: transform 300ms var(--og-ease); }
.og-bay-item:is(:hover, :focus-within) .og-panel img { transform: scale(1.04); }
.og-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,37,71,0) 55%, rgba(15,37,71,.55) 100%); }
body.og-shell .og-panel:focus-visible { box-shadow: none; }
.og-panel:focus-visible::before { content: ""; position: absolute; inset: 6px; z-index: 2; border: 3px solid #fff; outline: 3px solid var(--og-blue); border-radius: var(--og-r-md); pointer-events: none; }
.og-panel-label { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; background: #fff; color: var(--og-navy); border-radius: var(--og-r-md); padding: 10px 12px; border-left: 3px solid var(--og-blue); transition: background-color var(--og-d-fast), color var(--og-d-fast); }
.og-panel-name { display: block; font: 700 15px/1.2 var(--og-font-display); letter-spacing: .02em; text-transform: uppercase; }
.og-panel-sub { display: block; font-size: 12.5px; color: var(--og-muted); margin-top: 3px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.og-bay-item:is(:hover, :focus-within) .og-panel-label { background: var(--og-blue); color: #fff; border-left-color: #fff; }
.og-bay-item:is(:hover, :focus-within) .og-panel-sub { color: rgba(255,255,255,.85); }
[data-og-panel="repairs"] img { object-position: 55% 40%; }
[data-og-panel="tires"] img { object-position: 50% 45%; }
[data-og-panel="detailing"] img { object-position: 45% 50%; }
.og-tabs { display: flex; gap: 6px; margin-top: 14px; border-bottom: 1px solid var(--og-border); }
.og-tab { flex: 1; min-height: 44px; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--og-muted); font: 600 14px/1 var(--og-font-body); cursor: pointer; }
.og-tab[aria-selected="true"] { color: var(--og-blue); border-bottom-color: var(--og-blue); }
.og-tabpanel { padding-top: 12px; }
.og-tabpanel[hidden] { display: none; }
.og-tabpanel p { margin: 0 0 8px; color: var(--og-muted); font-size: 15px; }
@media (min-width: 992px) {
  .og-hero-grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 48px; }
  .og-tabs, .og-tabpanel { display: none !important; }
  .og-bay { height: clamp(380px, 36vw, 520px); padding: 0; border: 0; border-radius: 0; }
  .og-bay::after { display: none; }
  .og-bay-frame { display: block; position: absolute; inset: -8px; border: 1.5px solid var(--og-blue-border); border-radius: calc(var(--og-r-lg) + 6px); pointer-events: none; transform: translateY(calc(var(--og-hero-p, 0) * -8px)); }
  .og-bay-frame::before { content: "BAY 1 \00B7  2 \00B7  3"; position: absolute; top: -9px; left: 16px; background: #fff; padding: 0 8px; font: 700 10px/18px var(--og-font-body); letter-spacing: .14em; color: var(--og-blue); }
  .og-bay-frame::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -2px; height: 3px; background: var(--og-blue); border-radius: 2px; transform-origin: left; transform: scaleX(var(--og-hero-p, 0)); }
  /* Grid (not flex-grow) so the expansion is a single deterministic track transition. */
  .og-bay-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; height: 100%; contain: layout; transition: grid-template-columns var(--og-d-base) var(--og-ease); }
  .og-bay-list:has(.og-bay-item:nth-child(1):is(:hover, :focus-within)) { grid-template-columns: 1.55fr 1fr 1fr; }
  .og-bay-list:has(.og-bay-item:nth-child(2):is(:hover, :focus-within)) { grid-template-columns: 1fr 1.55fr 1fr; }
  .og-bay-list:has(.og-bay-item:nth-child(3):is(:hover, :focus-within)) { grid-template-columns: 1fr 1fr 1.55fr; }
  .og-bay-item { display: block; aspect-ratio: auto; min-width: 0; border-radius: var(--og-r-lg); }
}
.og-svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .og-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .og-svc-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.og-svc-card { display: flex; flex-direction: column; min-height: 100%; }
.og-svc-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.og-svc-foot p { margin: 0; color: var(--og-ink); font-size: 16px; }
.og-see-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .og-see-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.og-process { position: relative; margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.og-process-track { position: absolute; left: 14px; top: 15px; bottom: 30px; width: 2px; background: var(--og-blue-border); z-index: 0; }
.og-process-line { position: absolute; inset: 0; background: var(--og-blue); transform-origin: top; transform: scaleY(1); transition: transform var(--og-d-slow) var(--og-ease-in-out); }
.og-step { position: relative; z-index: 1; }
.og-process .og-step { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: start; }
.og-process .og-step-dot { grid-row: span 2; margin: 0; }
.og-step-dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--og-blue-border); display: flex; align-items: center; justify-content: center; font: 700 12px/1 var(--og-font-body); color: var(--og-blue); margin-bottom: 10px; transition: background-color var(--og-d-base), border-color var(--og-d-base), color var(--og-d-base); }
.og-step.is-on .og-step-dot { background: var(--og-blue); border-color: var(--og-blue); color: #fff; }
.og-process .og-step h3 { font: 700 15px/1.3 var(--og-font-display); margin: 0 0 4px; }
.og-process .og-step p { margin: 0; font-size: 13.5px; color: var(--og-muted); line-height: 1.5; }
@media (min-width: 768px) {
  .og-process { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .og-process-track { left: 15px; right: calc(25% - 27px); top: 14px; bottom: auto; width: auto; height: 2px; }
  .og-process-line { transform-origin: left; transform: scaleX(1); }
  .og-process .og-step { display: block; }
  .og-process .og-step-dot { margin: 0 0 10px; }
}
.og-local-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 992px) { .og-local-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.og-reviews { display: grid; gap: 12px; margin-top: 24px; }
.og-review { margin: 0; background: #fff; border: 1px solid var(--og-border); border-left: 3px solid var(--og-blue); border-radius: var(--og-r-md); padding: 16px 18px; }
.og-review blockquote { margin: 0 0 8px; font-size: 15px; line-height: 1.55; color: var(--og-ink); }
.og-review figcaption { font-size: 13px; color: var(--og-muted); }
.og-review figcaption strong { color: var(--og-navy); }
.og-book-grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .og-book-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.og-book-lead { color: var(--og-on-blue-muted); font-size: var(--og-fs-lead); max-width: 48ch; }
.og-book-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px; }
.og-book-info { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--og-on-blue-line); }
@media (min-width: 576px) { .og-book-info { grid-template-columns: 1fr 1fr; } }
.og-book-info h3 { color: #fff; font: 700 12px/1 var(--og-font-body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.og-book-info p { margin: 0; color: #fff; font-size: 15px; line-height: 1.6; }
.og-book-info a { color: #fff; font-weight: 600; }
.og-book-faq h3 { color: var(--og-on-blue-muted); font: 700 12px/1 var(--og-font-body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.og-book-divider { display: block; height: 3px; width: 120px; background: #fff; border-radius: 2px; margin-bottom: 20px; transform-origin: left; transition: transform var(--og-d-slow) var(--og-ease); }

/* ---- 1.7 Motion (start-states gated on html.og-js) --------------------- */
.og-js .og-hero:not(.is-in) .og-hero-copy > * { transform: translateY(8px); }
.og-js .og-hero:not(.is-in) .og-bay-frame { opacity: 0; transform: scale(.985); }
.og-js .og-hero:not(.is-in) .og-panel picture { opacity: 0; clip-path: inset(8% 8% 8% 8% round 10px); }
.og-js .og-hero:not(.is-in) .og-panel-label { opacity: 0; transform: translateY(6px); }
.og-js .og-hero:not(.is-in) .og-hero-accent { transform: scaleX(0); }
.og-hero.is-in .og-hero-copy > * { transition: transform 320ms var(--og-ease); }
.og-hero.is-in .og-hero-copy > :nth-child(1) { transition-delay: 80ms; }
.og-hero.is-in .og-hero-copy > :nth-child(2) { transition-delay: 120ms; }
.og-hero.is-in .og-hero-copy > :nth-child(3) { transition-delay: 160ms; }
.og-hero.is-in .og-hero-copy > :nth-child(4) { transition-delay: 200ms; }
.og-hero.is-in .og-hero-copy > :nth-child(5) { transition-delay: 240ms; }
.og-hero.is-in .og-bay-frame { transition: opacity 250ms var(--og-ease), transform 250ms var(--og-ease); }
.og-hero.is-in .og-panel picture { transition: opacity 400ms var(--og-ease), clip-path 400ms var(--og-ease); }
.og-hero.is-in [data-og-panel="repairs"] picture { transition-delay: 150ms; }
.og-hero.is-in [data-og-panel="tires"] picture { transition-delay: 250ms; }
.og-hero.is-in [data-og-panel="detailing"] picture { transition-delay: 350ms; }
.og-hero.is-in .og-panel-label { transition: opacity 400ms var(--og-ease) 550ms, transform 400ms var(--og-ease) 550ms, background-color var(--og-d-fast), color var(--og-d-fast); }
.og-hero.is-in .og-hero-copy > .og-hero-accent, .og-hero.is-in .og-hero-accent { transition: transform 400ms var(--og-ease) 550ms; }
.og-hero.is-settled .og-bay-frame, .og-hero.is-settled .og-hero-copy > .og-hero-accent, .og-hero.is-settled .og-hero-accent { transition: transform 120ms linear; }
.og-js .og-reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
.og-reveal.is-in { transition: opacity 500ms var(--og-ease), transform 500ms var(--og-ease); transition-delay: calc(var(--og-i, 0) * 70ms); }
.og-js .og-process-line { transform: scaleY(0); }
.og-js .og-process.is-in .og-process-line { transform: scaleY(1); }
@media (min-width: 768px) {
  .og-js .og-process-line { transform: scaleX(0); }
  .og-js .og-process.is-in .og-process-line { transform: scaleX(1); }
}
.og-js .og-book .og-book-divider { transform: scaleX(0); }
.og-js .og-book.is-in .og-book-divider { transform: scaleX(1); }

/* ---- 1.8 Reduced motion ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.og-shell *, body.og-shell *::before, body.og-shell *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .og-js .og-hero:not(.is-in) .og-hero-copy > *, .og-js .og-hero:not(.is-in) .og-bay-frame, .og-js .og-hero:not(.is-in) .og-panel picture,
  .og-js .og-hero:not(.is-in) .og-panel-label, .og-js .og-hero:not(.is-in) .og-hero-accent { opacity: 1; transform: none; clip-path: none; }
  .og-hero .og-bay-frame, .og-hero .og-hero-accent { transform: none !important; }
  .og-bay-list, .og-bay-item, .og-panel img { transition: none !important; }
  .og-js .og-reveal:not(.is-in) { opacity: 1; transform: none; }
  .og-process-line { transform: scaleY(1) !important; transition: none !important; }
  .og-step .og-step-dot { background: var(--og-blue); border-color: var(--og-blue); color: #fff; }
  .og-book .og-book-divider { transform: scaleX(1) !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 768px) { .og-process-line { transform: scaleX(1) !important; } }

/* ---- QA: AC page corner tags (replaces the clipped diagonal ribbon; brand blue/navy only) ---- */
.ac-compare-card .ac-compare-ribbon { top: 16px; right: 16px; transform: none; padding: 5px 12px; border-radius: var(--og-r-pill); background: var(--og-blue); box-shadow: none; letter-spacing: .06em; z-index: 1; }
.ac-compare-card .ac-compare-ribbon-alt { background: var(--og-navy); box-shadow: none; }

/* ---- QA: pricing page - brand-blue palette (no orange/green/gold/red accents), container aligned with header ---- */
.pricing-redesign {
  --cream-50: var(--og-blue-tint); --cream-100: var(--og-blue-soft); --cream-200: var(--og-border); --cream-300: var(--og-border-strong);
  --pr-success: var(--og-blue); --pr-success-soft: var(--og-blue-soft);
  --pr-warning: var(--og-blue); --pr-warning-soft: var(--og-blue-soft);
  --pr-danger: var(--og-navy-800);
}
.pricing-redesign .pr-section { padding: var(--og-section-y) 0; }
.pricing-redesign .pr-section-narrow { max-width: var(--og-container); padding-inline: 16px; }
@media (min-width: 768px) { .pricing-redesign .pr-section-narrow { padding-inline: 24px; } }
.pricing-redesign .pr-badge.most-popular .dot { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.22); }
.pricing-redesign .pr-badge.best-value, .pricing-redesign .pr-badge.trending { background: var(--og-blue-soft); color: var(--og-blue-deep); }
.pricing-redesign .pr-badge.best-value .dot, .pricing-redesign .pr-badge.trending .dot { background: var(--og-blue); }
.pricing-redesign .pr-badge.hot { background: var(--og-navy); color: #fff; }
.pricing-redesign .pr-badge.hot .dot { background: #fff; }
.pricing-redesign .pr-badge.special-sale { background: var(--og-blue-soft); color: var(--og-blue-deep); }
.pricing-redesign .pr-savings { color: var(--og-blue-deep); }
.pricing-redesign .pr-pkg.featured .pr-savings { background: rgba(255,255,255,.14); color: #fff; }
.pricing-redesign .pr-pkg.featured .pr-included .tick { background: rgba(255,255,255,.16); color: #fff; }

/* ---- QA: gutter safety (Bootstrap g-5 rows overflow the 16px mobile container padding) ---- */
@media (max-width: 767.98px) { .og-container .row.g-5, .og-container .row.gx-5 { --bs-gutter-x: 2rem; } }
body.og-shell { overflow-x: clip; }
