/* ============================================================
   Autoelektrika Josipović — style.css
   Modern, fluid, dark theme · orange accent · 2026
   ============================================================ */

/* ─── tokens ─── */
:root {
  --bg:            #0b0d12;
  --bg-2:          #0f1218;
  --bg-3:          #141821;
  --bg-elev:       #161a23;
  --line:          rgba(255, 255, 255, 0.08);
  --line-2:        rgba(255, 255, 255, 0.14);
  --text:          #e9ecf1;
  --text-2:        #b9bfcb;
  --text-3:        #858b97;
  --muted:         #6b7280;
  --accent:        #f5a524;
  --accent-2:      #e8941a;
  --accent-3:      #ffb84d;
  --accent-soft:   rgba(245, 165, 36, 0.12);
  --wa:            #25d366;

  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     22px;
  --radius-xl:     28px;

  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow:        0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg:     0 25px 70px rgba(0, 0, 0, 0.55);
  --shadow-glow:   0 14px 45px rgba(245, 165, 36, 0.25);

  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2:        cubic-bezier(0.2, 0.8, 0.2, 1);

  --wrap:          1240px;
  --pad:           clamp(16px, 4vw, 40px);
  --nav-h:         72px;

  --fs-h1:         clamp(2.5rem, 1.6rem + 4.4vw, 5rem);
  --fs-h2:         clamp(1.85rem, 1.3rem + 2.5vw, 3rem);
  --fs-h3:         clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem);
  --fs-lead:       clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}
h2 i, h3 i { font-style: normal; color: var(--accent); }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #111; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── skip-link ─── */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: #111;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.25s var(--ease);
}
.skip:focus { top: 12px; color: #111; }

/* ─── layout primitives ─── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(72px, 9vw, 140px) 0;
  position: relative;
}
.section-alt { background: var(--bg-2); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 7px 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.25);
  border-radius: 999px;
  margin-bottom: 16px;
}

.sec-head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.sec-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
}
.sec-head p {
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}
.sec-head-sm { margin-top: clamp(60px, 8vw, 110px); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 18, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled { border-bottom-color: var(--line); }

.nav-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  flex: 0 0 auto;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(245, 165, 36, 0.35);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-2);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--text-3);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--accent);
  color: #111;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #111 !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 22px rgba(245, 165, 36, 0.3);
}
.nav-cta:hover {
  background: var(--accent-3);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(245, 165, 36, 0.45);
}

.nav-ham {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  position: relative;
}
.nav-ham span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-ham span:nth-child(1) { top: 13px; }
.nav-ham span:nth-child(2) { top: 19px; }
.nav-ham span:nth-child(3) { top: 25px; }
.nav-ham.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ─── mobile menu ─── */
.mob-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 80;
  padding: 32px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mob-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mob-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mob-menu nav a {
  padding: 16px 4px;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mob-menu nav a:hover { color: var(--accent); }

.mob-phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mob-phones a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
  font-size: 0.95rem;
}
.mob-phones a svg { flex: 0 0 auto; }
.mob-phones a:hover { border-color: var(--accent); color: var(--accent); }

.mob-lang {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.mob-lang .lang-btn {
  flex: 1;
  padding: 12px 0;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.mob-lang .lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(100svh, 960px);
  padding: calc(var(--nav-h) + 60px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.85) contrast(1.05);
  transform: scale(1.06);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.18); } }

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 165, 36, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.55) 0%, rgba(11, 13, 18, 0.85) 60%, var(--bg) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 60vmax;
  height: 60vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(245, 165, 36, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 120px -40px var(--bg);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  text-align: center;
  max-width: 1040px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.0); }
}

.hero-title {
  font-size: var(--fs-h1);
  line-height: 1.02;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}
.hero-title span { display: block; }
.hero-title .grad {
  background: linear-gradient(120deg, var(--accent-3) 0%, var(--accent) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #111 !important;
  box-shadow: 0 12px 30px rgba(245, 165, 36, 0.35);
}
.btn-primary:hover {
  background: var(--accent-3);
  box-shadow: 0 16px 38px rgba(245, 165, 36, 0.5);
}
.btn-wa {
  background: var(--wa);
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover { background: #1ebb56; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  position: relative;
}
.hstat + .hstat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--line);
}
.hstat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 0.9rem + 1.4vw, 1.8rem);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hstat-num em {
  font-style: normal;
  font-size: 0.7em;
  margin-left: 2px;
  color: var(--accent);
}
.hstat-lbl {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 6px;
  text-align: center;
  line-height: 1.3;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-3);
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--text);
  border-radius: 3px;
  animation: scrollBounce 1.8s var(--ease) infinite;
}
@keyframes scrollBounce {
  0%    { transform: translate(-50%, 0); opacity: 1; }
  60%   { transform: translate(-50%, 14px); opacity: 0.1; }
  61%   { transform: translate(-50%, 0); opacity: 0; }
  100%  { transform: translate(-50%, 0); opacity: 1; }
}

/* =========================================================
   Services
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.service {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, transparent 40%, rgba(245, 165, 36, 0.5), transparent 70%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 165, 36, 0.25);
}
.service:hover::before { opacity: 1; }

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.service-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service:hover .service-media > img { transform: scale(1.04); }
.service-media::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.service-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.28);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.service:hover .service-icon {
  background: var(--accent);
  color: #111;
  transform: rotate(-5deg) scale(1.05);
}
.service-body h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}
.service-body p {
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.6;
  flex: 1;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.tags span {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
}

/* slideshow */
.service-media[data-slide] { user-select: none; }
.slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s var(--ease);
}
.slide-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(11, 13, 18, 0.65);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 30px;
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s var(--ease), background 0.2s var(--ease);
  z-index: 3;
}
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
.slide-btn:hover { background: var(--accent); color: #111; border-color: var(--accent); }
.service:hover .slide-btn { opacity: 1; }

.slide-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.25s var(--ease), width 0.3s var(--ease);
}
.slide-dot.active {
  background: var(--accent);
  width: 20px;
}

/* before / after */
.service-ba .service-media { aspect-ratio: 16 / 10; background: #000; }
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 2px;
  background: #000;
}
.ba-side {
  position: relative;
  overflow: hidden;
}
.ba-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service:hover .ba-side img { transform: scale(1.05); }
.ba-side span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 10px;
  background: rgba(11, 13, 18, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ba-side:last-child span {
  background: rgba(245, 165, 36, 0.9);
  color: #111;
  border-color: var(--accent);
  left: auto;
  right: 10px;
}

/* extra mini-services */
.services-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.s-mini {
  padding: 22px 22px 24px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.s-mini:hover { transform: translateY(-3px); border-color: rgba(245, 165, 36, 0.35); }
.s-mini-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.s-mini h4 { font-size: 1.02rem; margin-bottom: 6px; }
.s-mini p { color: var(--text-2); font-size: 0.88rem; line-height: 1.55; }

/* =========================================================
   About / Timeline / Team
   ========================================================= */
.timeline {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
  margin: 10px auto clamp(60px, 8vw, 100px);
  padding: 40px 0 10px;
  max-width: 1100px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245, 165, 36, 0.35) 12%,
    rgba(245, 165, 36, 0.55) 50%,
    rgba(245, 165, 36, 0.35) 88%,
    transparent 100%);
  z-index: 0;
  border-radius: 2px;
}
.tl {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.tl-node {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #1a1f2a, #0b0d12);
  border: 1px solid rgba(245, 165, 36, 0.28);
  color: var(--accent);
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 0 0 6px rgba(11, 13, 18, 1);
}
.tl-node::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 165, 36, 0.18);
  pointer-events: none;
}
.tl:hover .tl-node {
  transform: translateY(-3px);
  border-color: rgba(245, 165, 36, 0.55);
  box-shadow: 0 0 0 6px rgba(11, 13, 18, 1), 0 10px 26px rgba(245, 165, 36, 0.22);
}
.tl-hl .tl-node {
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  border-color: var(--accent);
  color: #0b0d12;
  box-shadow: 0 0 0 6px rgba(11, 13, 18, 1), 0 14px 38px rgba(245, 165, 36, 0.45);
}
.tl-hl .tl-node::after { border-color: rgba(0, 0, 0, 0.28); }
.tl-hl:hover .tl-node { transform: translateY(-3px); }
.tl-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #0b0d12;
  background: linear-gradient(90deg, var(--accent-3), var(--accent));
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  box-shadow: 0 6px 18px rgba(245, 165, 36, 0.3);
}
.tl-year {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 0.95rem + 0.9vw, 1.6rem);
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 10px;
}
.tl-hl .tl-year {
  background: linear-gradient(120deg, var(--accent-3), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tl h4 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  max-width: 230px;
}
.tl p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 240px;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0 10px 0;
    max-width: 640px;
  }
  .timeline::before {
    top: 44px;
    bottom: 44px;
    left: 32px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(245, 165, 36, 0.35) 10%,
      rgba(245, 165, 36, 0.55) 50%,
      rgba(245, 165, 36, 0.35) 90%,
      transparent 100%);
  }
  .tl {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    text-align: left;
    align-items: start;
    padding: 16px 0;
  }
  .tl-node { margin: 0; grid-row: 1 / 5; }
  .tl-badge { grid-column: 2; margin-bottom: 4px; justify-self: start; }
  .tl-year { grid-column: 2; margin: 0 0 4px; }
  .tl h4 { grid-column: 2; max-width: none; }
  .tl p { grid-column: 2; max-width: none; }
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.about-img:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.about-badge > div {
  padding: 14px 10px;
  background: rgba(11, 13, 18, 0.78);
  text-align: center;
}
.about-badge strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.05rem, 0.8rem + 0.8vw, 1.4rem);
  font-weight: 700;
  color: var(--accent);
}
.about-badge em {
  font-style: normal;
  font-size: 0.7em;
}
.about-badge span {
  font-size: 0.7rem;
  color: var(--text-3);
  margin-top: 2px;
}

.about-text h3 {
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.1rem);
  margin-bottom: 14px;
}
.about-text > p {
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.7;
  margin-bottom: 22px;
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.45;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.4);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}
.team-card {
  position: relative;
  padding: 30px;
  background: linear-gradient(150deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}
.team-card:hover {
  border-color: rgba(245, 165, 36, 0.3);
  transform: translateY(-4px);
}
.team-card:hover::before { opacity: 1; }

.team-role {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.25);
  border-radius: 999px;
  margin-bottom: 14px;
}
.team-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.team-name em { font-style: normal; color: var(--accent); }

.team-card blockquote {
  position: relative;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: rgba(245, 165, 36, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
.team-card > p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.team-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.team-feats li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 0.88rem;
}
.team-feats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.trainees {
  text-align: center;
  padding: 32px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.trainees .kicker { margin-bottom: 18px; }
.trainee-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.trainee {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.trainee strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text);
}
.trainee span {
  font-size: 0.82rem;
  color: var(--text-3);
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}

/* =========================================================
   Parts
   ========================================================= */
.parts-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.parts-text h2 {
  font-size: var(--fs-h2);
  margin-bottom: 18px;
}
.parts-text > p {
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.7;
  margin-bottom: 26px;
}
.parts-badges {
  list-style: none;
  display: grid;
  gap: 12px;
}
.parts-badges li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.parts-badges li:hover { border-color: rgba(245, 165, 36, 0.35); transform: translateX(4px); }
.parts-badges svg { color: var(--accent); flex-shrink: 0; }

.parts-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}
.parts-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.parts-media:hover img { transform: scale(1.05); }
.parts-media-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  background: rgba(11, 13, 18, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* =========================================================
   Stats
   ========================================================= */
.stats-section {
  padding: clamp(48px, 7vw, 90px) 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}
.stat {
  position: relative;
  text-align: center;
  padding: 14px 8px;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 1rem + 2.8vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-num em {
  font-style: normal;
  font-size: 0.58em;
  margin-left: 2px;
  color: var(--accent);
}
.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.92rem;
}
.reviews-rating strong {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  font-size: 1rem;
}
.reviews-rating .stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}
.reviews-rating .stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.reviews-mask {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 20px var(--pad);
  animation: revMarquee 90s linear infinite;
}
.reviews-track.paused { animation-play-state: paused; }
@keyframes revMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.rc {
  width: clamp(280px, 90vw, 360px);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.rc:hover { border-color: rgba(245, 165, 36, 0.28); transform: translateY(-4px); }
.rc-hd {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rc-av {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
}
.rc-name {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.2;
}
.rc-meta {
  font-size: 0.76rem;
  color: var(--text-3);
  margin-top: 2px;
}
.rc-stars {
  display: flex;
  gap: 2px;
}
.rc-text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.rc-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--text-3);
}

/* =========================================================
   Contact
   ========================================================= */
.contact-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
.contact-info {
  padding: clamp(26px, 4vw, 36px);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ci-row:last-of-type { border-bottom: 0; }
.ci-ic {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 165, 36, 0.25);
}
.ci-lbl {
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.ci-val {
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.5;
}
.ci-val a { color: var(--text); word-break: break-word; }
.ci-val a:hover { color: var(--accent); }

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 18px 0 22px;
}
.days span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
  border-radius: 8px;
  letter-spacing: 0.04em;
}
.days .on {
  background: var(--accent);
  color: #111;
}
.days .off {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
  border: 1px solid var(--line);
}

.map {
  margin-top: 8px;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) invert(0.92) hue-rotate(180deg) brightness(0.92);
}

/* action cards */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.phone-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 165, 36, 0.35);
  color: var(--text);
}
.phone-card:hover .phone-arr { transform: translateX(4px); color: var(--accent); }
.phone-ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 165, 36, 0.25);
}
.phone-card > div:nth-child(2) { flex: 1; }
.phone-lbl {
  font-size: 0.75rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.phone-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.phone-arr {
  color: var(--text-3);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.phone-card-wa .phone-ic {
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa);
  border-color: rgba(37, 211, 102, 0.28);
}
.phone-card-wa:hover { border-color: rgba(37, 211, 102, 0.4); }

.phone-card-mail .phone-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
  word-break: break-all;
}
@media (max-width: 480px) {
  .phone-card-mail .phone-num { font-size: 0.88rem; }
}

.contact-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.25);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.contact-note strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-note span {
  color: var(--text-2);
  font-size: 0.91rem;
  line-height: 1.55;
}

/* =========================================================
   FAQ
   ========================================================= */
.faqs {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq[open] { border-color: rgba(245, 165, 36, 0.3); }
.faq:hover { border-color: var(--line-2); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary svg {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq[open] summary svg { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 20px;
  color: var(--text-2);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.foot-links a {
  color: var(--text-3);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.foot-links a:hover { color: var(--accent); }

.foot-bot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.foot-bot p {
  color: var(--text-3);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
.foot-bot strong { color: var(--text-2); }
.foot-bot a { color: var(--text-3); transition: color 0.2s var(--ease); word-break: break-all; }
.foot-bot a:hover { color: var(--accent); }
.foot-live { color: var(--text-3); }

/* =========================================================
   Cookie banner
   ========================================================= */
.cc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  background: rgba(16, 19, 26, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
  max-width: 720px;
  margin: 0 auto;
}
.cc.show { transform: translateY(0); opacity: 1; }
.cc-in {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  flex-wrap: wrap;
}
.cc p {
  flex: 1;
  min-width: 200px;
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.5;
}
.cc p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc button {
  background: var(--accent);
  color: #111;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.cc button:hover { background: var(--accent-3); transform: translateY(-1px); }

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-ham { display: block; }
  .nav-cta { display: none; }

  .about-split,
  .parts-split,
  .contact-split {
    grid-template-columns: 1fr;
  }
  .about-img { order: -1; }
  .parts-media { order: -1; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .hero { min-height: auto; padding: calc(var(--nav-h) + 48px) 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 14px; }
  .hstat + .hstat::before { display: none; }
  .hstat:nth-child(3), .hstat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
  .hstat:nth-child(4)::before { display: none; }
  .hero-scroll { display: none; }

  .hero-actions { gap: 10px; }
  .btn { padding: 12px 20px; font-size: 0.88rem; }

  .service-body { padding: 20px 22px 22px; }
  .timeline::before { left: 18px; }
  .tl { grid-template-columns: 70px 1fr; gap: 18px; padding: 10px 0; }
  .tl::before { left: 13px; top: 24px; width: 10px; height: 10px; }
  .tl-year { padding-top: 14px; font-size: 0.95rem; text-align: left; padding-left: 30px; }

  .team-card { padding: 24px 22px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 22px; }

  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-bot p { font-size: 0.78rem; }

  .cc-in { padding: 14px; }
  .cc button { width: 100%; text-align: center; }

  .reviews-track { animation-duration: 60s; }
  .rc { width: 86vw; max-width: 340px; }

  .ba-side span { font-size: 0.65rem; padding: 3px 8px; }
}

@media (max-width: 420px) {
  .hero-title { letter-spacing: -0.025em; }
  .brand-sub { display: none; }
  .brand-title { font-size: 0.95rem; }
  .sec-head h2, .parts-text h2 { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }
}

/* =========================================================
   Legal pages (izjava-o-kolacicima, politika-privatnosti, uvjeti-koristenja)
   ========================================================= */
.legal-page {
  padding: calc(var(--nav-h) + 40px) 0 40px;
  position: relative;
}
.legal-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 38% at 50% 0%, rgba(245, 165, 36, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.legal {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad) 40px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.88rem;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.legal-back:hover {
  color: var(--accent);
  border-color: rgba(245, 165, 36, 0.35);
  background: rgba(245, 165, 36, 0.04);
}
.legal h1 {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem);
  margin-bottom: 10px;
  background: linear-gradient(120deg, #ffd388, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}
.legal .date {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.4rem);
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.legal h2::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-3), var(--accent-2));
  transform: translateY(2px);
}
.legal p {
  color: var(--text-2);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 14px;
}
.legal p strong { color: var(--text); font-weight: 600; }
.legal p em { color: var(--text-2); font-style: italic; }
.legal ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 18px;
}
.legal ul li {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 1rem;
  padding: 5px 0 5px 22px;
  position: relative;
}
.legal ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal ul li strong { color: var(--text); font-weight: 600; }
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245, 165, 36, 0.35);
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.legal a:hover {
  color: var(--accent-3);
  text-decoration-color: var(--accent);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  font-size: 0.94rem;
}
.legal table thead { background: rgba(245, 165, 36, 0.06); }
.legal table th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.legal table td {
  padding: 12px 16px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}
.legal table tr:last-child td { border-bottom: 0; }

.nav-legal .nav-wrap { justify-content: space-between; }
.nav-legal .nav-right { gap: 12px; }

@media (max-width: 640px) {
  .legal-page { padding: calc(var(--nav-h) + 24px) 0 20px; }
  .legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .legal table { font-size: 0.86rem; }
  .legal table th, .legal table td { padding: 10px 12px; }
}

/* =========================================================
   Print
   ========================================================= */
@media print {
  .nav, .mob-menu, .cc, .hero-scroll, .reviews-mask, .map { display: none !important; }
  body { background: #fff; color: #111; }
  h1, h2, h3, h4 { color: #111; }
  .legal h1 { color: #111; -webkit-text-fill-color: #111; background: none; }
  .legal h2::before { display: none; }
}
