/* MIKA vulkanizerski obrt — stil. Ručno pisano, bez frameworka. */
:root {
  --ink: #14171a;
  --ink-2: #2b3138;
  --muted: #5b6470;
  --line: #e4e7eb;
  --panel: #f4f5f7;
  --bg: #ffffff;
  --accent: #f0641e;
  --accent-dark: #d4530f;
  --font-head: 'Archivo', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(20, 23, 26, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Gumbi */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: .95rem;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }

/* Zaglavlje */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20,23,26,.06); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo img { width: 250px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav__cta { margin-left: .4rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,23,26,.92) 0%, rgba(20,23,26,.72) 45%, rgba(20,23,26,.25) 100%);
}
.hero__in { padding: 5rem 0 4.5rem; max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 1.2rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(240,100,30,.3); }

/* Traka */
.strip { background: var(--ink); color: #fff; }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 1.3rem 1rem; border-left: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.strip__item span { font-size: .9rem; color: rgba(255,255,255,.7); }

/* Sekcije */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--panel { background: var(--panel); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.kicker--light { color: var(--accent); }
.sub { color: var(--muted); font-size: 1.05rem; }
.section--dark .sub { color: rgba(255,255,255,.7); }

/* Kartice usluga */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(240,100,30,.12); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Cjenik */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.price-table { background: var(--bg); border-radius: var(--radius); padding: 1.6rem 1.7rem; border: 1px solid var(--line); }
.price-table h3 { margin-bottom: .8rem; }
.price-table h3 + table + h3 { margin-top: 1.8rem; }
.price-table table { width: 100%; border-collapse: collapse; margin-bottom: .2rem; }
.price-table td { padding: .65rem 0; border-top: 1px solid var(--line); font-size: .98rem; }
.price-table tr:first-child td { border-top: 0; }
.price-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.example {
  margin-top: 1.6rem; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 1.3rem 1.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.example strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.example span { color: rgba(255,255,255,.7); font-size: .95rem; }
.example__price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--accent); }

/* Split sekcije */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__inset {
  position: absolute; right: -6%; bottom: -10%; width: 46%; border: 6px solid #fff;
}
.split__text h2 { margin-bottom: 1rem; }
.split__text p { color: var(--ink-2); }
.brands { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.brands li { font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--panel); color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checks li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23f0641e'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Sezonski banner */
.banner { position: relative; isolation: isolate; color: #fff; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.banner__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,23,26,.9), rgba(20,23,26,.55)); }
.banner__in { max-width: 640px; }
.banner p { color: rgba(255,255,255,.82); margin-bottom: 1.6rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
.contact__info { display: grid; gap: 1.4rem; align-content: start; }
.contact__item { display: flex; flex-direction: column; gap: .15rem; font-size: 1.05rem; }
.contact__item a { text-decoration: none; font-weight: 600; }
.contact__item a:hover { color: var(--accent); }
.contact__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact__item--muted { font-size: .92rem; color: rgba(255,255,255,.7); }
.contact__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: #2b3138; }
.contact__maplink { display: inline-block; margin-top: .6rem; font-size: .9rem; color: rgba(255,255,255,.7); }

/* Podnožje */
.footer { background: #0e1013; color: rgba(255,255,255,.65); padding: 2.2rem 0; font-size: .92rem; }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__in img { width: 220px; }
.footer p { margin: 0; }
.footer a { color: #fff; text-decoration: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--accent); margin: 0; }

/* Responzivno */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__inset { display: none; }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20,23,26,.1);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 1rem 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
  .logo img { width: 210px; }
  .hero { min-height: 0; }
  .hero__in { padding: 4rem 0 3.5rem; }
  .hero__bg img { object-position: 70% 40%; }
  .cards { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .price-table { padding: 1.3rem 1.2rem; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
