:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --navy-900: #050b1f;
  --navy-800: #0a1633;
  --navy-700: #0f2150;
  --ink: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f9ff;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1140px, 92%); margin-inline: auto; }

a { text-decoration: none; color: inherit; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn--lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
}
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(148, 163, 184, .4);
  color: inherit;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.nav__logo { width: 30px; height: 30px; }
.nav__name { font-size: 1.1rem; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { color: var(--slate-600); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: var(--primary); }
.nav__cta { margin-left: .4rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 15% 0%, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -20%;
  height: 520px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(37, 99, 235, .55), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: #bfdbfe;
  background: rgba(37, 99, 235, .18);
  border: 1px solid rgba(96, 165, 250, .35);
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}
.hero__title {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
}
.grad {
  background: linear-gradient(100deg, #60a5fa, #93c5fd 60%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.12rem;
  color: #c7d2e4;
  max-width: 36rem;
}
.hero__actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__trust {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  color: #93a4c0;
  font-size: .9rem;
}
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: #475569; }

/* Hero preview mock */
.hero__preview { perspective: 1400px; }
.mock {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(3deg);
  transition: transform .4s ease;
}
.hero__preview:hover .mock { transform: rotateY(-3deg) rotateX(1deg); }
.mock__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1rem;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.mock__dot:nth-child(1) { background: #f87171; }
.mock__dot:nth-child(2) { background: #fbbf24; }
.mock__dot:nth-child(3) { background: #34d399; }
.mock__title { margin-left: .6rem; font-size: .82rem; color: #94a3b8; font-weight: 600; }
.mock__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  padding: 1.1rem;
}
.stat {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border-radius: 12px;
  padding: .85rem .9rem;
}
.stat__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
}
.stat__icon--blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.stat__icon--cyan { background: linear-gradient(135deg, #0891b2, #0e7490); }
.stat__icon--slate { background: linear-gradient(135deg, #475569, #334155); }
.stat__icon--green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.stat__label { font-size: .72rem; color: var(--slate-500); font-weight: 500; }
.stat__value { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.mock__map {
  position: relative;
  margin: 0 1.1rem 1.1rem;
  height: 130px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(37,99,235,.04), rgba(37,99,235,.04)),
    url('assets/skopje-map.svg') center/cover no-repeat,
    #f8fafc;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.mock__maplabel {
  position: absolute; left: 12px; bottom: 10px;
  font-size: .72rem; color: var(--slate-500); font-weight: 600;
}
.pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0;
  background: #dc2626; transform: rotate(-45deg);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .18);
}
.pin::after { content: ''; position: absolute; inset: 4px; background: #fff; border-radius: 50%; }
.pin--1 { top: 70px; left: 162px; animation: ping 2.4s infinite; }            /* Centar */
.pin--2 { top: 34px; left: 78px; animation: ping 2.4s .4s infinite; }          /* Karpoš */
.pin--3 { top: 30px; left: 232px; animation: ping 2.4s .8s infinite; }         /* Gazi Baba */
.pin--4 { top: 96px; left: 200px; animation: ping 2.4s 1.2s infinite; }        /* Aerodrom */
.pin--5 { top: 50px; right: 44px; animation: ping 2.4s 1.6s infinite; }        /* Industrial east */
.pin--6 { top: 92px; right: 32px; animation: ping 2.4s 2s infinite; }          /* Ilinden / east */
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 4px rgba(220,38,38,.18); } 50% { box-shadow: 0 0 0 9px rgba(220,38,38,.05); } }

/* Metrics */
.metrics { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.4rem 0;
  text-align: center;
}
.metric__num { font-size: 2.2rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.metric__lbl { font-size: .9rem; color: var(--slate-500); margin-top: .2rem; }

/* Sections */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
}
.section__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: .6rem;
}
.section__lead { margin-top: .9rem; color: var(--slate-600); font-size: 1.08rem; }

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c7d8fb; }
.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: var(--primary-light);
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.12rem; font-weight: 700; }
.card p { margin-top: .55rem; color: var(--slate-600); font-size: .97rem; }

/* Operations */
.ops { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.oplist {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.oplist li {
  display: flex; align-items: center; gap: .7rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: .8rem 1rem;
  font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-sm);
}
.oplist li span { font-size: 1.1rem; }
.ops__panel { display: grid; gap: .8rem; }
.opcard {
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px; padding: 1rem 1.1rem;
  font-weight: 600; box-shadow: var(--shadow-sm);
}
.opcard__ic { font-size: 1.2rem; }
.opcard em {
  margin-left: auto; font-style: normal; font-size: .78rem; font-weight: 700;
  color: #16a34a; background: #dcfce7; padding: .2rem .6rem; border-radius: 999px;
}
.opcard--accent { border-left-color: #16a34a; background: linear-gradient(180deg, #f0fdf4, #fff); }
.opcard--danger { border-left-color: #dc2626; background: linear-gradient(180deg, #fef2f2, #fff); }
.opcard--danger em { color: #dc2626; background: #fee2e2; }

/* Highlight cards for the headline operations */
.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.6rem 0 .4rem;
}
.highlight {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.highlight:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.highlight__ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.highlight--start .highlight__ic { background: linear-gradient(135deg, #22c55e, #16a34a); }
.highlight--stop  .highlight__ic { background: linear-gradient(135deg, #ef4444, #dc2626); }
.highlight h4 { font-size: 1rem; font-weight: 700; }
.highlight p { font-size: .88rem; color: var(--slate-600); margin-top: .15rem; }

/* Accent feature card */
.card--accent {
  border-color: #c7d8fb;
  background: linear-gradient(180deg, #f6f9ff, #fff);
}
.card--accent .card__icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step { text-align: center; padding: 1rem; }
.step__num {
  width: 54px; height: 54px; margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.4rem; font-weight: 800;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}
.step h3 { font-size: 1.15rem; font-weight: 700; }
.step p { margin-top: .5rem; color: var(--slate-600); }

/* CTA */
.cta {
  background: radial-gradient(120% 130% at 80% 0%, var(--navy-700), var(--navy-900));
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.cta__inner { max-width: 44rem; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.cta p { margin-top: 1rem; color: #c7d2e4; font-size: 1.1rem; }
.cta__actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--navy-900); color: #94a3b8; padding: 2.2rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; }
.footer__copy { font-size: .9rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 31, .55);
  backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.modal__panel {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.9rem 1.7rem;
  animation: popIn .25s cubic-bezier(.2, .9, .35, 1.2);
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute;
  top: .8rem; right: 1rem;
  width: 34px; height: 34px;
  font-size: 1.5rem;
  line-height: 1;
  background: transparent;
  border: 0;
  color: var(--slate-500);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
.modal__head { margin-bottom: 1.3rem; }
.modal__head h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: .35rem;
}
.modal__head p { color: var(--slate-600); font-size: .95rem; margin-top: .4rem; }
.modal__form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field > span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--slate-600);
}
.field input,
.field textarea {
  font: inherit;
  width: 100%;
  padding: .65rem .85rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #f8fafc;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.field--invalid input,
.field--invalid textarea { border-color: #ef4444; background: #fef2f2; }
.field__error {
  font-size: .78rem;
  color: #dc2626;
  min-height: 1em;
}
.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: .7rem;
  margin-top: .4rem;
}
.modal__actions .btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--slate-600);
}
.modal__actions .btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.modal__success {
  margin-top: .6rem;
  padding: .8rem 1rem;
  background: #dcfce7;
  color: #166534;
  border-radius: 10px;
  font-weight: 600;
  font-size: .92rem;
}
.modal__actions--center { justify-content: center; }

/* Contact list */
.contacts {
  list-style: none;
  display: grid;
  gap: .65rem;
  margin: 0 0 1.3rem;
  padding: 0;
}
.contact {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.contact:hover { border-color: #c7d8fb; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.contact__ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact__ic--blue     { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.contact__ic--linkedin { background: linear-gradient(135deg, #0a66c2, #084d92); font-family: Georgia, serif; font-style: italic; }
.contact__ic--green    { background: linear-gradient(135deg, #22c55e, #16a34a); }
.contact__ic--slate    { background: linear-gradient(135deg, #475569, #334155); }
.contact__body { flex: 1; min-width: 0; }
.contact__label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-500);
}
.contact__value {
  display: inline-block;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: .1rem;
  word-break: break-all;
  transition: color .15s ease;
}
a.contact__value:hover { color: var(--primary); }
.contact__value--plain { color: var(--slate-600); font-weight: 500; }
.contact__copy {
  background: var(--primary-light);
  color: var(--primary);
  border: 0;
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.contact__copy:hover { background: var(--primary); color: #fff; }

/* Copy toast */
.modal__toast {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem .9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  animation: popIn .2s ease;
}
body.modal-open { overflow: hidden; }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .modal__panel { padding: 1.6rem 1.3rem 1.3rem; }
}

/* Responsive */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__preview { order: 2; }
  .mock { transform: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .ops { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 1rem;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 1.2rem 6%;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .cards { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .oplist { grid-template-columns: 1fr; }
  .mock__body { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
}
