/* ---------- Hero ---------- */
.kt-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 56vh;
  min-height: 56svh;
  padding-bottom: 110px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.kt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 35, 80, 0.30) 0%,
    rgba(12, 35, 80, 0.85) 100%
  );
}

.kt-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.kt-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
}

.kt-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.kt-hero p {
  max-width: 42ch;
  margin-top: 12px;
  font-size: 1.2rem;
  color: #e3ebfa;
}

/* ---------- Tri kontakt kartice ---------- */
.kt-info {
  position: relative;
  z-index: 3;
  margin-top: -72px;
}

.kt-cards {
  display: grid;

  /* Tri kartice jednake širine, centrirane u sredini */
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
}

.kt-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.kt-card:hover {
  transform: translateY(-4px);
}

.kt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.kt-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
}

.kt-card address,
.kt-card p {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  font-style: normal;
  color: var(--ink);
  line-height: 1.6;
}

.kt-card address span:first-child {
  font-weight: 600;
  color: var(--navy);
}

.kt-card a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.kt-card a:hover {
  color: var(--blue);
  text-decoration: underline;
}

/* ---------- Mapa ---------- */
.kt-map {
  padding: 80px 0 96px;
}

.kt-map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.kt-map-head h2 {
  margin-bottom: 0;
}

.kt-map-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kt-map-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.kt-map-actions svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn.small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn.outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn.outline:hover {
  background: var(--navy);
  color: #fff;
}

.kt-map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--sky);
}

.kt-map-frame iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .kt-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
    gap: 18px;
  }

  /* Treća kartica zauzima sredinu poslednjeg reda */
  .kt-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
  }
}

/* ---------- Mobilni telefon ---------- */
@media (max-width: 600px) {
  .kt-hero {
    min-height: 46vh;
    padding-bottom: 90px;
  }

  .kt-hero-inner {
    padding-top: 90px;
  }

  .kt-info {
    margin-top: -56px;
  }

  .kt-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    gap: 16px;
  }

  .kt-card,
  .kt-card:last-child {
    grid-column: auto;
    width: 100%;
    padding: 26px 24px;
  }

  .kt-map {
    padding: 56px 0 64px;
  }

  .kt-map-frame iframe {
    height: 360px;
  }

  .kt-map-actions {
    width: 100%;
  }

  .kt-map-actions .btn {
    justify-content: center;
  }
}

/* ---------- Smanjeno kretanje ---------- */
@media (prefers-reduced-motion: reduce) {
  .kt-card {
    transition: none;
  }

  .kt-card:hover {
    transform: none;
  }
}