/* =========================================================
   AS Detailing – stilovi
   Paleta: duboka crna + grafit + bakarno-narandžasti akcenat
   Sekcije: .t-dark (crna) · .t-graphite (grafit) · .t-accent (narandžasta traka)
   Boje se menjaju ovde, u :root
   ========================================================= */
:root {
  --ink-0: #0A0A0B;
  --ink-1: #121315;
  --ink-2: #1A1B1E;
  --ink-3: #26272B;
  --light: #F4F2EF;
  --accent: #E5622A;     /* bakarno-narandžasta (iz boje BMW-a) */
  --accent-2: #FF7B3F;   /* svetlija – hover / sjaj */
  --accent-rgb: 229, 98, 42;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --container: 1240px;
  --radius: 2px;
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --bg: var(--ink-0); --fg: var(--light); --muted: rgba(244,242,239,.62); --line: rgba(244,242,239,.12);
  --card: var(--ink-2); --btn-bg: var(--accent); --btn-fg: var(--ink-0);
}
.t-dark { --bg: var(--ink-0); --fg: var(--light); --muted: rgba(244,242,239,.62); --line: rgba(244,242,239,.12); --card: var(--ink-2); --btn-bg: var(--accent); --btn-fg: var(--ink-0); }
.t-graphite { --bg: var(--ink-1); --fg: var(--light); --muted: rgba(244,242,239,.62); --line: rgba(244,242,239,.12); --card: var(--ink-2); --btn-bg: var(--accent); --btn-fg: var(--ink-0); }
.t-accent { --bg: var(--accent); --fg: var(--ink-0); --muted: rgba(10,10,11,.7); --line: rgba(10,10,11,.22); --card: var(--accent-2); --btn-bg: var(--ink-0); --btn-fg: var(--light); }
.t-dark, .t-graphite, .t-accent { background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; background: var(--ink-0); }
body {
  margin: 0; background: var(--ink-0); color: var(--light);
  font-family: var(--sans); font-size: 17px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0 0 1em; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.t-accent :focus-visible { outline-color: var(--ink-0); }
::selection { background: var(--accent); color: var(--ink-0); }
.link { color: var(--fg); border-bottom: 1px solid var(--accent); transition: color .3s; }
.link:hover { color: var(--accent); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink-0); padding: 8px 16px; z-index: 999; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 980px; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 14px;
}
.t-accent .eyebrow { color: var(--ink-0); }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.h2 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 54px); font-weight: 400; letter-spacing: -.01em; margin-bottom: 22px; }
.h2 em { font-style: italic; color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 1px solid var(--btn-bg); border-radius: var(--radius);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap; background: none; color: var(--fg);
}
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink-0); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--accent-rgb), .35); }
.t-accent .btn--primary:hover { background: var(--light); border-color: var(--light); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn--outline { color: var(--fg); border-color: var(--line); border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.btn--outline:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn--block { width: 100%; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); color: var(--fg);
  display: inline-grid; place-items: center; background: transparent; transition: .3s var(--ease);
}
.round-btn:hover { background: var(--accent); color: var(--ink-0); border-color: var(--accent); }
.icon-circle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent);
  display: inline-grid; place-items: center; flex: none;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--light);
  display: flex; align-items: center; transition: height .35s var(--ease), background .35s, box-shadow .35s;
  --fg: var(--light); --line: rgba(244,242,239,.18); --btn-bg: var(--accent); --btn-fg: var(--ink-0);
}
.header.is-scrolled { height: 72px; background: rgba(10,10,11,.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { display: block; }
.header__logo img { width: 70px; transition: width .35s var(--ease); }
.header.is-scrolled .header__logo img { width: 54px; }
.nav__list { display: flex; gap: 34px; }
.nav__list a { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 6px 0; transition: color .3s; }
.nav__list a:hover { color: var(--accent); }
.nav__list a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; line-height: 1.25; }
.header__phone small { display: block; font-size: 11px; opacity: .6; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.header__cta { padding: 14px 24px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: 50%; position: relative; z-index: 120; color: inherit; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 50px) 0 0; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: stretch;
  background:
    radial-gradient(120% 80% at 50% 120%, #1b1410 0%, transparent 60%),
    linear-gradient(180deg, #0A0A0B 0%, #101012 100%);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vw; right: -12vw; top: 8vh; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .42) 0%, rgba(var(--accent-rgb), .14) 38%, transparent 68%);
  filter: blur(10px); animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .75; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.hero__bgword {
  position: absolute; z-index: -1; right: -3vw; bottom: -9vw; pointer-events: none; user-select: none;
  font-family: var(--serif); font-size: 52vw; line-height: .8; letter-spacing: -.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(244,242,239,.07);
}
/* tanke "kružne" linije – aluzija na krug iz loga */
.hero::after {
  content: ''; position: absolute; z-index: -1; width: 56vw; height: 56vw; right: -5vw; top: 12vh; border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), .22); pointer-events: none;
}
.hero__inner {
  position: relative; width: 100%; display: grid;
  grid-template-columns: 1fr; grid-template-areas: "head" "side" "car" "info";
}
.hero__head { grid-area: head; position: relative; z-index: 3; border-left: 3px solid var(--accent); padding-left: clamp(16px, 2vw, 28px); }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 8.4vw, 128px); line-height: .98; letter-spacing: -.03em; }
.hero__title em {
  font-weight: 400;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, #FFB088 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.hero__side { grid-area: side; position: relative; z-index: 3; padding-top: 28px; }
.hero__lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 400px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero__car { grid-area: car; margin: 0; position: relative; z-index: 2; align-self: end; }
.hero__car img { width: 100%; position: relative; z-index: 1; filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
/* refleksija/svetlo na podu ispod auta */
.hero__car::after {
  content: ''; position: absolute; left: -2%; right: -10%; bottom: -4%; height: 20%; z-index: 0;
  background: radial-gradient(ellipse at 45% 40%, rgba(var(--accent-rgb), .35) 0%, rgba(var(--accent-rgb), .08) 45%, transparent 70%);
  filter: blur(14px);
}
.hero__car::before {
  content: ''; position: absolute; left: 2%; right: 0; bottom: 1%; height: 8%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.9) 0%, transparent 70%); filter: blur(6px);
}
.hero__info {
  grid-area: info; position: relative; z-index: 3; display: flex; gap: 18px 44px; flex-wrap: wrap; padding: 28px 0 32px;
  font-size: 15px; font-weight: 500;
}
.hero__info > div { display: flex; flex-direction: column; }
.hero__info-label { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.hero__info .i { color: var(--accent); }

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 460px) 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "head head" "side ." "info .";
    min-height: calc(100svh - var(--header-h) - 50px);
  }
  .hero__side { padding-top: 34px; }
  /* auto "izlazi" iz desne ivice ekrana – zadnji deo je odsečen fotografijom */
  .hero__car {
    position: absolute; bottom: 6vh; margin: 0;
    right: calc((100vw - min(100vw, var(--container))) / -2 - 24px);
    width: min(calc(100vw - 560px), calc((100svh - 330px) * 1.45), 1100px);
  }
  .hero__info { align-self: end; flex-direction: column; gap: 18px; padding-bottom: 6vh; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 60px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head > p.muted { max-width: 460px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }

/* Why */
.why__grid { display: grid; gap: 60px; }
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--bg); padding: 36px 30px; transition: background .45s var(--ease), color .45s var(--ease); position: relative; overflow: hidden; }
.feature:hover { background: var(--accent); color: var(--ink-0); }
.feature:hover p { color: rgba(10,10,11,.75); }
.feature:hover .feature__icon { border-color: rgba(10,10,11,.3); color: var(--ink-0); }
.feature__icon { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; transition: .45s; }
.feature__icon .i { width: 26px; height: 26px; }
.feature h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; transition: color .45s; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); line-height: 1; display: block; margin-bottom: 8px; color: var(--accent); }
.stat__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; } }

/* Services */
.services { display: grid; gap: 28px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); display: flex; flex-direction: column; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(var(--accent-rgb), .25); }
.card:hover::after { transform: scaleX(1); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__num { position: absolute; top: 18px; left: 18px; background: var(--accent); color: var(--ink-0); font-weight: 600; font-size: 12px; letter-spacing: .15em; padding: 6px 12px; }
.card__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.card__more { align-self: flex-start; background: none; border: 0; padding: 0; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--accent); margin-bottom: 22px; transition: color .3s; }
.card__more:hover { color: var(--accent); }
.card__packages, .modal__packages { display: grid; gap: 8px; margin: 0 0 24px; font-size: 14px; }
.card__packages li, .modal__packages li { display: flex; gap: 10px; align-items: center; }
.card__packages .i, .modal__packages .i { color: var(--accent); width: 16px; height: 16px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.card__call { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; line-height: 1.2; transition: color .3s; }
.card__call:hover { color: var(--accent); }
.card__call .i { color: var(--accent); width: 20px; height: 20px; }
.card__call small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.card__foot .btn { padding: 12px 18px; }

/* Before / After */
.ba { max-width: 1040px; margin: 0 auto; }
.ba__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: pan-y; background: #222; }
@media (min-width: 800px) { .ba__stage { aspect-ratio: 16 / 9; } }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--accent); transform: translateX(-1px); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: var(--ink-0); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .25), 0 8px 26px rgba(0,0,0,.4); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__label { position: absolute; top: 20px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; background: rgba(0,0,0,.65); color: #fff; padding: 7px 14px; pointer-events: none; }
.ba__label--before { left: 20px; } .ba__label--after { right: 20px; background: var(--accent); color: var(--ink-0); }
.ba__demo { position: absolute; left: 20px; bottom: 18px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); pointer-events: none; }
.ba__nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.ba__title { font-family: var(--serif); font-size: 22px; margin: 0; text-align: center; }
.ba__stage.fade .ba__img { animation: fadeIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Masonry gallery */
.masonry { display: flex; align-items: stretch; gap: 12px; }
.masonry__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
/* poslednja slika u koloni se produži (crop) da se sve kolone završe u istoj liniji */
.masonry__col .m-item:last-child { flex: 1 0 auto; margin-bottom: 0; }
@media (min-width: 800px) { .masonry { gap: 18px; } }
.m-item {
  margin: 0 0 12px; position: relative; overflow: hidden; cursor: zoom-in; display: block; width: 100%;
  border: 0; padding: 0; background: var(--ink-2);
}
@media (min-width: 800px) { .m-item { margin-bottom: 18px; } }
.m-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .7s var(--ease), filter .6s var(--ease); opacity: 0; filter: saturate(.9) brightness(.92); }
.m-item img.is-loaded { opacity: 1; }
.m-item::before { content: ''; position: absolute; inset: 0; z-index: 1; border: 2px solid var(--accent); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.m-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); opacity: 0; transition: opacity .4s var(--ease); }
.m-item__zoom { position: absolute; top: 50%; left: 50%; z-index: 2; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: .4s var(--ease); color: var(--ink-0); }
.m-item:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.m-item:hover::after, .m-item:focus-visible::after, .m-item:hover::before { opacity: 1; }
.m-item:hover .m-item__zoom, .m-item:focus-visible .m-item__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.m-item__cat { position: absolute; left: 14px; bottom: 14px; z-index: 2; color: var(--light); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); text-align: left; }
.m-item__cat::before { content: ''; display: inline-block; width: 18px; height: 2px; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.m-item:hover .m-item__cat { opacity: 1; transform: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 40px; }

/* About */
.about { display: grid; gap: 60px; align-items: center; }
@media (min-width: 1000px) { .about { grid-template-columns: .9fr 1fr; gap: 100px; } }
.about__media { position: relative; }
.about__media::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--accent); pointer-events: none; }
.about__media > img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.about__badge { position: absolute; right: -18px; bottom: -28px; width: 150px; height: 150px; border-radius: 50%; background: var(--ink-0); border: 2px solid var(--accent); display: grid; place-items: center; padding: 22px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
@media (max-width: 640px) {
  .about__badge { right: 12px; width: 110px; height: 110px; padding: 16px; }
  .about__media::before { inset: -10px 10px 10px -10px; }
}
.contact-list { display: grid; gap: 18px; margin: 30px 0; }
.contact-list li { display: flex; gap: 16px; align-items: center; font-weight: 500; line-height: 1.45; }
.contact-list small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 2px; }
.social { display: flex; gap: 10px; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s var(--ease); }
.social a:hover { background: var(--accent); color: var(--ink-0); border-color: var(--accent); }

/* Testimonials */
.tslider { position: relative; overflow: hidden; text-align: center; }
.tslider__track { display: flex; transition: transform .7s var(--ease); }
.tslide { flex: 0 0 100%; padding: 0 4%; margin: 0; }
.tslide__stars { color: var(--accent); margin-bottom: 24px; display: inline-flex; gap: 4px; }
.tslide__quote { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 32px); line-height: 1.45; font-style: italic; margin-bottom: 28px; }
.tslide__name { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; font-style: normal; }
.tslide__car { color: var(--muted); font-size: 14px; }
.tslider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.tslider__dots button { width: 34px; height: 3px; border: 0; padding: 0; background: var(--line); transition: background .3s, width .3s; }
.tslider__dots button[aria-selected="true"] { background: var(--accent); width: 54px; }

/* CTA (narandžasta traka) */
.cta { padding: 80px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--line); right: -140px; top: -200px; }
.cta::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid var(--line); right: -60px; top: -120px; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 46px); max-width: 640px; }
.cta__title em { font-style: italic; }

/* Contact */
.contact { display: grid; gap: 60px; margin-bottom: 70px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1.05fr; gap: 90px; } }
.contact__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.form { background: var(--card); padding: clamp(28px, 4vw, 50px); display: grid; gap: 18px; align-self: start; border-top: 3px solid var(--accent); }
.form__title { font-family: var(--serif); font-size: 28px; font-weight: 400; margin-bottom: 6px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--fg);
  border: 1px solid var(--line); background: var(--ink-0); padding: 14px 16px; border-radius: var(--radius); width: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.form select option { background: var(--ink-2); color: var(--light); }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: .7; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2); }
.form .is-invalid { border-color: #ff5a4e; }
.form__hint { font-size: 13px; color: var(--muted); margin: 0; }
.form__hint a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.form__msg { margin: 0; font-size: 14px; font-weight: 500; color: var(--accent); }
.form__msg:empty { display: none; }
.map { width: 100%; height: clamp(340px, 40vw, 520px); background: var(--ink-2); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); transition: filter .6s; }
.map:hover iframe { filter: none; }

/* Footer */
.footer { background: #070708; color: rgba(244,242,239,.6); padding: 90px 0 0; font-size: 15px; border-top: 1px solid rgba(var(--accent-rgb), .35); --fg: var(--light); --line: rgba(244,242,239,.12); }
.footer__grid { display: grid; gap: 44px; padding-bottom: 60px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.footer__brand img { width: 110px; margin-bottom: 22px; }
.footer__brand p { max-width: 300px; }
.footer h4 { color: var(--accent); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--accent); }
.footer .social a { color: var(--light); }
.footer .social a:hover { color: var(--ink-0); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom p { margin: 0; }

/* Floating call button (mobile) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--ink-0); display: none; place-items: center; box-shadow: 0 12px 30px rgba(var(--accent-rgb), .45); }
.fab .i { width: 24px; height: 24px; }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal__box { position: relative; background: var(--ink-1); color: var(--light); max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; animation: rise .45s var(--ease); border-top: 3px solid var(--accent); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink-0); color: var(--light); display: grid; place-items: center; transition: .3s; }
.modal__close:hover { background: var(--accent); color: var(--ink-0); }
.modal__media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--ink-2); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__content { padding: 34px clamp(24px, 4vw, 44px) 40px; }
.modal__content h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: 16px; }
.modal__content > p { color: var(--muted); }
.modal__packages { margin: 6px 0 22px; font-size: 15px; }
.modal__note { font-size: 14px; border-left: 2px solid var(--accent); padding-left: 14px; margin-bottom: 26px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(6,6,7,.97); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; touch-action: pan-y; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__img { max-width: 92vw; max-height: 78vh; object-fit: contain; transition: opacity .3s; user-select: none; -webkit-user-drag: none; }
.lb__img.is-loading { opacity: 0; }
.lb__btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(244,242,239,.25); background: rgba(0,0,0,.35); color: var(--light); display: grid; place-items: center; transition: .3s; }
.lb__btn:hover { background: var(--accent); color: var(--ink-0); border-color: var(--accent); }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb__close { right: 20px; top: 20px; }
.lb__count { position: absolute; left: 24px; top: 30px; color: var(--accent); font-size: 14px; letter-spacing: .2em; }
.lb__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(244,242,239,.7); font-size: 14px; padding: 0 80px; }
@media (max-width: 640px) { .lb__prev, .lb__next { display: none; } }

/* Gallery page */
.page-hero { padding: calc(var(--header-h) + 80px) 0 80px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .hero__glow { width: 60vw; height: 60vw; right: 20vw; top: -30vw; }
.page-hero .container { position: relative; }
.page-hero .h2 { font-size: clamp(46px, 7vw, 96px); margin-bottom: 14px; }
.page-hero .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.page-hero__lead { color: var(--muted); max-width: 560px; margin: 0 auto 18px; }
.crumbs { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.filters {
  position: sticky; top: 72px; z-index: 20; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 0 -24px 40px; padding: 14px 24px; background: rgba(10,10,11,.88); backdrop-filter: blur(10px);
}
.filters button { border: 1px solid var(--line); background: transparent; color: var(--fg); padding: 10px 18px; border-radius: 40px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: .3s var(--ease); white-space: nowrap; }
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--ink-0); border-color: var(--accent); }
.filters sup { font-size: 10px; opacity: .65; margin-left: 3px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 28px; padding: 12px 18px; }
  .filters::-webkit-scrollbar { display: none; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive header / nav ---------- */
@media (max-width: 1180px) { .header__phone { display: none; } .nav__list { gap: 24px; } }
@media (max-width: 999px) {
  :root { --header-h: 78px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .header__logo img { width: 56px; }
  .nav {
    position: fixed; inset: 0; background: var(--ink-0); color: var(--light); z-index: 110; display: flex; flex-direction: column; justify-content: center;
    padding: 100px 32px 40px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { font-family: var(--serif); font-size: 36px; text-transform: none; letter-spacing: 0; font-weight: 400; }
  .nav__mobile-extra { display: grid; gap: 18px; margin-top: 40px; }
  .nav__phone-big { font-size: 18px; font-weight: 500; text-align: center; }
  .header__logo, .burger { position: relative; z-index: 120; }
  .fab { display: grid; }
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero__car { margin: 34px -24px 0 0; width: calc(100% + 18vw); max-width: none; }
  .hero__glow { width: 130vw; height: 130vw; right: -60vw; top: 40%; }
  .hero::after { width: 110vw; height: 110vw; right: -50vw; top: 45%; }
  .hero__bgword { font-size: 90vw; bottom: -6vw; right: -10vw; }
  .filters { top: 72px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__car { margin-right: -18px; }
  .stats { gap: 10px; }
  .card__body { padding: 24px 22px 26px; }
  .card__foot { flex-wrap: wrap; }
}
