/* ASV Skopje — public website
   Shared stylesheet for the pages Halkbank requires the internet sales place
   to publish (prices, policies, contact, card-scheme indicators).
   Brand colour matches app.json primaryColor (#1A73E8). */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --brand: #1c4fa3;
  --brand-dark: #04143a;
  --navy: #061049;
  --accent: #b3dbf7;
  --ink: #1f2733;
  --muted: #5b6675;
  --line: #e2e6ec;
  --bg: #f5f7fa;
  --card: #ffffff;
  --warn-bg: #fff8e1;
  --warn-line: #f0b429;
  --info-bg: #e8f1fe;
  --info-line: var(--brand);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

/* --- header / nav --- */

.site-header {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 28px 20px 24px;
  text-align: center;
}

.site-header .logo {
  font-size: 1.75em;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.site-header .org {
  font-size: 0.92em;
  opacity: 0.92;
}

.site-nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  max-width: 980px;
  margin: 0 auto;
  padding: 6px 10px;
}

.site-nav a {
  display: block;
  padding: 9px 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9em;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav a:hover { background: var(--bg); color: var(--brand); }
.site-nav a.active { color: var(--brand); font-weight: 600; }

/* --- layout --- */

main {
  max-width: 900px;
  margin: 28px auto;
  padding: 0 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 22px;
}

h1 { font-size: 1.7em; color: var(--brand-dark); margin-bottom: 6px; line-height: 1.3; }
h2 { font-size: 1.25em; color: var(--brand-dark); margin: 28px 0 10px; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.05em; margin: 20px 0 8px; }

p { margin-bottom: 12px; }
ul, ol { margin: 0 0 14px 22px; }
li { margin-bottom: 6px; }

a { color: var(--brand); }

.updated { color: #98a1ad; font-size: 0.87em; margin-bottom: 20px; }

.lead { font-size: 1.05em; color: var(--muted); margin-bottom: 20px; }

.note {
  background: var(--info-bg);
  border-left: 4px solid var(--info-line);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  margin: 18px 0;
}

.warn {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-line);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  margin: 18px 0;
}

/* Marks a value that still has to be filled in from the company records.
   Deliberately loud — none of these may survive to the bank submission. */
.todo {
  background: #ffe0e0;
  color: #a01010;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95em;
}

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

th { background: var(--bg); font-weight: 600; color: var(--brand-dark); }

.table-wrap { overflow-x: auto; }

/* --- card scheme indicators (form items 33, 34; contract art. 18) --- */

.schemes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 0;
}

.schemes img { height: 34px; width: auto; }

/* --- footer --- */

.site-footer {
  background: #04143a;
  color: #c3cbd6;
  padding: 32px 20px 24px;
  font-size: 0.88em;
}

.footer-inner { max-width: 900px; margin: 0 auto; }

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 22px;
}

.footer-cols > div { flex: 1 1 240px; }

.site-footer h4 {
  color: #fff;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 5px; }

.footer-legal {
  border-top: 1px solid #1a2a52;
  padding-top: 16px;
  text-align: center;
  color: #9aa4b1;
  font-size: 0.94em;
}

@media (max-width: 640px) {
  .card { padding: 22px 18px; }
  h1 { font-size: 1.4em; }
  main { margin: 18px auto; }
}
