.home-entry { padding-block: 28px 32px; }
.home-entry-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "intro dashboard"; align-items: center; gap: 24px; margin-bottom: 28px; }
.home-entry-intro { grid-area: intro; min-width: 0; }
.home-entry-intro .eyebrow { margin-bottom: 12px; }
.home-entry h1 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.12; letter-spacing: -2px; font-weight: 500; }
.home-entry h1 span { color: var(--muted); }
.home-entry-intro > p { max-width: 720px; margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.home-entry-dashboard { grid-area: dashboard; min-width: 0; }
.home-entry .hero-drive-story { width: 100%; height: 280px; margin: 0; border-radius: 8px; }
.home-entry .drive-scene { inset: 16px 0 0; }
.home-entry .drive-story-control { top: 10px; right: 10px; min-height: 32px; padding: 5px 9px; font-size: 12px; }
.home-entry-photo { display: flex; align-items: center; justify-content: center; height: clamp(180px, 18vw, 250px); margin: 0; overflow: hidden; }
.home-entry-photo img { display: block; width: 100%; max-width: none; height: 100%; object-fit: contain; object-position: center; border-radius: 8px; }
.home-entry-photo--hazards { position: relative; }
.booking-hazards { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.booking-hazards-on { fill: #ffb12d; stroke: #ffe6a6; stroke-width: 1.2; animation: booking-hazard-blink var(--hazard-blink-duration) steps(1, end) infinite; }
@keyframes booking-hazard-blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .booking-hazards-on { animation: none; }
}
.home-entry-options { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 20px; }
.home-entry .home-entry-panel.content-panel { margin: 0; padding: 28px; height: auto; }
.home-entry-booking { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "photo copy" "photo action" "photo location"; align-items: center; gap: 8px 24px; }
.home-entry .home-entry-booking.content-panel { padding: 20px 24px; }
.home-entry-booking .home-entry-photo { grid-area: photo; height: clamp(160px, 16vw, 200px); }
.home-entry-booking-copy { grid-area: copy; min-width: 0; }
.home-entry-booking-copy .home-entry-description { margin-top: 8px; line-height: 1.5; }
.home-entry-panel .eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: 1.5px; }
.home-entry-panel h2 { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.2; letter-spacing: -.8px; }
.home-entry-description { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.home-entry :is(.home-entry-search, .diagnosis-search).content-panel { padding: 24px; }
:is(.home-entry-search, .diagnosis-search) .bmw-problem-search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; max-width: none; margin: 0; padding: 0; border: 0; }
:is(.home-entry-search, .diagnosis-search) .problem-entry-primary { min-width: 0; }
:is(.home-entry-search, .diagnosis-search) .report-vehicle { margin: 0; }
:is(.home-entry-search, .diagnosis-search) .report-vehicle legend { margin-bottom: 16px; font-size: clamp(22px, 2vw, 26px); line-height: 1.35; }
:is(.home-entry-search, .diagnosis-search) .problem-entry-label-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:is(.home-entry-search, .diagnosis-search) .report-vehicle label { margin: 0 0 8px; font-size: 15px; }
:is(.home-entry-search, .diagnosis-search) .report-vehicle :is(input, select) { min-height: 52px; margin-top: 8px; padding: 12px 14px; font-size: 16px; }
:is(.home-entry-search, .diagnosis-search) .report-vehicle > p { font-size: 14px; line-height: 1.5; }
:is(.home-entry-search, .diagnosis-search) .vehicle-flow-progress { display: inline-block; width: auto; margin: 0 0 16px; padding: 5px 10px; border: 1px solid var(--panel-green-border); border-radius: 5px; background: #fff; font-size: 13px; line-height: 1.5; }
:is(.home-entry-search, .diagnosis-search) .report-vehicle .problem-entry-help { margin: 10px 0 0; }
:is(.home-entry-search, .diagnosis-search) .problem-entry-actions.content-panel { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 0; padding: 20px; }
:is(.home-entry-search, .diagnosis-search) .problem-entry-options-title { margin: 0 0 4px; font-size: 17px; line-height: 1.4; font-weight: 600; }
:is(.home-entry-search, .diagnosis-search) [hidden] { display: none !important; }
:is(.home-entry-search, .diagnosis-search) .vehicle-flow-actions { align-items: center; flex-direction: row; justify-content: flex-end; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--panel-green-border); }
:is(.home-entry-search, .diagnosis-search) .problem-entry-step .vehicle-flow-actions { justify-content: flex-start; }
:is(.home-entry-search, .diagnosis-search) .vehicle-flow-actions .button { min-height: 48px; padding: 12px 20px; font-size: 15px; }
:is(.home-entry-search, .diagnosis-search) .dashboard-warning-picker { margin: 0; }
:is(.home-entry-search, .diagnosis-search) :is(.dashboard-warning-trigger, .problem-vehicle-option) { display: flex; align-items: flex-start; justify-content: flex-start; gap: 12px; width: 100%; min-height: 88px; margin: 0; padding: 16px; border: 1px solid var(--panel-sand-border); border-radius: 7px; background: #fff; color: var(--ink, #202429); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
:is(.home-entry-search, .diagnosis-search) :is(.dashboard-warning-trigger, .problem-vehicle-option):enabled:hover { border-color: #a9b4a4; box-shadow: 0 2px 8px rgb(30 40 25 / 6%); }
:is(.home-entry-search, .diagnosis-search) :is(.dashboard-warning-trigger, .problem-vehicle-option):disabled { opacity: .55; cursor: default; }
:is(.home-entry-search, .diagnosis-search) :is(.dashboard-warning-trigger, .problem-vehicle-option):focus-visible { outline: 2px solid #b35323; outline-offset: 3px; }
:is(.home-entry-search, .diagnosis-search) .problem-option-icon { display: flex; flex: 0 0 28px; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 5px; background: var(--panel-green); font-size: 22px; line-height: 1; }
:is(.home-entry-search, .diagnosis-search) .problem-option-copy { display: block; flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.45; }
:is(.home-entry-search, .diagnosis-search) .problem-option-copy strong { display: block; font-weight: 600; }
:is(.home-entry-search, .diagnosis-search) .problem-option-copy > span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
:is(.home-entry-search, .diagnosis-search) .dashboard-warning-selected { margin: 10px 0 0; text-align: left; font-size: 13px; }
:is(.home-entry-search, .diagnosis-search) .tools-error { grid-column: 1 / -1; }
.home-entry-booking-actions { grid-area: action; display: flex; flex-wrap: wrap; gap: 10px; }
.home-entry-booking-actions > .button { display: inline-flex; justify-content: center; gap: 10px; width: auto; min-height: 46px; padding: 10px 14px; font-size: 14px; line-height: 1.35; }
.home-entry-booking-actions > .button-outline { border-color: var(--panel-sand-border); background: rgb(255 255 255 / 55%); }
.home-entry-location { grid-area: location; font-size: 12px; line-height: 1.4; color: var(--muted); }
@media (max-width: 980px) {
    .home-entry-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .home-entry-options { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .home-entry .home-entry-panel.content-panel { padding: 22px; }
    .home-entry :is(.home-entry-search, .diagnosis-search).content-panel { padding: 20px; }
    :is(.home-entry-search, .diagnosis-search) .bmw-problem-search { gap: 20px; }
    :is(.home-entry-search, .diagnosis-search) .problem-entry-actions.content-panel { padding: 16px; }
    :is(.home-entry-search, .diagnosis-search) :is(.dashboard-warning-trigger, .problem-vehicle-option) { gap: 8px; padding: 12px; }
    .home-entry .hero-drive-story { height: 240px; }
    .home-entry-photo { height: 200px; }
}
@media (max-width: 700px) {
    .home-entry { padding-block: 28px; }
    .home-entry-hero { grid-template-areas: "dashboard" "intro"; }
    .home-entry-dashboard { grid-area: dashboard; }
    .home-entry h1 { font-size: clamp(36px, 8.8vw, 48px); letter-spacing: -1.4px; }
    .home-entry-hero { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
    .home-entry-intro { grid-area: intro; margin-bottom: 0; }
    .home-entry-intro .eyebrow { font-size: 11px; letter-spacing: 1.1px; }
    .home-entry-intro > p:last-child { font-size: 17px; margin-top: 14px; }
    .home-entry-intro .home-entry-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(56px, 1fr); align-items: stretch; gap: 10px; width: 100%; }
    .home-entry-intro .home-entry-links a { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 100%; min-width: 0; min-height: 56px; padding: 10px 12px; font-size: 15px; line-height: 1.35; text-align: center; text-wrap: balance; }
    .home-entry-options { grid-template-columns: 1fr; }
    .home-entry .home-entry-panel.content-panel { padding: 22px 20px; }
    .home-entry-panel h2 { font-size: 26px; }
    :is(.home-entry-search, .diagnosis-search) .bmw-problem-search { grid-template-columns: minmax(0, 1fr); }
    :is(.home-entry-search, .diagnosis-search) .problem-entry-actions.content-panel { padding: 16px; }
    :is(.home-entry-search, .diagnosis-search) .vehicle-flow-actions .button { width: 100%; justify-content: center; }
    .home-entry .hero-drive-story { height: 210px; }
    .home-entry-photo { height: auto; min-height: 0; margin-block: 12px; }
    .home-entry-photo img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
    .home-entry-booking { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "photo copy" "action action" "location location"; gap: 12px 14px; }
    .home-entry .home-entry-booking.content-panel { padding: 16px; }
    .home-entry-booking .home-entry-photo { height: auto; margin: 0; }
    .home-entry-booking-copy h2 { font-size: clamp(20px, 4.6vw, 26px); line-height: 1.2; letter-spacing: -.5px; }
    .home-entry-booking-copy .home-entry-description { font-size: 14px; }
    .home-entry-booking-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .home-entry-booking-actions > .button { width: 100%; min-width: 0; min-height: 48px; padding: 10px; white-space: normal; text-align: center; }
    .home-entry-location { text-align: center; }
    .home-entry .home-entry-panel.content-panel { height: auto; }
}

@media (max-width: 440px) {
    .home-entry-intro .home-entry-links { gap: 8px; }
    .home-entry-intro .home-entry-links a { padding: 8px 6px; font-size: 14px; line-height: 1.3; }
}

.home-entry-intro .home-entry-links { justify-content: flex-start; margin-top: 22px; }

.page-home :is(.home-services .service-grid, .home-symptoms .guide-grid) { gap: 20px; align-items: stretch; }
.page-home :is(.home-services .service-grid > .service, .home-symptoms .guide-grid > article) { align-items: stretch; padding: 0; border: 1px solid #d5dcd2; border-radius: 14px; background: var(--white); overflow: hidden; box-shadow: 0 3px 0 rgb(44 61 45 / 3%); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
:is(.home-services, .home-symptoms) .service-visual { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 116px; padding: 16px 26px; border-bottom: 1px solid var(--panel-green-border); background-color: var(--panel-green); background-image: linear-gradient(rgb(76 101 75 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(76 101 75 / 4%) 1px, transparent 1px); background-size: 20px 20px; }
:is(.home-services, .home-symptoms) .service-drawing { display: block; width: 112px; height: 84px; color: #49634e; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:is(.home-services, .home-symptoms) .service-icon-accent { stroke: var(--orange); }
:is(.home-services, .home-symptoms) .service-index { align-self: flex-start; margin-top: 5px; color: #6b7f6b; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 32px; font-weight: 400; line-height: 1; letter-spacing: -2px; }
:is(.home-services, .home-symptoms) .service-body { flex: 1; padding: 25px 26px 26px; }
.home-symptoms .guide-tag { display: block; margin: 0 0 10px; color: #667361; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: 1.2px; text-transform: uppercase; }
.home-services .service h3, .home-symptoms .guide-grid h3 { margin: 0 0 14px; font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -.8px; text-wrap: balance; }
:is(.home-services, .home-symptoms) .service-body > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.page-home .home-hubs-primary .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-home .home-hubs-secondary .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-hubs-secondary .service-visual { height: 96px; }
.home-hubs-secondary .service-drawing { width: 96px; height: 72px; }
.home-services .service:focus-visible { outline-offset: -5px; }
.home-services .service:is(:hover, :focus-visible) .hub-card-link { color: #35533d; background: var(--panel-green); }
.home-symptoms .guide-grid h3 { min-height: 2.5em; }
.home-services .hub-card-link, .home-symptoms .guide-grid .link-arrow { min-height: 66px; padding: 16px 26px; gap: 12px; border: 0; border-top: 1px solid #e4e8e0; background: #fbfcf9; font-size: 14px; }
.home-services .hub-card-link > span, .home-symptoms .guide-grid .link-arrow > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 29px; width: 29px; height: 29px; border: 1px solid #d5dfd0; border-radius: 50%; background: var(--white); color: #49634e; font-size: 19px; }
.home-symptoms .guide-grid .link-arrow:hover { color: #35533d; background: var(--panel-green); }
.home-symptoms .guide-grid .link-arrow:focus-visible { outline-offset: -5px; border-radius: 0 0 12px 12px; }
.page-home :is(.home-services .service, .home-symptoms .guide-grid > article):focus-within { border-color: #6d876b; box-shadow: 0 0 0 3px rgb(73 99 78 / 10%); }
@media (hover: hover) and (pointer: fine) {
    .page-home :is(.home-services .service, .home-symptoms .guide-grid > article):hover { transform: translateY(-4px); border-color: #9cad97; box-shadow: 0 12px 26px -16px rgb(44 61 45 / 30%); }
}
@media (min-width: 981px) and (max-width: 1100px) {
    .home-services .service h3 { font-size: 23px; }
}
@media (min-width: 701px) and (max-width: 980px) {
    .page-home .home-hubs-secondary .service-grid { grid-template-columns: 1fr; }
    .page-home .home-hubs-secondary .service { display: grid; grid-template-columns: 140px minmax(0, 1fr); }
    .home-hubs-secondary .service-visual { grid-row: 1 / 3; height: 100%; padding-inline: 14px; border-right: 1px solid var(--panel-green-border); border-bottom: 0; }
    .home-hubs-secondary .hub-card-link { grid-column: 2; }
    .page-home .home-symptoms .guide-grid { grid-template-columns: 1fr; }
    .page-home .home-symptoms .guide-grid > article { display: grid; grid-template-columns: 140px minmax(0, 1fr); }
    .home-symptoms .service-visual { grid-row: 1 / 3; flex-direction: column; justify-content: center; gap: 20px; height: 100%; border-right: 1px solid var(--panel-green-border); border-bottom: 0; padding-inline: 14px; }
    .home-symptoms .service-index { align-self: center; margin: 0; }
    .home-symptoms .guide-grid h3 { min-height: 0; }
    .home-symptoms .guide-grid .link-arrow { grid-column: 2; }
}
@media (max-width: 700px) {
    .page-home :is(.home-services.home-hubs-primary .service-grid, .home-services.home-hubs-secondary .service-grid, .home-symptoms .guide-grid) { grid-template-columns: 1fr; gap: 18px; }
    :is(.home-services, .home-symptoms) .service-visual { height: 96px; padding: 10px 22px; }
    :is(.home-services, .home-symptoms) .service-drawing { width: 96px; height: 72px; }
    :is(.home-services, .home-symptoms) .service-index { margin-top: 9px; font-size: 28px; }
    :is(.home-services, .home-symptoms) .service-body { padding: 22px; }
    .home-symptoms .guide-tag { font-size: 11px; margin-bottom: 9px; }
    .home-services .service h3, .home-symptoms .guide-grid h3 { font-size: 26px; min-height: 0; }
    .home-services .hub-card-link, .home-symptoms .guide-grid .link-arrow { min-height: 62px; padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .page-home :is(.home-services .service-grid > .service, .home-symptoms .guide-grid > article) { transition: none; }
    .page-home :is(.home-services .service, .home-symptoms .guide-grid > article):hover { transform: none; }
}

.page-home .about-section { padding-top: 32px; }
.service-commitments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 0 32px; padding: 0; list-style: none; }
.service-commitments > li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 14px; min-width: 0; padding: 22px 20px; border: 1px solid var(--panel-green-border); border-top: 3px solid var(--orange); border-radius: var(--radius); background: var(--white); }
.service-commitment-number { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 7px; background: var(--panel-green); color: #8a3412; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.service-commitments h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.4px; }
.service-commitments p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 980px) {
    .service-commitments { gap: 12px; }
    .service-commitments > li { grid-template-columns: 1fr; gap: 12px; padding: 20px 16px; }
    .service-commitments h2 { font-size: 19px; }
}
@media (max-width: 700px) {
    .page-home .about-section { padding-top: 24px; }
    .service-commitments { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
    .service-commitments > li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px; border-top-width: 1px; border-left: 3px solid var(--orange); }
    .service-commitment-number { width: 34px; height: 34px; font-size: 12px; }
    .service-commitments h2 { margin-bottom: 5px; font-size: 18px; }
    .service-commitments p { font-size: 14px; line-height: 1.55; }
}
