/* ==========================================================================
   Amer Perspektiva - glavni stilovi
   1. Tokeni      2. Baza        3. Tipografija   4. Dugmad     5. Zaglavlje
   6. Hero        7. Traka       8. Stubovi       9. O meni    10. Statistika
   11. Paketi    12. Transformacije  13. Iskustva  14. CTA     15. Blog
   16. Kontakt   17. Podnozje   18. Clanci      19. Pomocno
   ========================================================================== */

/* 1. Tokeni ---------------------------------------------------------------- */
:root {
  --ap-red: #e01b1b;
  --ap-red-hi: #ff2f2f;
  --ap-red-deep: #8a0c0c;
  --ap-red-glow: rgba(224, 27, 27, .28);

  --ap-bg: #0a0a0a;
  --ap-bg-2: #101010;
  --ap-bg-3: #151515;
  --ap-card: #131313;
  --ap-line: #242424;
  --ap-line-hi: #333333;

  --ap-text: #f2f2f2;
  --ap-muted: #a3a3a3;
  --ap-dim: #6f6f6f;

  --ap-container: 1200px;
  --ap-gutter: clamp(1rem, 4vw, 2.5rem);
  --ap-radius: 6px;
  --ap-radius-lg: 10px;

  --ap-section-y: clamp(4rem, 9vw, 7.5rem);
  --ap-header-h: 76px;

  --ap-font: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ap-ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. Baza ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ap-header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ap-bg);
  color: var(--ap-text);
  font-family: var(--ap-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--ap-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ap-red-hi); }

:focus-visible {
  outline: 2px solid var(--ap-red-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.ap-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ap-red); color: #ffffff; padding: .75rem 1.25rem; font-weight: 700;
}
.ap-skip:focus { left: 0; color: #ffffff; }

.ap-container {
  width: 100%;
  max-width: var(--ap-container);
  margin-inline: auto;
  padding-inline: var(--ap-gutter);
}
.ap-container--narrow { max-width: 820px; }

.ap-section { padding-block: var(--ap-section-y); position: relative; }
.ap-section--alt { background: var(--ap-bg-2); }
.ap-section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* 3. Tipografija ----------------------------------------------------------- */
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/mulish-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/mulish-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: #ffffff;
}
h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); font-weight: 900; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.ap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  color: var(--ap-red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.ap-eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--ap-red);
  flex: none;
}
.ap-eyebrow--center { justify-content: center; }

.ap-display { text-transform: uppercase; }
.ap-display span { display: block; }
.ap-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ap-red);
  paint-order: stroke fill;
}
.ap-lead {
  color: var(--ap-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 62ch;
}

.ap-section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.ap-section-head--center { text-align: center; }
.ap-section-head--center .ap-lead { margin-inline: auto; }
.ap-section-head h2 { margin-bottom: .5rem; }

/* 4. Dugmad ---------------------------------------------------------------- */
.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--ap-radius);
  background: var(--ap-red);
  color: #ffffff;
  font-size: .87rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s var(--ap-ease), transform .22s var(--ap-ease), box-shadow .22s var(--ap-ease), border-color .22s var(--ap-ease), color .22s var(--ap-ease);
}
.ap-btn:hover,
.ap-btn:focus-visible {
  background: var(--ap-red-hi);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px var(--ap-red-glow);
}
.ap-btn--ghost {
  background: transparent;
  border-color: var(--ap-line-hi);
  color: #ffffff;
}
.ap-btn--ghost:hover,
.ap-btn--ghost:focus-visible {
  background: transparent;
  border-color: var(--ap-red);
  color: var(--ap-red-hi);
  box-shadow: none;
}
.ap-btn--sm { padding: .7rem 1.2rem; font-size: .78rem; }
.ap-btn--block { width: 100%; }
.ap-btn__arrow { transition: transform .22s var(--ap-ease); }
.ap-btn:hover .ap-btn__arrow { transform: translateX(3px); }

.ap-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* 5. Zaglavlje ------------------------------------------------------------- */
.ap-topbar {
  background: #050505;
  border-bottom: 1px solid var(--ap-line);
  font-size: .8rem;
  color: var(--ap-muted);
}
.ap-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: .35rem;
}
.ap-topbar__list { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ap-topbar a,
.ap-topbar li > span { color: var(--ap-muted); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.ap-topbar a:hover { color: #ffffff; }
.ap-topbar svg { width: 15px; height: 15px; flex: none; color: var(--ap-red); }
.ap-socials { display: flex; align-items: center; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.ap-socials a { color: var(--ap-dim); }
.ap-socials a:hover { color: var(--ap-red-hi); }
.ap-socials svg { width: 17px; height: 17px; color: currentColor; }
@media (max-width: 780px) { .ap-topbar { display: none; } }

.ap-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ap-line);
  transition: background .25s var(--ap-ease), border-color .25s var(--ap-ease);
}
.ap-header.is-stuck { background: rgba(8, 8, 8, .96); border-bottom-color: var(--ap-line-hi); }
.ap-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--ap-header-h);
}
.ap-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #ffffff; flex: none; }
.ap-brand img { width: auto; height: 42px; }
.ap-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.ap-brand__name { font-size: .95rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ap-brand__tag { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ap-red); }

.ap-nav { margin-left: auto; }
.ap-nav ul { display: flex; align-items: center; gap: 1.9rem; margin: 0; padding: 0; list-style: none; }
.ap-nav a {
  position: relative;
  display: inline-block;
  color: var(--ap-text);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: .4rem;
}
.ap-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ap-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ap-ease);
}
.ap-nav a:hover,
.ap-nav .current-menu-item > a,
.ap-nav .current_page_item > a { color: #ffffff; }
.ap-nav a:hover::after,
.ap-nav .current-menu-item > a::after,
.ap-nav .current_page_item > a::after { transform: scaleX(1); }
.ap-nav .sub-menu { display: none; }

.ap-header__actions { display: flex; align-items: center; gap: .7rem; flex: none; }
.ap-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--ap-line-hi);
  border-radius: 50%;
  color: #ffffff;
  transition: border-color .22s var(--ap-ease), background .22s var(--ap-ease), color .22s var(--ap-ease);
}
.ap-call:hover, .ap-call:focus-visible { border-color: var(--ap-red); background: var(--ap-red); color: #ffffff; }
.ap-call svg { width: 19px; height: 19px; }
.ap-header__actions .ap-btn { white-space: nowrap; }
@media (max-width: 1120px) { .ap-header__actions .ap-btn { display: none; } }

.ap-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ap-line-hi);
  border-radius: var(--ap-radius);
  color: #ffffff;
  cursor: pointer;
}
.ap-burger span {
  display: block;
  position: relative;
  width: 20px; height: 2px;
  background: currentColor;
  transition: background .2s var(--ap-ease);
}
.ap-burger span::before,
.ap-burger span::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .25s var(--ap-ease);
}
.ap-burger span::before { top: -6px; }
.ap-burger span::after { top: 6px; }
.ap-burger[aria-expanded="true"] span { background: transparent; }
.ap-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.ap-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .ap-burger { display: inline-flex; }
  .ap-nav {
    position: fixed;
    inset: var(--ap-header-h) 0 auto 0;
    max-height: calc(100dvh - var(--ap-header-h));
    overflow-y: auto;
    background: #070707;
    border-bottom: 1px solid var(--ap-line);
    padding: 1rem var(--ap-gutter) 2rem;
    display: none;
  }
  .ap-nav.is-open { display: block; }
  .ap-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .ap-nav li { border-bottom: 1px solid var(--ap-line); }
  .ap-nav a { display: block; padding: 1rem 0; font-size: .95rem; }
  .ap-nav a::after { display: none; }
  .ap-nav__cta { padding-top: 1.4rem; }
  .ap-nav__cta .ap-btn { width: 100%; }
}
@media (min-width: 981px) { .ap-nav__cta { display: none; } }

/* 6. Hero ------------------------------------------------------------------ */
.ap-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 88vh, 900px);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  background: #070707;
}
.ap-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ap-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}
/* Zastor cuva citljivost teksta lijevo, a desnu polovinu slike ostavlja cistom. */
.ap-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(7, 7, 7, .94) 0%, rgba(7, 7, 7, .88) 38%, rgba(7, 7, 7, .3) 62%, rgba(7, 7, 7, 0) 82%),
    linear-gradient(to top, #0a0a0a 1%, rgba(10, 10, 10, 0) 32%);
}
@media (max-width: 900px) {
  .ap-hero__media img { object-position: 72% center; opacity: .5; }
  .ap-hero__veil {
    background:
      linear-gradient(to right, rgba(7, 7, 7, .95) 0%, rgba(7, 7, 7, .8) 70%, rgba(7, 7, 7, .6) 100%),
      linear-gradient(to top, #0a0a0a 2%, rgba(10, 10, 10, 0) 40%);
  }
}
.ap-hero__glow {
  position: absolute;
  z-index: 1;
  top: -18%; right: -12%;
  width: min(760px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 27, 27, .22) 0%, rgba(224, 27, 27, 0) 62%);
  pointer-events: none;
}
.ap-hero .ap-container { position: relative; z-index: 2; }
.ap-hero__inner { max-width: 780px; }
.ap-hero h1 {
  margin-bottom: 1.4rem;
  letter-spacing: -.03em;
  line-height: .96;
  font-size: clamp(2.6rem, 8.2vw, 5.4rem);
}
.ap-hero h1 span { display: block; }
.ap-hero__sub {
  max-width: 56ch;
  margin-bottom: 2rem;
  color: var(--ap-muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}
.ap-hero .ap-actions { margin-bottom: 3rem; }
.ap-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.ap-hero__stat { display: flex; flex-direction: column; gap: .1rem; }
.ap-hero__stat b {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}
.ap-hero__stat b em { font-style: normal; color: var(--ap-red); }
.ap-hero__stat span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ap-dim);
}

/* 7. Traka s pojmovima ------------------------------------------------------ */
.ap-marquee {
  border-block: 1px solid var(--ap-line);
  background: #0d0d0d;
  overflow: hidden;
  padding-block: 1.05rem;
}
.ap-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ap-slide 42s linear infinite;
}
.ap-marquee:hover .ap-marquee__track { animation-play-state: paused; }
.ap-marquee__group { display: flex; align-items: center; gap: 0; flex: none; }
.ap-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding-inline: 1.2rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ap-dim);
  white-space: nowrap;
}
.ap-marquee span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ap-red);
  flex: none;
}
@keyframes ap-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ap-marquee__track { animation: none; }
  .ap-marquee { overflow-x: auto; }
}

/* 8. Stubovi --------------------------------------------------------------- */
.ap-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.ap-pillar {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--ap-card);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  transition: border-color .28s var(--ap-ease), transform .28s var(--ap-ease);
}
.ap-pillar::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--ap-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--ap-ease);
}
.ap-pillar:hover { border-color: var(--ap-line-hi); transform: translateY(-4px); }
.ap-pillar:hover::before { transform: scaleX(1); }
.ap-pillar__num {
  display: block;
  margin-bottom: 1.1rem;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .2em;
  color: var(--ap-red);
}
.ap-pillar h3 {
  margin-bottom: .7rem;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ap-pillar p { color: var(--ap-muted); font-size: .97rem; margin: 0; }

/* 9. O meni ---------------------------------------------------------------- */
.ap-about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .ap-about { grid-template-columns: 1fr; } }
.ap-about__media { position: relative; }
.ap-about__media img {
  width: 100%;
  border-radius: var(--ap-radius-lg);
  border: 1px solid var(--ap-line);
  filter: grayscale(.15) contrast(1.05);
}
.ap-about__badge {
  position: absolute;
  right: clamp(-.5rem, -1vw, -1.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  padding: 1rem 1.4rem;
  background: var(--ap-red);
  border-radius: var(--ap-radius);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  text-align: center;
  color: #ffffff;
}
.ap-about__badge b { display: block; font-size: 1.85rem; font-weight: 900; line-height: 1; }
.ap-about__badge span {
  display: block;
  margin-top: .3rem;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .92;
}
.ap-about__body p { color: var(--ap-muted); }
.ap-checks { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: .85rem; }
.ap-checks li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ap-text);
}
.ap-checks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--ap-red); }

/* 10. Statistika ----------------------------------------------------------- */
.ap-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: var(--ap-line);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
}
.ap-stat {
  padding: clamp(1.6rem, 3.5vw, 2.5rem) 1.4rem;
  background: var(--ap-bg-2);
  text-align: center;
}
.ap-stat b {
  display: block;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--ap-red);
}
.ap-stat span {
  display: block;
  margin-top: .6rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ap-muted);
}

/* 11. Paketi --------------------------------------------------------------- */
.ap-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
  align-items: stretch;
}
.ap-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--ap-card);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
  transition: border-color .28s var(--ap-ease), transform .28s var(--ap-ease), box-shadow .28s var(--ap-ease);
}
.ap-plan:hover { border-color: var(--ap-line-hi); transform: translateY(-4px); }
.ap-plan--featured {
  border-color: var(--ap-red);
  background: linear-gradient(180deg, rgba(224, 27, 27, .07) 0%, var(--ap-card) 46%);
  box-shadow: 0 24px 60px -34px var(--ap-red-glow);
}
.ap-plan__flag {
  position: absolute;
  top: -1px; right: clamp(1.25rem, 3vw, 2rem);
  padding: .35rem .8rem;
  background: var(--ap-red);
  border-radius: 0 0 var(--ap-radius) var(--ap-radius);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffffff;
}
.ap-plan__name {
  margin-bottom: .9rem;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ap-red);
}
.ap-plan__price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-bottom: 1rem;
  color: #ffffff;
}
.ap-plan__price b { font-size: clamp(2.2rem, 4.5vw, 2.9rem); font-weight: 900; line-height: 1; }
.ap-plan__price i { font-style: normal; font-size: 1.05rem; font-weight: 800; }
.ap-plan__price small { font-size: .82rem; font-weight: 600; color: var(--ap-dim); }
.ap-plan__desc {
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--ap-line);
  color: var(--ap-muted);
  font-size: .95rem;
}
.ap-plan__list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .8rem; }
.ap-plan__list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .94rem;
  color: var(--ap-text);
}
.ap-plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ap-red); }
.ap-plan .ap-btn { margin-top: auto; }
.ap-plans__note {
  margin-top: 1.75rem;
  text-align: center;
  font-size: .88rem;
  color: var(--ap-dim);
}

/* 12. Transformacije ------------------------------------------------------- */
.ap-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.ap-gallery__item {
  position: relative;
  display: block;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  overflow: hidden;
  background: var(--ap-bg-3);
  cursor: zoom-in;
  transition: border-color .25s var(--ap-ease), transform .25s var(--ap-ease);
}
.ap-gallery__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s var(--ap-ease); }
.ap-gallery__item:hover { border-color: var(--ap-red); transform: translateY(-3px); }
.ap-gallery__item:hover img { transform: scale(1.04); }

.entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin: 0; }
.entry-content .gallery-item { margin: 0 !important; width: auto !important; }
.entry-content .gallery img { width: 100%; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); }
.entry-content .gallery-caption { font-size: .82rem; color: var(--ap-dim); }

.ap-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 4, 4, .94);
  backdrop-filter: blur(6px);
}
.ap-lightbox.is-open { display: flex; }
.ap-lightbox img { max-width: 100%; max-height: 88vh; width: auto; border-radius: var(--ap-radius); }
.ap-lightbox__close {
  position: absolute;
  top: clamp(.75rem, 3vw, 1.75rem);
  right: clamp(.75rem, 3vw, 1.75rem);
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ap-line-hi);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.ap-lightbox__close:hover { border-color: var(--ap-red); background: var(--ap-red); }
.ap-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  border: 1px solid var(--ap-line-hi);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
}
.ap-lightbox__nav:hover { border-color: var(--ap-red); background: var(--ap-red); }
.ap-lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.ap-lightbox__nav--next { right: clamp(.5rem, 2vw, 1.5rem); }

/* 13. Iskustva ------------------------------------------------------------- */
.ap-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.ap-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--ap-card);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
}
.ap-quote::before {
  content: "\201C";
  position: absolute;
  top: .35rem; right: 1.25rem;
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(224, 27, 27, .16);
}
.ap-quote blockquote {
  margin: 0 0 1.5rem;
  color: var(--ap-text);
  font-size: 1rem;
  line-height: 1.75;
}
.ap-quote footer { margin-top: auto; display: flex; align-items: center; gap: .85rem; }
.ap-quote__avatar {
  width: 42px; height: 42px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ap-red-deep);
  color: #ffffff;
  font-weight: 900;
  font-size: .95rem;
}
.ap-quote cite { display: block; font-style: normal; font-weight: 800; color: #ffffff; font-size: .95rem; }
.ap-quote small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-dim); }

/* 14. CTA traka ------------------------------------------------------------ */
.ap-cta {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  border-block: 1px solid var(--ap-line);
}
.ap-cta::after {
  content: "";
  position: absolute;
  left: 50%; top: -60%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 27, 27, .16) 0%, rgba(224, 27, 27, 0) 64%);
  pointer-events: none;
}
.ap-cta .ap-container { position: relative; z-index: 1; text-align: center; }
.ap-cta h2 { margin-bottom: 1rem; }
.ap-cta .ap-lead { margin-inline: auto; margin-bottom: 2rem; }
.ap-cta .ap-actions { justify-content: center; }

/* 15. Blog ----------------------------------------------------------------- */
.ap-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.ap-post {
  display: flex;
  flex-direction: column;
  background: var(--ap-card);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  transition: border-color .28s var(--ap-ease), transform .28s var(--ap-ease);
}
.ap-post:hover { border-color: var(--ap-line-hi); transform: translateY(-4px); }
.ap-post__thumb { display: block; overflow: hidden; background: var(--ap-bg-3); }
.ap-post__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ap-ease); }
.ap-post:hover .ap-post__thumb img { transform: scale(1.04); }
.ap-post__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.ap-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .9rem;
  margin-bottom: .85rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ap-dim);
}
.ap-post__cat { color: var(--ap-red); text-decoration: none; }
.ap-post__cat:hover { color: var(--ap-red-hi); }
.ap-post h3 { margin-bottom: .7rem; font-size: 1.14rem; line-height: 1.34; }
.ap-post h3 a { color: #ffffff; text-decoration: none; }
.ap-post h3 a:hover { color: var(--ap-red-hi); }
.ap-post p { margin-bottom: 1.35rem; color: var(--ap-muted); font-size: .94rem; }
.ap-post__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}

/* 16. Kontakt i forma ------------------------------------------------------ */
.ap-contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .ap-contact { grid-template-columns: 1fr; } }
.ap-contact__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.ap-contact__list li { display: flex; align-items: flex-start; gap: .95rem; }
.ap-contact__ico {
  width: 42px; height: 42px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  color: var(--ap-red);
  background: var(--ap-bg-3);
}
.ap-contact__ico svg { width: 18px; height: 18px; }
.ap-contact__list b {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ap-dim);
}
.ap-contact__list a, .ap-contact__list span { color: var(--ap-text); text-decoration: none; font-weight: 600; }
.ap-contact__list a:hover { color: var(--ap-red-hi); }

.ap-formbox {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ap-card);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
}
.ap-formbox h3 { margin-bottom: 1.5rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; }

.ap-formbox .ff-el-group { margin-bottom: 1.1rem; }
.ap-formbox .ff-el-input--label label,
.ap-formbox label {
  display: block;
  margin-bottom: .4rem;
  font-size: .74rem !important;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ap-muted) !important;
}
.ap-formbox input[type="text"],
.ap-formbox input[type="email"],
.ap-formbox input[type="tel"],
.ap-formbox input[type="number"],
.ap-formbox input[type="url"],
.ap-formbox select,
.ap-formbox textarea,
.ap-formbox .ff-el-form-control {
  width: 100%;
  padding: .85rem 1rem;
  background: #0c0c0c !important;
  border: 1px solid var(--ap-line) !important;
  border-radius: var(--ap-radius) !important;
  color: var(--ap-text) !important;
  font-family: var(--ap-font) !important;
  font-size: .95rem !important;
  line-height: 1.5;
  box-shadow: none !important;
  transition: border-color .2s var(--ap-ease);
}
.ap-formbox textarea { min-height: 130px; resize: vertical; }
.ap-formbox input::placeholder,
.ap-formbox textarea::placeholder { color: #5a5a5a; }
.ap-formbox input:focus,
.ap-formbox select:focus,
.ap-formbox textarea:focus,
.ap-formbox .ff-el-form-control:focus {
  border-color: var(--ap-red) !important;
  outline: none;
}
.ap-formbox .ff-el-form-check { display: inline-flex; align-items: center; gap: .5rem; margin-right: 1.25rem; }
.ap-formbox .ff-el-form-check label { margin: 0; text-transform: none; letter-spacing: 0; font-size: .92rem !important; font-weight: 600; color: var(--ap-text) !important; }
.ap-formbox input[type="radio"], .ap-formbox input[type="checkbox"] { accent-color: var(--ap-red); width: 17px; height: 17px; }
.ap-formbox .ff-btn-submit,
.ap-formbox button[type="submit"] {
  width: 100%;
  padding: 1rem 1.75rem !important;
  background: var(--ap-red) !important;
  border: none !important;
  border-radius: var(--ap-radius) !important;
  color: #ffffff !important;
  font-family: var(--ap-font) !important;
  font-size: .87rem !important;
  font-weight: 800 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s var(--ap-ease);
}
.ap-formbox .ff-btn-submit:hover,
.ap-formbox button[type="submit"]:hover { background: var(--ap-red-hi) !important; }
.ap-formbox .ff-el-is-error .ff-el-form-control { border-color: var(--ap-red-hi) !important; }
.ap-formbox .error-text, .ap-formbox .text-danger { color: var(--ap-red-hi) !important; font-size: .84rem; }
.ap-formbox .ff-message-success {
  padding: 1.1rem 1.25rem;
  background: rgba(224, 27, 27, .1);
  border: 1px solid var(--ap-red);
  border-radius: var(--ap-radius);
  color: #ffffff;
}
.ap-form-consent { margin-top: 1rem; font-size: .8rem; color: var(--ap-dim); }
.ap-form-consent a { color: var(--ap-muted); }

/* 17. Podnozje ------------------------------------------------------------- */
.ap-footer { background: #060606; border-top: 1px solid var(--ap-line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.ap-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 860px) { .ap-footer__grid { grid-template-columns: 1fr 1fr; } .ap-footer__col--brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ap-footer__grid { grid-template-columns: 1fr; } }
.ap-footer h4 {
  margin-bottom: 1.25rem;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ap-red);
}
.ap-footer p { color: var(--ap-muted); font-size: .94rem; }
.ap-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ap-footer li a { color: var(--ap-muted); text-decoration: none; font-size: .94rem; }
.ap-footer li a:hover { color: var(--ap-red-hi); }
.ap-footer__brandmark { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.25rem; text-decoration: none; color: #ffffff; }
.ap-footer__brandmark img { height: 44px; width: auto; }
.ap-footer .ap-socials { margin-top: 1.5rem; gap: 1rem; }
.ap-footer .ap-socials svg { width: 20px; height: 20px; }
.ap-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--ap-line);
  font-size: .82rem;
  color: var(--ap-dim);
}
.ap-footer__bottom a { color: var(--ap-dim); text-decoration: none; }
.ap-footer__bottom a:hover { color: var(--ap-red-hi); }
.ap-footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* 18. Clanci i unutrasnje stranice ----------------------------------------- */
.ap-pagehead {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: #0d0d0d;
  border-bottom: 1px solid var(--ap-line);
}
.ap-pagehead::after {
  content: "";
  position: absolute;
  right: -8%; top: -40%;
  width: min(620px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 27, 27, .14) 0%, rgba(224, 27, 27, 0) 64%);
  pointer-events: none;
}
.ap-pagehead .ap-container { position: relative; z-index: 1; }
.ap-pagehead h1 { margin-bottom: .75rem; }
.ap-pagehead .ap-lead { margin-bottom: 0; }

.ap-breadcrumbs { margin-bottom: 1.25rem; font-size: .78rem; color: var(--ap-dim); }
.ap-breadcrumbs a { color: var(--ap-muted); text-decoration: none; }
.ap-breadcrumbs a:hover { color: var(--ap-red-hi); }

.ap-article { max-width: 780px; margin-inline: auto; }
.ap-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.1rem;
  margin-bottom: 1.75rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ap-dim);
}
.ap-article__thumb { margin-bottom: 2.5rem; }
.ap-article__thumb img { width: 100%; border-radius: var(--ap-radius-lg); border: 1px solid var(--ap-line); }

.entry-content { font-size: 1.05rem; line-height: 1.85; color: #dcdcdc; }
.entry-content > * + * { margin-top: 1.35em; }
.entry-content h2 { margin-top: 2.4em; font-size: clamp(1.5rem, 3vw, 2rem); }
.entry-content h3 { margin-top: 2em; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .55em; }
.entry-content li::marker { color: var(--ap-red); }
.entry-content a { color: var(--ap-red-hi); }
.entry-content img { border-radius: var(--ap-radius); border: 1px solid var(--ap-line); }
.entry-content blockquote {
  margin-inline: 0;
  padding: 1.25rem 1.6rem;
  background: var(--ap-bg-3);
  border-left: 3px solid var(--ap-red);
  border-radius: 0 var(--ap-radius) var(--ap-radius) 0;
  color: #ffffff;
  font-size: 1.08rem;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content code {
  padding: .15em .45em;
  background: var(--ap-bg-3);
  border: 1px solid var(--ap-line);
  border-radius: 4px;
  font-size: .92em;
}
.entry-content pre { padding: 1.25rem; background: var(--ap-bg-3); border: 1px solid var(--ap-line); border-radius: var(--ap-radius); overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: .7rem .9rem; border: 1px solid var(--ap-line); text-align: left; }
.entry-content th { background: var(--ap-bg-3); color: #ffffff; }
.entry-content hr { border: none; border-top: 1px solid var(--ap-line); margin-block: 2.5em; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: .6rem; font-size: .85rem; color: var(--ap-dim); text-align: center; }
.entry-content .ap-video {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ap-line);
}
.entry-content .ap-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-content .wp-video, .entry-content .wp-block-embed { max-width: 100%; }

.ap-share { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ap-line); }
.ap-share b { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ap-dim); }
.ap-share a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ap-line);
  border-radius: 50%;
  color: var(--ap-muted);
}
.ap-share a:hover { border-color: var(--ap-red); background: var(--ap-red); color: #ffffff; }
.ap-share svg { width: 16px; height: 16px; }

.ap-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.ap-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: .85rem;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  color: var(--ap-muted);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.ap-pagination .page-numbers:hover { border-color: var(--ap-red); color: #ffffff; }
.ap-pagination .page-numbers.current { background: var(--ap-red); border-color: var(--ap-red); color: #ffffff; }

.ap-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ap-filters a {
  padding: .55rem 1.15rem;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  color: var(--ap-muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.ap-filters a:hover { border-color: var(--ap-line-hi); color: #ffffff; }
.ap-filters a.is-active { background: var(--ap-red); border-color: var(--ap-red); color: #ffffff; }

.ap-notice { padding: 1.25rem 1.5rem; background: var(--ap-bg-3); border: 1px solid var(--ap-line); border-radius: var(--ap-radius); color: var(--ap-muted); }

/* 19. Pomocno -------------------------------------------------------------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}
.ap-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ap-ease), transform .7s var(--ap-ease); }
.ap-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ap-reveal { opacity: 1; transform: none; } }

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--ap-dim); text-align: center; }
.sticky .ap-post { border-color: var(--ap-red); }

@media print {
  .ap-header, .ap-topbar, .ap-footer, .ap-cta, .ap-share, .ap-lightbox { display: none !important; }
  body { background: #ffffff; color: #000000; }
  .entry-content { color: #000000; }
}
