/* =========================================================
   Poljocentar — glavni stil
   ========================================================= */

:root {
  --graphite: #0e1116;
  --graphite-2: #171b22;
  --graphite-3: #222833;
  --steel: #eef0f2;
  --steel-2: #e2e5e9;
  --white: #ffffff;
  --text: #22262b;
  --muted: #5d6570;
  --muted-dark: #9aa3ad;
  --brand: #0b4fa8;
  --brand-dark: #083a7d;
  --accent: var(--brand);
  --accent-on-dark: #6aa5f2;
  --line: #d5d9de;
  --line-dark: #343a42;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 16px;
  --section-y: 64px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(22, 25, 29, 0.08);
  --header-h: 72px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section-y: 96px;
  }
}

.hero,
.stats,
.section--dark,
.footer,
.visual,
.quote {
  --accent: var(--accent-on-dark);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
}

.section--steel {
  background: var(--steel);
}

.section--dark {
  background: var(--graphite);
  color: var(--white);
}

.section--dark p {
  color: var(--muted-dark);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.section--dark .lead {
  color: var(--muted-dark);
}

.grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .split--reverse > :first-child {
    order: 2;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- Topbar + header ---------- */
.topbar {
  background: var(--brand);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar__phones {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar svg {
  width: 14px;
  height: 14px;
}

.topbar .topbar__addr {
  display: none;
}

@media (min-width: 768px) {
  .topbar .topbar__addr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  color: var(--graphite);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(14, 17, 22, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: auto;
  height: 44px;
}

.footer .logo img {
  box-sizing: content-box;
  padding: 6px 8px;
  background: var(--white);
  border-radius: var(--radius);
}

.logo__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.logo__text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 4px;
}

.nav__list {
  display: flex;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--graphite);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--graphite);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1079px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header-h)) 0 auto 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(14, 17, 22, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-open .nav {
    max-height: 420px;
  }

  .nav__list {
    flex-direction: column;
    padding: 8px var(--gutter) 20px;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after {
    display: none;
  }

  .nav__link.is-active {
    color: var(--accent);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--graphite);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 104px;
}

@media (min-width: 900px) {
  .hero {
    padding: 140px 0 150px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -120px;
  background: radial-gradient(circle, rgba(11, 79, 168, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 760px;
}

.hero h1 span {
  color: var(--accent);
}

.hero .lead {
  color: #b9c0c8;
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero__art {
  position: absolute;
  right: 4%;
  bottom: 40px;
  width: 360px;
  opacity: 0.9;
  display: none;
}

@media (min-width: 1100px) {
  .hero__art {
    display: block;
  }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 72px 0 64px;
}

@media (min-width: 900px) {
  .page-hero {
    padding: 104px 0 88px;
  }
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted-dark);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ---------- Stats ---------- */
.stats {
  background: var(--graphite-2);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat:nth-child(2n) {
  border-right: 0;
}

@media (min-width: 900px) {
  .stat {
    border-bottom: 0;
    border-right: 1px solid var(--line-dark);
  }
  .stat:nth-child(2n) {
    border-right: 1px solid var(--line-dark);
  }
  .stat:last-child {
    border-right: 0;
  }
}

.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--accent);
}

.stat__label {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card .link-arrow {
  margin-top: 20px;
}

.card--dark {
  background: var(--graphite-2);
  border-color: var(--line-dark);
  color: var(--white);
}

.card--dark p {
  color: var(--muted-dark);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(11, 79, 168, 0.1);
  color: var(--accent);
}

.icon svg {
  width: 32px;
  height: 32px;
}

/* Capability card specs */
.specs {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 0.95rem;
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.specs span:first-child {
  color: var(--muted);
}

.specs span:last-child {
  font-weight: 600;
  text-align: right;
}

/* ---------- Feature list ---------- */
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.checklist strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

/* ---------- Visual placeholders (zameniti fotografijama) ---------- */
.visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--graphite-3), var(--graphite));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.visual > svg {
  width: 45%;
  height: auto;
  opacity: 0.9;
}

.visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 14px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step {
  position: relative;
  padding: 28px 24px;
  background: var(--graphite-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
}

.step p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Tags ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  padding-bottom: 36px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
}

.timeline__year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.timeline__item p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Owner / quote ---------- */
.quote {
  position: relative;
  padding: 36px 32px;
  background: var(--graphite);
  color: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.quote p {
  font-size: 1.2rem;
  font-style: italic;
  color: #d3d8de;
}

.quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote cite small {
  display: block;
  color: var(--muted-dark);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  background: var(--brand);
  color: var(--white);
  padding: 64px 0;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 22px);
}

.cta .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.cta .btn {
  background: var(--graphite);
  color: var(--white);
}

.cta .btn:hover {
  background: #000;
  transform: translateY(-2px);
}

.cta .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.contact-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item .icon {
  flex: none;
  width: 52px;
  height: 52px;
  margin: 0;
}

.contact-item .icon svg {
  width: 26px;
  height: 26px;
}

.contact-item h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--muted);
}

.contact-item a {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.contact-item a:hover {
  color: var(--accent);
}

.form {
  background: var(--steel);
  padding: 36px 28px;
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .form {
    padding: 44px 40px;
  }
}

.form__row {
  display: grid;
  column-gap: 18px;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 79, 168, 0.18);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #c62828;
}

.field__error {
  font-size: 0.85rem;
  color: #c62828;
  margin-top: 4px;
  min-height: 1em;
}

.form__note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 14px;
}

.form__status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #e7f5ea;
  color: #1e6b33;
  font-weight: 500;
}

.form__status.is-visible {
  display: block;
}

.map {
  margin-top: 0;
  line-height: 0;
  filter: grayscale(0.4);
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--graphite);
  color: var(--muted-dark);
  padding: 72px 0 0;
  font-size: 0.97rem;
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 56px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}

.footer .logo {
  color: var(--white);
  margin-bottom: 18px;
}

.footer .logo__text small {
  color: var(--muted-dark);
}

.footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer li {
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  font-size: 0.88rem;
}

.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Tabela mašina ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.table th,
.table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.table th {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  background: var(--graphite);
  color: var(--white);
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover {
  background: var(--steel);
}

.table td:nth-child(2) {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.table-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Oznaka "kooperacija" */
.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--steel-2);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  vertical-align: middle;
}

.card ul.list {
  margin-top: 14px;
  color: var(--muted);
}

.card ul.list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.card ul.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 2px;
  background: var(--accent);
}

@media (max-width: 639px) {
  .table {
    font-size: 0.9rem;
  }
  .table th,
  .table td {
    padding: 12px 10px;
  }
  .table th {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }
}

/* ---------- Izbor jezika ---------- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px 0 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang__btn:hover,
.lang.is-open .lang__btn {
  border-color: var(--brand);
  color: var(--brand);
}

.lang__btn svg {
  width: 16px;
  height: 16px;
}

.lang__chev {
  transition: transform 0.2s;
}

.lang.is-open .lang__chev {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 180px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.lang.is-open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 3px;
  font-weight: 500;
  color: var(--text);
}

.lang__menu a:hover {
  background: var(--steel);
}

.lang__menu small {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lang__menu a.is-active {
  color: var(--brand);
  font-weight: 600;
}

.lang__menu a.is-active small {
  color: var(--brand);
}

@media (max-width: 479px) {
  .header__actions {
    gap: 4px;
  }
  .logo {
    gap: 10px;
  }
  .logo img {
    height: 34px;
  }
  .logo__text {
    font-size: 1.35rem;
  }
  .logo__text small {
    font-size: 0.55rem;
    letter-spacing: 0.14em;
  }
  .lang__btn {
    height: 36px;
    padding: 0 8px;
  }
  .lang__btn > svg:first-child {
    display: none;
  }
}
