:root {
  --bg: #070707;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);

  --nav-links-offset: 13px;

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);

  --red-1: #7e170e;
  --red-2: #bd2c1c;
  --gold: #edb644;
  --black: #000000;

  --shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  --radius: 18px;

  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 20% 10%, rgba(237, 182, 68, 0.18), transparent 60%),
    radial-gradient(900px 700px at 70% 20%, rgba(189, 44, 28, 0.22), transparent 55%),
    radial-gradient(900px 700px at 60% 85%, rgba(126, 23, 14, 0.18), transparent 55%),
    linear-gradient(180deg, #050505, #0a0a0a 40%, #060606);
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  border: 1px solid var(--border);
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}

.nav__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.nav__group {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(var(--nav-links-offset));
}

.nav__group--left {
  justify-content: flex-end;
}

.nav__group--right {
  justify-content: flex-start;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav__link:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav__link--cta {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.nav__link--cta:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transform: none;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
}

.nav__logo img {
  height: 80px;
  width: auto;
  display: block;
}

.nav__toggle {
  display: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav__toggle-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.84);
}

.nav__toggle-lines::before,
.nav__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.84);
}

.nav__toggle-lines::before {
  top: -6px;
}

.nav__toggle-lines::after {
  top: 6px;
}

.hero {
  padding: 72px 0 46px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.hero__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 0 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn--primary {
  color: rgba(0, 0, 0, 0.92);
  background: linear-gradient(135deg, var(--gold), rgba(237, 182, 68, 0.82));
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(237, 182, 68, 0.18);
}

.btn--primary:hover {
  background: linear-gradient(135deg, rgba(237, 182, 68, 0.95), rgba(237, 182, 68, 0.75));
}

.btn--contact-submit {
  height: 50px;
}

.btn--ghost {
  background: transparent;
}

.hero__trust {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero__stat {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero__stat-value {
  font-weight: 700;
}

.hero__stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero__visual {
  position: relative;
  min-height: 420px;
}

.glass-card {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.glass-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.glass-card__title {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot--red {
  background: var(--red-2);
}

.dot--yellow {
  background: var(--gold);
}

.dot--dark {
  background: rgba(255, 255, 255, 0.35);
}

.glass-card__body {
  padding: 16px;
}

.skeleton-line {
  height: 12px;
  width: 100%;
  margin: 10px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  background-size: 220% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.w-85 {
  width: 85%;
}

.w-70 {
  width: 70%;
}

.w-60 {
  width: 60%;
}

@keyframes shimmer {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.pill-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.progress {
  margin-top: 14px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-2), var(--gold));
}

.mini-cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.92);
  background: linear-gradient(135deg, rgba(237, 182, 68, 0.95), rgba(237, 182, 68, 0.78));
}

.mini-card__text {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 13px;
}

.blob {
  position: absolute;
  filter: blur(26px);
  opacity: 0.95;
  z-index: 1;
}

.blob--a {
  width: 230px;
  height: 230px;
  right: 12px;
  top: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(237, 182, 68, 0.65), rgba(237, 182, 68, 0));
}

.blob--b {
  width: 280px;
  height: 280px;
  left: -10px;
  bottom: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(189, 44, 28, 0.62), rgba(189, 44, 28, 0));
}

.section {
  padding: 74px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section__head {
  max-width: 72ch;
}

#usluge .section__head {
  margin: 0 auto;
  text-align: center;
}

#tehnologije .section__head {
  margin: 0 auto;
  text-align: center;
}

#kontakt .section__head {
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center;
}

#kontakt .form {
  margin-top: 14px;
}

#kontakt .form__actions {
  justify-content: flex-end;
}

.form__status {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.section__head--left {
  max-width: 64ch;
}

.section__head h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 18px;
  border-radius: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.card__icon {
  display: block;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  font-weight: 800;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.list li {
  margin: 8px 0;
}

.steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
}

.step__num {
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(237, 182, 68, 0.92);
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tech {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.tech__item {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.tech-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tech-skill {
  border: none;
  background: transparent;
  padding: 0;
}

.tech-skill__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.tech-skill__name {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tech-skill__level {
  font-weight: 900;
  color: rgba(237, 182, 68, 0.92);
}

.tech-skill__desc {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.tech-skill__meter {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tech-skill__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-2), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
}

.tech-list.is-visible .tech-skill__bar {
  animation: techFill 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tech-list.is-visible .tech-skill:nth-child(1) .tech-skill__bar {
  animation-delay: 40ms;
}

.tech-list.is-visible .tech-skill:nth-child(2) .tech-skill__bar {
  animation-delay: 90ms;
}

.tech-list.is-visible .tech-skill:nth-child(3) .tech-skill__bar {
  animation-delay: 140ms;
}

.tech-list.is-visible .tech-skill:nth-child(4) .tech-skill__bar {
  animation-delay: 190ms;
}

.tech-list.is-visible .tech-skill:nth-child(5) .tech-skill__bar {
  animation-delay: 240ms;
}

.tech-list.is-visible .tech-skill:nth-child(6) .tech-skill__bar {
  animation-delay: 290ms;
}

.tech-list.is-visible .tech-skill:nth-child(7) .tech-skill__bar {
  animation-delay: 340ms;
}

.tech-list.is-visible .tech-skill:nth-child(8) .tech-skill__bar {
  animation-delay: 390ms;
}

.tech-list.is-visible .tech-skill:nth-child(9) .tech-skill__bar {
  animation-delay: 440ms;
}

.tech-list.is-visible .tech-skill:nth-child(10) .tech-skill__bar {
  animation-delay: 490ms;
}

@keyframes techFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-skill__bar,
  .tech-list.is-visible .tech-skill__bar {
    animation: none;
    transform: none;
  }
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

#o-nama .about {
  grid-template-columns: 1fr;
}

#o-nama .about__text {
  width: 100%;
}

#o-nama .section__head--left {
  max-width: 100%;
}

.about__cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about__card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.about__card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.about__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quote {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.quote__mark {
  font-size: 42px;
  line-height: 1;
  color: rgba(237, 182, 68, 0.9);
  font-weight: 900;
}

.quote__text {
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.quote__meta {
  margin-top: 12px;
  color: var(--muted);
}

.photo-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ph {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-size: cover;
  background-position: center;
  min-height: 140px;
  filter: saturate(0.9);
}

.ph--1 {
  grid-column: 1 / -1;
  min-height: 160px;
  background-image: linear-gradient(135deg, rgba(189, 44, 28, 0.75), rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1200&q=60");
}

.ph--2 {
  background-image: linear-gradient(135deg, rgba(237, 182, 68, 0.55), rgba(0, 0, 0, 0.22)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=900&q=60");
}

.ph--3 {
  background-image: linear-gradient(135deg, rgba(126, 23, 14, 0.55), rgba(0, 0, 0, 0.22)),
    url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=900&q=60");
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.contact__info {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.contact__item {
  padding: 14px;
  border-radius: 18px;
  border: none;
  background: transparent;
  display: grid;
  gap: 4px;
}

.contact__label {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__value {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.form {
  padding: 18px;
  border-radius: 22px;
  border: none;
  background: transparent;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(237, 182, 68, 0.55);
  box-shadow: 0 0 0 4px rgba(237, 182, 68, 0.16);
}

.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.form__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
}

.footer__logo {
  display: flex;
  justify-content: flex-end;
}

.footer__logo img {
  height: 32px;
}

@media (max-width: 980px) {
  .hero__grid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 380px;
  }

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    justify-content: flex-start;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 34px;
    transform: none;
  }

  .nav__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 6px;
  }

  .nav__group {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: none;
  }

  .nav__group--left,
  .nav__group--right {
    justify-content: flex-start;
  }

  .nav__logo {
    order: 1;
    justify-self: auto;
  }

  .nav__group--left {
    order: 2;
  }

  .nav__group--right {
    order: 3;
  }

  .nav__link {
    width: 100%;
    justify-content: center;
  }

  .nav__link {
    height: 40px;
  }

  .hero {
    padding-top: 52px;
  }

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

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__logo {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

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

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

  .mini-cards {
    grid-template-columns: 1fr;
  }

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

.nav__bar[data-open="false"] {
  display: none;
}

@media (min-width: 761px) {
  .nav__bar[data-open="false"] {
    display: grid;
  }
}
