:root {
  --red: #c82f35;
  --red-dark: #9f2429;
  --ink: #17202a;
  --text: #23303d;
  --muted: #627080;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --green: #0f6b52;
  --blue: #244f7a;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
}

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

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

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

.topline {
  background: var(--ink);
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

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

.topline-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
}

.brand img {
  width: 132px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  justify-content: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.nav a { white-space: nowrap; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.lang-pill,
.menu-button,
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lang-pill { padding: 0 12px; font-size: 13px; }

.btn {
  padding: 0 16px;
  border-color: transparent;
  white-space: nowrap;
}

.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); color: #fff; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #243241; color: #fff; }
.btn.light { border-color: rgba(255, 255, 255, .72); color: #fff; background: rgba(255, 255, 255, .08); }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.outline:hover { border-color: var(--red); color: var(--red); }

.menu-button { display: none; width: 44px; padding: 0; }

.mobile-nav {
  display: none;
  padding: 0 0 18px;
}

.mobile-nav a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.hero {
  min-height: calc(100svh - 114px);
  display: grid;
  align-items: end;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 18, 25, .86), rgba(12, 18, 25, .54) 46%, rgba(12, 18, 25, .18)),
    url("../img/final/home-hero.jpg") center / cover no-repeat;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 22, 31, .88), rgba(14, 22, 31, .62), rgba(14, 22, 31, .28)),
    var(--page-image, url("../img/final/home-hero.jpg")) center / cover no-repeat;
}

.page-hero .container {
  min-height: 440px;
  display: grid;
  align-items: end;
  padding: 74px 0 48px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.breadcrumb {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .container {
  padding: 104px 0 54px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .78);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.hero-stat {
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.hero-stat:last-child { border-right: 0; }

.hero-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.section { padding: 78px 0; }
.section.soft { background: var(--soft); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

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

.business-card,
.brand-card,
.contact-panel,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.business-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.business-card div { padding: 20px; }

.business-card h3,
.brand-card h3,
.proof-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.business-card p,
.brand-card p,
.proof-card p {
  margin: 0;
  color: var(--muted);
}

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

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

.image-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-card .image-body {
  padding: 18px;
}

.image-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

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

.timeline {
  display: grid;
  gap: 12px;
  border-left: 3px solid var(--red);
  padding-left: 18px;
}

.timeline-item {
  padding: 14px 0 14px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px #f7d9db;
}

.timeline-item strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.timeline-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

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

.step-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.export-route {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.export-route-head {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 28px;
  align-items: end;
  padding: 34px;
}

.export-route-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 92px);
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.export-route-head p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.export-route-photos {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr;
  gap: 8px;
  padding: 0 34px;
}

.export-route-photos img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.export-route-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  background: var(--ink);
  color: #fff;
}

.export-route-step {
  position: relative;
  padding: 42px 34px 38px;
  text-align: center;
}

.export-route-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 70px;
  right: -34px;
  width: 68px;
  border-top: 2px dotted rgba(255, 255, 255, .74);
  z-index: 1;
}

.export-route-step span {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
}

.export-route-step h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
}

.export-route-step p {
  margin: 0 auto;
  max-width: 320px;
  color: rgba(255, 255, 255, .82);
}

.store-list {
  display: grid;
  gap: 10px;
  max-height: 640px;
  overflow: auto;
  padding-right: 6px;
}

.store-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--paper);
}

.store-item strong {
  display: block;
  color: var(--ink);
}

.store-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: var(--paper);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.gallery-section + .gallery-section {
  margin-top: 46px;
}

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

.gallery-item {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.media-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.media-stack img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.media-stack img:first-child {
  grid-column: span 2;
  height: 340px;
}

.copy-block h2 { margin-bottom: 18px; }

.copy-block p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 6px #d9efe8;
}

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

.brand-card {
  min-height: 220px;
  display: grid;
  align-content: end;
  padding: 18px;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .72));
}

.brand-card > * { position: relative; }
.brand-card h3 { color: #fff; }
.brand-card p { color: rgba(255, 255, 255, .82); }

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

.proof-card { padding: 20px; }

.proof-card .number {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.contact-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 28, 38, .94), rgba(20, 28, 38, .74)),
    url("../img/rakic-naslovna-ulaz.jpg") center / cover no-repeat;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.contact-panel h2 {
  color: #fff;
  margin-bottom: 12px;
}

.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .topline .container { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .nav, .header-actions .btn, .lang-pill { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-nav.open { display: block; }
  .hero { min-height: auto; }
  .hero .container { padding: 82px 0 34px; }
  .hero-strip, .business-grid, .split, .brand-grid, .proof-grid, .contact-panel {
    grid-template-columns: 1fr;
  }
  .content-grid, .steps-grid, .contact-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
  .hero-stat:last-child { border-bottom: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .export-route-head,
  .export-route-photos,
  .export-route-steps {
    grid-template-columns: 1fr;
  }
  .export-route-head,
  .export-route-photos {
    padding-left: 24px;
    padding-right: 24px;
  }
  .export-route-photos img { height: 240px; }
  .export-route-step:not(:last-child)::after { display: none; }
  .media-stack img, .media-stack img:first-child {
    grid-column: auto;
    height: 240px;
  }
  .brand-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand img { width: 118px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 17px; }
  .page-hero .container { min-height: 360px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 56px 0; }
  .brand-grid, .proof-grid { grid-template-columns: 1fr; }
  .export-route-head { padding: 24px 18px; }
  .export-route-head p { font-size: 17px; }
  .export-route-photos { padding: 0 18px; }
  .export-route-step { padding: 32px 22px; }
  .media-stack { grid-template-columns: 1fr; }
  .contact-panel { padding: 22px; }
}
