/* GLOW DETAIL V5.39 — Finder, services cards, and clean CTA system.
   Applied last to override old white-theme styling without changing the approved hero typography. */

/* Consistent call-to-action family, neutral corners and restrained interaction. */
body .btn,
body .gd-v531-primary,
body .gd-v531-secondary,
body .gd-finder-contact,
body .gd-service-heading .gd-service-secondary-link,
body .gd-optics-aside a,
body .gd-contact-division a,
body .gd-about-model-note a,
body .gd-about-text-link,
body .gd-about-cta-secondary,
body .gd-about-project-footer a,
body .gd-v528-about-cta,
body .gd-finder-detail {
  min-height:46px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  padding:0 20px !important;
  border-radius:11px !important;
  font:650 13px/1.25 'Inter',Arial,sans-serif !important;
  letter-spacing:0 !important;
  text-decoration:none !important;
  white-space:normal !important;
  text-align:center !important;
  box-shadow:none !important;
  transition:background .2s ease,border-color .2s ease,color .2s ease !important;
  transform:none !important;
}
/* Primary buttons */
body .btn-gold,
body .booking-send,
body .gd-v531-primary,
body .gd-finder-contact {
  background:#d8c8b7 !important;
  border:1px solid #d8c8b7 !important;
  color:#151617 !important;
}
body .btn-gold:hover,
body .booking-send:hover,
body .gd-v531-primary:hover,
body .gd-finder-contact:hover {
  background:#e8ddd2 !important;
  border-color:#e8ddd2 !important;
  color:#111213 !important;
}
/* Secondary buttons */
body .btn-line,
body .gd-v531-secondary,
body .gd-service-heading .gd-service-secondary-link,
body .gd-optics-aside a,
body .gd-contact-division a,
body .gd-about-model-note a,
body .gd-about-text-link,
body .gd-about-cta-secondary,
body .gd-about-project-footer a,
body .gd-v528-about-cta,
body .gd-finder-detail {
  background:#2d2f32 !important;
  border:1px solid #515155 !important;
  color:#f2f0ed !important;
}
body .btn-line:hover,
body .gd-v531-secondary:hover,
body .gd-service-heading .gd-service-secondary-link:hover,
body .gd-optics-aside a:hover,
body .gd-contact-division a:hover,
body .gd-about-model-note a:hover,
body .gd-about-text-link:hover,
body .gd-about-cta-secondary:hover,
body .gd-about-project-footer a:hover,
body .gd-v528-about-cta:hover,
body .gd-finder-detail:hover {
  background:#3a3c3f !important;
  border-color:#77777b !important;
  color:#fff !important;
}
body .btn .arr, body .btn > span[aria-hidden='true'],
body .gd-v531-arrow, body .gd-finder-detail .gd-link-arrow-icon,
body .gd-service-secondary-link span[aria-hidden='true'],
body .gd-finder-contact .gd-link-arrow-icon {
  display:none !important;
}
body .btn:focus-visible,
body .gd-service-heading .gd-service-secondary-link:focus-visible,
body .gd-finder-detail:focus-visible,
body .gd-finder-option:focus-visible {
  outline:2px solid #e3d5c7 !important;
  outline-offset:3px !important;
}
body .site-header .btn.btn-sm {min-height:40px !important;padding:0 16px !important;font-size:12px !important;}

/* Finder: a compact editorial heading above one well-structured functional panel. */
body #podbor-uslugi {padding:62px 0 68px !important;overflow:visible !important;}
body #podbor-uslugi .gd-finder-layout {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  max-width:1120px !important;
  gap:26px !important;
  align-items:start !important;
}
body #podbor-uslugi .gd-finder-copy {
  display:block !important;
  max-width:100% !important;
  padding:0 !important;
}
body #podbor-uslugi .gd-finder-copy h2 {
  margin:8px 0 12px !important;
  max-width:850px !important;
  font-size:clamp(31px,3.4vw,46px) !important;
  line-height:1.13 !important;
  color:#f6f3f0 !important;
}
body #podbor-uslugi .gd-finder-copy h2 .gold {color:#d7c8ba !important;}
body #podbor-uslugi .gd-finder-copy > p {
  margin:0 0 11px !important;
  max-width:730px !important;
  font:400 15px/1.65 'Inter',Arial,sans-serif !important;
  color:#c8c5c1 !important;
}
body #podbor-uslugi .gd-finder-note {
  display:block !important;
  margin:10px 0 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  color:#aaa7a4 !important;
  font:400 12px/1.5 'Inter',Arial,sans-serif !important;
}
body #podbor-uslugi .gd-finder-interaction {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  border:1px solid #414245 !important;
  border-radius:18px !important;
  background:#242528 !important;
  padding:28px !important;
  box-shadow:none !important;
}
body #podbor-uslugi .gd-finder-question {
  font-size:16px !important;
  font-weight:750 !important;
  color:#f2f1ef !important;
  margin:0 0 19px !important;
  line-height:1.35 !important;
}
body #podbor-uslugi .gd-finder-options {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
}
body #podbor-uslugi .gd-finder-option {
  min-height:58px !important;
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:left !important;
  white-space:normal !important;
  padding:12px 16px !important;
  border-radius:10px !important;
  font:650 13px/1.36 'Inter',Arial,sans-serif !important;
  border:1px solid #45464a !important;
  background:#2b2d30 !important;
  color:#e7e5e3 !important;
  box-shadow:none !important;
  transition:background .2s ease,border-color .2s ease !important;
}
body #podbor-uslugi .gd-finder-option:hover {background:#37393d !important;border-color:#77777a !important;}
body #podbor-uslugi .gd-finder-option.is-active,
body #podbor-uslugi .gd-finder-option[aria-pressed='true'] {
  background:#d8c8b7 !important;
  border-color:#d8c8b7 !important;
  color:#171819 !important;
}
body #podbor-uslugi .gd-finder-result {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  column-gap:26px !important;
  row-gap:7px !important;
  background:#1b1c1e !important;
  border:1px solid #3b3d40 !important;
  border-radius:13px !important;
  padding:24px 26px !important;
  margin-top:18px !important;
}
body #podbor-uslugi .gd-finder-result-top {
  grid-column:1 / -1 !important;
  color:#d7c5b5 !important;
  font-size:10px !important;
  letter-spacing:.12em !important;
  font-weight:750 !important;
}
body #podbor-uslugi .gd-finder-result h3 {
  grid-column:1 !important;
  font-size:clamp(20px,2vw,26px) !important;
  line-height:1.2 !important;
  margin:2px 0 0 !important;
  color:#f5f3f0 !important;
}
body #podbor-uslugi .gd-finder-result p {
  grid-column:1 !important;
  line-height:1.55 !important;
  font-size:13px !important;
  margin:3px 0 0 !important;
  color:#c8c5c1 !important;
}
body #podbor-uslugi .gd-finder-actions {
  grid-column:2 !important;
  grid-row:2 / span 2 !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}
body #podbor-uslugi .gd-finder-actions .btn,
body #podbor-uslugi .gd-finder-detail {min-height:44px !important;}

/* Services: edge-to-edge photography and restrained bottom-aligned typography. */
body .page-services .gd-service-group {border-color:#393a3d !important;}
body .page-services .gd-optics-services-grid {gap:18px !important;}
body .page-services .gd-divisions-services .gd-detailing-grid {gap:18px !important;}
body .page-services .service-tile {
  display:block !important;
  position:relative !important;
  isolation:isolate !important;
  overflow:hidden !important;
  height:288px !important;
  border:0 !important;
  border-radius:13px !important;
  box-shadow:none !important;
  background:#202124 !important;
  text-decoration:none !important;
  transform:none !important;
}
body .page-services .gd-optics-main-card > .service-tile {height:340px !important;}
body .page-services .service-tile > img {
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  filter:saturate(.88) brightness(.88) !important;
  transition:transform .3s ease !important;
}
body .page-services .service-tile::before {
  content:'' !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  background:linear-gradient(0deg,rgba(7,8,10,.96) 0%, rgba(7,8,10,.77) 30%,rgba(7,8,10,.24) 62%,rgba(7,8,10,.04) 100%) !important;
}
body .page-services .service-tile:hover > img {transform:scale(1.02) !important;}
body .page-services .service-tile .service-text,
body .page-services .gd-optics-main-card > .service-tile .service-text,
body .page-services .gd-detailing-grid .service-tile .service-text {
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  z-index:2 !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:unset !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  align-items:flex-start !important;
  padding:24px 27px !important;
  color:#f7f6f4 !important;
}
body .page-services .service-tile .service-text .line-icon {display:none !important;}
body .page-services .service-tile .service-text h2,
body .page-services .gd-detailing-grid .service-tile .service-text h2 {
  margin:0 0 7px !important;
  font:750 clamp(22px,2vw,30px)/1.16 'Inter',Arial,sans-serif !important;
  letter-spacing:-.035em !important;
  color:#fff !important;
  text-wrap:balance !important;
}
body .page-services .service-tile .service-text p {
  margin:0 !important;
  font:400 13px/1.55 'Inter',Arial,sans-serif !important;
  color:#e4e1dd !important;
  max-width:95% !important;
}
body .page-services .gd-optics-aside {
  background:#27282a !important;
  border:1px solid #3b3d40 !important;
  border-radius:13px !important;
  min-height:340px !important;
  padding:28px !important;
}
body .page-services .gd-optics-aside h3 {color:#f4f1ee !important;}
body .page-services .gd-optics-aside p,
body .page-services .gd-optics-aside li {color:#d6d2ce !important;}
body .page-services .gd-optics-aside a {margin-top:6px !important;}

/* Direction cards: less rounded, more editorial; retain current images. */
body .gd-v531-card {border-radius:13px !important;}

@media (max-width:1024px) {
  body #podbor-uslugi .gd-finder-options {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body .page-services .gd-optics-services-grid {grid-template-columns:1fr !important;}
  body .page-services .gd-optics-aside {min-height:0 !important;}
}
@media (max-width:700px) {
  body #podbor-uslugi {padding:44px 0 52px !important;}
  body #podbor-uslugi .gd-finder-layout {gap:18px !important;}
  body #podbor-uslugi .gd-finder-interaction {padding:18px !important;}
  body #podbor-uslugi .gd-finder-options {grid-template-columns:1fr 1fr !important;gap:8px !important;}
  body #podbor-uslugi .gd-finder-option {min-height:62px !important;font-size:12px !important;padding:11px 12px !important;}
  body #podbor-uslugi .gd-finder-result {grid-template-columns:1fr !important;padding:19px 17px !important;}
  body #podbor-uslugi .gd-finder-result-top,
  body #podbor-uslugi .gd-finder-result h3,
  body #podbor-uslugi .gd-finder-result p {grid-column:1 !important;}
  body #podbor-uslugi .gd-finder-actions {grid-row:auto !important;grid-column:1 !important;margin-top:14px !important;width:100% !important;}
  body #podbor-uslugi .gd-finder-actions > * {flex:1 1 150px !important;}
  body .page-services .gd-divisions-services .gd-detailing-grid {grid-template-columns:1fr !important;}
  body .page-services .service-tile,
  body .page-services .gd-optics-main-card > .service-tile {height:265px !important;}
  body .page-services .gd-optics-aside {padding:22px !important;}
  body .page-services .service-tile .service-text,
  body .page-services .gd-optics-main-card > .service-tile .service-text,
  body .page-services .gd-detailing-grid .service-tile .service-text {padding:20px 22px !important;}
  body .page-services .service-tile .service-text h2 {font-size:24px !important;}
  body .btn, body .gd-v531-primary, body .gd-v531-secondary {max-width:100% !important;}
}
@media (max-width:390px) {
  body #podbor-uslugi .gd-finder-option {font-size:11px !important;}
  body #podbor-uslugi .gd-finder-actions {flex-direction:column !important;align-items:stretch !important;}
  body #podbor-uslugi .gd-finder-actions > * {flex:none !important;width:100% !important;}
}
@media (prefers-reduced-motion:reduce) {
  body .page-services .service-tile > img,body .btn {transition:none !important;}
}

/* Keep the full BMW in view at intermediate widths; local image also paints as fallback. */
body .home-stage.gd-v531-hero .gd-v531-hero-media {
  background:#1b1c1e url('assets/v539-hero-bmw-right.webp') center center / cover no-repeat !important;
}
@media (min-width:861px) and (max-width:1270px) {
  body .home-stage.gd-v531-hero .gd-v531-hero-media img {
    object-fit:contain !important;
    object-position:center center !important;
  }
}
