
.gadky-menu{box-sizing:border-box;position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-left:5px solid var(--menu-accent);background:#0c1114;color:#f4f5f4;font-family:Inter,"Helvetica Neue",Arial,sans-serif;overflow:hidden}
.gadky-menu[open]{display:flex;flex-direction:column}.gadky-menu::backdrop{background:#0c1114}.gadky-menu *{box-sizing:border-box}.gadky-menu button{font:inherit;cursor:pointer}.gadky-menu a{color:inherit;text-decoration:none}.gadky-menu button:focus-visible,.gadky-menu a:focus-visible{outline:2px solid var(--menu-accent);outline-offset:4px}.gm-head{display:flex;align-items:center;justify-content:space-between;min-height:82px;padding:0 26px;flex-shrink:0}.gm-head img{display:block;width:119px;height:auto}.gm-close{display:flex;align-items:center;gap:10px;min-height:44px;background:none;border:0;color:#f4f5f4;font-size:26px!important}.gm-close span{font-size:12px;color:#bdc3c6}.gm-content{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:24px 27px}.gm-kicker{font-size:10px;letter-spacing:.15em;line-height:1.5;color:#a9b0b4;margin:0 0 14px}.gm-content h2{font-size:36px;line-height:1.12;letter-spacing:-.035em;font-weight:400;margin:0 0 28px}.gm-tabs{display:flex;gap:25px;margin-bottom:27px}.gm-tabs button{min-height:44px;padding:8px 0;border:0;background:none;color:#a9b0b4;font-size:12px}.gm-tabs button[aria-pressed=true]{color:#fff;box-shadow:inset 0 -1px var(--menu-accent)}.gm-row{display:flex;align-items:center;min-height:59px;padding:13px 0;font-size:26px;line-height:1.2;letter-spacing:-.025em;font-weight:400}.gm-row.is-current{color:var(--menu-accent)}.gm-row:active{opacity:.65}.gm-secondary{border-top:1px solid #30373b;margin-top:22px;padding-top:13px;display:flex;flex-wrap:wrap;gap:20px}.gm-secondary a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;font-size:13px;color:#a9b0b4}.gm-footer{flex-shrink:0;padding:18px 27px calc(24px + env(safe-area-inset-bottom));background:#0c1114}.gm-footer p{font-size:11px;line-height:1.4;color:#a9b0b4;margin:0 0 17px}.gm-book{display:flex;align-items:center;justify-content:space-between;width:100%;height:54px;padding:0 20px;background:#f4f5f4;color:#0c1114;border:0;font-size:15px!important;font-weight:500!important}.gm-phone{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;font-size:15px}
@media(max-height:730px){.gm-head{min-height:64px}.gm-content{padding-top:10px}.gm-content h2{font-size:32px;margin-bottom:12px}.gm-tabs{margin-bottom:12px}.gm-row{min-height:51px;font-size:24px}.gm-secondary{margin-top:12px}.gm-footer{padding-top:10px;padding-bottom:calc(14px + env(safe-area-inset-bottom))}.gm-footer p{margin-bottom:8px}.gm-phone{margin-top:4px}}

.gadky-menu .gm-footer {
  padding-top: 0;
}

.gadky-menu .gm-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 8px;
  border-top: 1px solid #30373b;
}

.gadky-menu .gm-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #d4d9db;
  font-size: 13px;
}

.gadky-menu .gm-route { color: #0c1114; }
.gadky-menu .gm-footer [hidden] { display: none; }

.gadky-menu.is-global-menu .gm-content { padding-block: 12px 8px; }
.gadky-menu.is-global-menu .gm-content h2 { margin-bottom: 14px; }
.gadky-menu.is-global-menu .gm-tabs { margin-bottom: 10px; }
.gadky-menu.is-global-menu .gm-row {
  min-height: 50px;
  padding-block: 8px;
  font-size: clamp(22px, 6vw, 26px);
}

/* Shared mobile action rail; legacy booking controls retain their handlers. */
.gadky-action-dock{display:none}.gm-phone-choice{width:100%;border:0;background:none;color:#f4f5f4;font:inherit;cursor:pointer}.gb-intro{font-size:13px;color:#a9b0b4;margin:0 0 25px}.gb-branch{border-top:1px solid #30373b;padding:22px 0}.gb-branch h3{font-size:26px;font-weight:400;letter-spacing:-.025em;margin:0 0 8px}.gb-branch p{font-size:14px;line-height:1.5;color:#a9b0b4;margin:0 0 12px}.gb-number{display:inline-flex;align-items:center;min-height:44px;font-size:17px}.gb-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:12px;margin-top:12px}.gb-actions a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:0 14px;border:1px solid #465057;font-size:14px}.gb-actions a:last-child{background:#f4f5f4;color:#0c1114;border-color:#f4f5f4}.gb-actions svg{width:20px;flex-shrink:0}
@media(max-width:980px){
body.has-gadky-action-dock{padding-bottom:max(calc(80px + env(safe-area-inset-bottom)),calc(var(--gadky-dock-height,72px) + 8px))}
.has-gadky-action-dock .mobile-dock,.has-gadky-action-dock [data-wheels-mobile-dock],.has-gadky-action-dock [data-detailing-mobile-dock],.has-gadky-action-dock [data-service-mobile-dock],.has-gadky-action-dock [data-performance-mobile-dock],.has-gadky-action-dock .dock-note{display:none!important}
.gadky-action-dock{position:fixed;inset:auto 0 0;z-index:90;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.32fr);gap:0;padding:8px 24px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #343b3f;background:#101619;color:#f4f5f4;box-shadow:none}
.gadky-action-dock:before{content:"";position:absolute;top:-1px;left:24px;width:32px;height:2px;background:var(--menu-accent)}
.gadky-action-dock button{display:flex;align-items:center;min-height:56px;height:auto;min-width:0;border:0;background:none;color:#f4f5f4;font:400 15px "Helvetica Neue",Arial,sans-serif;letter-spacing:.005em;cursor:pointer}
.gadky-action-dock .gd-label{min-width:0;overflow-wrap:anywhere;text-align:left}
.gadky-action-dock .gd-menu{justify-content:flex-start;gap:13px;padding:0 16px 0 0;color:#c9ced0}
.gadky-action-dock .gd-book{position:relative;justify-content:space-between;gap:12px;padding:0 0 0 25px}
.gadky-action-dock .gd-book:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:1px;background:#3a4246}
.gadky-action-dock svg{flex-shrink:0}.gadky-action-dock button:focus-visible{outline:1px solid #c9ced0;outline-offset:0}.gadky-action-dock button:active{background:#1b2328}
body:has(.gadky-menu[open]) .gadky-action-dock{visibility:hidden}
}
@media(max-width:350px){.gadky-action-dock{padding-left:20px;padding-right:20px}.gadky-action-dock button{font-size:14px}.gadky-action-dock .gd-book{padding-left:20px}.gb-actions{gap:8px}.gb-actions a{padding:0 10px}}

@media(max-width:980px){body:is(.is-service-contact-open,.is-detailing-booking-open,.is-performance-request-open,.is-wheels-contact-open) .gadky-action-dock{visibility:hidden}}

@media (max-width: 980px) {
  /* The document surface also paints behind the browser controls on iOS. */
  html:root {
    --mobile-edge: #151c20;
    background-color: var(--mobile-edge);
  }

  html body:has(> main.shell.page) {
    background-color: var(--mobile-edge);
  }

  html:has(body.home-index-review) { --mobile-edge: #0c1114; }

  /* Keep the existing content colours where main used to be transparent. */
  body.contacts-compact > main.shell.page { background-color: var(--paper); }
  body.ev-division > main.shell.page { background-color: #f4f5f2; }
  body.service-overview > main.shell.page { background-color: #f4f6f2; }
  body.performance-theme.overview-theme > main.shell.page { background-color: #f1f2f1; }

  main.shell.page:has(> .first-view--signature) {
    background-color: var(--paper);
    padding-bottom: 0;
  }
}

/* Tablet headers are pale; keep the closed native menu control visible. */
@media (min-width: 821px) and (max-width: 980px) {
  body:is(.service-theme, .performance-theme) .topbar .nav-burger:not([open]) summary {
    border-color: rgba(6, 8, 10, .32);
  }
  body:is(.service-theme, .performance-theme) .topbar .nav-burger:not([open]) summary i {
    background: #06080a;
  }
}
.gadky-menu .gm-row,.gadky-menu .gm-content h2{overflow-wrap:anywhere}

/* Keep every desktop link inside its column at the narrow desktop boundary. */
@media(min-width:981px) and (max-width:1054px){
 .topbar .main-nav>a:not(.nav-journal){min-width:0;flex:1;padding-inline:6px}
}

/* Legacy Service/Performance sheets have styling only through 820px. */
@media(min-width:821px) and (max-width:980px){
 .service-services-sheet,.service-contact-sheet,
 .service-services-backdrop,.service-contact-backdrop,
 .performance-projects-sheet,.performance-request-sheet,
 .performance-projects-backdrop,.performance-request-backdrop{display:none!important}
}

/* v2 technical fix: summary service pages have dark tablet headers. */
@media (min-width:821px) and (max-width:980px){
 body:is(.service-theme,.performance-theme):has(.hero--mobile-summary) .topbar .nav-burger:not([open]) summary { border-color:rgba(255,255,255,.65); }
 body:is(.service-theme,.performance-theme):has(.hero--mobile-summary) .topbar .nav-burger:not([open]) summary i { background:#f4f5f4; }
}
@media (max-width: 980px) {
  .service-theme .division-quick-nav { --division-nav-accent: #7ec29b; }
  .performance-theme .division-quick-nav { --division-nav-accent: #b8bec3; }

  body:is(.service-theme, .performance-theme) .division-quick-nav:is(.service-mobile-fast__nav, .service-switcher--hero) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    box-sizing: border-box;
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin: 0 20px 16px;
    padding: 1px;
    background: #394145;
  }

  body:is(.service-theme, .performance-theme) .division-quick-nav:is(.service-mobile-fast__nav, .service-switcher--hero) > a {
    box-sizing: border-box;
    display: grid;
    grid-template: auto / 18px minmax(0, 1fr) 7px;
    align-items: center;
    align-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 54px;
    height: auto;
    padding: 9px 10px;
    color: #f4f5f4;
    background: #101619;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
  }

  body:is(.service-theme, .performance-theme) .division-quick-nav:is(.service-mobile-fast__nav, .service-switcher--hero) > a::before {
    content: none;
  }

  body:is(.service-theme, .performance-theme) .division-quick-nav:is(.service-mobile-fast__nav, .service-switcher--hero) > a::after {
    content: "";
    position: static;
    width: 5px;
    height: 5px;
    background: none;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    opacity: .75;
  }

  body:is(.service-theme, .performance-theme) .division-quick-nav:is(.service-mobile-fast__nav, .service-switcher--hero) > a > :is(span, b) {
    position: static;
    grid-area: auto;
    display: block;
    margin: 0;
  }

  body:is(.service-theme, .performance-theme) .division-quick-nav:is(.service-mobile-fast__nav, .service-switcher--hero) > a > span {
    color: var(--division-nav-accent);
    font: 700 11px/1 var(--mono, monospace);
  }

  body:is(.service-theme, .performance-theme) .division-quick-nav:is(.service-mobile-fast__nav, .service-switcher--hero) > a > b {
    color: #f4f5f4;
    font: 700 15px/1.15 var(--sans, sans-serif);
    overflow-wrap: anywhere;
  }

  body:is(.service-theme, .performance-theme) .division-quick-nav > a[aria-current="page"] {
    box-shadow: inset 0 -2px var(--division-nav-accent);
  }

  .division-quick-nav > a:focus-visible {
    outline: 2px solid var(--division-nav-accent);
    outline-offset: -2px;
  }

  .division-quick-nav.service-switcher--hero > a:first-child { grid-column: 1 / -1; }
  body.performance-theme.overview-theme .division-quick-nav > a[href="#services"] { display: none; }
}
@media (max-width: 980px) {
  /* Match the square frames used by the main directions. */
  body:is(.detailing-polish-page, .detailing-interior-page, .detailing-protection-page, .detailing-atelier-page, .service-theme, .performance-theme)
    :is(.hero__media, .hero__media img, .mobile-service-summary, .mobile-service-summary__lead,
        .mobile-service-summary__block, .mobile-service-summary__result, .mobile-service-summary__cta,
        .mobile-service-summary li, .service-switcher > a) {
    border-radius: 0 !important;
  }

  body:is(.detailing-polish-page, .detailing-interior-page, .detailing-protection-page, .detailing-atelier-page)
    :is(.studio-notebook__photos figure, .studio-notebook__photos img, .before-after figure, .before-after img,
        .material-lab__media, .material-lab__panel, .photo-proof__media, .choice-matrix > *,
        .detailing-booking-sheet, .detailing-booking-sheet__actions a) {
    border-radius: 0 !important;
  }

  body:is(.service-theme, .performance-theme)
    :is(.diagnostic-grid > a, .utility-bar, .utility-bar > *, .service-evidence article, .service-evidence figure,
        .service-evidence img, .service-priority article, .service-trace__steps, .service-trace__steps > div,
        .service-trace__result, .service-ledger article, .service-ledger__rows, .service-ledger__rows > div,
        .service-system-map__copy, .service-system-map__nodes, .service-system-map__nodes > div,
        .service-system-map__facts, .branch-compare article, .service-contact-sheet, .service-contact-sheet__actions a,
        .performance-request-sheet, .performance-request-sheet__grid, .performance-request-sheet__actions a) {
    border-radius: 0 !important;
  }

  body:is(.service-theme, .performance-theme)
    :is(.hero__media, .mobile-service-summary, .diagnostic-grid > a, .service-evidence article, .service-evidence figure) {
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  body.detailing-interior-page .material-lab__media { margin-inline: 0; }
  body.detailing-interior-page .material-lab__panel {
    margin: 0;
    border-top: 2px solid var(--service-blue);
  }
}

/* A single directory of directions in the desktop header. */
body .topbar .main-nav .nav-hybrids { --mode-color: #a28a53; }

@media (min-width: 981px) {
  body .topbar .main-nav > a:not(.nav-journal) {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: clamp(5px, .65vw, 11px);
    white-space: nowrap;
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  body .topbar { grid-template-columns: 166px minmax(0, 1fr) 146px; }
  body .topbar .brand { padding-inline: 16px; }
  body .topbar .brand__logo { width: 120px; }
  body .topbar .top-cta {
    width: auto;
    min-width: 0;
    margin-inline-end: 10px;
    padding-inline: 10px;
    font-size: 13px;
  }
  body .topbar .top-cta b { margin-inline-start: 6px; }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  body .topbar { grid-template-columns: minmax(180px, 19vw) minmax(0, 1fr) auto 156px; }
  body .topbar .top-phone { padding-inline-start: 8px; margin-inline-end: 8px; }
  body .topbar .top-cta { min-width: 0; padding-inline: 12px; }
}

body .story-grid .media-tile--service {
  background-image: url("./assets/optimized/f21-service-alignment-768-tone26.webp");
  background-position: 55% 50%;
}

body .story-grid .media-tile--performance {
  background-image: url("./assets/optimized/performance-challenger-light-768-tone26.webp");
  background-position: 50% 56%;
}

@media (max-width: 980px) {
  body:is(.f21-hybrids, .contacts-page) .topbar .brand > span { display: none; }

  body:is(.service-theme, .performance-theme)
    :is(.mobile-service-summary__items > span, .mobile-service-summary__result > span) {
    border-radius: 0 !important;
  }
}

@media (max-width: 820px) {
  body.service-theme .first-view--strip .hero--summary-service h1 {
    max-width: 100% !important;
    hyphens: none;
    overflow-wrap: break-word !important;
    text-wrap: balance;
  }
}

@media (max-width: 980px) {
  body.wheels-service-page
    :is(.shino-checklist, .signal-grid > article, .client-block__lead, .wheels-mobile-contact > article,
        .wheels-contact-sheet, .wheels-contact-sheet__branches > article) {
    border-radius: 0 !important;
  }
}

@media (max-width: 820px) {
  body.journal-article .journal-quick-dock {
    bottom: 0;
    left: 0 !important;
    right: 0 !important;
    grid-template-columns: 44px minmax(0, .94fr) minmax(0, 1.25fr) minmax(0, .9fr);
    gap: 4px;
    min-height: 64px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
    border: 0;
    border-top: 1px solid #343b3f;
    border-radius: 0;
    background: #101619;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.journal-article .journal-quick-dock > a {
    justify-content: center;
    min-height: 48px;
    padding: 0 4px;
    border-radius: 0;
    text-align: center;
  }

  body.journal-article .journal-quick-dock b {
    white-space: normal;
    overflow-wrap: normal;
    font-size: clamp(11px, 3.15vw, 13px);
    line-height: 1.16;
  }
}

@media (max-width: 980px) {
  body.detailing-theme :is(.detailing-booking-sheet, .detailing-booking-sheet__actions a) {
    border-radius: 0 !important;
  }
}
.gb-photo-actions { display: none; }
.gadky-branches.is-photo .gb-photo-actions { display: grid; }
.gadky-branches.is-photo :is(.gb-booking-actions, .gb-message) { display: none; }

@media (max-width: 980px) {
  body:is(.f21-wheels, .wheels-service-page) .wheels-arrow { display: none; }
  body.f21-wheels .hero--wheels-overview .actions .btn { justify-content: center; text-align: center; }
  body.f21-wheels .hero--wheels-overview .actions .btn > b { display: none; }
  body.f21-wheels #services .service-switcher--hero a { grid-template-columns: 30px minmax(0, 1fr); }
  body.f21-wheels #services .service-switcher--hero a::after { content: none; }
}

@media (max-width: 767px) {
  body.wheels-service-page--tyre .hero--mobile-summary .mobile-service-summary--standard { display: none; }
}
