@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #101516;
  --bg2: #172023;
  --bg3: #1d292c;
  --ink: #f3f1ed;
  --muted: #cad1ce;
  --dim: #aab8b4;
  --accent: #ce6d36;
  --accent-light: #e08a4e;
  --accent-soft: #f0a166;

  --line: #3c4b4d;
  --font: 'DM Sans', Arial, sans-serif;
  --display: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 18px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible,button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent-light); color: var(--bg); }
.container { width: min(1370px, calc(100% - 104px)); margin: 0 auto; }
.top-line { height: 4px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%); }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--accent-light); color: var(--bg); padding: 12px 18px; z-index: 999; }
.skip-link:focus { top: 10px; }

/* Navigation: large, tappable items, with phone number always visible on desktop. */
.site-header { position: relative; height: 104px; z-index: 20; background: #101516f5; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; height: 100%; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-subtitle { font: 600 13px/1.1 var(--font); letter-spacing: .06em; color: var(--muted); text-transform: none; }
.brand-emblem { width: 73px; height: 46px; object-fit: contain; }
.brand-name,.footer-brand { font: 700 36px/1 var(--display); letter-spacing: .02em; }
.brand-name span,.footer-brand>span { color: var(--accent-light); }
.primary-nav { display: flex; align-items: center; gap: clamp(15px,2vw,31px); }
.primary-nav > a { font-size: 16px; line-height: 1.3; font-weight: 700; color: #e4e9e6; white-space: nowrap; transition: color .16s; }
.primary-nav > a:hover { color: var(--accent); }
.primary-nav > a.nav-contact { border: 2px solid var(--accent); border-radius: 2px; padding: 15px 18px; font-size: 17px; color: var(--ink); }
.primary-nav > a.nav-contact:hover { background: var(--accent); color: #101516; }
.nav-contact span { color: var(--accent-light); margin-left: 9px; }
.nav-contact:hover span { color: var(--bg); }
.mobile-toggle { display: none; }

/* Hero: min-width:0 is essential to stop the heading from crushing the logo panel. */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); min-height: 655px; }
.hero-grid > * { min-width: 0; }
.hero-copy { padding: 92px 36px 86px 0; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; color: var(--accent-light); margin: 0 0 30px; }

.eyebrow-muted { margin-bottom: 28px; }
.hero h1,.section h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.017em; line-height: .99; margin: 0; }
.hero h1 { font-size: clamp(55px, 5.4vw, 88px); }
.hero h1 span,.hero h1 em { display: block; font-style: normal; }
.hero h1 em { color: var(--accent-light); }
.hero-lead { margin: 30px 0 34px; max-width: 540px; font-size: 19px; color: var(--muted); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 19px 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; min-height: 60px; padding: 14px 23px; font-size: 17px; line-height: 1.2; font-weight: 700; transition: background .15s, transform .15s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #101516; background: var(--accent-light); }
.button-primary:hover { background: var(--accent); box-shadow: 0 0 0 3px #e08a4e38; }
.button span { font-size: 23px; font-weight: 400; }
.hero-call { font-size: 20px; min-height: 72px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 2px solid #8d9996; font-size: 17px; font-weight: 700; white-space: nowrap; padding: 10px 0; }
.text-link:hover { border-color: var(--accent); }
.text-link span { color: var(--accent-light); font-size: 24px; }
.hero-visual { position: relative; overflow: hidden; border-left: 1px solid var(--line); background: linear-gradient(140deg,#293639 0%,#1c292c 46%,#11191b 100%); display: flex; align-items: center; justify-content: center; padding: 54px 37px; isolation: isolate; }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(#c8d1cb12 1px, transparent 1px),linear-gradient(90deg,#c8d1cb12 1px,transparent 1px); background-size: 49px 49px; opacity: .8; pointer-events: none; }
.visual-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, #e08a4e33 0%, transparent 62%); pointer-events: none; }
.hero-logo { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 530px; min-width: 0; filter: drop-shadow(0 12px 22px #0004); }
.hero-emblem { display: block; width: min(100%, 500px); max-width: 100%; height: auto; aspect-ratio: 685/387; object-fit: contain; }
.hero-wordmark { display: block; max-width: 100%; font: 700 clamp(42px,4.3vw,68px)/1 var(--display); letter-spacing: -.018em; white-space: nowrap; text-align: center; margin: -4px 0 0; }
.hero-owner { display: block; margin-top: 8px; font: 600 clamp(15px,1.35vw,18px)/1.3 var(--font); letter-spacing: .06em; color: var(--muted); text-align: center; }
.hero-wordmark span { color: var(--accent-light); }
.hero-descriptor { font: 700 16px/1.5 var(--font); letter-spacing: .075em; text-align: center; color: var(--ink); margin-top: 22px; }
.hero-descriptor b { font-weight: 700; color: var(--accent-light); margin: 0 6px; }
.visual-corner { position: absolute; width: 24px; height: 24px; opacity: .8; border-style: solid; border-color: var(--accent); }
.visual-corner-tl { top: 28px; left: 28px; border-width: 2px 0 0 2px; }
.visual-corner-br { bottom: 28px; right: 28px; border-width: 0 2px 2px 0; }

/* Quick contacts follow the hero without microtypography. */
.hero-contact-strip { background: #172022; border-top: 1px solid var(--line); }
.hero-contact-inner { display: grid; grid-template-columns: .9fr 1fr 1.1fr; gap: 27px; padding: 25px 0 27px; }
.hero-contact-inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.info-label { font-size: 14px; font-weight: 700; color: var(--accent-light); letter-spacing: .075em; }
.hero-contact-inner a,.hero-contact-inner div>span:last-child { font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--ink); }
.hero-contact-inner .strip-phone { font: 700 30px/1.3 var(--display); }
.hero-contact-inner a span { color: var(--accent-light); }
.hero-contact-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Sections and titles remain legible at normal browser zoom. */
.section { padding: 110px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 54px; }
.section h2 { font-size: clamp(58px,5.1vw,81px); }
.muted-heading { color: #afb9b6; }
.section-intro { font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 340px; margin: 0 0 4px; }
.services { background: #141d1f; }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-mark { width: 30px; height: 3px; background: var(--accent-light); margin-top: 21px; }
.service-item h3 { font: 700 41px/1.15 var(--display); text-transform: uppercase; margin: 0 0 9px; }
.service-item p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.selected-work { background: var(--bg); }
.about { background: #1b2729; }
.about-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 75px; }
.about-number { border-right: 1px solid var(--line); display: flex; justify-content: center; flex-direction: column; padding-right: 50px; }
.about-number strong { font: 700 clamp(150px,16vw,245px)/.9 var(--display); letter-spacing: -.065em; }
.about-number strong span { color: var(--accent-light); font-size: .55em; vertical-align: top; }
.about-number>p:last-child { font-size: 16px; color: var(--muted); font-weight: 700; letter-spacing: .055em; line-height: 1.5; }
.about-content { padding-top: 7px; }
.about-content h2 { font-size: clamp(52px,4.3vw,72px); margin-bottom: 34px; }
.about-content p { margin: 0 0 17px; max-width: 640px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.about-content .text-link { margin-top: 17px; }
.recruitment { padding: 80px 0; background: linear-gradient(135deg, var(--accent) 0%, #d5773f 55%, var(--accent-light) 100%); color: var(--bg); }
.recruitment-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 80px; align-items: center; }
.recruitment .eyebrow { color: var(--bg); }
.recruitment h2 { font-size: clamp(66px,6vw,91px); }
.recruitment p:not(.eyebrow) { max-width: 570px; font-size: 21px; line-height: 1.6; font-weight: 500; margin: 0 0 24px; }
.button-outline { border: 2px solid var(--bg); color: var(--bg); }
.button-outline:hover { color: var(--accent); background: var(--bg); }
.contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 80px; }
.contact h2 { font-size: clamp(65px,5.6vw,92px); }
.contact-grid>div:first-child>p:not(.eyebrow) { color: var(--muted); font-size: 21px; line-height: 1.6; margin: 30px 0; max-width: 430px; }
.contact-call { font-size: 20px; }
.contact-details { border-top: 1px solid var(--line); min-width: 0; }
.contact-detail { display: flex; flex-direction: column; gap: 11px; border-bottom: 1px solid var(--line); padding: 27px 0; }
.contact-detail>span { font-size: 15px; font-weight: 700; color: var(--accent-light); letter-spacing: .08em; }
.contact-detail strong,.contact-value { font: 700 clamp(32px,3vw,47px)/1.2 var(--display); text-transform: uppercase; }
.contact-value { color: var(--ink); white-space: nowrap; }
.contact-value>span { font-size: 28px; color: var(--accent-light); }
.contact-value:hover { color: var(--accent-light); }
.contact-detail p { margin: 0; font-size: 19px; color: var(--muted); }
.map-link { color: var(--accent-light); font-size: 19px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; padding: 8px 0; align-self: flex-start; }
.opening-hours { display: flex; flex-direction: column; gap: 10px; }
.opening-hours>div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.opening-hours strong { font: 600 18px/1.5 var(--font); text-transform: none; color: var(--muted); }
.opening-hours span { font-size: 18px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.site-footer { background: #0c1112; border-top: 1px solid var(--line); padding: 45px 0 30px; }
.footer-inner { display: grid; grid-template-columns: .9fr 1.4fr auto; gap: 36px; align-items: start; }
.footer-brand { font-size: 39px; }
.footer-brand small { display: block; font: 700 14px/1.5 var(--font); letter-spacing: .07em; color: var(--muted); margin-top: 10px; }
.footer-brand .footer-owner { font: 600 15px/1.45 var(--font); letter-spacing: .04em; color: var(--ink); opacity: .9; margin-top: 8px; text-transform: none; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.footer-contact a { font-size: 25px; font-weight: 700; color: var(--ink); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 15px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.back-top { font-size: 17px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.demo-notice { border-top: 1px solid var(--line); margin-top: 33px; padding-top: 22px; font-size: 15px; line-height: 1.6; color: var(--muted); }


/* Version 4: primary specialties first, supplementary services subordinate. */
.services-more {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  align-items: start;
  gap: 24px 40px;
  margin-top: 32px;
  padding: 31px 0 0;
}
.services-more h3 {
  font: 700 25px/1.25 var(--display);
  text-transform: uppercase;
  margin: 5px 0 0;
  color: var(--ink);
}
.services-more ul {
  display: flex;
  gap: 10px 13px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.services-more li {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px 15px;
  line-height: 1.4;
}
/* Real cars from existing AUTO-GLOBE material; visual toning via CSS, source photos unchanged. */
.work-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.work-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--line);
  aspect-ratio: 654 / 442;
}
.work-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: saturate(.77) brightness(.91) contrast(1.07);
  transition: filter .2s ease, transform .3s ease;
}
.work-photo:hover img { filter: saturate(.9) brightness(1) contrast(1.04); transform: scale(1.018); }
.work-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, #10151644 100%);
}
@media (max-width: 690px) {
  .services-more { grid-template-columns: 1fr; margin-top: 28px; padding-top: 17px; }
  .services-more h3 { font-size: 24px; }
  .services-more li { font-size: 17px; }
  .work-gallery { grid-template-columns: 1fr; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-photo img { transition: none; }
}

@media (max-width: 1270px) {
  .container { width: min(100% - 64px,1370px); }
  .site-header { height: 92px; }
  .brand-name { font-size: 32px; }
  .brand-subtitle { font-size: 12px; }
  .brand-emblem { width: 60px; }
  .primary-nav { gap: 17px; }
  .primary-nav>a { font-size: 15px; }
  .primary-nav>a.nav-contact { padding: 12px 13px; font-size: 15px; }
  .hero h1 { font-size: clamp(47px,5.3vw,76px); }
  .hero-visual { padding: 44px 27px; }
  .hero-wordmark { font-size: clamp(40px,4.3vw,60px); }
  .hero-owner { font-size: 16px; }
  .section h2 { font-size: clamp(56px,5.2vw,75px); }
  .contact-grid { gap: 48px; }
  .contact-value { font-size: clamp(32px,3.25vw,43px); }
}
@media (max-width: 980px) {
  .site-header { height: 82px; }
  .header-inner { gap: 12px; }
  .mobile-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px solid var(--line); width: 54px; height: 50px; background: transparent; cursor: pointer; }
  .mobile-toggle span { width: 24px; height: 2px; background: var(--ink); }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 82px; background: #182023; border-bottom: 1px solid var(--line); padding: 18px 32px 30px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 18px 25px #0005; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { border-bottom: 1px solid var(--line); padding: 14px; font-size: 19px; }
  .primary-nav > a.nav-contact { margin-top: 15px; padding: 19px; font-size: 19px; }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.82fr); min-height: 570px; }
  .hero-copy { padding: 70px 28px 65px 0; }
  .hero h1 { font-size: clamp(45px,5.1vw,62px); }
  .hero-lead { font-size: 18px; }
  .hero-wordmark { font-size: clamp(36px,4.4vw,52px); }
  .hero-descriptor { font-size: 14px; letter-spacing: .025em; }
  .hero-call { font-size: 18px; min-height: 63px; }
  .hero-contact-inner { gap: 15px; }
  .hero-contact-inner .strip-phone { font-size: 27px; }
  .hero-contact-inner a,.hero-contact-inner div>span:last-child { font-size: 16px; }
  .section-header { display: block; }
  .section-intro { margin-top: 24px; max-width: 650px; }
  .about-grid { gap: 36px; grid-template-columns: .65fr 1.35fr; }
  .about-number { padding-right: 24px; }
  .about-number strong { font-size: 155px; }
  .recruitment-grid { gap: 40px; }
  .contact-grid { display: block; }
  .contact-details { margin-top: 60px; }
  .contact-value { font-size: 45px; }
}
@media (max-width: 690px) {
  html { scroll-padding-top: 75px; }
  .container { width: calc(100% - 40px); }
  .brand-name { font-size: 29px; }
  .brand-subtitle { font-size: 11px; }
  .brand-emblem { width: 55px; }
  .hero-grid { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { padding: 65px 0 56px; }
  .hero h1 { font-size: clamp(49px, 9.8vw, 76px); }
  .hero-lead { font-size: 19px; max-width: 570px; }
  .hero-actions { gap: 16px; }
  .hero-visual { min-height: 390px; border-left: 0; border-top: 1px solid var(--line); padding: 42px 50px; }
  .hero-logo { max-width: 410px; }
  .hero-wordmark { font-size: clamp(47px,9vw,64px); }
  .hero-owner { font-size: 15px; }
  .hero-contact-inner { grid-template-columns: 1fr; gap: 21px; padding: 26px 0; }
  .hero-contact-inner .strip-phone { font-size: 34px; }
  .hero-contact-inner a,.hero-contact-inner div>span:last-child { font-size: 19px; }
  .section { padding: 80px 0; }
  .section h2 { font-size: clamp(51px,9.5vw,70px); }
  .section-header { margin-bottom: 35px; }
  .service-item { grid-template-columns: 22px minmax(0,1fr); gap: 14px; padding: 26px 0; }
  .service-mark { width: 16px; margin-top: 19px; }
  .service-item h3 { font-size: 35px; }
  .about-grid { display: block; }
  .about-number { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 27px; }
  .about-number strong { font-size: 165px; }
  .about-content { padding-top: 38px; }
  .recruitment-grid { display: block; }
  .recruitment-grid>div:last-child { margin-top: 35px; }
  .recruitment h2 { font-size: clamp(60px,10vw,82px); }
  .recruitment p:not(.eyebrow) { font-size: 21px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-meta { align-items: flex-start; }
}
@media (max-width: 440px) {
  .container { width: calc(100% - 32px); }
  .eyebrow { font-size: 14px; }
  .hero-copy { padding: 48px 0 46px; }
  .hero h1 { font-size: clamp(42px, 10.5vw, 57px); }
  .hero-lead { font-size: 18px; }
  .hero-call { width: 100%; font-size: 19px; padding: 14px 17px; }
  .hero-visual { min-height: 315px; padding: 25px; }
  .hero-wordmark { font-size: clamp(41px,9.2vw,53px); }
  .hero-owner { font-size: 14px; }
  .hero-descriptor { font-size: 12px; }
  .section h2 { font-size: clamp(46px,11vw,57px); }
  .service-item h3 { font-size: 32px; }
  .about-content h2 { font-size: 46px; }
  .recruitment h2 { font-size: 56px; }
  .contact h2 { font-size: 59px; }
  .contact-value { font-size: 35px; }
  .opening-hours strong,.opening-hours span { font-size: 16px; }
  .footer-inner { display: flex; flex-direction: column; gap: 27px; }
  .footer-meta { width: 100%; flex-direction: row; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none!important; }
}
/* Extra-narrow phones: long Polish words must never cause sideways scrolling. */
@media (max-width: 360px) {
  .contact h2 { font-size: 44px; }
  .about-content h2 { font-size: 41px; }
  .hero-wordmark { font-size: 40px; }
}

/* v5: long recruitment heading stays within its column. */
.recruitment h2 { font-size: clamp(54px, 5vw, 79px); overflow-wrap: normal; }
@media (max-width: 690px) { .recruitment h2 { font-size: clamp(50px, 9.2vw, 76px); } }
@media (max-width: 440px) { .recruitment h2 { font-size: clamp(45px, 10.7vw, 55px); } }
