:root {
  --medical-blue: #143d73;
  --medical-blue-dark: #0f2e56;
  --bg: #f3f6fb;
  --white: #ffffff;
  --gray: #dce3ef;
  --text: #1a2433;
  --muted: #4d5d73;
  --health-green: #1eb39a;
  --shadow: 0 12px 30px rgba(16, 32, 62, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  margin: 0;
  font-weight: 700;
  color: var(--medical-blue);
}

.hero {
  padding-top: 88px;
}

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

.eyebrow {
  color: var(--health-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.1vw, 3.1rem);
  line-height: 1.15;
  color: var(--medical-blue-dark);
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.lead-small {
  margin-top: -4px;
  color: var(--muted);
}

.cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--medical-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--medical-blue-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(30, 179, 154, 0.45);
  outline-offset: 2px;
}

.btn-outline {
  border-color: var(--medical-blue);
  color: var(--medical-blue);
}

.btn-outline:hover {
  background: var(--medical-blue);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--medical-blue);
  border-color: var(--gray);
}

.btn-ghost:hover {
  border-color: var(--medical-blue);
}

.hero-visual {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image-placeholder {
  width: 100%;
  min-height: 320px;
  background:
    radial-gradient(circle at 20% 25%, rgba(30, 179, 154, 0.25), transparent 35%),
    radial-gradient(circle at 80% 75%, rgba(20, 61, 115, 0.2), transparent 32%),
    linear-gradient(120deg, #dce8fb, #eef4ff 55%, #e2f6f1);
}

.hero-visual figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-tint {
  background: #ecf2fb;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card.accent {
  border-color: rgba(30, 179, 154, 0.35);
}

.neuro {
  margin-top: 16px;
}

.neuro ul {
  margin: 0;
  padding-left: 20px;
}

.map-wrap {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.city-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.city-buttons button {
  border: 1px solid var(--gray);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: inherit;
  cursor: pointer;
}

.city-buttons button.active,
.city-buttons button:hover {
  border-color: var(--health-green);
  color: #0d6a5a;
}

.market-claim {
  color: var(--medical-blue-dark);
  font-weight: 600;
}

.map {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #dce9fb, #e9f5f7);
  border: 1px solid var(--gray);
  overflow: hidden;
}

.radius {
  position: absolute;
  left: 33%;
  top: 40%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed rgba(20, 61, 115, 0.45);
  transform: translate(-50%, -50%);
}

.city {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray);
  color: var(--medical-blue-dark);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.city.active {
  border-color: var(--health-green);
  background: #edfbf8;
  transform: scale(1.05);
}

.city-struga { left: 31%; top: 39%; }
.city-ohrid { left: 28%; top: 49%; }
.city-kicevo { left: 42%; top: 32%; }
.city-debar { left: 23%; top: 24%; }
.city-pogradec { left: 18%; top: 55%; }
.city-korca { left: 8%; top: 63%; }
.city-librazhd { left: 39%; top: 57%; }
.city-elbasan { left: 55%; top: 58%; }

.authority ul {
  margin: 0;
  padding-left: 20px;
}

.quote {
  font-weight: 500;
  color: var(--medical-blue-dark);
  margin: 0;
}

.stat-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 16px;
}

.stat-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-value {
  margin: 0;
  font-weight: 600;
}

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

.step-no {
  margin: 0 0 8px;
  color: var(--health-green);
  font-weight: 800;
  font-size: 1.2rem;
}

.capacity-note {
  margin-top: 16px;
  font-weight: 600;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.kpi {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.finance-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.simulation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.simulation-grid table {
  table-layout: fixed;
}

.simulation-grid th,
.simulation-grid td {
  vertical-align: top;
}

.simulation-grid th:first-child,
.simulation-grid td:first-child {
  width: 68%;
}

.simulation-grid th:last-child,
.simulation-grid td:last-child {
  width: 32%;
  text-align: right;
  white-space: nowrap;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 13px 12px;
  border-bottom: 1px solid var(--gray);
}

#finansii .card table {
  border: 1px solid #d3ddee;
  border-radius: 12px;
  overflow: hidden;
  background: #fbfdff;
}

#finansii .card thead th {
  background: linear-gradient(90deg, #eef4ff, #f4fbf9);
  color: var(--medical-blue-dark);
  font-weight: 700;
  border-bottom: 1px solid #cfdcf1;
}

#finansii .card tbody tr:nth-child(even) {
  background: #f8fbff;
}

#finansii .card tbody tr:hover {
  background: #edf6ff;
}

#finansii .card h3 {
  margin-bottom: 14px;
  color: var(--medical-blue-dark);
}

#finansii .card {
  padding: 26px;
}

#finansii .container > * + * {
  margin-top: 16px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.radio-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.radio-row label {
  font-weight: 500;
}

input[type="range"],
input[type="number"] {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 10px;
}

input[type="number"] {
  border: 1px solid var(--gray);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.calc-readout,
.calc-note {
  margin: 4px 0 14px;
  color: var(--muted);
}

.calc-results {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.split-chart {
  display: flex;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray);
  background: #f4f7fd;
}

.split-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.split-segment.vesna { background: #1d4f91; }
.split-segment.investor { background: #1eb39a; }
.split-segment.marcada { background: #5f6f86; }

.split-legend {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.footer {
  background: var(--medical-blue-dark);
  color: var(--white);
}

.footer h2 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 560px);
  justify-content: center;
  gap: 16px;
}

.footer .card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .map-wrap,
  .timeline,
  .kpi-grid,
  .simulation-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .two-col,
  .stat-grid,
  .calc-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}
