/* ==========================================================================
   Auto Servis Kvar – Opatija
   Vlastiti CSS, bez vanjskih biblioteka. Mobile-first.
   ========================================================================== */

/* ---- Varijable ---- */
:root {
  --dark: #0f172a;          /* glavna tamna */
  --dark-2: #16223b;
  --ink: #1e293b;           /* tekst na svijetloj */
  --muted: #5b6b82;         /* sekundarni tekst */
  --accent: #ff6b1a;        /* narančasta akcent */
  --accent-2: #ff8c42;
  --accent-soft: #fff1e8;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e6eaf2;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .07);
  --shadow-md: 0 14px 40px rgba(15, 23, 42, .12);
  --shadow-accent: 0 10px 28px rgba(255, 107, 26, .32);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

/* ---- Reset / baza ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---- Tipografija sekcija ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 107, 26, .14), transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, #0b1220 100%);
  color: #e6ebf5;
}

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 99px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.7rem, 4.6vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-dark .section-title { color: #fff; }

.section-lead { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-lead { color: #9fb0c9; }

/* ---- Gumbi ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  will-change: transform;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 107, 26, .42); }
.btn-accent:active { transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }

.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 23, 42, .07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.logo-text strong { color: var(--accent); font-weight: 800; }
.logo-text small { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text small { color: #9fb0c9; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.main-nav a.active { color: var(--accent); }
.main-nav .nav-cta {
  margin-left: 6px;
  background: var(--dark);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
}
.main-nav .nav-cta:hover { background: var(--accent); color: #fff; }

.nav-call-mobile { display: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  transition: color .2s ease;
}
.header-phone svg { color: var(--accent); }
.header-phone:hover { color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}
.nav-toggle span {
  height: 2.4px;
  width: 100%;
  border-radius: 99px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
  padding-top: var(--header-h);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 30, .55) 0%, rgba(10, 16, 30, .72) 55%, rgba(10, 16, 30, .93) 100%);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 15% 20%, rgba(255, 107, 26, .22), transparent 65%);
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 36px;
}

.hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, .3);
}

.hero-title {
  font-size: clamp(2.3rem, 7vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  max-width: 15ch;
  margin-bottom: 20px;
}
.hero-title span {
  color: transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: #c9d4e6;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: #e6ebf5;
}
.hero-badges svg { color: var(--accent); flex: none; }

/* Info traka ispod heroja */
.hero-strip {
  background: rgba(255, 255, 255, .07);
  border-top: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding-block: 18px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
}
.strip-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(255, 107, 26, .16);
  color: var(--accent-2);
  border: 1px solid rgba(255, 107, 26, .28);
}
.strip-item strong { display: block; font-size: .98rem; line-height: 1.3; }
.strip-item span { font-size: .85rem; color: #a8b6cd; }

/* ==========================================================================
   O nama
   ========================================================================== */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  right: -6px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
}
.about-badge strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 900;
}
.about-badge span { font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.3; }

.about-content p { color: var(--muted); margin-bottom: 16px; }
.about-content p.section-eyebrow { color: var(--accent); margin-bottom: 14px; }

.check-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
}
.check-list svg {
  flex: none;
  margin-top: 4px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
  padding: 4px;
  width: 26px; height: 26px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 10px;
}
.stat { text-align: center; padding: 4px 6px; }
.stat strong {
  display: block;
  font-size: clamp(1.35rem, 3.6vw, 1.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
}
.stat span { font-size: .8rem; font-weight: 600; color: var(--muted); }

/* ==========================================================================
   Usluge
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: scale(1.06) rotate(-4deg);
}

.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; letter-spacing: -.01em; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

.card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent);
  font-size: .92rem;
  transition: gap .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { color: var(--dark); gap: 10px; }

.services-note {
  margin-top: 34px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--dark);
  color: #dbe4f2;
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: .95rem;
}
.services-note svg { flex: none; color: var(--accent); margin-top: 3px; }
.services-note strong { color: #fff; }

/* ==========================================================================
   Zašto mi
   ========================================================================== */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 56px;
}
.reason {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.reason:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 26, .45);
  background: rgba(255, 255, 255, .07);
}
.reason-num {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.reason h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.reason p { color: #9fb0c9; font-size: .93rem; }

.process {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
}
.process > h3 { color: #fff; font-size: 1.3rem; margin-bottom: 26px; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.process-step { position: relative; padding-left: 56px; }
.step-dot {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: var(--shadow-accent);
}
.process-step strong { display: block; color: #fff; margin-bottom: 4px; }
.process-step p { color: #9fb0c9; font-size: .92rem; }

/* ==========================================================================
   Galerija
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 30, .78));
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  pointer-events: none;
}

.gallery-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 200px;
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-tile svg { margin-bottom: 10px; opacity: .95; }
.gallery-tile strong { font-size: 1.08rem; line-height: 1.3; }
.gallery-tile span { font-size: .85rem; opacity: .85; }

.tile-a { background: linear-gradient(140deg, #1d2b4a, #0f172a); }
.tile-b { background: linear-gradient(140deg, #e05a12, #b23d05); }
.tile-c { background: linear-gradient(140deg, #1e3f4f, #0f2431); }
.tile-d { background: linear-gradient(140deg, #3f2d6e, #241a44); }

/* ==========================================================================
   Recenzije
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: #ffb020; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial > p {
  color: var(--ink);
  font-size: .99rem;
  margin-bottom: 20px;
  quotes: none;
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
}
.testimonial footer strong { display: block; font-size: .95rem; line-height: 1.2; }
.testimonial footer div span { font-size: .83rem; color: var(--muted); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 44px;
}
.contact-info > p { color: var(--muted); margin-bottom: 10px; }
.contact-info > p.section-eyebrow { color: var(--accent); }

.contact-list { display: grid; gap: 18px; margin: 26px 0 30px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-list strong { display: block; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { font-weight: 700; color: var(--ink); font-size: 1.03rem; }
.contact-list a:hover { color: var(--accent); }

.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 22px; letter-spacing: -.01em; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, .14);
}
.form-field input.error,
.form-field textarea.error,
.form-field select.error { border-color: #dc2626; }

.form-hint { margin-top: 14px; font-size: .86rem; color: var(--muted); text-align: center; }
.form-hint.success { color: #16a34a; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: #a8b6cd;
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand p { font-size: .92rem; margin-top: 16px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.footer-col a { transition: color .2s ease; font-size: .94rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col span { font-size: .94rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  font-size: .84rem;
  text-align: center;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(8, 12, 22, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 24px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: scale(.96);
  transition: transform .3s ease;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover { background: var(--accent); transform: rotate(90deg); }

/* ==========================================================================
   Animacije pojavljivanja
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Tablet / Desktop
   ========================================================================== */
@media (min-width: 640px) {
  .container { padding-inline: 28px; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .section { padding: 100px 0; }
  .header-phone { display: inline-flex; }
  .hero-inner { padding-top: 60px; }
  .about-grid { grid-template-columns: 1.05fr 1fr; gap: 60px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
  }
  .gallery-item img, .gallery-item { aspect-ratio: auto; height: 100%; }
  .gallery-wide { grid-column: span 2; grid-row: span 2; }
  .gallery-tile { min-height: 0; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   Mobilni navigacija (ispod 900px)
   ========================================================================== */
@media (max-width: 899.98px) {
  .nav-toggle { display: flex; }
  .header-phone { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 18px 20px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { font-size: 1.05rem; padding: 13px 16px; border-radius: 12px; }
  .main-nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
    border-radius: 12px;
  }

  /* telefonski gumb u mobilnom izborniku */
  .main-nav a.nav-call-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
  }
}

/* Veliki ekrani: širi hero strip */
@media (min-width: 1200px) {
  .strip-item { padding: 14px 8px; }
  .hero-title { font-size: 4.2rem; }
}
