/* =========================================================
   POLIX GARAGE — Car Detailing / PoliX Cars
   Demo stylesheet
   ========================================================= */

:root {
  --black: #08090A;
  --graphite: #121417;
  --graphite-2: #1A1D21;
  --white: #F2F2F0;
  --grey: #8B8F94;
  --grey-dark: #4A4E53;
  --red: #D71920;
  --line: rgba(242, 242, 240, 0.12);
  --line-strong: rgba(242, 242, 240, 0.24);
  --line-dark: rgba(8, 9, 10, 0.16);

  --f-display: "Saira Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --header-h: 64px;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --section-y: clamp(80px, 10vw, 168px);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
address { font-style: normal; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ---------- Heading fix (obavezno) ---------- */
h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Type ---------- */
.display-1 {
  font-size: clamp(2.6rem, 7.4vw, 7.5rem);
}

.display-2 {
  font-size: clamp(2.2rem, 5vw, 4.75rem);
}

.kicker,
.tech-label,
.section-tag {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.3;
}

.kicker { margin-bottom: 18px; }

.red-dot { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --cut: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:focus-visible { clip-path: none; }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: #B5141A; }

.btn-line {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-line:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--red); }

/* ---------- Media (images) ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.1s var(--ease);
}
@media (hover: hover) {
  .media:hover img { transform: scale(1.035); }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; flex-shrink: 0; }

.brand-tile {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 4px 10px;
  height: 46px;
}
.brand-tile img {
  height: 38px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.site-nav ul {
  display: flex;
  gap: clamp(16px, 2.2vw, 34px);
}
.site-nav ul a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.25s var(--ease);
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav ul a:hover::after,
.site-nav ul a.is-active::after { transform: scaleX(1); }
.site-nav ul a.is-active { color: var(--white); }

.nav-cta { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-toggle-bars {
  position: relative;
  width: 26px;
  height: 12px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { top: 5px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.5vw, 80px);
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 80px) var(--pad);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.tick {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(3rem, 5.4vw, 6rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
}
.hero-title .line { display: block; }

.hero-sub {
  margin-top: clamp(22px, 2.6vw, 34px);
  max-width: 30ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: rgba(242, 242, 240, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 40px);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 4.5vw, 64px);
}
.hero-meta > div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.hero-meta dt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero-meta dd {
  margin-top: 4px;
  font-size: 0.9375rem;
}

.hero-media {
  position: relative;
}
.hero-frame {
  aspect-ratio: 3 / 2;
}
.hero-frame img {
  position: absolute;
  inset: 0;
}
.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--white);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  z-index: 2;
}
.c-tl { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.c-tr { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; }
.c-bl { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; }
.c-br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; border-color: var(--red); }

.hero-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  background: var(--black);
}
.hero-caption span {
  padding: 10px 16px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cap-key { background: var(--red); }
.cap-val { color: var(--white); }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--graphite);
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 46px;
  animation: ticker 80s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span,
.ticker i {
  font-family: var(--f-display);
  font-weight: 700;
  font-style: normal;
  font-size: 0.9375rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span { color: var(--white); padding-inline: 22px; }
.ticker i { color: var(--red); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: clamp(40px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.section-num {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 15vw, 14rem);
  line-height: 0.74;
  letter-spacing: -0.03em;
  color: var(--graphite-2);
}
@supports (-webkit-text-stroke: 1px black) {
  .section-num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--grey-dark);
  }
}

.section-tag {
  color: var(--white);
  text-align: right;
  padding-bottom: 6px;
}
.section-tag::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--red);
  margin-right: 12px;
  vertical-align: 0;
}

/* =========================================================
   01 — SERVICES
   ========================================================= */
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.services-photo {
  aspect-ratio: 16 / 10;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  counter-reset: none;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(200px, 20vw, 280px);
  padding: clamp(20px, 2vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service:hover { background: var(--graphite); }
.service:hover::before { transform: scaleX(1); }

.service-no {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 3.75rem);
  line-height: 1;
  color: var(--grey-dark);
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}
.service:hover .service-no { color: var(--red); transform: translateX(4px); }

.service-name {
  margin-top: auto;
  padding-top: 28px;
  font-size: clamp(1.5rem, 2.1vw, 2.125rem);
  font-weight: 700;
  line-height: 0.95;
}
.service-desc {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--grey);
  line-height: 1.5;
}

.service-cta { padding: 0; background: var(--red); }
.service-cta:hover { background: #B5141A; }
.service-cta::before { display: none; }
.service-cta a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(20px, 2vw, 32px);
}
.service-cta .service-no {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}
.service-cta:hover .service-no { color: var(--white); }
.service-cta .service-name {
  font-family: var(--f-display);
  text-transform: uppercase;
  color: var(--white);
}

/* =========================================================
   02 — AUDI A6
   ========================================================= */
.audi { background: var(--graphite); }
.audi .section-head { border-bottom-color: var(--line); }

.audi-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 1.6vw, 24px);
  row-gap: clamp(14px, 1.6vw, 24px);
}

.audi-main {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
  aspect-ratio: 3 / 2;
}

.audi-spec {
  grid-column: 9 / 13;
  grid-row: 1;
  padding-left: clamp(0px, 1vw, 12px);
}
.audi-spec .display-2 { font-size: clamp(2.2rem, 4.2vw, 4.25rem); }
.audi-spec .year {
  color: var(--red);
}

.spec-list {
  margin-top: clamp(22px, 2.5vw, 36px);
  border-top: 1px solid var(--line-strong);
}
.spec-list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 2px;
}
.spec-list dd { font-size: 1rem; }

.audi-rear {
  grid-column: 9 / 13;
  grid-row: 2;
  align-self: end;
  aspect-ratio: 4 / 3;
}

.audi-int { aspect-ratio: 4 / 5; }
.audi-int-1 { grid-column: 1 / 5; grid-row: 3; }
.audi-int-2 { grid-column: 5 / 9; grid-row: 3; margin-top: clamp(24px, 6vw, 96px); }
.audi-int-3 { grid-column: 9 / 13; grid-row: 3; aspect-ratio: 3 / 4; align-self: start; }

.audi-note {
  grid-column: 1 / 8;
  grid-row: 4;
  margin-top: clamp(16px, 3vw, 40px);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--grey);
}

/* =========================================================
   03 — OPEL ASTRA OPC
   ========================================================= */
.opc-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 0;
  border: 1px solid var(--line);
}

.opc-wide {
  min-height: clamp(300px, 36vw, 560px);
}
.opc-wide img {
  position: absolute;
  inset: 0;
}

.opc-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 44px);
  background: var(--graphite);
  border-left: 3px solid var(--red);
}
.opc-panel .display-2 { font-size: clamp(2.4rem, 4.4vw, 4.5rem); }

.opc-list {
  margin-top: clamp(24px, 3vw, 40px);
}
.opc-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.opc-no {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--red);
  line-height: 1.4;
}
.opc-item {
  font-size: 1rem;
  line-height: 1.4;
}
.finish {
  display: inline-block;
  margin-top: 6px;
  margin-left: 2px;
  padding: 2px 8px;
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--grey);
  border: 1px solid var(--line-strong);
}
.finish-gloss {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Film strip */
.film { margin-top: clamp(40px, 5vw, 72px); }
.film-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.film-hint {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.film-hint::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--red);
  margin-left: 10px;
  vertical-align: middle;
}

.film-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 30vw, 440px);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 22px 10px;
  background-color: var(--black);
  background-image:
    repeating-linear-gradient(90deg, rgba(242, 242, 240, 0.16) 0 14px, transparent 14px 30px),
    repeating-linear-gradient(90deg, rgba(242, 242, 240, 0.16) 0 14px, transparent 14px 30px);
  background-size: 100% 6px, 100% 6px;
  background-position: 0 8px, 0 calc(100% - 8px);
  background-repeat: no-repeat;
  background-attachment: local;
  border-block: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--graphite);
}
.film-strip::-webkit-scrollbar { height: 6px; }
.film-strip::-webkit-scrollbar-track { background: var(--graphite); }
.film-strip::-webkit-scrollbar-thumb { background: var(--red); }

.frame {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.frame-img { aspect-ratio: 3 / 2; }
.frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.frame figcaption span { color: var(--red); }

/* =========================================================
   04 — DEEP CLEANING / BEFORE-AFTER
   ========================================================= */
.deep {
  background: var(--black);
  border-top: 1px solid var(--line);
}

.deep-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}

.deep-project {
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(18px, 2vw, 32px);
}
.deep-project p:not(.kicker):not(.deep-model):not(.deep-lead) {
  color: rgba(242, 242, 240, 0.78);
}
.deep-model {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  text-transform: uppercase;
  line-height: 0.95;
}
.deep-lead {
  margin: 14px 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
}

.seat-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: 1px solid var(--line);
}
.seat-status > div {
  background: var(--black);
  padding: 12px 14px;
}
.seat-status dt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.seat-status dd {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.1;
}

/* Prije / poslije */
.ba {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
}
.ba-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.ba-label {
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.78;
  letter-spacing: -0.01em;
}
.ba-before .ba-label { color: var(--grey); }
.ba-after .ba-label { color: var(--white); }
.ba-after .ba-head { border-bottom: 3px solid var(--red); }
.ba-note {
  max-width: 34ch;
  color: var(--grey);
  font-size: 1rem;
}
.ba-after .ba-note { color: var(--white); font-weight: 600; }

.ba-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: clamp(170px, 17vw, 270px);
  grid-auto-flow: dense;
  gap: 8px;
}
.ba-grid .ba-img:first-child { grid-row: span 2; }
.ba-after .ba-grid { grid-template-columns: 1fr 1fr 2fr; }
.ba-after .ba-grid .ba-img:first-child { grid-column: 3; grid-row: 1 / 3; }
.ba-img { height: 100%; }

.ba-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
}
.ba-divider::before,
.ba-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

/* =========================================================
   05 — POLIX CARS (light, separated)
   ========================================================= */
.cars {
  background: var(--white);
  color: var(--black);
}
.cars .section-head { border-bottom-color: var(--line-dark); }
.cars .section-tag { color: var(--black); }
.cars .section-num { color: #DCDCD8; }
@supports (-webkit-text-stroke: 1px black) {
  .cars .section-num {
    color: transparent;
    -webkit-text-stroke: 1.5px #B9BCBF;
  }
}
.cars .kicker { color: var(--grey-dark); }

.cars-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
}
.cars-photo {
  aspect-ratio: 4 / 3;
  background: #DADAD6;
}

.cars-title {
  font-size: clamp(4.2rem, 10vw, 9.5rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.cars-text p {
  max-width: 44ch;
  color: #2B2E32;
}
.cars-lead {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.5;
  margin-bottom: 14px;
  color: var(--black) !important;
}
.cars-steps {
  display: flex;
  flex-wrap: wrap;
  margin: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.cars-steps li {
  flex: 1 1 auto;
  padding: 10px 14px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.cars-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-dark);
}
.cars-contact > div {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line-dark);
  min-width: 0;
}
.cars-contact dt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.cars-contact dd {
  margin-top: 4px;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}
.cars-phone {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem !important;
  line-height: 1.2;
}
.cars-contact a {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.cars-contact a:hover { color: var(--red); }

/* =========================================================
   06 — POLIX GARAGE
   ========================================================= */
.garage { padding-bottom: var(--section-y); }
.garage .section-head { margin-bottom: clamp(28px, 4vw, 56px); }

.garage-stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.garage-photo {
  grid-column: 1 / 9;
  grid-row: 1;
  aspect-ratio: 3 / 2;
}
.garage-panel {
  grid-column: 8 / 13;
  grid-row: 1;
  position: relative;
  z-index: 2;
  transform: translateY(clamp(24px, 3vw, 48px));
  padding: clamp(24px, 3vw, 48px);
  background: var(--black);
  border-top: 3px solid var(--red);
}
.garage-panel p {
  margin-top: 20px;
  color: rgba(242, 242, 240, 0.8);
  max-width: 46ch;
}

.biz-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line-strong);
}
.biz-info > div {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
}
.biz-info dt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.biz-info dd {
  margin-top: 6px;
  font-size: 1rem;
}

/* =========================================================
   07 — CONTACT
   ========================================================= */
.contact {
  background: var(--graphite);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.contact-info .display-1 { font-size: clamp(2.6rem, 6vw, 6rem); }

.contact-list {
  margin-top: clamp(36px, 4vw, 64px);
  border-top: 1px solid var(--line-strong);
}
.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-key {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.contact-val {
  font-size: 1.125rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-phone {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.contact-link {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.25s var(--ease);
}
.contact-link:hover { color: var(--red); }

/* Form */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
  padding: clamp(24px, 3vw, 44px);
  background: var(--black);
  border: 1px solid var(--line);
}
.form-flag {
  grid-column: 1 / -1;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  font-size: 0.875rem;
  color: var(--grey);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field-full,
.field:has(textarea) { grid-column: 1 / -1; }

.field label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 1.0625rem;
  color: var(--white);
  transition: border-color 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--grey-dark); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 2px 0 0 var(--red);
}
.field select {
  cursor: pointer;
  padding-right: 28px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--grey) 50%),
    linear-gradient(135deg, var(--grey) 50%, transparent 50%);
  background-position: calc(100% - 12px) 52%, calc(100% - 6px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select option {
  background: var(--graphite);
  color: var(--white);
}
.field.has-error input { border-bottom-color: var(--red); }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.form-status {
  font-size: 0.9375rem;
  color: var(--white);
}
.form-status:not(:empty) {
  padding: 10px 14px;
  border: 1px solid var(--red);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 80px) clamp(28px, 3vw, 40px);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.brand-tile-footer { height: 54px; }
.brand-tile-footer img { height: 46px; }
.footer-biz {
  font-size: 0.9375rem;
  color: var(--grey);
  line-height: 1.5;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.footer-nav a {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover { color: var(--red); }

.disclaimer {
  margin-top: clamp(24px, 3vw, 36px);
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--white);
}
.demo-by {
  margin-top: 6px;
  font-weight: 600;
}

/* =========================================================
   REVEAL (JS enhancement only — default = visible)
   ========================================================= */
.js .reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-pending {
  opacity: 0;
  transform: translateY(22px);
}
.js .section-num.reveal.is-pending {
  transform: translateY(35%);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .audi-main { grid-column: 1 / 13; grid-row: 1; }
  .audi-spec { grid-column: 1 / 7; grid-row: 2; padding-left: 0; padding-top: 12px; }
  .audi-rear { grid-column: 7 / 13; grid-row: 2; align-self: start; }
  .audi-int-1 { grid-column: 1 / 5; grid-row: 3; }
  .audi-int-2 { grid-column: 5 / 9; grid-row: 3; }
  .audi-int-3 { grid-column: 9 / 13; grid-row: 3; }
  .audi-note { grid-column: 1 / 13; }

  .opc-layout { grid-template-columns: minmax(0, 1fr); }
  .opc-wide { min-height: 0; aspect-ratio: 16 / 10; }
  .opc-panel { border-left: 0; border-top: 3px solid var(--red); }


  .biz-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  /* Header — burger (samo kad je JS aktivan) */
  .js .nav-toggle { display: inline-flex; }

  .js .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100svh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 28px var(--pad) 36px;
    background: var(--black);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s;
  }
  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .js .site-nav ul li { border-bottom: 1px solid var(--line); }
  .js .site-nav ul a {
    display: block;
    padding: 16px 0;
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
  }
  .js .site-nav ul a::after { display: none; }
  .js .site-nav ul a.is-active { color: var(--red); }
  .js .nav-cta { min-height: 54px; width: 100%; }

  /* Bez JS-a: navigacija ostaje vidljiva kao red linkova */
  .no-js .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .site-nav { width: 100%; flex-wrap: wrap; gap: 12px; }
  .no-js .site-nav ul { flex-wrap: wrap; gap: 4px 18px; }

  /* Hero */
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }
  .hero-media { order: -1; }
  .hero-text {
    padding: 36px var(--pad) 40px;
  }
  .hero-title { font-size: clamp(2.7rem, 10.5vw, 5.4rem); }
  .hero-sub { max-width: 36ch; }

  .services-intro { grid-template-columns: minmax(0, 1fr); }
  .deep-intro { grid-template-columns: minmax(0, 1fr); }
  .cars-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }

  .garage-stage { grid-template-columns: minmax(0, 1fr); }
  .garage-photo { grid-column: 1; }
  .garage-panel {
    grid-column: 1;
    grid-row: 2;
    transform: none;
    margin: -40px 16px 0;
  }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 1rem; }

  .brand-tile { height: 42px; padding: 3px 8px; }
  .brand-tile img { height: 34px; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .section-tag { text-align: left; }

  .hero-caption span { padding: 8px 12px; font-size: 0.75rem; }
  .corner { width: 18px; height: 18px; }
  .c-tl, .c-tr { top: 12px; }
  .c-bl, .c-br { bottom: 12px; }
  .c-tl, .c-bl { left: 12px; }
  .c-tr, .c-br { right: 12px; }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-meta > div { padding-block: 12px; }

  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service {
    min-height: 0;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 14px;
    align-items: start;
  }
  .service-no { font-size: 2.4rem; grid-row: 1 / 3; }
  .service-name { margin-top: 0; padding-top: 4px; font-size: 1.6rem; }
  .service-desc { grid-column: 2; margin-top: 8px; }
  .service-cta a { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: center; }
  .service-cta .service-no { grid-row: auto; }

  .audi-layout { row-gap: 12px; column-gap: 12px; }
  .audi-main { aspect-ratio: 4 / 3; }
  .audi-spec { grid-column: 1 / 13; grid-row: 2; }
  .audi-rear { grid-column: 1 / 13; grid-row: 3; }
  .audi-int-1 { grid-column: 1 / 13; grid-row: 4; }
  .audi-int-2 { grid-column: 1 / 7; grid-row: 5; margin-top: 0; }
  .audi-int-3 { grid-column: 7 / 13; grid-row: 5; aspect-ratio: 4 / 5; }
  .audi-note { grid-row: 6; }

  .opc-wide { aspect-ratio: 4 / 3; }
  .film-strip { grid-auto-columns: 82%; }


  .ba-grid,
  .ba-after .ba-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 6px;
  }
  .ba-img { height: auto; aspect-ratio: 3 / 4; }
  .ba-grid .ba-img:first-child,
  .ba-after .ba-grid .ba-img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
  .ba-divider { gap: 12px; font-size: 0.875rem; }

  .cars-steps li { flex-basis: 50%; }
  .cars .btn { width: 100%; }

  .garage-stage { padding-inline: 0; }
  .garage-panel { margin: -28px 12px 0; }
  .cars-contact { grid-template-columns: minmax(0, 1fr); }
  .biz-info { grid-template-columns: minmax(0, 1fr); }

  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .form-foot .btn { width: 100%; }

  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .ticker-track { animation: none; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
}

/* Portretne fotografije u filmskoj traci: zadržavaju središte kadra */
.frame-portrait img { object-position: center 45%; }

/* =========================================================
   LIGHTBOX (dodaje ga JavaScript)
   ========================================================= */
.media.is-zoomable { cursor: zoom-in; }
.media.is-zoomable:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 56px 12px 24px;
  background: rgba(8, 9, 10, 0.96);
}
.lightbox[hidden] { display: none; }

.lb-figure {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100svh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--graphite);
  box-shadow: 0 0 0 1px var(--line);
}
.lb-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 14px;
  max-width: 70ch;
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(242, 242, 240, 0.8);
}
.lb-count {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}
.lb-count[hidden] { display: none; }

.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--graphite);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn[hidden] { display: none; }
.lb-prev { grid-column: 1; justify-self: center; }
.lb-next { grid-column: 3; justify-self: center; }
.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
}

@media (max-width: 640px) {
  .lightbox {
    grid-template-columns: minmax(0, 1fr);
    padding: 64px 8px 84px;
  }
  .lb-figure { grid-column: 1; grid-row: 1; }
  .lb-img { max-height: calc(100svh - 200px); }
  .lb-prev,
  .lb-next {
    position: absolute;
    bottom: 18px;
    grid-column: auto;
  }
  .lb-prev { left: 18px; }
  .lb-next { right: 18px; }
}