/* ==========================================================
   ASC SINIŠA — demo stranica
   Paleta: svijetlo siva podloga, grafit, servisna crvena
   ========================================================== */

:root {
  --bg: #eceeef;          /* glavna svijetlo siva */
  --surface: #ffffff;     /* kartice */
  --graphite: #1b1e21;    /* header, tamne sekcije */
  --graphite-2: #26292d;
  --steel: #5d646b;       /* sekundarni tekst */
  --line: #cfd3d6;        /* tanke linije */
  --line-dark: #3a3f44;
  --accent: #d6361f;      /* servisna crvena */
  --accent-dark: #b42a16;
  --text: #16181a;

  --font: "Archivo", "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 2px;
  --container: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3,
.hero-title, .band-title, .plate-year, .plate-city {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(to bottom, rgba(16,18,20,.7), rgba(16,18,20,0));
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: var(--graphite);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}
.brand-mark {
  font-size: 24px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: .02em;
}
.brand-name {
  font-size: 12px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .32em;
  margin-top: 4px;
  color: #c9cdd1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  color: #e7e9eb;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: #fff; }

.nav-cta { min-height: 44px; padding: 0 20px; font-size: 13px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform .25s, opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  min-height: min(100svh, 920px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: var(--graphite);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("assets/autoservis-hero.jpg") center / cover no-repeat,
    repeating-linear-gradient(135deg, #24272b 0 2px, transparent 2px 22px),
    var(--graphite);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,16,18,.92) 0%, rgba(14,16,18,.72) 45%, rgba(14,16,18,.25) 100%),
    linear-gradient(0deg, rgba(14,16,18,.85) 0%, rgba(14,16,18,0) 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: clamp(110px, 14vh, 160px);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d4d7da;
  margin-bottom: 26px;
}
.tick {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 28px;
  max-width: 20ch;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #dfe2e4;
  max-width: 40ch;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-hours {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: clamp(110px, 14vh, 160px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 24px 18px 22px;
  background: rgba(255,255,255,.96);
  color: var(--graphite);
  border-left: 4px solid var(--accent);
}
.hh-days {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
}
.hh-time {
  font-size: 26px;
  font-weight: 800;
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

/* ==========================================================
   TRUST STRIP
   ========================================================== */
.trust {
  position: relative;
  z-index: 3;
  margin-top: -64px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  padding: 28px 28px 30px;
  border-right: 1px solid var(--line);
  border-top: 3px solid var(--graphite);
}
.trust-item:first-child { border-top-color: var(--accent); }
.trust-item:last-child { border-right: 0; }
.trust-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.trust-item strong {
  font-size: 19px;
  font-weight: 800;
  font-stretch: 110%;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.trust-item span:last-child { color: var(--steel); font-size: 15px; }

/* ==========================================================
   SEKCIJE — opće
   ========================================================== */
.section { padding: clamp(80px, 10vw, 140px) 0; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.04;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 26px;
}
.h2-light { color: #fff; }

.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.6; }
.sub { color: var(--steel); font-size: 1.08rem; max-width: 52ch; }
.sub-light { color: #b9bec3; }

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--accent); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-text { max-width: 560px; }
.split-text p:not(.label):not(.lead) { color: var(--steel); }

/* Fotografije + fallback kad slika nedostaje */
.photo {
  position: relative;
  margin: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 18px),
    var(--graphite-2);
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 3 / 2; }
.photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(20,22,24,.72);
}
/* corner marks — tehnički detalj */
.photo::before,
.photo::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
}
.photo::before { top: 12px; left: 12px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.photo::after { top: 12px; right: 12px; border-top: 2px solid #fff; border-right: 2px solid #fff; }

.photo.is-missing img { display: none; }
.photo.is-missing .missing-path {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #8d949a;
  letter-spacing: .04em;
}

/* ==========================================================
   USLUGE
   ========================================================== */
.services {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 36px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.services-head .h2 { margin: 0; }
.services-head .sub { margin: 0; justify-self: end; }

.services-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.services-layout .photo-wide { aspect-ratio: auto; min-height: 420px; }

.service-cards {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}
.card {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 20px;
  padding: 30px 30px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s;
}
.card:last-child { border-bottom: 0; }
.card:hover { background: #e3e6e8; }
.card-icon {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  color: var(--accent);
}
.card h3 {
  margin: 2px 0 8px;
  font-size: 18px;
  font-weight: 800;
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.card p { margin: 0; color: var(--steel); font-size: 16px; }

/* ==========================================================
   TAMNI VIZUALNI PREKID
   ========================================================== */
.band {
  position: relative;
  color: #fff;
  background: var(--graphite);
  overflow: hidden;
  padding: clamp(110px, 14vw, 200px) 0;
}
.band-media {
  position: absolute;
  inset: 0;
  background:
    url("assets/servis-detalj.jpg") center / cover no-repeat,
    repeating-linear-gradient(135deg, #23262a 0 2px, transparent 2px 22px),
    var(--graphite);
}
.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,16,18,.9) 0%, rgba(14,16,18,.65) 55%, rgba(14,16,18,.4) 100%);
}
.band-content { position: relative; z-index: 2; }
.band-title {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 26px;
  padding-left: 26px;
  border-left: 6px solid var(--accent);
}
.band-content p {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #d8dbde;
  max-width: 46ch;
  margin-bottom: 34px;
}
.band-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  padding: 6px 12px;
  font-size: 11px;
  color: #fff;
  background: rgba(20,22,24,.72);
}

/* ==========================================================
   O NAMA — tipografska pločica
   ========================================================== */
.split-about { align-items: stretch; }
.split-about .split-text { align-self: center; }

.plate {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}
.plate > * { position: relative; }
.plate-top,
.plate-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--surface);
  padding: 6px 0;
}
.plate-year {
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 800;
  font-stretch: 118%;
  line-height: .85;
  letter-spacing: -.03em;
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
  margin-top: 30px;
}
.plate-rule {
  width: 96px;
  height: 6px;
  background: var(--accent);
  margin: 26px 0 18px;
}
.plate-city {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 30px;
}

/* ==========================================================
   RADNO VRIJEME — ravnalo 0–24h
   ========================================================== */
.hours {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.hours-head { margin-bottom: 48px; }

.schedule {
  border-top: 2px solid var(--graphite);
}
.schedule-scale,
.schedule-row {
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  gap: 28px;
  align-items: center;
}
.schedule-scale { height: 40px; }
.scale-track {
  position: relative;
  height: 100%;
}
.scale-track i {
  position: absolute;
  left: calc(var(--h) / 24 * 100%);
  bottom: 6px;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 12px;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
.schedule-row {
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}
.schedule-row.is-today { background: #f6f2f1; }
.schedule-row.is-today .day::after {
  content: "danas";
  margin-left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 2px 7px;
  vertical-align: middle;
}
.day {
  font-weight: 700;
  font-size: 16px;
  padding-left: 4px;
}
.bar {
  position: relative;
  height: 12px;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 24)),
    #eef0f1;
}
.bar b {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(8 / 24 * 100%);
  width: calc(8 / 24 * 100%);
  background: var(--graphite);
}
.schedule-row.is-today .bar b { background: var(--accent); }
.time {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding-right: 4px;
}

/* ==========================================================
   KONTAKT
   ========================================================== */
.contact { background: var(--graphite); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-list { margin: 40px 0 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-list dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8e959b;
  padding-top: 4px;
}
.contact-list dd {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-list dd a {
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.contact-list dd a:hover { color: #ffb3a6; }
.phones { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }

.contact-form {
  background: var(--surface);
  color: var(--text);
  padding: clamp(24px, 3.5vw, 44px);
  border-top: 4px solid var(--accent);
}
.form-note {
  font-size: 13px;
  color: var(--steel);
  margin-bottom: 22px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* sprječava zoom na iOS-u */
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom: 2px solid #a9afb4;
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-bottom-color: var(--accent);
}
.field.has-error input,
.field.has-error textarea { border-bottom-color: var(--accent); background: #fbefed; }

.form-status {
  margin: 16px 0 0;
  font-weight: 600;
  min-height: 1.5em;
}
.form-status.is-success {
  padding: 14px 16px;
  background: #eef0f1;
  border-left: 4px solid var(--graphite);
}
.form-status.is-error { color: var(--accent-dark); }

/* ==========================================================
   NAPOMENE (AI + DEMO)
   ========================================================== */
.notice {
  background: var(--bg);
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.notice-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--graphite);
  padding: 26px 28px;
}
.notice-demo { border-left-color: var(--accent); }
.notice-title {
  font-size: 15px;
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.notice-box p { margin: 0; color: #34393e; font-size: 15.5px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--graphite);
  color: #c8cdd1;
  padding: 72px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-self: start;
  line-height: 1;
  color: #fff;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}
.site-footer h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8e959b;
  margin: 0 0 12px;
}
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; border-bottom: 1px solid rgba(214,54,31,.7); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: grid;
  gap: 14px;
  font-size: 14px;
  color: #aab0b5;
}
.footer-ai { font-size: 13px; color: #8e959b; }

/* ==========================================================
   REVEAL — samo tekstualni blokovi, samo kad JS radi
   ========================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================
   RESPONZIVNOST
   ========================================================== */

/* Laptop 1024–1439 */
@media (max-width: 1439px) {
  .main-nav { gap: 28px; }
  .main-nav ul { gap: 24px; }
}

/* Tablet i manje: hamburger */
@media (max-width: 1100px) {
  .nav-toggle { display: block; z-index: 2; }

  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--graphite);
    border-top: 1px solid var(--line-dark);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s, transform .25s;
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .nav-link {
    display: block;
    padding: 18px 0;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: #ff8f7d; }
  .nav-cta { margin-top: 28px; min-height: 54px; font-size: 14px; }

  .nav-open .site-header { background: var(--graphite); }
  body.nav-open { overflow: hidden; }
}

/* Tablet 768–1023 */
@media (max-width: 1023px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .split,
  .contact-grid,
  .services-layout { grid-template-columns: 1fr; }
  .split-text { max-width: 640px; }
  .photo-tall { aspect-ratio: 16 / 11; }
  .services-layout .photo-wide { min-height: 0; aspect-ratio: 16 / 10; }

  .services-head { grid-template-columns: 1fr; gap: 16px; }
  .services-head .sub { justify-self: start; }

  .plate { min-height: 360px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .schedule-scale,
  .schedule-row { grid-template-columns: 130px 1fr 140px; gap: 20px; }
}

/* Mobile < 768 */
@media (max-width: 767px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }

  .brand-mark { font-size: 21px; }
  .brand-name { font-size: 11px; }

  .hero { min-height: 0; }
  .hero-content {
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 8.2vw, 2.8rem);
    font-stretch: 92%;
    line-height: 1.02;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-hours {
    position: relative;
    right: auto;
    bottom: auto;
  }
  .hero { flex-direction: column; align-items: stretch; }
  .hero-hours {
    margin: 0 var(--pad) 96px;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .hh-time { font-size: 22px; }

  .trust { margin-top: -64px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .trust-item:last-child { border-bottom: 0; }

  .h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); font-stretch: 96%; }
  .band-title { font-size: clamp(1.75rem, 8vw, 2.6rem); font-stretch: 96%; padding-left: 18px; border-left-width: 5px; }
  .band .btn { width: 100%; }

  .card { grid-template-columns: 36px 1fr; padding: 24px 20px; column-gap: 16px; }
  .card-icon { width: 30px; height: 30px; }

  .plate { min-height: 0; }
  .plate-year { font-size: clamp(4.2rem, 24vw, 7rem); }

  .schedule-scale { display: none; }
  .schedule-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "day time"
      "bar bar";
    gap: 10px 16px;
    padding: 16px 0;
  }
  .day { grid-area: day; padding-left: 0; }
  .time { grid-area: time; padding-right: 0; }
  .bar { grid-area: bar; }

  .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
  .contact-list dd { font-size: 17px; }

  .notice-grid { grid-template-columns: 1fr; }
  .notice-box { padding: 22px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Vrlo uski ekrani */
@media (max-width: 360px) {
  .hero-title { font-size: 1.7rem; }
  .btn { padding: 0 18px; letter-spacing: .04em; }
}