/* NOVATEC_PAGE_BUILD: 20261025-02 / index.html */

/* ===== RESET & BASE ===== */








/* ===== UTILITIES ===== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }
.section-label { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.section-line  { width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-tag   { font-size: .744rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.section-tag.large { font-size: .81rem; letter-spacing: .22em; }
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.1;
  color: var(--navy); margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-lead  { font-size: 1.104rem; color: var(--slate); line-height: 1.9; max-width: 520px; font-weight: 300; }
.section-lead.light { color: var(--mist); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== NAV ===== */







/* Both CTA buttons share identical sizing */

















/* ===== HERO ===== */
.hero {
  background: #c8c8c8;
  padding: 0;
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--novatec-nav-height));
  display: flex; align-items: center;
}
/* Animated circles, full-width, centred on hero */
.hero-circle {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(42,42,42,.18);
  pointer-events: none; z-index: 0;
  top: 50%; left: 50%;
}
.hero-circle-1 {
  width: 110vw; height: 110vw;
  margin-left: -55vw; margin-top: -55vw;
  animation: circle-breathe 9s ease-in-out infinite;
}
.hero-circle-2 {
  width: 75vw; height: 75vw;
  margin-left: -37.5vw; margin-top: -37.5vw;
  animation: circle-breathe 9s ease-in-out infinite 2s;
  border-color: rgba(42,42,42,.13);
}
.hero-circle-3 {
  width: 42vw; height: 42vw;
  margin-left: -21vw; margin-top: -21vw;
  animation: circle-breathe 9s ease-in-out infinite 4s;
  border-color: rgba(42,42,42,.09);
}
@keyframes circle-breathe{
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.04); opacity: .55; }
}

/* ===== SCROLL-DOWN ARROW ===== */
.hero-scroll-hint {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  z-index: 3; cursor: pointer; text-decoration: none;
  animation: scroll-hint-fade 2s ease-in forwards;
  animation-delay: 1.2s;
  opacity: 0;
}
@keyframes scroll-hint-fade{
  to { opacity: 1; }
}
.hero-scroll-hint-label {
  font-size: .775rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(42,42,42,.45);
}
.hero-scroll-chevron {
  width: 30px; height: 30px;
  border-right: 2px solid rgba(42,42,42,.35);
  border-bottom: 2px solid rgba(42,42,42,.35);
  transform: rotate(45deg);
  animation: chevron-bounce 1.6s ease-in-out infinite;
  animation-delay: 1.2s;
}
.hero-scroll-chevron-2 {
  width: 30px; height: 30px;
  border-right: 2px solid rgba(42,42,42,.18);
  border-bottom: 2px solid rgba(42,42,42,.18);
  transform: rotate(45deg) translateY(-8px);
  animation: chevron-bounce 1.6s ease-in-out infinite;
  animation-delay: 1.5s;
  margin-top: -22px;
}
@keyframes chevron-bounce{
  0%, 100% { transform: rotate(45deg) translateY(0);   opacity: 1; }
  50%       { transform: rotate(45deg) translateY(5px);  opacity: .5; }
}
.hero .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1rem, 3vh, 2.55rem) 5vw clamp(3.4rem, 6vh, 4.25rem);
  position: relative; z-index: 2;
  display: flex; align-items: center;
}
.hero-swoosh {
  display: block;
  white-space: nowrap;
  position: relative;
  padding: 0 .15em .1em;
  width: fit-content;
}
/* The swoosh image lives on ::before so clip-path wipes it without touching the text */
.hero-swoosh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://novatec.hr/wp-content/uploads/2020/12/BG-For-Text-1.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  clip-path: inset(0 100% 0 0);
  animation: swoosh-reveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  z-index: -1;
}
@keyframes swoosh-reveal{
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0%   0 0); }
}
.hero h1 em { color: var(--gold); font-style: normal; display: block; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 5.1rem); align-items: start; width: 100%; }
.hero-eyebrow { display: flex; align-items: center; gap: clamp(.5rem, 1vw, 0.96rem); margin-bottom: clamp(1rem, 2vw, 2.3rem); }
.hero-eyebrow-line { width: clamp(18px, 2.5vw, 36px); height: 1px; background: var(--gold); }
.hero-eyebrow-text { font-size: clamp(.6rem, 1vw, 1.03rem); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4.5vw, 4.59rem);
  font-weight: 900; line-height: 1.1; color: var(--navy);
  margin-bottom: clamp(1rem, 1.8vw, 1.79rem);
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead {
  font-size: clamp(.85rem, 1.5vw, 1.56rem); color: rgba(42,42,42,.7); line-height: 1.9;
  max-width: 100%; margin-bottom: clamp(1.5rem, 2.5vw, 2.81rem); font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: clamp(.6rem, 1vw, 1.08rem); margin-bottom: clamp(2rem, 3.5vw, 3.83rem); }
.btn-gold {
  background: var(--gold); color: var(--white); border: none;
  padding: clamp(.6rem, 1vw, 1.02rem) clamp(1rem, 2vw, 2.3rem);
  font-size: clamp(.75rem, 1.1vw, 1.19rem); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 2px; transition: background .2s, transform .2s;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); color: var(--white); }
.btn-outline-white {
  background: transparent; color: rgba(42,42,42,.75);
  border: 1px solid rgba(42,42,42,.3);
  padding: clamp(.6rem, 1vw, 1.02rem) clamp(1rem, 2vw, 2.3rem);
  font-size: clamp(.75rem, 1.1vw, 1.19rem); font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 2px; transition: border-color .2s, color .2s;
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex; gap: clamp(1.2rem, 2.5vw, 3.19rem); flex-wrap: wrap;
  padding-top: clamp(1rem, 2vw, 2.3rem); border-top: 1px solid rgba(42,42,42,.15);
}
.stat-num   { font-family: "Playfair Display", serif; font-size: clamp(1.2rem, 2.5vw, 2.55rem); font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: clamp(.55rem, .8vw, 0.92rem); letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin-top: 3px; font-weight: 300; }

/* ===== UPGRADE WIDGET ===== */
.hero-widget { position: relative; }
.upgrade-card {
  background: var(--cream3);
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.1);
  display: flex; flex-direction: column;
  height: clamp(420px, 72vh, 660px);
}
.upgrade-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(.8rem, 1.2vw, 1.4rem) clamp(1rem, 1.8vw, 1.91rem);
  border-bottom: 1px solid var(--border);
  background: var(--gold);
}
.upgrade-header-left { display: flex; align-items: center; gap: clamp(.4rem, .6vw, .77rem); }
.pulse-dot { width: clamp(7px, .8vw, 10px); height: clamp(7px, .8vw, 10px); background: #ffffff; border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.3} }
.upgrade-header-text { font-size: clamp(.55rem, .85vw, 0.95rem); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.95); }
.upgrade-counter { font-size: clamp(.5rem, .75vw, 0.92rem); color: rgba(255,255,255,.6); letter-spacing: .1em; }
.upgrade-body {
  --upgrade-photo: none;
  --upgrade-photo-position: center;
  --upgrade-photo-wash: linear-gradient(90deg,
    rgba(242, 239, 236, .985) 0%,
    rgba(242, 239, 236, .975) 22%,
    rgba(242, 239, 236, .94) 38%,
    rgba(242, 239, 236, .82) 56%,
    rgba(242, 239, 236, .60) 72%,
    rgba(242, 239, 236, .34) 86%,
    rgba(242, 239, 236, .18) 100%);
  position: relative;
  isolation: isolate;
  padding: 0;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--cream3);
}
/* V2.1.50: two overlapping image layers provide a natural ease-in fade
   instead of an abrupt background-image replacement. */
.upgrade-photo-layer {
  --upgrade-photo-position: center;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--upgrade-photo-wash), var(--upgrade-photo);
  background-size: cover, cover;
  background-position: center, var(--upgrade-photo-position, center);
  background-repeat: no-repeat, no-repeat;
  filter: blur(2.2px) saturate(.97);
  transform: scale(1.045);
  transform-origin: center;
  opacity: 0;
  transition: opacity 720ms ease-in-out;
  will-change: opacity;
}
.upgrade-photo-layer.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .upgrade-photo-layer { transition: none; }
}
.upgrade-offer {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: clamp(1rem, 1.8vw, 1.91rem);
  background: transparent;
  transition: opacity .35s ease, transform .35s ease;
}
.upgrade-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(242,239,236,.78) 0%,
    rgba(242,239,236,.64) 28%,
    rgba(242,239,236,.24) 56%,
    rgba(242,239,236,0) 100%);
}
.upgrade-offer.hidden { opacity: 0; transform: translateY(8px); pointer-events: none; }
.upgrade-icon-row { display: flex; align-items: center; gap: clamp(.5rem, .9vw, 0.96rem); margin-bottom: clamp(.5rem, .8vw, 0.89rem); flex-shrink: 0; }
.upgrade-category { font-size: clamp(.5rem, .8vw, 0.92rem); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; max-width: min(78%, 29rem); }
.upgrade-headline { font-family: "Playfair Display", serif; font-size: clamp(1rem, 1.8vw, 1.91rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: clamp(.95rem, 1.25vw, 1.2rem); flex-shrink: 0; max-width: min(80%, 30rem); }
.upgrade-desc {
  font-size: clamp(.75rem, 1.2vw, 1.36rem);
  color: var(--slate);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: clamp(.5rem, .9vw, 1.02rem);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  flex-shrink: 1;
  min-height: 0;
  max-width: min(80%, 30rem);
  text-shadow: 0 1px 8px rgba(242,239,236,.32);
}
.upgrade-cta {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: clamp(.4rem, .65vw, .7rem) clamp(.8rem, 1.5vw, 1.79rem);
  font-size: clamp(.6rem, 1vw, 1.07rem); font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  border-radius: 2px; transition: background .2s; border: none; cursor: pointer;
  flex-shrink: 0; margin-top: auto; align-self: flex-start;
}
.upgrade-cta:hover { background: var(--gold); color: var(--white); }
.upgrade-dots { display: flex; gap: clamp(5px, .6vw, 8px); justify-content: center; padding: clamp(.7rem, 1.1vw, 1.28rem) clamp(1rem, 1.8vw, 1.91rem) clamp(1rem, 1.6vw, 1.79rem); background: transparent; }
.upgrade-dot { width: clamp(5px, .6vw, 8px); height: clamp(5px, .6vw, 8px); border-radius: 50%; background: rgba(42,42,42,.2); border: none; cursor: pointer; transition: background .2s; padding: 0; }
.upgrade-dot.active { background: var(--gold); }
.upgrade-change-label { font-size: clamp(.45rem, .65vw, .74rem); text-align: center; color: rgba(42,42,42,.3); letter-spacing: .15em; padding-bottom: .8rem; }

/* ===== WIDGET ARROWS ===== */
.upgrade-quiz-wrap {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1rem, 1.8vw, 1.91rem) clamp(.5rem, .8vw, .77rem);
  background: transparent;
}
.upgrade-nav {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.6rem, 1vw, 1.02rem); padding: clamp(.5rem, .8vw, .77rem) clamp(1rem, 1.8vw, 1.91rem) clamp(.8rem, 1.4vw, 1.53rem);
  background: transparent;
  border-top: 1px solid rgba(42,42,42,.08);
}
.upgrade-arrow {
  width: clamp(22px, 2.8vw, 36px); height: clamp(22px, 2.8vw, 36px); border-radius: 50%;
  background: rgba(42,42,42,.07); border: 1px solid rgba(42,42,42,.18);
  color: rgba(42,42,42,.55); font-size: clamp(.65rem, 1vw, 1.08rem);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0; line-height: 1;
}
.upgrade-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ===== CLIENTS ===== */
.clients-section { background: var(--cream2); padding: 4.8rem 2.5rem; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1080px);
  gap: 1.15rem;
  background: transparent;
  margin: 2.35rem auto 0;
}
@media (max-width: 900px){.clients-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }}
@media (max-width: 600px){.clients-grid { grid-template-columns: 1fr; gap: .9rem; }}
.client-card {
  background: rgba(240,237,234,.78);
  border: 1px solid rgba(42,42,42,.10);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background .25s, transform .24s var(--novatec-ease), box-shadow .24s var(--novatec-ease);
}
.client-card:hover { background: var(--cream3); }
.client-icon {
  width: 40px; height: 40px;
  background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.28rem; margin-bottom: .95rem; border-radius: 4px;
}
/* V2.1.26: potpuno uklonjen nevidljivi slot ikone (40px + .95rem).
   Polovica tog prostora dodana je iznad i ispod vidljivog teksta.
   Kartica time zadržava dosadašnju visinu, a cijeli tekstualni blok
   (kategorija, naslov, opis i oznake) stvarno je vertikalno centriran. */
body.page-index .clients-section .client-card--photo {
  justify-content: center;
  padding-block: calc(1.5rem + 20px + .475rem) !important;
}
@media (max-width: 600px) {
  body.page-index .clients-section .client-card--photo {
    padding-block: calc(1.4rem + 20px + .475rem) !important;
  }
}

.client-type  { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .38rem; font-weight: 500; }
.client-title { font-family: "Playfair Display", serif; font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.client-desc  { font-size: .98rem; color: var(--slate); line-height: 1.7; font-weight: 300; position: relative; z-index: 0; isolation: isolate; }
/* V2.1.27: ujednačen glow iza cijelog opisa, kao na Proizvodnji V2.1.25,
   zatim 25% intenzivniji na svim karticama (alpha ograničena na 1). */
.client-desc::before {
  content: "";
  position: absolute;
  inset: -.7rem -1rem;
  z-index: -1;
  pointer-events: none;
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at 32% 50%,
    rgba(242,239,236,1) 0%,
    rgba(242,239,236,1) 36%,
    rgba(242,239,236,.90) 60%,
    rgba(242,239,236,.55) 80%,
    rgba(242,239,236,0) 100%);
  filter: blur(24px);
  opacity: 1;
}
.client-tags  { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.tag {
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .18rem .5rem; border: 1px solid var(--border); color: var(--slate); border-radius: 999px;
}

/* V2.1.23: sadržaj kartice je vertikalno centriran, a opis dobiva
   blagi svijetli glow radi bolje čitljivosti na tamnijim dijelovima pozadine. */

/* V2.1.24: glow više nije text-shadow po slovima, nego jedan
   zajednički difuzni glow iza cijelog body bloka opisa, pojačan približno 2x. */

/* ===== V2.1.21: postupan prijelaz kao na odobrenom previewu =====
   Isti HTML, fotografije, tekst, fontovi i dimenzije kartica.
   Naglašenija svijetla podloga s lijeve strane čuva čitljivost, a desno
   ostavlja vidljive detalje fotografije. Bez blur-a i novih animacija. */
.clients-section .client-card--photo,
.clients-section .client-card--photo:hover {
  --client-photo-wash: linear-gradient(90deg,
    rgba(242, 239, 236, .98) 0%,
    rgba(242, 239, 236, .97) 24%,
    rgba(242, 239, 236, .92) 42%,
    rgba(242, 239, 236, .79) 60%,
    rgba(242, 239, 236, .47) 77%,
    rgba(242, 239, 236, .19) 91%,
    rgba(242, 239, 236, .08) 100%);
  background-color: #f0edea;
  background-image: var(--client-photo-wash), var(--client-photo);
  background-size: cover, cover;
  background-position: center, var(--client-photo-position, center);
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: border-box;
}
/* Izvorni 1px obrub ostaje u geometriji, ali nije vidljiv uz fotografiju. */
body.page-index .clients-section .client-card--photo {
  border-color: transparent !important;
}
.clients-section .client-card--knjigovodstvo {
  --client-photo: url('/assets/images/klijenti/knjigovodstvo-20261028.webp?v=2143');
  --client-photo-position: 65% center;
}
.clients-section .client-card--startupovi {
  --client-photo: url('/assets/images/klijenti/startupovi-20261028.webp?v=2143');
  --client-photo-position: 70% center;
}
.clients-section .client-card--turizam {
  --client-photo: url('/assets/images/klijenti/turizam-20261028.webp?v=2143');
  --client-photo-position: 70% center;
}
.clients-section .client-card--proizvodnja {
  --client-photo: url('/assets/images/klijenti/proizvodnja-20261028.webp?v=2143');
  --client-photo-position: 72% center;
}
.clients-section .client-card--javna-uprava {
  --client-photo: url('/assets/images/klijenti/javna-uprava-20261028.webp?v=2143');
  --client-photo-position: 70% center;
}
.clients-section .client-card--obrazovanje {
  --client-photo: url('/assets/images/klijenti/obrazovanje-20261028.webp?v=2143');
  --client-photo-position: 72% center;
}

/* ===== SERVICES ===== */
.services-section { background: var(--cream); padding: 4.8rem 2.5rem; }
.services-inner {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  grid-template-areas: "heading list" "intro list";
  column-gap: 4rem;
  row-gap: 1.8rem;
  align-items: start;
  margin-top: 1.15rem;
}
.services-heading { grid-area: heading; }
.services-heading .section-title { max-width: 380px; }
.services-heading .section-lead { max-width: 520px; margin-bottom: 0!important; }
.services-intro { grid-area: intro; }
.srv-list { grid-area: list; align-self: start; }
.srv-item { display: flex; gap: 1.15rem; padding: 1.08rem 0; border-bottom: 1px solid var(--border); transition: border-color .2s; border-left: 2px solid transparent; padding-left: .5rem; }
.srv-item:hover { border-left-color: var(--gold); }
/* V2.1.56: diskretna crvena oznaka umjesto numeracije usluga. */
.srv-accent {
  width: 2.1rem;
  flex: 0 0 2.1rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}
.srv-accent::before {
  content: "";
  display: block;
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(192,57,43,.35));
  box-shadow: 0 0 0 4px rgba(192,57,43,.055);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.srv-item:hover .srv-accent::before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(192,57,43,.10);
  transform: scaleY(1.12);
}
.srv-title { font-weight: 600; font-size: 1.08rem; color: var(--navy); margin-bottom: .3rem; }
.srv-desc  { font-size: .96rem; color: var(--slate); line-height: 1.65; font-weight: 300; }

/* ===== PROCESS ===== */
/* Sekcija ostaje u HTML-u, ali je privremeno iskljucena na svim sirinama i iz pomocnih prikaza. */
.process-section[hidden] { display: none !important; }
.process-section { background: var(--cream4); padding: 6rem 2.5rem 11rem 2.5rem; }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 3.5rem; position: relative; }
.process-steps::before {
  content: ""; position: absolute; top: 20px; left: 1.5rem; right: 1.5rem; height: 1px;
  background: var(--border);
}
.proc-step { padding: 3rem 1.5rem 1.5rem; position: relative; }
.proc-circle {
  position: absolute; top: 12px; left: 1.5rem;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: var(--gold); z-index: 2;
}
.proc-title { font-weight: 600; font-size: 1.008rem; color: var(--navy); margin-bottom: .4rem; }
.proc-desc  { font-size: .996rem; color: var(--slate); line-height: 1.75; font-weight: 300; }

/* ===== QUOTE ===== */
.quote-section {
  background: var(--navy2);
  padding: 5.5rem 2.5rem; text-align: center;
  border-top: 1px solid rgba(192,57,43,.15);
  border-bottom: 1px solid rgba(192,57,43,.15);
}
.quote-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--white); max-width: 680px; margin: 0 auto 1.2rem;
  line-height: 1.6; font-weight: 400; font-style: italic;
}
.quote-text em { color: var(--gold); font-style: normal; }
.quote-author  { font-size: .744rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }

/* ===== CTA / CONTACT ===== */
.cta-section {
  background: var(--navy2);
  padding: 5rem 2.5rem;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: calc(var(--novatec-nav-height) - 6px);
}
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; max-width: 1320px; margin: 0 auto; }
.cta-features { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2rem; }
.cta-feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--gold); margin-top: 1px;
}
.feat-title { font-weight: 600; font-size: .984rem; color: var(--white); margin-bottom: .2rem; }
.feat-desc  { font-size: .996rem; color: var(--mist); line-height: 1.7; font-weight: 300; }
.contact-form {
  background: var(--cream3); border: 1px solid var(--border);
  border-radius: 4px; padding: 2.5rem;
}
.form-title { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.form-sub   { font-size: .936rem; color: var(--slate); margin-bottom: 1.6rem; font-weight: 300; line-height: 1.7; }
.form-group { margin-bottom: .9rem; }
.form-label { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); margin-bottom: .35rem; font-weight: 500; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .65rem .9rem;
  border: 1px solid var(--border); border-radius: 2px;
  font-family: "DM Sans", sans-serif; font-size: .984rem;
  color: var(--navy); background: var(--white);
  outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; background: var(--navy); color: var(--white); border: none;
  padding: .9rem; font-family: "DM Sans", sans-serif;
  font-size: .96rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  border-radius: 2px; margin-top: .4rem; transition: background .2s;
}
.form-submit:hover { background: var(--gold); color: var(--white); }
.form-note { font-size: .744rem; color: var(--mist); text-align: center; margin-top: .6rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(192,57,43,.15);
  padding: 2rem 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: "Rajdhani", "DM Sans", sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: 2px; text-transform: uppercase; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: .744rem; color: var(--mist); letter-spacing: .09em; margin-top: 2px; }
.footer-links { display: flex; gap: 1.6rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: .744rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.18); letter-spacing: .05em; }

/* ===== RUSTDESK REMOTE SUPPORT BUTTON ===== */




.upgrade-promo-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold); border: 1px solid var(--gold);
  color: #ffffff; font-size: .696rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 2px; margin-bottom: .5rem; flex-shrink: 0;
}
.upgrade-promo-badge::before { content: "★"; font-size: .72rem; }

/* ===== TESTIMONIALS ROTATOR ===== */
.testimonials-section {
  background: var(--navy2); padding: 6rem 2.5rem;
  border-top: 1px solid rgba(192,57,43,.12);
  border-bottom: 1px solid rgba(192,57,43,.12);
}
.testimonial-wrap { max-width: 780px; margin: 3rem auto 0; text-align: center; position: relative; min-height: 200px; }
.testimonial-slide { transition: opacity .5s, transform .5s; position: absolute; inset: 0; }
.testimonial-slide.hidden { opacity: 0; transform: translateY(8px); pointer-events: none; }
.testimonial-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: var(--white); line-height: 1.65; font-weight: 400; font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-quote em { color: var(--gold); font-style: normal; }
.testimonial-author { font-size: .744rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }
.testimonial-dots { display: flex; gap: 6px; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.t-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; cursor: pointer; transition: background .2s; padding: 0; }
.t-dot.active { background: var(--gold); }


/* ===== PARTNERS ===== */
.partners-strip {
  margin-top: 1rem;
  padding-top: 1rem;
}
.partners-label {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--slate); font-weight: 500; margin-bottom: 1.4rem;
}
.partners-row {
  display: flex; align-items: center;
  gap: 2.2rem;
  margin-bottom: 1.4rem;
}
.partners-row:last-child { margin-bottom: 0; }
.partner-logo {
  height: 36px; width: auto;
  filter: grayscale(1) brightness(1.1) opacity(.4);
  transition: filter .3s ease;
  display: block; flex-shrink: 0;
}
.partner-logo:hover { filter: none; }
.partner-logo.tall  { height: 28px; }
.partner-logo.large { height: 46px; }
.partner-logo.large.tall { height: 38px; }
.partner-logo.xlarge { height: 58px; }
.partner-logo.xlarge.tall { height: 48px; }

/* Mid-desktop, keep everything in one row */


/* Tablet (max 900px) */
@media (max-width: 900px){.hero-circle { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero .container { padding: 2.5rem 5vw 7rem; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
  .hero-lead { font-size: clamp(.9rem, 2.5vw, 1.3rem); }
  .btn-gold, .btn-outline-white { font-size: clamp(.8rem, 2vw, 1rem); padding: .75rem 1.5rem; }
  .stat-num { font-size: clamp(1.4rem, 4vw, 2rem); }
  .stat-label { font-size: clamp(.6rem, 1.5vw, .8rem); }
  /* Widget: shrink to fit content, no fixed height */
  .upgrade-body { height: auto; min-height: 0; padding: 0; }
  .upgrade-card { height: clamp(320px, 58vh, 500px); }
  /* Scroll hint stays absolute at bottom of hero, push it down enough */
  .hero-scroll-hint { bottom: 2.5rem; }

  .services-inner { grid-template-columns: 1fr; grid-template-areas: "heading" "list"; gap: 1.8rem; }
  .services-intro { display: none; }
  .services-heading { display: block; }
  .services-mobile-header { display: none; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }

  .cta-inner { grid-template-columns: 1fr; gap: 2rem; display: flex; flex-direction: column; align-items: stretch; }
  .cta-features { display: flex; margin-top: 0; }
  .cta-content { order: 1; }
  .contact-form { order: 2; }

  footer { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-links { gap: 1.2rem; }}

/* Mobile (max 600px) */
@media (max-width: 600px){.container { padding: 0 1rem; }
  .hero { min-height: fit-content; padding-bottom: 6rem; }
  .hero-scroll-hint { bottom: 2.25rem; }
  .hero .container { padding: 2rem 1rem 0; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); white-space: normal; }
  .hero-swoosh { white-space: normal; }
  .hero-lead { font-size: clamp(.85rem, 3.5vw, 1.1rem); }
  .hero-eyebrow-text { font-size: clamp(.55rem, 2.5vw, .75rem); }
  .hero-stats { gap: 1.2rem; }
  .stat-num { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .stat-label { font-size: clamp(.5rem, 2vw, .65rem); }
  .hero-actions { flex-direction: column; }
  .btn-gold, .btn-outline-white { width: 100%; text-align: center; font-size: .9rem; padding: .8rem 1rem; }
  .upgrade-card-header { padding: .8rem 1rem; }
  .upgrade-header-text { font-size: .65rem; }
  .upgrade-body { padding: 0; height: auto; min-height: 0; }
  .upgrade-card { height: clamp(280px, 52vh, 440px); }
  .upgrade-icon-row { margin-bottom: .4rem; }
  .upgrade-headline { font-size: 1.2rem; margin-bottom: .3rem; }
  .upgrade-desc { font-size: .9rem; -webkit-line-clamp: 5; margin-bottom: .5rem; }
  .upgrade-cta { font-size: .75rem; padding: .5rem 1rem; }
  .upgrade-nav { padding: .5rem 1rem .8rem; }
  .upgrade-arrow { width: 28px; height: 28px; font-size: .8rem; }

  .clients-section, .services-section, .process-section,
  .quote-section { padding: 3.5rem 1rem; }
  .cta-section { padding: 3.5rem 1rem; min-height: 100svh; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form { padding: 1.8rem 1rem; }

  footer { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 2rem 1rem; }}



#quiz-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(20,20,20,.55);
  align-items: center; justify-content: center;
  padding: 1rem;
}
#quiz-overlay.open { display: flex; }
#quiz-modal {
  background: var(--cream3, #f0edea);
  border-radius: 8px;
  max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
#quiz-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(42,42,42,.07); border: 1px solid rgba(42,42,42,.15);
  color: rgba(42,42,42,.6); font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
#quiz-close:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.quiz-progress-track { height: 4px; background: rgba(42,42,42,.1); border-radius: 4px; overflow: hidden; margin-bottom: 1.5rem; }
.quiz-progress-bar { height: 100%; background: var(--gold); transition: width .3s ease; }
.quiz-q-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; font-weight: 600; }
.quiz-q-text { font-family: "DM Sans", sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 1.3rem; line-height: 1.3; }
.quiz-option {
  display: block; width: 100%; text-align: left;
  background: #fff; border: 1px solid rgba(42,42,42,.15); border-radius: 4px;
  padding: .85rem 1rem; margin-bottom: .6rem;
  font-size: .95rem; color: var(--navy); cursor: pointer;
  transition: border-color .2s, background .2s;
  font-family: "DM Sans", sans-serif;
}
.quiz-option:hover { border-color: var(--gold); background: rgba(192,57,43,.04); }
.quiz-result-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.8rem; }
.quiz-issue-row { display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 4px; padding: .7rem .9rem; margin-bottom: .5rem; font-size: .88rem; color: var(--navy); }
.quiz-issue-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
#quiz-form input, #quiz-form textarea {
  width: 100%; padding: .7rem .9rem; margin-bottom: .7rem;
  border: 1px solid rgba(42,42,42,.18); border-radius: 4px;
  font-family: "DM Sans", sans-serif; font-size: .92rem; color: var(--navy);
  background: #fff;
}
#quiz-form button[type=submit] {
  width: 100%; background: var(--gold); color: #fff; border: none;
  padding: .85rem; border-radius: 4px; font-size: .92rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: background .2s;
}
#quiz-form button[type=submit]:hover { background: var(--gold2, #a32d2d); }
#quiz-restart {
  width: 100%; background: transparent; border: 1px solid rgba(42,42,42,.2);
  color: rgba(42,42,42,.6); padding: .65rem; border-radius: 4px; font-size: .85rem;
  cursor: pointer; margin-top: .6rem; font-family: "DM Sans", sans-serif;
}

/* Gumb za online test u istom pill obliku kao ostale primarne akcije. */
.upgrade-quiz-btn {
  display: block;
  width: 100%;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  padding: .6rem 1rem;
  font: 700 clamp(.65rem, 1vw, .85rem) "DM Sans", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.upgrade-quiz-btn:hover { background: var(--gold); color: #fff; }
.upgrade-quiz-btn:active { transform: scale(.985); }
.upgrade-quiz-btn:focus-visible { outline: 3px solid rgba(192, 57, 43, .4); outline-offset: 3px; }

/* Offset za sticky navigaciju kod internog pomicanja na odjeljke. */
body.page-index #usluge,
body.page-index #klijenti,
body.page-index #kontakt { scroll-margin-top: calc(var(--novatec-nav-height) - 6px); }
/* Kontakt dodatnih 15% visine navigacije nize (64px * .15 ~= 10px). */
body.page-index #kontakt { scroll-margin-top: calc(var(--novatec-nav-height) - 16px); }

/* Sidra moraju imati stabilne koordinate tijekom glatkog pomicanja.
   Sadrzaj naslovnice je kratak: iskljuci procijenjene visine content-visibility
   koje bi inace uzrokovale promjenu visine dok se korisnik pomice na Kontakt. */
body.page-index :is(.clients-section, .services-section, .process-section) {
  content-visibility: visible;
  contain-intrinsic-size: none;
}


/* NOVATEC V2.1.8: mobile hero, fixed four-line advice box, compact heading spacing. */
/* 900px matches the existing hamburger breakpoint, including landscape phones. */
@media (max-width: 900px) {
  body.page-index .hero-scroll-hint { display: none !important; }
  body.page-index .hero .container { padding-bottom: 2rem; }
  body.page-index .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    align-items: start;
    gap: .35rem;
  }
  body.page-index .hero-stats > div { min-width: 0; text-align: center; }
  body.page-index .upgrade-card { height: auto; }
  body.page-index .upgrade-body {
    --upgrade-photo-wash: linear-gradient(90deg,
      rgba(242,239,236,.992) 0%,
      rgba(242,239,236,.982) 38%,
      rgba(242,239,236,.94) 60%,
      rgba(242,239,236,.72) 80%,
      rgba(242,239,236,.38) 100%);
  }
  body.page-index .upgrade-photo-layer { filter: blur(1.8px) saturate(.97); transform: scale(1.04); }
  body.page-index .upgrade-body { height: auto; min-height: 0; overflow: hidden; flex: 0 0 auto; }
  body.page-index .upgrade-offer { flex: 1 1 auto; min-height: 0; height: 16rem; }
  body.page-index .upgrade-category,
  body.page-index .upgrade-headline,
  body.page-index .upgrade-desc { max-width: 82%; }
  body.page-index .upgrade-headline { min-height: 0; line-height: 1.25; margin-bottom: 1rem; }
  body.page-index .upgrade-desc {
    font-size: clamp(.83rem, 1.8vw, .94rem);
    line-height: 1.55;
    height: 6.2em; /* exactly 4 lines of reserved space (4 x 1.55 line-height) */
    min-height: 6.2em;
    max-height: 6.2em;
    flex: 0 0 auto;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.page-index .upgrade-cta { margin-top: auto; }
}
@media (max-width: 600px) {
  body.page-index .hero { padding-bottom: 2.2rem; }
  body.page-index .stat-num { font-size: clamp(1.35rem, 5.3vw, 1.8rem); }
  body.page-index .stat-label {
    font-size: clamp(.55rem, 2vw, .7rem);
    letter-spacing: .055em;
    line-height: 1.4;
    overflow-wrap: normal;
  }
  body.page-index .upgrade-desc { font-size: clamp(.83rem, 2.6vw, .94rem); }
  body.page-index .upgrade-category,
  body.page-index .upgrade-headline,
  body.page-index .upgrade-desc { max-width: 88%; }
}

/* Compact but safe on narrow phones where longer headings and CTAs may wrap. */
@media (max-width: 360px) {
  body.page-index .upgrade-offer { height: 17.5rem; }
}

/* V2.1.13: the entire advice widget remains stationary when hovered. */
@media (hover: hover) and (pointer: fine) {
  body.page-index .upgrade-card:hover {
    transform: none;
    box-shadow: var(--novatec-shadow-1);
  }
}




/* V2.1.27: Google dopušta skrivanje reCAPTCHA oznake uz vidljivu napomenu u obrascu. */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-disclosure {
  font-family: "DM Sans", sans-serif;
  font-size: .675rem;
  line-height: 1.45;
  color: var(--slate);
  text-align: center;
  margin-top: .35rem;
}
.recaptcha-disclosure a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
