/* ==========================================================================
   Kontakt — novi dizajn (klasična zelena verzija)
   Sve je skopirano iz priloženog HTML/CSS dizajna i skopovano na .kontakt-v2
   da ne dira postojeće stranice (npr. /prijava koristi stari kontakt.css).
   ========================================================================== */
.kontakt-v2 {
  --green: #4ca859;
  --green-d: #3d8c48;
  --green-l: #5bb76e;
  color: #4f5e70;
}
.kontakt-v2 *,
.kontakt-v2 *::before,
.kontakt-v2 *::after {
  box-sizing: border-box;
}
.kontakt-v2 img {
  display: block;
  max-width: 100%;
}
.kontakt-v2 .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}
.kontakt-v2 .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  cursor: pointer;
  transition:
    background 200ms,
    color 200ms,
    border-color 200ms;
  text-decoration: none;
}
.kontakt-v2 .btn-green {
  background: var(--green);
  color: #fff;
}
.kontakt-v2 .btn-green:hover {
  background: var(--green-d);
  color: #fff;
}
.kontakt-v2 .btn-green[disabled] {
  opacity: 0.6;
  cursor: default;
}
.kontakt-v2 .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.kontakt-v2 .btn-ghost:hover {
  border-color: var(--green-l);
  color: var(--green-l);
}

/* Hero */
.kontakt-v2 .c-hero {
  position: relative;
  background: #100a1e url("../../images/kontakt/bg-dark.png") center / cover no-repeat;
  overflow: hidden;
  padding: 110px 0 100px;
}
.kontakt-v2 .c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 55% at 50% 45%,
    rgba(76, 44, 120, 0.26),
    transparent 70%
  );
  pointer-events: none;
}
.kontakt-v2 .hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 62% 63%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 88% 47%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 33% 78%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 94% 72%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 46% 33%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 7% 61%, rgba(255, 255, 255, 0.4), transparent);
}
.kontakt-v2 .c-hero-in {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.kontakt-v2 .c-hero-art {
  justify-self: end;
  animation: cube-float 4.5s ease-in-out infinite;
  will-change: transform;
}
.kontakt-v2 .c-hero-art img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}
@keyframes cube-float {
  0%,
  100% {
    transform: translateY(-14px);
  }
  50% {
    transform: translateY(14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .kontakt-v2 .c-hero-art {
    animation: none;
  }
}
.kontakt-v2 .hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-l);
  margin-bottom: 20px;
}
.kontakt-v2 .c-hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #fff;
}
.kontakt-v2 .hero-sub {
  margin-top: 34px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 840px;
}
.kontakt-v2 .c-offices {
  display: flex;
  gap: 52px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.kontakt-v2 .c-office {
  text-align: left;
}
.kontakt-v2 .c-office h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.kontakt-v2 .c-hours {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
}
.kontakt-v2 .c-office a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  text-decoration: none;
}
.kontakt-v2 .c-office a:hover {
  color: #fff;
}
.kontakt-v2 .c-actions {
  display: flex;
  gap: 14px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.kontakt-v2 .c-actions .btn {
  padding: 14px 28px;
  font-size: 14px;
  min-width: 238px;
  justify-content: center;
}
.kontakt-v2 .c-actions .c-actions__break {
  flex: 0 0 100%;
  margin-left: 0;
}
@media (min-width: 721px) {
  .kontakt-v2 .c-actions .c-actions__break {
    max-width: 238px;
  }
}

/* Zajednički naslov sekcije */
.kontakt-v2 .sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.kontakt-v2 .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.kontakt-v2 .sec-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: #0e0a1b;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.kontakt-v2 .sec-head p {
  font-size: 18px;
  font-weight: 400;
  color: #5a6672;
  line-height: 1.65;
  margin-top: 18px;
}

/* Forma */
.kontakt-v2 .form-sec {
  background: #fff;
  padding: 96px 0;
}
.kontakt-v2 .form-card {
  max-width: 820px;
  margin: 0 auto;
  background: #f7f8f9;
  border: 1px solid #e4e7ea;
  border-radius: 16px;
  padding: 52px 56px;
}
.kontakt-v2 .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.kontakt-v2 .f-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}
.kontakt-v2 .f-row label {
  font-size: 14px;
  font-weight: 600;
  color: #0e0a1b;
}
.kontakt-v2 .req {
  color: #c0392b;
}
.kontakt-v2 .f-row input,
.kontakt-v2 .f-row textarea {
  font-family: inherit;
  font-size: 15px;
  color: #0e0a1b;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  padding: 13px 15px;
  transition:
    border-color 180ms,
    box-shadow 180ms;
}
.kontakt-v2 .f-row input::placeholder,
.kontakt-v2 .f-row textarea::placeholder {
  color: #a6afb9;
}
.kontakt-v2 .f-row input:focus,
.kontakt-v2 .f-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 168, 89, 0.12);
}
.kontakt-v2 .f-row input.is-invalid,
.kontakt-v2 .f-row textarea.is-invalid {
  border-color: #c0392b;
}
.kontakt-v2 .f-row textarea {
  min-height: 132px;
  resize: vertical;
}
/* Prijava: select + upload CV-ja koriste isti izgled kao ostala polja */
.kontakt-v2 .f-row select {
  font-family: inherit;
  font-size: 15px;
  color: #0e0a1b;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  padding: 13px 15px;
  transition:
    border-color 180ms,
    box-shadow 180ms;
}
.kontakt-v2 .f-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 168, 89, 0.12);
}
.kontakt-v2 .f-row input[type="file"] {
  padding: 11px 15px;
  font-size: 14px;
  color: #4a5560;
}
.kontakt-v2 .f-row input[type="file"]::file-selector-button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0e0a1b;
  background: #eef1f3;
  border: 1px solid #dde1e5;
  border-radius: 6px;
  padding: 8px 14px;
  margin-right: 14px;
  cursor: pointer;
}
.kontakt-v2 .f-row input[type="file"]::file-selector-button:hover {
  background: #e4e8eb;
}
/* Prijava nema hero — forma je jedina sekcija na strani */
.kontakt-v2--prijava .form-sec {
  padding: 72px 0 96px;
}
.kontakt-v2 .f-legend {
  font-size: 14px;
  font-weight: 600;
  color: #0e0a1b;
  margin-bottom: 14px;
}
.kontakt-v2 .f-opts {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  list-style: none;
  padding: 0;
}
.kontakt-v2 .f-opt {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: #4f5e70;
  line-height: 1.55;
  cursor: pointer;
  font-weight: 400;
}
.kontakt-v2 .f-opt input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  margin-top: 1px;
  flex-shrink: 0;
}
.kontakt-v2 .f-consents {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0 32px;
  padding-top: 26px;
  border-top: 1px solid #e4e7ea;
  list-style: none;
}
.kontakt-v2 .f-consents .f-opt {
  line-height: 1.7;
}
.kontakt-v2 .f-consents .f-opt a {
  white-space: nowrap;
  color: var(--green);
}
.kontakt-v2 .form-error {
  font-size: 13.5px;
  color: #c0392b;
  line-height: 1.5;
}
.kontakt-v2 .form-status {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
}
.kontakt-v2 .form-status--ok {
  color: var(--green-d);
}
.kontakt-v2 .form-status--error {
  color: #c0392b;
}

/* Konsultacije */
.kontakt-v2 .cons {
  background: #fff;
  padding: 0 0 96px;
}
.kontakt-v2 .cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 820px;
  margin: 0 auto;
}
.kontakt-v2 .cons-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f7f8f9;
  border: 1px solid #e4e7ea;
  border-radius: 16px;
  padding: 36px 38px 34px;
  transition:
    border-color 220ms,
    box-shadow 220ms;
}
.kontakt-v2 .cons-card:hover {
  border-color: rgba(76, 168, 89, 0.45);
  box-shadow: 0 14px 38px rgba(14, 10, 27, 0.08);
}
.kontakt-v2 .cons-ic {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}
.kontakt-v2 .cons-ic svg {
  width: 22px;
  height: 22px;
}
.kontakt-v2 .cons-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: #0e0a1b;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.kontakt-v2 .cons-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #4f5e70;
  flex: 1;
}
.kontakt-v2 .cons-card .btn {
  align-self: flex-start;
}

/* Kancelarije */
.kontakt-v2 .visit {
  background: #ebecee url("../../images/kontakt/bg-light.png") center / cover no-repeat;
  padding: 96px 0 110px;
}
.kontakt-v2 .visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 52px;
}
.kontakt-v2 .visit-card {
  background: #fff;
  border: 1px solid #e1e4e7;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kontakt-v2 .visit-body {
  padding: 34px 36px 30px;
  flex: 1;
}
.kontakt-v2 .visit-city {
  font-size: 22px;
  font-weight: 600;
  color: #0e0a1b;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.kontakt-v2 .visit-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.kontakt-v2 .visit-lab {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #626d7b;
  margin-bottom: 9px;
}
.kontakt-v2 .visit-rows p {
  font-size: 15px;
  line-height: 1.65;
  color: #4f5e70;
}
.kontakt-v2 .visit-rows a {
  font-size: 15px;
  line-height: 1.9;
  color: var(--green);
  display: block;
  text-decoration: none;
}
.kontakt-v2 .visit-rows a:hover {
  color: var(--green-d);
}
.kontakt-v2 .visit-map {
  display: block;
  line-height: 0;
  aspect-ratio: 16 / 9;
  background: #e8eaec;
  border-top: 1px solid #e1e4e7;
}
.kontakt-v2 .visit-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1180px) {
  .kontakt-v2 .sec-head h2 {
    font-size: 36px;
  }
}
@media (max-width: 1080px) {
  .kontakt-v2 .c-hero-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kontakt-v2 .c-hero-art {
    justify-self: start;
    max-width: 300px;
  }
}
@media (max-width: 900px) {
  .kontakt-v2 .form-grid,
  .kontakt-v2 .visit-grid,
  .kontakt-v2 .visit-rows,
  .kontakt-v2 .cons-grid {
    grid-template-columns: 1fr;
  }
  .kontakt-v2 .form-card {
    padding: 36px 26px;
  }
  .kontakt-v2 .c-hero h1 {
    font-size: 38px;
  }
}
