/* GLOW DETAIL V5.37 — targeted corrections. Loaded AFTER legacy styles.
   Keep existing GLOW / DETAIL heading font, shape, weights and colors unchanged. */

/* 1. Original full-width photographic composition, BMW on the right, copy on the left.
   Remove the detached photo panel introduced in V5.36. */
@media(min-width:901px){
  body .home-stage.gd-v531-hero{position:relative!important;min-height:540px!important;height:540px!important;max-height:540px!important;background:#151617!important;overflow:hidden!important;isolation:isolate!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-media{position:absolute!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;display:block!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:0!important;overflow:hidden!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-media img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 43%!important;transform:none!important;filter:brightness(.92) saturate(.86)!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-tint{position:absolute!important;inset:0!important;display:block!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(90deg,rgba(12,13,15,.92) 0%,rgba(12,13,15,.75) 24%,rgba(12,13,15,.37) 45%,rgba(12,13,15,.05) 68%,rgba(12,13,15,.03) 100%),linear-gradient(0deg,rgba(9,10,11,.29),transparent 45%)!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-inner{position:relative!important;z-index:2!important;min-height:540px!important;height:540px!important;justify-content:center!important;padding-top:38px!important;padding-bottom:42px!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-inner>p{color:#f3f1ef!important;max-width:490px!important;text-shadow:0 1px 8px rgba(0,0,0,.32)}
}
@media(min-width:901px) and (max-width:1150px){
  body .home-stage.gd-v531-hero .gd-v531-hero-inner{padding-left:0!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-tint{background:linear-gradient(90deg,rgba(12,13,15,.96) 0%,rgba(12,13,15,.81) 29%,rgba(12,13,15,.30) 68%,rgba(12,13,15,.10))!important}
}
@media(max-width:900px){
  body .home-stage.gd-v531-hero{height:auto!important;max-height:none!important;min-height:655px!important;position:relative!important;overflow:hidden!important;isolation:isolate!important;background:#131416!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-media{position:absolute!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;display:block!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:0!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:63% center!important;transform:none!important;filter:brightness(.76) saturate(.83)!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-tint{position:absolute!important;inset:0!important;display:block!important;z-index:1!important;background:linear-gradient(0deg,#131416 0%,rgba(19,20,22,.92) 23%,rgba(19,20,22,.72) 45%,rgba(19,20,22,.22) 100%),linear-gradient(90deg,rgba(8,9,10,.22),transparent 85%)!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-inner{position:relative!important;z-index:2!important;min-height:655px!important;height:auto!important;justify-content:flex-end!important;padding:215px 0 40px!important}
}
@media(max-width:600px){
  body .home-stage.gd-v531-hero{min-height:620px!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-inner{min-height:620px!important;padding:220px 0 38px!important}
  body .home-stage.gd-v531-hero .gd-v531-hero-media img{object-position:65% center!important}
}

/* 2. Global contrast guard for older light-on-light text styles */
body .page-services .services-heading .sub,
body .gd-service-group .gd-service-heading p,
body .gd-service-group .gd-optics-aside p,
body .gd-contact-division p,
body .gd-contacts-heading p,
body .gd-contact-legal-note,
body .gd-about-page p,
body .gd-about-hero-description,
body .gd-about-steps p,
body .gd-about-projects p{color:#d0ccc8!important}
body .page-services .gd-service-heading h2,
body .page-services .gd-service-heading h2 *,
body .page-services .gd-service-subtitle,
body .page-services .gd-optics-aside h3,
body .gd-contacts-heading h2,
body .gd-about-page h1,
body .gd-about-page h2,
body .gd-about-page h3,
body .gd-about-page .gd-about-value h3,
body .gd-contact-division .gd-contact-brand,
body .gd-contact-division .gd-contact-brand small{color:#f5f3ef!important}
body .gd-service-brand-heading .gd-service-brand{color:#ddc9b4!important;font-size:clamp(17px,2.05vw,27px)!important;letter-spacing:-.025em!important;line-height:1.28!important;font-weight:760!important}
body .gd-service-brand-heading .gd-service-subtitle{color:#f6f3f0!important;font-size:clamp(24px,2.6vw,36px)!important;font-weight:760!important;line-height:1.2!important;letter-spacing:-.04em!important;display:block!important}
body .gd-service-structure-note, body .gd-pricing-note{background:#2a2b2e!important;color:#dedad6!important;border-color:#454547!important}
body .gd-service-structure-note strong, body .gd-pricing-note strong{color:#fff!important}
body .gd-services-pricing span{color:#dedad6!important}

/* 3. Direction links should be visible intentional buttons, not corner underlines */
body .gd-service-heading{align-items:center!important;flex-wrap:wrap!important;gap:18px!important}
body .gd-service-heading .gd-service-secondary-link,
body .gd-optics-aside a,
body .gd-service-structure-note a,
body .gd-about-model-note a,
body .gd-contact-division a{
  border:1px solid #65615f!important;
  border-radius:12px!important;
  background:#343537!important;
  color:#f4f0ed!important;
  padding:13px 18px!important;
  text-decoration:none!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:700!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  box-shadow:none!important;
  max-width:100%;
  white-space:normal!important;
  transition:background .2s ease,border-color .2s ease;
}
body .gd-service-heading .gd-service-secondary-link:hover,
body .gd-optics-aside a:hover,
body .gd-service-structure-note a:hover,
body .gd-about-model-note a:hover,
body .gd-contact-division a:hover{background:#424244!important;border-color:#d6c5b3!important}
body .gd-optics-aside{background:#292a2c!important}
body .gd-optics-aside h3{color:#fff!important}
body .gd-optics-aside li, body .gd-optics-aside ul{color:#e5dfd9!important}

/* 4. CTA loses the orphan, cropped image in its upper right corner. */
body .page-services .cta-banner:after{display:none!important;background:none!important;content:none!important}
body .page-services .cta-banner{background:linear-gradient(115deg,#333234,#292a2c 62%,#202123 100%)!important;border:1px solid #444447!important;box-shadow:none!important;padding:31px 32px!important}
body .page-services .cta-banner .cta-buttons{margin-right:0!important}
body .page-services .cta-banner h2{color:#faf8f6!important}
body .page-services .cta-banner p{color:#d0ccc9!important}

/* 5. About hero: single uncluttered image aligned with the start of the intro. */
body .gd-about-page .gd-about-hero{background:#1b1c1e!important}
body .gd-about-page .gd-about-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(28px,4vw,62px)!important;align-items:start!important}
body .gd-about-page .gd-about-hero-copy{padding-top:0!important}
body .gd-about-page .gd-about-hero-visual{display:block!important;margin:0!important;padding:0!important;aspect-ratio: 1.38!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important;border:0!important;border-radius:20px!important;box-shadow:none!important;background:#252628!important}
body .gd-about-page .gd-about-hero-image{position:relative!important;width:100%!important;height:100%!important;aspect-ratio:inherit!important;display:block!important;overflow:hidden!important;border-radius:20px!important;box-shadow:none!important}
body .gd-about-page .gd-about-hero-image img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 51%!important;filter:saturate(.78) contrast(1.03)!important}
body .gd-about-page .gd-about-hero-inset,body .gd-about-page .gd-about-hero-image-tag{display:none!important}
body .gd-about-page .gd-about-hero-foot{margin-top:28px!important;border-color:#49484a!important;color:#bdb6b0!important}
body .gd-about-page .gd-about-section-label{color:#d5c3b1!important}
body .gd-about-page .gd-about-manifesto,body .gd-about-page .gd-about-directions,body .gd-about-page .gd-about-process,body .gd-about-page .gd-about-projects{color:#f4f2ee!important}
body .gd-about-page .gd-v528-about-details h3{color:#f5f2ef!important}
body .gd-about-page .gd-v528-about-details p{color:#d1cbc5!important}
body .gd-about-page .gd-about-value-no,body .gd-about-page .gd-about-step-number{display:none!important}
body .gd-about-page .gd-about-steps li{gap:0!important}
body .gd-about-page .gd-about-value{padding-top:26px!important}
body .gd-about-page .gd-about-model-note p{color:#e7e0db!important}

/* 6. Contacts names, descriptions and cards in light-on-dark contrast */
body .gd-contacts-divisions{background:#202123!important}
body .gd-contact-division{background:#292a2c!important;border:1px solid #48484b!important}
body .gd-contacts-heading h2{color:#f7f4f0!important}
body .gd-contact-division .gd-contact-brand{font-weight:800!important;letter-spacing:-.035em!important;font-size:clamp(22px,2vw,28px)!important}
body .gd-contact-division .gd-contact-brand small{color:#d6c7b8!important;font-size:12px!important;font-weight:650!important;letter-spacing:.025em!important}
body .gd-contact-division-top{gap:0!important}
body .gd-contact-division-top>span:first-child{display:none!important}

/* 7. Service finder: remove the oversized headlight image, use concise directional guidance. */
body #podbor-uslugi .gd-finder-layout{display:grid!important;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)!important;align-items:start!important;gap:40px!important}
body #podbor-uslugi .gd-finder-copy h2,body #podbor-uslugi .gd-finder-copy h2 .gold{color:#f5f3f0!important}
body #podbor-uslugi .gd-finder-copy>p{color:#d0ccc8!important;max-width:440px!important}
body #podbor-uslugi .gd-finder-guidance{width:100%;max-width:460px;background:#262729;border:1px solid #424346;border-radius:17px;padding:23px 25px;margin-top:8px;box-shadow:none}
body #podbor-uslugi .gd-finder-guidance-kicker{font-size:10px;font-weight:780;letter-spacing:.17em;color:#d9c6b2}
body #podbor-uslugi .gd-finder-guidance p{font-size:14px;line-height:1.65;color:#dbd6d1!important;margin:12px 0 18px}
body #podbor-uslugi .gd-finder-guidance-links{display:flex;flex-wrap:wrap;gap:9px}
body #podbor-uslugi .gd-finder-guidance-links a{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:9px;background:#353638;color:#f7f4f1;font-size:12px;font-weight:700;border:1px solid #515153}
body #podbor-uslugi .gd-finder-guidance-links a:hover{border-color:#d2bfab}
body #podbor-uslugi .gd-finder-interaction{background:#252628!important;box-shadow:none!important;border-color:#4b4b4c!important}

@media(max-width:950px){
 body .gd-about-page .gd-about-hero-grid{grid-template-columns:1fr!important;gap:28px!important}
 body .gd-about-page .gd-about-hero-visual{max-width:780px!important;aspect-ratio:1.7!important}
 body #podbor-uslugi .gd-finder-layout{grid-template-columns:1fr!important;gap:22px!important}
 body .gd-service-heading{align-items:flex-start!important}
}
@media(max-width:600px){
 body .gd-about-page .gd-about-hero-visual{aspect-ratio:1.34!important}
 body .gd-service-heading .gd-service-secondary-link{width:100%;justify-content:space-between!important}
 body .page-services .cta-banner{padding:23px!important}
 body #podbor-uslugi .gd-finder-guidance{padding:19px!important}
 body #podbor-uslugi .gd-finder-guidance-links a{font-size:11px}
}

/* Keep warm accent on the division names without sacrificing contrast. */
body .page-services .gd-service-heading h2 .gd-service-brand {color:#dbc6b1!important;}
