/* ---------- Custom fonts ---------- */
@font-face {
  font-family: "Ink Free";
  src: url("INKFREE.TTF") format("truetype");
  font-display: swap;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: "Alegreya Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: "Genos", "Alegreya Sans", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 0 0 0.5em;
  color: var(--black);
  text-transform: uppercase;
}

/* ---------- Theme tokens ---------- */
:root {
  --white: #ffffff;
  --gray-50: #f6f6f7;
  --gray-100: #ececee;
  --gray-200: #d9d9dd;
  --gray-300: #b8b8c0;
  --gray-600: #595964;
  --gray-800: #2a2a30;
  --black: #0a0a0a;
  --red: #e30613;
  --red-dark: #b3030f;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.12);
  --radius: 10px;
  --container: 1200px;
  --gold: #c9a56c;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }

/* ---------- Top bar (TOPER) ---------- */
.toper {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #1d1d1d;
}
.toper .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.toper-tagline {
  color: var(--gray-200);
  font-weight: 600;
  letter-spacing: 0.4px;
}
.toper-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.toper-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  transition: color 0.2s;
}
.toper-contacts a:hover { color: var(--red); }
.toper-contacts svg { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 58px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--black);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover { color: var(--red); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links .btn { padding: 12px 22px; font-size: 13px; }
.nav-links .btn-primary,
.nav-links .btn-primary:hover { color: var(--white); }
.nav-social-li { display: none; border-bottom: none !important; width: 100%; }
.nav-social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 14px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}
.nav-links .nav-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gray-50);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0;
  transition: background 0.2s, color 0.2s;
}
.nav-social a::after { display: none !important; }
.nav-social a:hover { background: var(--red); color: var(--white) !important; }
.nav-social a:hover svg { color: var(--white); }
.nav-social svg { width: 18px; height: 18px; color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: relative;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: #0a0a0a;
  padding: 140px 0 150px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.72) 70%, rgba(10,10,10,0.85) 100%),
    linear-gradient(105deg, rgba(10,10,10,0.70) 0%, rgba(10,10,10,0.35) 50%, rgba(227,6,19,0.35) 100%);
  pointer-events: none;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroSlide 18s infinite ease-in-out;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroSlide {
  0%, 5%  { opacity: 0; transform: scale(1.02); }
  10%, 28% { opacity: 1; transform: scale(1); }
  33%, 100% { opacity: 0; transform: scale(0.98); }
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: "Caveat", "Alegreya Sans", cursive;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-eyebrow img {
  height: clamp(22px, 3vw, 40px);
  width: auto;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 78px);
  max-width: 920px;
  margin-bottom: 24px;
  color: var(--gold);
}
.hero-underline {
  padding-bottom: 0.45em;
  background: url("images/podcrtaj.svg") left bottom / 100% 0.7em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--gray-200);
  text-transform: none;
  letter-spacing: 0;
  max-width: 780px;
  margin-bottom: 30px;
  font-family: "Alegreya Sans", sans-serif;
}
.hero-tagline {
  max-width: 720px;
  font-size: 18px;
  color: var(--gray-200);
  margin-bottom: 48px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
}
.section-head p { color: var(--gray-600); max-width: 720px; margin: 0 auto; }

/* ---------- Postopek ---------- */
.process {
  background: var(--gray-50);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-num {
  font-family: "Genos", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  margin-bottom: 12px;
}
.process-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.process-card p { color: var(--gray-600); margin: 0; text-align: justify; hyphens: auto; }

/* FAQ #6 – DMV kalkulator link */
.faq-dmv-link {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  letter-spacing: 0.3px;
  transition: color 150ms ease;
}
.faq-dmv-link:hover { color: var(--red-dark); }

/* ---------- Zakaj mi ---------- */
.why { background: var(--white); }
.why-header { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.why-header .section-eyebrow { color: var(--red); font-size: 14px; letter-spacing: 2.4px; }
.why-header h2 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--black);
  margin: 10px 0 0;
}
.why-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.why-layout .why-media { order: 1; }
.why-layout .why-list { order: 2; }
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  width: 100%;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 17px;
  color: var(--gray-800);
}
.why-list li:last-child { border-bottom: none; }
.why-list .check {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-list .check svg { width: 14px; height: 14px; }
.why-list strong { display: block; font-size: 17px; color: var(--black); margin-bottom: 2px; letter-spacing: 0.2px; }
.why-list span.desc { color: var(--gray-600); font-size: 15px; }
.why-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.why-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 21 / 6;
}
.why-caption {
  display: block;
  width: 100%;
  font-family: "Caveat", cursive;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0;
}
.why-ctas,
.process-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--gray-50); }
.faq-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.faq-list {
  margin: 0;
}
.faq-item {
  background: transparent;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "";
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-right: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
  margin-left: 4px;
  transition: transform 0.25s ease;
}
.faq-item[open] > summary { color: var(--red); }
.faq-item[open] summary::before {
  transform: rotate(45deg);
}
.faq-item summary:hover { color: var(--red); }
.faq-body {
  padding: 0 0 22px;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.65;
}
.faq-aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-aside-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.faq-mobile-img {
  display: none;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  margin-top: 40px;
}
.faq-footer {
  text-align: center;
  margin-top: 56px;
}
.faq-footer p { color: var(--gray-600); margin: 0 0 16px; font-size: 17px; }
.faq-footer .btn { margin: 6px; }
.faq-info-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.faq-info-link:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

/* ---------- Dodatne storitve ---------- */
.services { background: var(--white); }
.services-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 40px;
  aspect-ratio: 21 / 6;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.service-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: left;
  transition: transform 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.18;
}
.service-card:hover { transform: translateY(-4px); }
.service-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.service-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: rgba(201,165,108,0.12);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Genos", sans-serif;
  font-weight: 800;
  font-size: 26px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  color: var(--white);
  font-size: 24px;
  margin: 0;
}
.service-card p {
  color: var(--gray-200);
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-card .btn {
  padding: 12px 22px;
  font-size: 13px;
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Kontakt ---------- */
.contact {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1f 100%);
  color: var(--white);
}
.contact .section-head h2 { color: var(--white); }
.contact-tagline {
  text-align: center;
  font-size: 20px;
  color: var(--gray-200);
  max-width: 640px;
  margin: 0 auto 56px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.contact-info-item:hover { border-color: var(--red); background: rgba(200,16,46,0.08); }
.contact-info-item .icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item .icon svg { width: 22px; height: 22px; color: var(--white); }
.contact-info-item .value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.4px;
}
.contact-cta-wrap {
  margin-top: 8px;
  padding: 22px;
  background: rgba(227,6,19,0.08);
  border: 1px solid rgba(227,6,19,0.25);
  border-radius: var(--radius);
  text-align: center;
}
.contact-cta-lead {
  margin: 0 0 14px;
  color: var(--gray-200);
  font-size: 15px;
  letter-spacing: 0.2px;
}
.contact-cta-btn {
  width: 100%;
  padding: 16px 22px;
  font-size: 14px;
}

.contact-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.contact-logo img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Footer ---------- */
footer {
  background: #050505;
  color: var(--gray-300);
  padding: 64px 0 180px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { text-align: left; }
.footer-silhouette {
  width: auto;
  max-width: 170px;
  height: auto;
  margin: 0 0 18px;
  display: block;
}
.footer-brand p { margin: 3px 0; text-align: left; }
.footer-brand .footer-by { color: var(--gray-300); font-size: 14px; letter-spacing: 0.3px; margin-left: 0; }
.footer-brand .footer-coverage {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin: 18px 0 16px;
  padding: 0;
}
.circle-wrap {
  position: relative;
  display: inline-block;
  padding: 0;
}
.circle-wrap::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -28px;
  right: -28px;
  bottom: -12px;
  background: url("images/obkrozek.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.footer-contact-lines { margin: 6px 0 0; font-size: 14px; }
.footer-contact-lines a { color: var(--gray-300); }
.footer-contact-lines a:hover { color: var(--red); }
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray-300); transition: color 0.2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--gold);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-tagline {
  font-family: "Ink Free", "Caveat", cursive;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1d1d1d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; color: var(--white); }

/* ---------- Floating buttons ---------- */
.float-call {
  position: fixed;
  right: 22px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 90;
}
.float-call-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.float-call-btn:hover { background: var(--red-dark); transform: scale(1.08); }
.float-call-btn svg { width: 26px; height: 26px; }
.float-call-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 0 rgba(34,197,94, 0.7);
  animation: callPulse 1.8s infinite;
}
@keyframes callPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94, 0); }
}
.float-call-label {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
  pointer-events: none;
  transition: max-width 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}
.float-call.open .float-call-label {
  max-width: 220px;
  opacity: 1;
  pointer-events: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.float-call-label:hover { background: var(--gray-50); }

.float-top {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.25s ease, background 0.2s ease;
}
.float-top.visible { opacity: 1; pointer-events: auto; }
.float-top:hover { background: var(--red); transform: scale(1.08); }
.float-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--white);
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 100px 28px 40px;
    box-shadow: -8px 0 24px rgba(0,0,0,0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
    overflow-y: auto;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 140;
  }
  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { border-bottom: 1px solid var(--gray-100); }
  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 16px;
  }
  .nav-links .btn-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    padding: 14px 22px !important;
    font-size: 14px !important;
  }
  .nav-social-li { display: block; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout { gap: 40px; }
  .why-media img { aspect-ratio: 16 / 9; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-aside { display: none; }
  .faq-mobile-img { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-logo { order: -1; }
  .footer-silhouette { max-width: 140px; margin-bottom: 12px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 100px 0 110px; }
  .toper { font-size: 13px; padding: 8px 0; }
  .toper-tagline { display: none; }
  .toper .container { justify-content: center; }
  .toper-contacts { width: 100%; justify-content: center; gap: 22px; }
  .process-grid { grid-template-columns: 1fr; }
  .why-layout { gap: 32px; }
  .why-media img { aspect-ratio: 4 / 3; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding-bottom: 160px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-call { right: 16px; bottom: 16px; gap: 8px; }
  .float-call-btn { width: 50px; height: 50px; }
  .float-call-btn svg { width: 22px; height: 22px; }
  .float-call-label { height: 40px; font-size: 13px; }
  .float-top { width: 44px; height: 44px; right: 16px; bottom: 78px; }
  .float-top svg { width: 18px; height: 18px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 13px;
    letter-spacing: 0.4px;
    white-space: normal;
    line-height: 1.25;
  }
  .nav-logo img { height: 50px; }
  .why-ctas,
  .process-ctas { flex-direction: column; align-items: stretch; }
  .why-ctas .btn,
  .process-ctas .btn { white-space: normal; }
  .faq-footer .btn { white-space: normal; }
}

/* ---------- Subpage: header + breadcrumb ---------- */
.subpage-header {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1f 100%);
  color: var(--white);
  padding: 80px 0 64px;
  text-align: center;
}
.subpage-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.subpage-header h1 {
  color: var(--white);
  font-size: clamp(38px, 5.4vw, 64px);
  margin: 0 0 14px;
}
.subpage-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--gray-200);
  font-size: 18px;
}
.subpage-header .tagline-script {
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--white);
  margin-top: 10px;
}

/* ---------- Povprasevanje (multi-step form) ---------- */
.form-section { padding: 80px 0 100px; background: var(--gray-50); }
.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 48px;
}
.form-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.form-progress .step-pill {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-100);
  transition: background 0.25s ease;
}
.form-progress .step-pill.active { background: var(--red); }
.form-progress .step-pill.done { background: var(--black); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 6px;
}
.form-step .step-counter {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.form-step .step-lead {
  color: var(--gray-600);
  margin: 0 0 28px;
  font-size: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 4px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.form-field .req { color: var(--red); margin-left: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--gray-300);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.12);
}
.form-field textarea { min-height: 96px; resize: vertical; }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: var(--red);
  background: rgba(227,6,19,0.04);
}
.form-field .err-msg {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--red);
}
.form-field.invalid .err-msg { display: block; }
.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.range-row-compact {
  grid-template-columns: 160px 160px;
}
.range-input {
  position: relative;
}
.range-input select {
  padding-top: 22px;
  padding-bottom: 10px;
}
.range-input .range-tag {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gray-600);
  pointer-events: none;
}
.form-field-compact input,
.form-field-compact .input-with-suffix {
  max-width: 260px;
}
.input-with-suffix {
  position: relative;
  display: block;
}
.input-with-suffix input {
  padding-right: 44px;
}
.input-with-suffix .input-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-600);
  font-weight: 600;
  pointer-events: none;
}

/* Gumbi z ikonami – arrow / envelope */
.btn-next,
.btn-prev,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Korak 1 – samo "Naprej" desno */
.form-actions-single {
  justify-content: flex-end;
}
.form-actions-single .btn-next {
  flex: 0 0 auto;
  min-width: 160px;
  padding-left: 26px;
  padding-right: 22px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 20px;
  font-size: 14px;
  color: var(--gray-800);
}
.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.consent.invalid { color: var(--red); }
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.form-actions .btn { flex: 1; min-width: 140px; }
.form-disclaimer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray-600);
}
.form-disclaimer p { margin: 0 0 8px; }

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.active { display: block; }
.form-success .check-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success .check-circle svg { width: 40px; height: 40px; }
.form-success h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.form-success p { color: var(--gray-600); max-width: 480px; margin: 0 auto 24px; }

@media (max-width: 640px) {
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .range-row { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
}

/* ---------- Dobro je vedeti (articles) ---------- */
.articles-section { padding: 80px 0 100px; background: var(--white); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--gray-100);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card .cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1a1f 0%, #2a2a30 100%);
  position: relative;
  overflow: hidden;
}
.article-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227,6,19,0.18), transparent 60%);
}
.article-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card .meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.article-card .body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--black);
}
.article-card p {
  color: var(--gray-600);
  margin: 0 0 18px;
  flex-grow: 1;
}
.article-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  align-self: flex-start;
  transition: color 0.2s, gap 0.2s;
}
.article-card .read-more:hover { color: var(--red-dark); gap: 12px; }
.articles-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-600);
}
.articles-cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
}

.articles-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-600);
  font-size: 15px;
  padding: 40px 0;
}

/* ---------- Article modal (Dobro je vedeti) ---------- */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.article-modal.open { display: flex; }
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: articleModalFadeIn 180ms ease-out;
}
.article-modal-window {
  position: relative;
  background: var(--white);
  color: var(--black);
  width: 100%;
  max-width: 760px;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  margin: auto 0;
  animation: articleModalPopIn 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.article-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  z-index: 2;
}
.article-modal-close:hover { background: var(--red); transform: rotate(90deg); }
.article-modal-content { padding: 52px 56px 56px; }
.article-modal-head { margin-bottom: 18px; }
.article-modal-head .meta {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}
.article-modal-head h2 {
  font-family: "Genos", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 8px;
}
.article-modal-date {
  display: block;
  color: var(--gray-600);
  font-size: 14px;
}
.article-modal-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 22px 0 24px;
}
.article-modal-body {
  color: #2a2a2e;
  font-size: 16px;
  line-height: 1.7;
}
.article-modal-body h3 {
  font-family: "Genos", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--black);
  margin: 28px 0 10px;
  letter-spacing: 0.4px;
}
.article-modal-body p { margin: 0 0 14px; }
.article-modal-body ul,
.article-modal-body ol { margin: 0 0 16px 22px; }
.article-modal-body li { margin-bottom: 6px; }
.article-modal-body a { color: var(--red); text-decoration: underline; }
.article-modal-body a:hover { color: var(--red-dark); }
.article-modal-body strong { color: var(--black); font-weight: 700; }

@keyframes articleModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes articleModalPopIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (max-width: 640px) {
  .article-modal { padding: 0; }
  .article-modal-window { border-radius: 0; min-height: 100vh; margin: 0; }
  .article-modal-content { padding: 70px 22px 40px; }
  .article-modal-close { top: 14px; right: 14px; }
}

/* ---------- Izračun DMV (mudmv.html) ---------- */
.dmv-section { padding: 80px 0 100px; background: var(--gray-50); }
.dmv-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 48px;
}
.dmv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-bottom: 6px;
}
.dmv-form .form-field { margin-bottom: 0; }
.dmv-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.dmv-actions .btn { min-width: 200px; }

.dmv-error {
  display: none;
  margin-top: 22px;
  padding: 13px 16px;
  color: var(--red);
  background: rgba(227,6,19,0.06);
  border: 1px solid rgba(227,6,19,0.35);
  border-radius: var(--radius);
  font-size: 14px;
}

.dmv-result {
  display: none;
  margin-top: 30px;
  padding: 28px 24px;
  text-align: center;
  background: rgba(227,6,19,0.06);
  border: 1px solid rgba(227,6,19,0.25);
  border-radius: var(--radius);
}
.dmv-result-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.dmv-result-amount {
  font-family: "Genos", sans-serif;
  font-weight: 800;
  color: var(--red);
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: 0.6px;
}
.dmv-result-note {
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.5;
}

.dmv-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .dmv-card { padding: 30px 22px; }
  .dmv-grid { grid-template-columns: 1fr; gap: 18px; }
  .dmv-actions { flex-direction: column; }
  .dmv-actions .btn { width: 100%; }
}

/* ---------- Splošni pogoji / GDPR ---------- */
.legal-section { padding: 70px 0 100px; background: var(--white); }
.legal-container {
  max-width: 820px;
  color: var(--gray-800);
  font-size: 16px;
  line-height: 1.72;
}
.legal-container h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 44px 0 18px;
  color: var(--black);
  border-bottom: 2px solid var(--red);
  padding-bottom: 10px;
}
.legal-container h2:first-of-type { margin-top: 30px; }
.legal-container h3 {
  font-size: clamp(18px, 2vw, 21px);
  margin: 30px 0 10px;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0.2px;
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 700;
}
.legal-container p { margin: 0 0 14px; text-align: justify; hyphens: auto; }
.legal-container ul,
.legal-container ol { margin: 0 0 18px 22px; padding: 0; }
.legal-container li { margin-bottom: 8px; }
.legal-container strong { color: var(--black); font-weight: 700; }
.legal-lead {
  padding: 16px 18px;
  background: var(--gray-50);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  margin-bottom: 26px !important;
  text-align: left !important;
}
.legal-sign {
  margin-top: 26px !important;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  font-style: italic;
  color: var(--gray-600);
  text-align: left !important;
}
.legal-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 50px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--gray-100);
}

/* ---------- Kartica kot celoten link (dobro-je-vedeti.html) ---------- */
.article-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.article-card-link:hover .read-more { color: var(--red-dark); gap: 12px; }

/* ---------- Posamezni članek (clanki/*.html) ---------- */
.article-page { padding: 60px 0 100px; background: var(--white); }
.article-body { max-width: 820px; }
.article-meta { margin-bottom: 14px; }
.article-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(227,6,19,0.08);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 4px;
}
.article-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0 0 34px;
  box-shadow: var(--shadow-md);
}
