/* =========================================================================
   PSS — Power Sport System  |  Design Refresh  (modern, brand red refined)
   Self-contained stylesheet. No Bootstrap / jQuery dependency.
   Author: design refresh 2026
   ========================================================================= */

/* ----------------------------------------------------------------------
   0. Design tokens
   ---------------------------------------------------------------------- */
:root {
  /* Brand */
  --red: #db2d2e;          /* signature PSS red */
  --red-600: #c41f20;      /* hover / pressed */
  --red-700: #a81718;
  --red-soft: #fdecec;     /* tinted background */

  /* Neutrals */
  --ink: #14161b;          /* near-black headings / dark sections */
  --ink-800: #1d2026;
  --ink-700: #2b2f37;
  --body: #3d424c;         /* body text */
  --muted: #6b7280;        /* secondary text */
  --line: #e8eaef;         /* hairline borders */
  --line-2: #f0f2f5;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;      /* soft grey section */
  --bg-tint: #f1f3f6;
  --white: #ffffff;

  /* Effects */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 27, .06);
  --shadow: 0 10px 30px -12px rgba(20, 22, 27, .18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 22, 27, .28);
  --ring: 0 0 0 4px rgba(219, 45, 46, .16);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Montserrat', 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gap: 28px;
  --header-h: 116px;
  --transition: .28s cubic-bezier(.2, .7, .2, 1);
}

/* ----------------------------------------------------------------------
   1. Reset / base
   ---------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

::selection { background: var(--red); color: #fff; }

/* ----------------------------------------------------------------------
   2. Layout helpers
   ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 1360px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-ink { background: var(--ink); color: #c9cdd6; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

.grid { display: grid; gap: var(--gap); }
.text-center { text-align: center; }

/* Eyebrow + section heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.is-center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ----------------------------------------------------------------------
   3. Buttons
   ---------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--red-600); border-color: var(--red-600); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(219, 45, 46, .6); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { --btn-fg: var(--ink); background: var(--bg-soft); border-color: var(--ink); box-shadow: none; }

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .4);
}
.btn-outline-light:hover { background: #fff; --btn-fg: var(--ink); border-color: #fff; box-shadow: none; }

.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--transition); color: var(--red); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------------
   4. Header
   ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.is-stuck { box-shadow: 0 8px 30px -16px rgba(20, 22, 27, .25); }

/* top utility bar */
.topbar {
  background: var(--ink);
  color: #aeb4c0;
  font-size: 13.5px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.topbar a { color: #d4d8e0; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar .ico { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ico svg { width: 15px; height: 15px; color: var(--red); }
.topbar-socials { display: flex; gap: 14px; }
.topbar-socials a svg { width: 15px; height: 15px; }

/* main bar */
.headbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 46px; width: auto; }
.head-actions { display: flex; align-items: center; gap: 22px; }
.callcenter { display: flex; align-items: center; gap: 12px; }
.callcenter .cc-ico {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-soft); color: var(--red);
  flex: none;
}
.callcenter .cc-ico svg { width: 20px; height: 20px; }
.callcenter .cc-meta { line-height: 1.25; }
.callcenter .cc-meta small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.callcenter .cc-meta strong { color: var(--ink); font-size: 18px; font-family: var(--font-display); font-weight: 800; }

/* nav */
.mainnav { background: #fff; border-top: 1px solid var(--line); }
.mainnav .container { display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 13px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-700);
  letter-spacing: 0;
}
.nav-list > li > a:hover,
.nav-list > li.is-active > a { color: var(--red); }
.nav-list > li.has-children > a::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}
.nav-list > li > a .pill {
  font-size: 11px;
  background: var(--red);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: .03em;
}

/* dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 30;
}
.nav-list > li.has-children:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
}
.dropdown a:hover { background: var(--bg-soft); color: var(--red); }

/* burger */
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }

/* ----------------------------------------------------------------------
   5. Hero
   ---------------------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bgs { position: absolute; inset: 0; z-index: -2; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease;
}
.hero-bg.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 16, 20, .92) 0%, rgba(15, 16, 20, .72) 42%, rgba(15, 16, 20, .35) 100%),
    linear-gradient(0deg, rgba(15, 16, 20, .6) 0%, rgba(15, 16, 20, 0) 40%);
}
.hero-inner { padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 9vw, 120px); max-width: 760px; }
.hero .eyebrow { color: #ff6b6b; }
.hero .eyebrow::before { background: var(--red); }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: #fff; position: relative; }
.hero-lead { font-size: clamp(16px, 1.7vw, 19px); color: #d6dae2; max-width: 600px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
  backdrop-filter: blur(4px);
}
.hero-stats .stat { background: rgba(18, 20, 25, .42); padding: 22px 24px; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); color: #fff; }
.hero-stats .stat span { font-size: 13.5px; color: #c4c9d2; }

/* hero dots */
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); transition: var(--transition); }
.hero-dots button.is-active { background: #fff; width: 28px; border-radius: 6px; }

/* ----------------------------------------------------------------------
   6. Quick service strip (floating cards)
   ---------------------------------------------------------------------- */
.quickbar { position: relative; margin-top: -64px; z-index: 5; }
.quickbar .grid { grid-template-columns: repeat(3, 1fr); }
.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.quick-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red);
  transform: scaleY(0); transform-origin: top; transition: var(--transition);
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quick-card:hover::after { transform: scaleY(1); }
.quick-ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 18px;
}
.quick-ico svg { width: 28px; height: 28px; }
.quick-card h3 { font-size: 21px; margin-bottom: 8px; }
.quick-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

/* ----------------------------------------------------------------------
   7. Services grid (icon cards)
   ---------------------------------------------------------------------- */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card .s-ico { width: 54px; height: 54px; border-radius: 13px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .s-ico { background: var(--red); }
.service-card .s-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }

/* ----------------------------------------------------------------------
   8. Feature (split image / content)
   ---------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.feature.is-reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.feature-media .badge-float {
  position: absolute; left: -22px; bottom: -22px;
  background: var(--red); color: #fff;
  padding: 20px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); max-width: 230px;
}
.feature-media .badge-float b { font-family: var(--font-display); font-size: 30px; display: block; line-height: 1; }
.feature-media .badge-float span { font-size: 13px; opacity: .92; }
.feature h2 { font-size: clamp(26px, 3vw, 38px); }
.feature .lead { color: var(--muted); font-size: 16.5px; }
.feature .check-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.feature .check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); font-weight: 500; }
.feature .check-list li svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 1px; }

/* tag buttons (technical service sub-links) */
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: 14px; color: var(--ink-700);
  transition: var(--transition);
}
.tag-btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ----------------------------------------------------------------------
   9. Pricing / membership tiers
   ---------------------------------------------------------------------- */
.tiers { grid-template-columns: repeat(3, 1fr); align-items: start; }
.tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: var(--transition);
  position: relative;
  display: flex; flex-direction: column;
}
.tier:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tier.is-featured { border-color: var(--red); box-shadow: var(--shadow); }
.tier.is-featured::before {
  content: "Најпопуларен";
  position: absolute; top: -13px; left: 30px;
  background: var(--red); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--radius-pill);
}
.tier h3 { font-size: 20px; margin-bottom: 4px; }
.tier .price { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 38px; line-height: 1; margin: 12px 0 4px; }
.tier .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.tier .price-note { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.tier .tier-list { display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.tier .tier-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-700); }
.tier .tier-list li svg { width: 19px; height: 19px; color: var(--red); flex: none; margin-top: 2px; }
.tier .tier-list li.muted { color: var(--muted); }

/* ----------------------------------------------------------------------
   10. Accordion
   ---------------------------------------------------------------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%; text-align: left; border: 0; background: #fff;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: var(--transition);
}
.acc-head:hover { background: var(--bg-soft); }
.acc-head .acc-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; transition: var(--transition); }
.acc-head .acc-ico svg { width: 14px; height: 14px; transition: var(--transition); }
.acc-item.is-open .acc-head .acc-ico { background: var(--red); color: #fff; }
.acc-item.is-open .acc-head .acc-ico svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body-inner { padding: 0 24px 22px; color: var(--body); }
.acc-body-inner ul { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.acc-body-inner ul li { position: relative; padding-left: 24px; font-size: 14px; }
.acc-body-inner ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.acc-body-inner .price-tag { margin-top: 14px; font-weight: 700; color: var(--ink); }

/* ----------------------------------------------------------------------
   11. CTA band
   ---------------------------------------------------------------------- */
.cta-band { position: relative; color: #fff; border-radius: 22px; overflow: hidden; padding: 56px; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--red-700), var(--red) 60%, #e84a4a); }
.cta-band .cta-grid { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; }

/* ----------------------------------------------------------------------
   12. Racing band
   ---------------------------------------------------------------------- */
.racing { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.racing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,16,20,.82), rgba(15,16,20,.92)), center/cover no-repeat; background-image: linear-gradient(180deg, rgba(15,16,20,.78), rgba(15,16,20,.9)), url('../images/slider/13.jpg'); }
.racing .racing-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.racing h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.racing-logos { display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; margin: 30px 0 34px; }
.racing-logos img { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .92; }

/* ----------------------------------------------------------------------
   13. News cards
   ---------------------------------------------------------------------- */
.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 24px; }
.news-date { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: inline-flex; align-items: center; gap: 7px; }
.news-card h3 { font-size: 18px; margin-bottom: 8px; }
.news-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ----------------------------------------------------------------------
   14. App download band
   ---------------------------------------------------------------------- */
.appband { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.app-store-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: #fff; transition: var(--transition); }
.store-btn:hover { background: var(--red); transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 11px; opacity: .8; line-height: 1.2; }
.store-btn b { font-family: var(--font-display); font-size: 16px; line-height: 1.2; }

/* ----------------------------------------------------------------------
   15. Footer
   ---------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #9aa1ad; padding-top: 72px; }
.site-footer h4 { color: #fff; font-size: 16px; letter-spacing: .02em; margin-bottom: 22px; text-transform: uppercase; font-family: var(--font-sans); font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 50px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 42px; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; line-height: 1.7; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; color: #c9cdd6; transition: var(--transition); }
.footer-socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.footer-socials a svg { width: 18px; height: 18px; }
.footer-links ul { display: grid; gap: 12px; }
.footer-links a { font-size: 14.5px; color: #b7bdc8; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-locations { display: grid; gap: 16px; }
.floc { display: flex; gap: 12px; align-items: flex-start; }
.floc svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.floc b { color: #fff; display: block; font-family: var(--font-display); font-size: 14.5px; }
.floc span { font-size: 13.5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; font-size: 13.5px; flex-wrap: wrap; }
.footer-bottom a { color: #c9cdd6; }
.footer-bottom a:hover { color: var(--red); }

/* ----------------------------------------------------------------------
   16. Floating action + back to top
   ---------------------------------------------------------------------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--transition); z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red-600); }
.to-top svg { width: 22px; height: 22px; }

/* ----------------------------------------------------------------------
   17. Scroll reveal
   ---------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ----------------------------------------------------------------------
   18. Mobile nav drawer
   ---------------------------------------------------------------------- */
.nav-backdrop { position: fixed; inset: 0; background: rgba(15,16,20,.5); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 110; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; z-index: 120; transform: translateX(100%);
  transition: transform .34s cubic-bezier(.2,.7,.2,1); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-drawer.is-open { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-top img { height: 38px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: grid; place-items: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-nav { padding: 10px 12px 24px; }
.drawer-nav > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px; font-weight: 600; color: var(--ink); border-radius: 10px; font-size: 16px; }
.drawer-nav > li > a:hover { background: var(--bg-soft); }
.drawer-sub { padding-left: 12px; display: none; }
.drawer-sub.is-open { display: block; }
.drawer-sub a { display: block; padding: 11px 14px; color: var(--muted); font-size: 14.5px; border-radius: 8px; }
.drawer-sub a:hover { color: var(--red); }
.drawer-toggle { border: 0; background: transparent; padding: 8px; color: var(--muted); }
.drawer-toggle svg { width: 18px; height: 18px; transition: var(--transition); }
.drawer-toggle.is-open svg { transform: rotate(180deg); }
.drawer-cta { margin-top: 8px; padding: 16px; display: grid; gap: 10px; }

/* ----------------------------------------------------------------------
   19. Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-list > li > a { padding: 14px 9px; font-size: 13.4px; }
}
@media (max-width: 1120px) {
  .nav-list > li > a { padding: 14px 6px; font-size: 12.8px; }
  .nav-list > li > a .pill { font-size: 10px; padding: 2px 6px; }
}
@media (max-width: 992px) {
  .section { padding: 72px 0; }
  .mainnav, .callcenter .cc-meta { display: none; }
  .burger { display: flex; }
  .feature, .appband, .cta-band .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.is-reverse .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .quickbar .grid, .services-grid, .tiers, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-media .badge-float { left: 16px; bottom: 16px; }
}
/* tablet: hide the long working-hours line so the topbar stays on one row */
@media (max-width: 980px) {
  .topbar-left span.ico { display: none; }
}
@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .topbar { display: none; }
  .headbar { height: 70px; }
  .brand { flex: 0 0 auto; }
  .brand img { height: 36px; }
  .head-actions { gap: 14px; }
  .head-actions > .btn { display: none; }
  .section { padding: 56px 0; }
  .quickbar { margin-top: 32px; }
  .quickbar .grid, .services-grid, .tiers, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 38px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .cta-band { padding: 38px 26px; }
  .acc-body-inner ul { grid-template-columns: 1fr; }
  .racing-logos { gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ----------------------------------------------------------------------
   20. Inner pages — hero banner, breadcrumb, content cards, prose
   ---------------------------------------------------------------------- */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(54px, 8vw, 92px) 0; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,16,20,.9) 0%, rgba(15,16,20,.66) 55%, rgba(15,16,20,.45) 100%);
}
.page-hero .eyebrow { color: #ff6b6b; }
.page-hero .eyebrow::before { background: var(--red); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); margin: 0 0 14px; letter-spacing: -.01em; }
.page-hero p { color: #d6dae2; max-width: 620px; margin: 0; font-size: 16.5px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.72); }
.breadcrumb a { color: rgba(255,255,255,.72); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .45; }
.breadcrumb .current { color: #fff; font-weight: 600; }

/* content grid */
.cards-1 { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* info card (requirements / topic block) */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%; transition: var(--transition); }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.info-card__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.info-card__ico svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 17.5px; margin: 0; line-height: 1.25; }

/* document / requirement list */
.doc-list { display: grid; gap: 11px; }
.doc-list > li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-700); }
.doc-list > li svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 2px; }
.doc-list a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.doc-list a:hover { color: var(--red-700); }

/* chips (price / duration) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--radius-pill); background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-700); }
.chip svg { width: 16px; height: 16px; color: var(--red); }
.chip.is-red { background: var(--red-soft); border-color: transparent; color: var(--red-700); }

/* small pdf/download button */
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* generic rich text (prose) for text-heavy inner pages */
.prose { color: var(--body); font-size: 16px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 26px; margin: 36px 0 14px; }
.prose h3 { font-size: 21px; margin: 30px 0 12px; }
.prose h4 { color: var(--red); font-size: 17px; margin: 28px 0 10px; text-transform: uppercase; letter-spacing: .02em; }
.prose h5 { color: var(--ink); font-size: 15px; margin: 16px 0 8px; }
.prose p { margin: 0 0 1rem; }
.prose ul { display: grid; gap: 10px; margin: 14px 0 22px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 9px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* contact + form + map */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-card.is-dark { background: var(--ink); color: #c9cdd6; border-color: transparent; }
.contact-card.is-dark h3 { color: #fff; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-card:not(.is-dark) .contact-line { border-bottom-color: var(--line-2); }
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line .ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(219,45,46,.16); color: #ff6b6b; display: grid; place-items: center; flex: none; }
.contact-card:not(.is-dark) .contact-line .ic { background: var(--red-soft); color: var(--red); }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line b { display: block; color: #fff; font-family: var(--font-display); font-size: 15px; margin-bottom: 2px; }
.contact-card:not(.is-dark) .contact-line b { color: var(--ink); }
.contact-line span, .contact-line a { font-size: 14.5px; }
.contact-line a:hover { color: #fff; }
.pss-form { display: grid; gap: 14px; }
.pss-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pss-form input, .pss-form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: var(--transition); }
.pss-form input::placeholder, .pss-form textarea::placeholder { color: #9aa1ad; }
.pss-form input:focus, .pss-form textarea:focus { border-color: var(--red); box-shadow: var(--ring); outline: none; }
.pss-form textarea { resize: vertical; min-height: 150px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 36px; box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .pss-form .row2 { grid-template-columns: 1fr; }
}

/* gallery grid */
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.gallery-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(20,22,27,0); transition: background var(--transition); }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a:hover::after { background: rgba(219,45,46,.16); }

@media (max-width: 992px) {
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .info-card { padding: 24px; }
}

/* ----------------------------------------------------------------------
   21. Notes, search, FAQ
   ---------------------------------------------------------------------- */
/* 21. Notes, search, FAQ */
.note { display: flex; gap: 11px; align-items: flex-start; padding: 13px 16px; border-radius: 10px; background: var(--bg-soft); border-left: 3px solid var(--muted); font-size: 14px; line-height: 1.6; margin-top: 14px; color: var(--ink-700); }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--muted); }
.note b { color: var(--ink); }
.note.is-warn { background: var(--red-soft); border-left-color: var(--red); }
.note.is-warn svg { color: var(--red); }
.note.is-tip { background: #eef4ff; border-left-color: #3b6fd4; }
.note.is-tip svg { color: #3b6fd4; }

/* accordion body: allow flowing prose (override 2-col list) */
.acc-body-inner .flow { display: block; }
.acc-body-inner .flow p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.75; }
.acc-body-inner .flow p:last-child { margin-bottom: 0; }
.acc-body-inner ul.one-col { grid-template-columns: 1fr; }

/* sub-topic anchor cards */
.topic-list { display: grid; gap: 10px; }
.topic-list a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: 15px; color: var(--ink-700); transition: var(--transition); }
.topic-list a:hover { border-color: var(--red); color: var(--red); transform: translateX(3px); }
.topic-list a .num { width: 28px; height: 28px; border-radius: 8px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 12.5px; font-weight: 800; flex: none; }

/* search box */
.searchbox { position: relative; max-width: 620px; margin: 0 auto 40px; }
.searchbox input { width: 100%; padding: 17px 52px 17px 52px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: var(--transition); box-shadow: var(--shadow-sm); }
.searchbox input:focus { border-color: var(--red); box-shadow: var(--ring); outline: none; }
.searchbox .s-ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.searchbox .s-clear { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--bg-tint); color: var(--muted); display: none; place-items: center; }
.searchbox .s-clear.is-on { display: grid; }
.searchbox .s-clear svg { width: 15px; height: 15px; }

.search-meta { text-align: center; color: var(--muted); font-size: 14.5px; margin: -22px 0 30px; }
.faq-cat { margin-bottom: 34px; }
.faq-cat > h3 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.faq-cat > h3::before { content: ""; width: 4px; height: 18px; background: var(--red); border-radius: 2px; }
.faq-empty { text-align: center; padding: 40px 20px; color: var(--muted); display: none; }
.faq-empty.is-on { display: block; }
mark { background: #ffe9a8; color: inherit; padding: 0 2px; border-radius: 3px; }

/* Viber ознака кај телефонските броеви */
.viber-tag { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 9px;
  border-radius: var(--radius-pill); background: #f0e9fb; color: #6d4aad;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.viber-tag svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------------------
   22. Кариера — блок за аплицирање
   --------------------------------------------------------------------- */
.apply-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.apply-card h3 { font-size: 22px; margin-bottom: 8px; }
.apply-lead { color: var(--muted); margin-bottom: 24px; }
.apply-mail { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); flex-wrap: wrap; }
.apply-mail .am-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--red-soft);
  color: var(--red); display: grid; place-items: center; flex: none; }
.apply-mail .am-ico svg { width: 20px; height: 20px; }
.apply-mail .am-addr { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 2.4vw, 19px);
  color: var(--ink); flex: 1 1 auto; word-break: break-all; user-select: all; }
.am-copy { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-700); font-weight: 600; font-size: 14px;
  transition: var(--transition); flex: none; }
.am-copy svg { width: 16px; height: 16px; }
.am-copy:hover { border-color: var(--red); color: var(--red); }
.am-copy.is-done { background: var(--red); border-color: var(--red); color: #fff; }
.apply-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 680px) {
  .apply-card { padding: 24px; }
  .apply-actions .btn { flex: 1 1 auto; }
}

/* нагласување на целта на anchor линк */
@keyframes pssFlash {
  0%   { box-shadow: 0 0 0 0 rgba(219,45,46,.55); }
  60%  { box-shadow: 0 0 0 12px rgba(219,45,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(219,45,46,0); }
}
.is-flash { animation: pssFlash 1.5s ease-out; border-color: var(--red) !important; }
@media (prefers-reduced-motion: reduce) { .is-flash { animation: none; } }

/* ---------------------------------------------------------------------
   23. Контакт прозорец — Техничка служба
   --------------------------------------------------------------------- */
.ts-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.ts-modal[hidden] { display: none; }
.ts-modal__backdrop { position: absolute; inset: 0; background: rgba(15,16,20,.62); backdrop-filter: blur(2px);
  animation: tsFade .22s ease-out; }
.ts-modal__panel { position: relative; width: min(920px, 100%); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg);
  animation: tsPop .26s cubic-bezier(.2,.8,.25,1); }
.ts-modal__panel h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.ts-modal__lead { color: var(--muted); margin-bottom: 26px; }
.ts-modal__close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center;
  transition: var(--transition); }
.ts-modal__close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.ts-modal__close svg { width: 20px; height: 20px; }
.ts-modal .info-card { opacity: 1 !important; transform: none !important; }
@keyframes tsFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes tsPop  { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .ts-modal__backdrop, .ts-modal__panel { animation: none } }
@media (max-width: 680px) {
  .ts-modal { padding: 0; }
  .ts-modal__panel { border-radius: 0; max-height: 100vh; height: 100%; padding: 64px 20px 28px; }
}
body.ts-locked { overflow: hidden; }

/* ---- FAQ: брза навигација по категории + побогати одговори (листи, слики, линкови) ---- */
.faq-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; margin: -14px auto 46px; }
.faq-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: var(--transition); }
.faq-nav a:hover { border-color: var(--red); color: var(--red); }
.faq-nav a b { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 700; text-align: center; }
.faq-cat { scroll-margin-top: 100px; }
/* листите во одговорите: една колона (рамната 2-колонска мрежа од другите акордеони прави празнини кај вгнездени листи) */
.a-text ul { grid-template-columns: 1fr; gap: 7px; margin: 2px 0 14px; }
.a-text li > ul { margin: 8px 0 2px; }
.a-text a { color: var(--red); font-weight: 600; }
.a-text a:hover { text-decoration: underline; }
.faq-fig { margin: 4px 0 18px; }
.faq-fig img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
