@charset "UTF-8";
/* ============================================================
   PaySpot ME — shared site chrome (header + footer + mobile menu)
   for the LEGACY pages (contact / services / pos / loans / locator /
   under-construction). These pages keep their own style.css + main.js
   for the page body; this file only restyles the new header/footer
   markup so it matches the redesigned index.html.

   It is deliberately SELF-CONTAINED and SCOPED: the global element
   resets are limited to .site-header / .mobile-* / .site-footer so the
   legacy body (links, lists, images, headings) is left untouched.
   Mirrors the header/footer of css/site.css; the one difference is the
   header uses position:fixed (the legacy body scrolls inside a fixed
   .root, so sticky has nothing to stick to).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --red: #e10000;
  --red-600: #c20000;
  --red-700: #a30000;
  --red-300: #ff6a62;
  --red-soft: #ffecec;

  --ink: #14151a;
  --ink-2: #1d1f27;
  --ink-3: #2a2d37;
  --text: #1f2330;
  --muted: #626875;
  --muted-2: #8a909c;
  --line: #e9ebf0;
  --line-2: #f0f2f6;

  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-tint: #fbf7f7;

  --radius-xl: 26px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;

  --shadow-sm: 0 2px 8px rgba(16, 18, 27, 0.06);
  --shadow-md: 0 14px 34px rgba(16, 18, 27, 0.1);
  --shadow-lg: 0 30px 70px rgba(16, 18, 27, 0.16);
  --shadow-red: 0 16px 36px rgba(225, 0, 0, 0.28);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --grad-red: linear-gradient(120deg, #ff3b30 0%, #e10000 55%, #b00000 100%);

  --mark-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cpath fill='%23ffffff' fill-opacity='.06' d='M94 16L16 94L76 94L94 76ZM106 16L184 94L124 94L106 76ZM184 106L136 154L106 124L124 106ZM16 106L140 230L170 200L76 106Z'/%3E%3C/svg%3E");
}

/* ---------- Scoped reset (chrome only — never touches legacy body) ---------- */
.site-header,
.site-header *,
.mobile-overlay,
.mobile-panel,
.mobile-panel *,
.site-footer,
.site-footer * {
  box-sizing: border-box;
}
.site-header a,
.mobile-panel a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-header ul,
.mobile-panel ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header img,
.mobile-panel img,
.site-footer img {
  display: block;
  max-width: 100%;
}
.site-header button,
.mobile-panel button {
  font-family: inherit;
  cursor: pointer;
}
.site-header h1,
.site-header h2,
.site-header h3,
.site-header h4,
.site-header p,
.mobile-panel h1,
.mobile-panel h2,
.mobile-panel h3,
.mobile-panel h4,
.mobile-panel p,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer p {
  margin: 0;
}

/* ---------- Layout helper (chrome only) ---------- */
.site-header .container,
.site-footer .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons (used by the header CTA + mobile panel) ---------- */
.site-header .btn,
.mobile-panel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.site-header .btn i,
.mobile-panel .btn i {
  font-size: 0.95em;
}
.site-header .btn-primary,
.mobile-panel .btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.site-header .btn-primary:hover,
.mobile-panel .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(225, 0, 0, 0.36);
}

/* ============================================================
   HEADER  (fixed for the legacy fixed-.root scroll model)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.top-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
  max-height: 60px;
  overflow: hidden;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 18px;
}
.top-bar .ti {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.top-bar .ti i {
  color: var(--red-300);
}
.top-bar .ti span {
  color: rgba(255, 255, 255, 0.6);
}
.top-bar .tb-left {
  display: flex;
  gap: 26px;
}
.top-bar .tb-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar a:hover {
  color: #fff;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang a {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.lang a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.lang a:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.lang a.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--red-300);
}

.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
}

.nav-bar {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.scrolled .nav-bar {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.97);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.brand img {
  height: 40px;
  width: auto;
  max-width: none;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}
.nav-menu > li > a,
.nav-menu > li > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: var(--pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-menu > li > a:hover,
.nav-menu > li > button:hover,
.nav-menu > li.open > button,
.nav-menu > li > a.active,
.nav-menu > li.has-mega.active > button {
  color: var(--red);
  background: var(--red-soft);
}
.nav-menu .caret {
  font-size: 11px;
  transition: transform 0.25s var(--ease);
}
.nav-menu li.open .caret {
  transform: rotate(180deg);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-actions .pilllink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  transition: all 0.25s var(--ease);
}
.nav-actions .pilllink i {
  color: var(--red);
}
.nav-actions .pilllink:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* Mega dropdown (desktop) */
.has-mega {
  position: relative;
}
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s;
  z-index: 30;
}
.has-mega:hover .mega,
.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 18px;
}
.mega .col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 6px 12px 10px;
}
.mega a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.mega a:hover {
  background: var(--bg-soft);
  color: var(--red);
}
.mega a .mi {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 16px;
  transition: all 0.2s var(--ease);
}
.mega a:hover .mi {
  background-color: var(--red);
  color: #fff;
}
.mega a.soon {
  position: relative;
  pointer-events: none;
  cursor: default;
}
.mega a.soon::after {
  content: attr(data-soon);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  background: var(--line-2);
  padding: 2px 8px;
  border-radius: var(--pill);
  margin-left: auto;
}
/* "Coming soon" services in the mobile menu — not clickable */
.m-nav .m-sub a[href$="#usluge"] {
  pointer-events: none;
  cursor: default;
}

/* Hamburger + mobile menu */
.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease),
    top 0.3s var(--ease);
}
.hamburger span:nth-child(1) {
  top: 16px;
}
.hamburger span:nth-child(2) {
  top: 22px;
}
.hamburger span:nth-child(3) {
  top: 28px;
}
body.menu-open .hamburger span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
body.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}
body.menu-open .hamburger span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 86vw);
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}
body.menu-open .mobile-panel {
  transform: translateX(0);
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 22, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  z-index: 1100;
}
body.menu-open .mobile-overlay {
  opacity: 1;
  visibility: visible;
}
.mobile-panel .mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.mobile-panel .mp-head img {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
}
.mp-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.m-nav a,
.m-nav button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-2);
}
.m-nav .m-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.m-nav .m-acc.open .m-sub {
  max-height: 520px;
}
.m-nav .m-acc.open > button {
  color: var(--red);
}
.m-nav .m-sub a {
  font-weight: 500;
  font-size: 14.5px;
  color: var(--muted);
  padding-left: 18px;
}
.m-nav .m-acc .caret {
  transition: transform 0.3s var(--ease);
}
.m-nav .m-acc.open .caret {
  transform: rotate(180deg);
}
.mobile-panel .mp-actions {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.mobile-panel .mp-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}
.mobile-panel .mp-contact a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.mobile-panel .mp-contact i {
  color: var(--red);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--ink);
  background-image: var(--mark-white);
  background-repeat: no-repeat;
  background-position: right -170px bottom -210px;
  background-size: 560px auto;
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 30px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.site-footer .f-brand img {
  height: 60px;
  width: auto;
  padding: 11px 15px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
}
.site-footer .f-brand p {
  font-size: 14px;
  max-width: 320px;
}
.f-contact {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.f-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.f-contact a i {
  color: var(--red-300);
  width: 16px;
}
.f-contact a:hover {
  color: #fff;
}
.f-social {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.f-social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.25s var(--ease);
}
.f-social a:hover {
  background-color: var(--red);
  transform: translateY(-3px);
  border-color: transparent;
}
.f-links a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.f-links a:hover {
  color: #fff;
  padding-left: 5px;
}
.f-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.f-partners a {
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  display: grid;
  place-items: center;
}
.f-partners img {
  height: 26px;
  width: auto;
  object-fit: contain;
}
/* the Addiko & Lovćen marks are near-white, so force them dark to stay
   visible on the white partner chips (mirrors css/site.css) */
.f-partners img[src*="adiko"],
.f-partners img[src*="lovcen"] {
  filter: brightness(0) opacity(0.72);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-2);
}

/* ============================================================
   RESPONSIVE (chrome only)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-menu,
  .nav-actions,
  .top-bar .tb-left {
    display: none;
  }
  .hamburger {
    display: block;
    margin-left: auto;
  }
  .nav {
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .site-header .container,
  .site-footer .container {
    padding: 0 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-footer *,
  .mobile-panel * {
    transition-duration: 0.001ms !important;
  }
}
