/* ==========================================================
   Autoškola GOLD - dizajn sustav
   Boje: tamnoplava iz loga #05043A, zlato #E0B43A, bijela #F8F8F8, siva #F2F2F2
   Napomena: varijabla --black nosi tamnoplavu (ime je ostalo radi kompatibilnosti)
   ========================================================== */

:root {
  --black: #05043A;
  --gold: #E0B43A;
  --white: #F8F8F8;
  --gray: #F2F2F2;
  --text: #3a3a3a;
  --text-light: #777777;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(5, 4, 58, 0.08);
  --font-title: 'Sora', sans-serif;
  --font-text: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-text);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto; /* width/height atributi samo rezerviraju prostor, omjer ostaje */
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografija ---------- */

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--black);
  line-height: 1.15;
  font-weight: 800;
}

/* ---------- Gumbi ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(224, 180, 58, 0.35);
}

.btn--gold:hover {
  box-shadow: 0 14px 36px rgba(224, 180, 58, 0.5);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline-dark {
  border-color: var(--black);
  color: var(--black);
  background: transparent;
}

.btn--outline-dark:hover {
  background: var(--black);
  color: var(--gold);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--whatsapp svg {
  width: 22px;
  height: 22px;
}

.btn--whatsapp:hover {
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.4);
}

.btn--lg {
  padding: 17px 38px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

/* ---------- Navigacija ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: rgba(5, 4, 58, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: block;
}

.nav__logo img {
  height: 46px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__cta {
  padding: 10px 24px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 101; /* gumb (X) ostaje iznad otvorenog mobilnog izbornika */
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 60px;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 4, 58, 0.55) 0%, rgba(5, 4, 58, 0.18) 40%, rgba(5, 4, 58, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero__card {
  max-width: 640px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-left: auto; /* kartica desno, da ne prekriva instruktora i motocikl */
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(42px, 7vw, 76px);
  color: #fff;
  margin-bottom: 14px;
}

.hero__title-text {
  display: block;
}

.hero__title-logo {
  width: min(100%, 440px);
  margin-top: 10px;
  margin-bottom: 22px;
}

.hero__slogan {
  font-family: var(--font-title);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 8px;
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__trust-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 2px;
}

.hero__trust-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.hero__offer {
  margin-top: 32px;
  text-align: center;
}

.hero__offer-link {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  max-width: 100%;
  padding: 12px 8px;
  font-family: var(--font-title);
  font-size: clamp(27px, 3.3vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  color: #ffd65a;
  border-radius: 12px;
}

.hero__offer-message {
  color: #fff2b0;
  text-shadow:
    0 0 3px rgba(255, 244, 187, 0.9),
    0 0 12px rgba(255, 209, 65, 0.85),
    0 0 28px rgba(255, 191, 35, 0.6),
    0 0 52px rgba(255, 178, 16, 0.35);
  animation: gold-halogen-blink 2.8s ease-in-out infinite;
}

.hero__offer-phone {
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(255, 196, 45, 0.45);
}

.hero__offer-link:hover,
.hero__offer-link:focus-visible {
  color: #ffd65a;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero__offer-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.hero__offer-link:hover .hero__offer-message,
.hero__offer-link:focus-visible .hero__offer-message {
  animation: none;
}

.hero__offer p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes gold-halogen-blink {
  0%, 24%, 92%, 100% { opacity: 1; }
  44%, 62% { opacity: 0.04; }
}

/* Tekst samo za čitače ekrana i pretraživače, ne vidi se na stranici */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Sekcije ---------- */

.section {
  padding: 110px 0;
}

.section--gray {
  background: var(--gray);
}

.section--dark {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
}

.section--dark .section__title {
  color: #fff;
}

.section__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(30px, 4.5vw, 46px);
  max-width: 720px;
  margin-bottom: 16px;
}

.section__lead {
  font-size: 18px;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 56px;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.6);
}

.section__note {
  margin-top: 40px;
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
}

/* ---------- Česta pitanja ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.faq__item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px 32px;
}

.faq__item::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-bottom: 18px;
}

.faq__q {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 10px;
}

.faq__a {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.faq__a a {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 1099px) {
  .faq { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .faq { grid-template-columns: 1fr; gap: 16px; }
  .faq__item { padding: 24px 22px 26px; }
  .faq__q { font-size: 17.5px; }
}

/* ---------- Kartice ---------- */

.cards {
  display: grid;
  gap: 24px;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(5, 4, 58, 0.13);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card__icon svg {
  width: 34px;
  height: 34px;
}

.card__title {
  font-size: 21px;
  margin-bottom: 10px;
}

.card__text {
  color: var(--text-light);
  font-size: 15.5px;
}

.card__link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.card__link:hover {
  color: var(--gold);
}

/* Kategorije */

.card--cat .card__title {
  font-size: 30px;
}

.card__meta {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
}

/* Cjenik */

.card--price {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.card--price .btn {
  margin-top: auto;
}

.card--price .card__drugo + .btn {
  margin-top: auto;
}

.card--price {
  padding-bottom: 32px;
}

.card__cat-label {
  color: var(--text-light);
  font-size: 14px;
}

.card__price {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}

.card__za {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--black);
  background: rgba(224, 180, 58, 0.22);
  border-radius: 999px;
  padding: 5px 14px;
  margin: 6px 0 4px;
}

.card__sidrena {
  font-size: 13px;
  color: var(--text-light);
  margin-top: -4px;
}

/* Druga cijena na kartici (manja, ispod crte) */
.card__drugo {
  width: 100%;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid #e6e6e6;
  margin-bottom: 6px;
}

.card__drugo-naslov {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.card__drugo-cijena {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
}

.card__drugo-sitno {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.5;
}

.cjenik__sidrena {
  white-space: nowrap;
  color: var(--text-light);
}

.cjenik__napomena a {
  text-decoration: underline;
}

.card__sati {
  font-size: 14px;
  color: var(--text-light);
}

.card__imas {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

/* Cijeli cjenik (rasklopivo) */
.cjenik {
  margin-top: 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 8px 28px;
}

.cjenik summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  color: var(--black);
}

.cjenik__wrap {
  overflow-x: auto;
  margin-bottom: 14px;
}

.cjenik__tablica {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.cjenik__tablica th,
.cjenik__tablica td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
}

.cjenik__tablica th {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
}

.cjenik__iznos {
  white-space: nowrap;
  font-weight: 600;
  color: var(--black);
}

.cjenik__napomena {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.cjenik__napomena:last-child {
  margin-bottom: 18px;
}

.card__price span {
  font-size: 24px;
  color: var(--gold);
}

.card--featured {
  border: 2px solid var(--gold);
  box-shadow: 0 24px 60px rgba(224, 180, 58, 0.28);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Koraci ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  margin-top: 70px;
}

.steps__line {
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #d9d9d9);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step__number {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}

.step__title {
  font-size: 19px;
  margin-bottom: 8px;
}

.step__text {
  font-size: 15px;
  color: var(--text-light);
}

/* ---------- Fotografije u sekcijama ---------- */

.upis__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 70px;
}

.upis__lead {
  margin-bottom: 0;
}

.upis__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.upis__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__phone {
  font-family: var(--font-title);
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.contact__phone:hover,
.contact__phone-alt:hover {
  color: var(--gold);
}

.contact__phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__phone-alt {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact__map iframe {
  display: block;
  filter: grayscale(20%);
}

.contact__form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-text);
  font-size: 16px; /* 16px: iPhone inače sam zumira stranicu kad se klikne u polje */
  padding: 14px 16px;
  border: 1.5px solid #e2e2e2;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s ease;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
}

.contact__form-note {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

.contact__form-note--ok {
  font-size: 15px;
  font-weight: 600;
  color: #1a7f43;
}

.contact__form-note--greska {
  font-size: 15px;
  font-weight: 600;
  color: #b3261e;
}

/* Zamka za robote: polje koje ljudi ne vide */
.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Podnožje ---------- */

.footer {
  background: #03022A;
  color: rgba(255, 255, 255, 0.65);
  padding: 70px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__logo {
  margin-bottom: 10px;
}

.footer__logo img {
  height: 56px;
  width: auto;
}

.footer__name {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer__heading {
  font-family: var(--font-title);
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer__text {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.footer a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 13.5px;
}

/* ---------- Animacije ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__offer-message {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsivnost ---------- */

@media (max-width: 1024px) {
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .steps__line {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hero na manjim ekranima: fotografija je zaseban blok iznad teksta */
@media (max-width: 900px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 76px 0 48px;
    background: var(--black);
  }

  .hero__img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 50% 50%;
  }

  .hero__overlay {
    display: none;
  }

  .hero__content {
    padding-top: 26px;
  }

  .hero__card {
    max-width: none;
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .cjenik {
    padding: 4px 18px;
  }

  /* Na mobitelu svaki red cjenika postaje kartica: cijena je uvijek vidljiva desno */
  .cjenik__tablica {
    font-size: 14px;
  }

  .cjenik__tablica thead {
    display: none;
  }

  .cjenik__tablica tr {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 0;
    border-bottom: 1px solid #e6e6e6;
  }

  .cjenik__tablica td {
    border: 0;
    padding: 0;
  }

  .cjenik__tablica td:nth-child(1) {
    grid-row: 1 / span 2;
  }

  .cjenik__tablica td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .cjenik__tablica td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    color: var(--text-light);
  }

  .cjenik__tablica td:nth-child(3)::before {
    content: "Sati: ";
  }

  .cjenik__tablica td:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }

  .cjenik__tablica td:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
    font-size: 12px;
  }

  .cjenik__tablica td:nth-child(5)::before {
    content: "10. 9. 2026.: ";
  }

  .hero__trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .cards--3,
  .cards--4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .step__number {
    margin: 0 0 14px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .upis__head {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobilni izbornik */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: rgba(5, 4, 58, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav__menu--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 19px;
  }
}

/* ==========================================================
   Mobitel: dorada 4.10.2026.
   ========================================================== */

.mbar {
  display: none;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  /* Gumbi u hero dijelu preko cijele širine */
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Kartice "Zašto GOLD" i "Kategorije": ikona lijevo, tekst desno (upola kraće listanje) */
  #zasto .card,
  .card--cat {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 22px 20px;
  }

  #zasto .card .card__icon,
  .card--cat .card__icon {
    grid-column: 1;
    grid-row: 1 / span 5;
    width: 52px;
    height: 52px;
    margin-bottom: 0;
  }

  #zasto .card > *:not(.card__icon),
  .card--cat > *:not(.card__icon) {
    grid-column: 2;
  }

  #zasto .card .card__title {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .card--cat .card__title {
    font-size: 26px;
    margin-bottom: 2px;
  }

  .card--cat .card__meta {
    margin-top: 4px;
  }

  /* Veće površine za prst (najmanje 44 px) */
  .card__link {
    margin-top: 6px;
    padding: 11px 0 9px;
    justify-self: start;
  }

  .contact__phone-alt {
    padding: 9px 0;
  }

  .footer__text a {
    display: inline-block;
    padding: 11px 0;
  }

  .nav__link {
    padding: 10px 0;
  }

  .cjenik__napomena a {
    display: inline-block;
    padding: 12px 0;
  }

  .card--price {
    padding: 30px 22px 28px;
  }

  /* Traka s brzim kontaktom na dnu ekrana */
  .mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 2, 42, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease;
  }

  .mbar--skrivena {
    transform: translateY(110%);
  }

  .mbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .mbar__btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }

  .mbar__btn--wa {
    background: #25D366;
  }

  .mbar__btn--gold {
    background: var(--gold);
    color: var(--black);
  }

  .footer__bottom {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================
   Kartice "Zašto GOLD" i "Kategorije": varijanta 1, mirno (odabrao Neven 4.10.2026.)
   Bijele kartice. Na prelazak mišem: zlatni rub, ikona promijeni boju, strelica krene.
   ========================================================== */

#zasto .card,
.card--cat {
  border: 2px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#zasto .card:hover,
.card--cat:hover {
  border-color: var(--gold);
}

#zasto .card .card__icon,
.card--cat .card__icon {
  transition: background 0.25s ease, color 0.25s ease;
}

#zasto .card:hover .card__icon,
.card--cat:hover .card__icon {
  background: var(--gold);
  color: var(--black);
}

.card--cat .card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card--cat .card__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.card--cat:hover .card__link svg {
  transform: translateX(6px);
}

/* Detalji ponude ostaju dostupni na klik i tipkovnicom. */
.card__drugo summary {
  cursor: pointer;
  padding: 10px 0;
  min-height: 44px;
}
.card__drugo[open] {
  background: #f5f5fa;
  border-radius: 12px;
  padding: 8px 12px 16px;
}
.card__drugo-cijena { margin: 8px 0; }
.card--price { border: 2px solid #e9e9f1; gap: 12px; }
.card--price:hover { border-color: var(--gold); }
.card--featured { border-color: var(--gold); }
.card--price .btn { width: 100%; }
#zasto .card, .card--cat { background: linear-gradient(145deg, #fff, #fafaff); }
.card:focus-within { border-color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #2444bc;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .card, .card__icon, .card__link svg, .btn { transition: none; }
  .card:hover, .btn:hover, .card--cat:hover .card__link svg { transform: none; }
}
