/* Avtoservis Zobnik – primer strani. Barve so vzete z modre fasade servisa. */
:root {
  --bg: #f4f6fa;
  --bg-alt: #e9eef6;
  --ink: #0d1424;
  --muted: #55607a;
  --line: #d5dce8;
  --blue: #1f5cc4;
  --blue-d: #133f8c;
  --yellow: #f4c20d;
  --dark: #0a1020;
  --dark-2: #111a30;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }

/* ── Gumbi ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 650; text-decoration: none; border: 0; font-size: 16px; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(127,140,170,.14); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ── Glava ────────────────────────────────────────────────────────────── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 12px max(16px, calc((100% - var(--wrap)) / 2));
  background: rgba(10,16,32,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .18em; font-size: 17px; }
.brand svg { width: 26px; height: 26px; color: var(--yellow); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: #fff; padding: 12px 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Vstopna slika ────────────────────────────────────────────────────── */
/* Notranjost iz treh delov (levo, sredina, desno) s temnima režama. Ob odprtju strani jo
   odpre js/hero.js: sredina zraste iz sredine, levi in desni del prideta s strani. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #05080f; color: #fff; display: flex; align-items: center; }
.garage { position: absolute; inset: 0; display: flex; gap: clamp(4px, .6vw, 10px); }
.in { flex: 492 1 0; height: 100%; background: #111 no-repeat center / cover; will-change: transform, opacity; }
.in--m { flex-grow: 504; background-image: url(../assets/notranjost/sredina.jpg); transform-origin: 50% 60%; }
.in--l { background-image: url(../assets/notranjost/levo.jpg); background-position: right center; }
.in--r { background-image: url(../assets/notranjost/desno.jpg); background-position: left center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,9,18,.86), rgba(5,9,18,.45) 60%, rgba(5,9,18,.15)), linear-gradient(to top, rgba(5,9,18,.6), transparent 35%); }
.hero__in { position: relative; width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding-top: 60px; }
.hero h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 800; max-width: 13ch; letter-spacing: -.025em; }
.hero h1 .line { padding-bottom: .06em; }
.hero .lead { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.85); }
.hero .eyebrow { color: #9cc0ff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; list-style: none; font-size: 15px; color: rgba(255,255,255,.85); }
.badges li::before { content: "✓"; color: var(--yellow); font-weight: 800; margin-right: 8px; }
/* do začetka prehoda je vse skrito, da ne utripne */
.js-hero .in, .js-hero .hero__shade, .js-hero .hero__in > *, .js-hero .top { visibility: hidden; }
/* ── Vsebina ──────────────────────────────────────────────────────────── */
.sec { padding: clamp(72px, 10vw, 130px) 0; }
.sec--alt { background: var(--bg-alt); }
.sec--dark { background: var(--dark); color: #fff; }
.sec--dark .eyebrow { color: #9cc0ff; }
.sec--dark .head__lead { color: rgba(255,255,255,.72); }
.head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 720px; }
.head__title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.head__lead { margin-top: 16px; color: var(--muted); font-size: 18px; }
.head__title .line { padding-bottom: .06em; }
.grid { display: grid; gap: 18px; }
.grid--svc { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -18px rgba(20,40,90,.35); }
.svc svg { width: 34px; height: 34px; color: var(--blue); margin-bottom: 4px; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--muted); font-size: 16px; }
.svc .price { margin-top: auto; padding-top: 8px; color: var(--ink); font-weight: 750; font-size: 18px; }
.grid--pkg { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.pkg { position: relative; background: var(--dark-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.pkg--hot { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 30px 60px -30px rgba(31,92,196,.6); }
.pkg__tag { position: absolute; top: -12px; left: 30px; background: var(--yellow); color: #111; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pkg h3 { font-size: 22px; }
.pkg__price { font-size: 44px; font-weight: 800; margin: 10px 0 18px; letter-spacing: -.02em; }
.pkg__price span { font-size: 16px; font-weight: 500; opacity: .7; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; color: rgba(255,255,255,.82); }
.pkg li::before { content: "✓"; color: var(--yellow); margin-right: 10px; font-weight: 800; }
.pkg .btn { margin-top: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.stats { display: flex; gap: 32px; margin: 34px 0 0; flex-wrap: wrap; }
.stats dt { font-size: 40px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.stats dd { margin: 0; color: var(--muted); font-size: 15px; }
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 22px 24px; }
.why h3 { font-size: 19px; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }
.grid--rev { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.rev { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: #e7a800; letter-spacing: .12em; }
.rev blockquote { margin: 0; font-size: 18px; }
.rev figcaption { margin-top: auto; color: var(--muted); font-size: 15px; font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }
.contact { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.contact li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact span { color: rgba(255,255,255,.55); font-size: 14px; padding-top: 2px; }
.contact a { text-decoration: none; font-weight: 650; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; margin-bottom: 28px; }
.hours caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 400; }
.hours td { text-align: right; }
.minimap { position: relative; height: 220px; border-radius: var(--radius); background: url(../assets/lokacija.jpg) no-repeat; background-size: 420% auto; background-position: 48.9% 63.6%; overflow: hidden; }
.pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(244,194,13,.35), 0 0 0 14px rgba(244,194,13,.15); }
.form { background: var(--dark-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: rgba(255,255,255,.75); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: #fff; background: #0a1122; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form__note { min-height: 1.4em; font-size: 15px; color: #9cc0ff; }
.foot { background: #060a14; color: rgba(255,255,255,.75); padding: 40px 0; font-size: 15px; }
.foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand--foot { color: #fff; margin-bottom: 8px; }
.foot__small { font-size: 13px; color: rgba(255,255,255,.5); display: grid; gap: 4px; }
[data-reveal] { opacity: 0; transform: translateY(26px); }
.is-in[data-reveal], .no-motion [data-reveal] { opacity: 1; transform: none; transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }

@media (max-width: 900px) {
  .two, .two--form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; background: rgba(10,16,32,.97); padding: 8px 16px 18px; display: none; }
  .nav a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu-open .nav { display: flex; }
  .burger { display: block; }
  .top .btn--sm { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .form .row { grid-template-columns: 1fr; }
  .top { gap: 10px; }
  .top .btn--sm { display: none; }
  .burger { margin-left: auto; }
}
