/* Trockenbau Adria GmbH – DEMO (fiktivno poduzeće). Bez frameworka, bez vanjskih fontova. */
:root {
  --ink: #14202b;
  --ink-2: #1f2f3d;
  --plaster: #f3efe6;
  --paper: #fffdf8;
  --line: #d8d1c2;
  --text: #1b232b;
  --muted: #535d67;
  --signal: #f2b705;
  --signal-ink: #1b1400;
  --adria: #0a6680;
  --wa: #25d366;
  --wa-ink: #05301a;
  --radius: 6px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--adria); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--signal); outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; hyphens: auto; }
h1 { font-size: clamp(2rem, 5.2vw + .6rem, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.6vw + .8rem, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--signal); color: var(--signal-ink); padding: 8px 12px; }

/* Demo traka */
.demo-bar {
  background: var(--signal); color: var(--signal-ink);
  font-size: .82rem; font-weight: 600; text-align: center; padding: 6px 16px;
}
.demo-bar a { color: inherit; }

/* Zaglavlje */
.site-header { background: var(--ink); color: #fff; border-bottom: 4px solid var(--signal); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand b { color: var(--signal); font-weight: 800; }
.main-nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .95rem; }
.main-nav a { color: #e6edf2; text-decoration: none; padding: 6px 0; }
.main-nav a:hover { color: #fff; text-decoration: underline; }
.main-nav .nav-jobs { color: var(--signal); font-weight: 700; }
.lang { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; }
.lang a { color: #cfd9e1; text-decoration: none; padding: 6px 8px; border-radius: var(--radius); }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); }
.lang span { color: #6c7f8f; }
@media (min-width: 900px) {
  .main-nav { order: 0; width: auto; }
}

/* Gumbi */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: #ffc61a; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #3be07c; }
.btn-ghost { background: transparent; color: #fff; border-color: #8aa0b2; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: .85rem; color: var(--muted); }
.on-dark .note { color: #b9c6d1; }

/* Hero – pozadina podsjeca na metalne profile na 62,5 cm */
.hero {
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 3px, transparent 3px 90px);
  color: #fff; padding: 40px 0 48px;
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--signal); margin-bottom: .75em; }
.hero .lead { font-size: 1.15rem; color: #dbe4ea; max-width: 38em; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; color: #e6edf2; }
.facts li::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--signal); margin-right: 8px; }
.hero-art { display: none; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-art { display: block; }
}

/* Sekcije */
.section { padding: 56px 0; }
.section-alt { background: var(--plaster); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow-dark { color: var(--adria); }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ico { width: 44px; height: 44px; margin-bottom: 12px; color: var(--adria); }
.card p { margin: 0; color: var(--muted); }

.ref { padding: 0; overflow: hidden; }
.ref .art { background: var(--plaster); border-bottom: 1px solid var(--line); }
.ref .body { padding: 18px 20px 20px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 3px; margin-bottom: 10px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--signal); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s); display: block; font-size: 2rem; font-weight: 800; color: var(--adria); line-height: 1; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Traka "zaposljavamo" */
.hire { background: var(--adria); color: #fff; }
.hire .wrap { display: grid; gap: 20px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hire p { color: #e3f1f6; margin: 0; }
.hire .eyebrow { color: #ffd65c; }
@media (min-width: 900px) { .hire .wrap { grid-template-columns: 1fr auto; } }

/* Kontakt */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: inline-block; min-width: 7.5em; }
.chat-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; align-self: start; }
.chat-box h3 { color: #fff; }
.chat-box p { color: #d4dee6; }

/* Jobs */
.job-facts { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 24px 0 0; }
@media (min-width: 900px) { .job-facts { grid-template-columns: repeat(4, 1fr); } }
.job-facts div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 12px 14px; }
.job-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #b9c6d1; }
.job-facts dd { margin: 2px 0 0; font-weight: 700; color: #fff; }
.job-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .job-grid { grid-template-columns: 1fr 440px; align-items: start; } .apply { position: sticky; top: 16px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding: 6px 0 6px 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 9px; border-left: 3px solid var(--adria); border-bottom: 3px solid var(--adria); transform: rotate(-45deg); }

.apply { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; }
.apply h2 { font-size: 1.5rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field select, .field input {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--text);
  background: #fff; border: 2px solid #8b939b; border-radius: var(--radius);
}
.field input:focus, .field select:focus { border-color: var(--adria); }
.apply .btn { width: 100%; }
.or { text-align: center; color: var(--muted); margin: 14px 0; font-weight: 600; }
.demo-note { background: #fff7d6; border: 1px dashed #b38600; color: #3d2f00; border-radius: var(--radius); padding: 10px 12px; font-size: .88rem; margin-top: 14px; }
.thanks { outline: none; }
.thanks h2 { color: var(--adria); }

/* Pravne stranice */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-banner { background: #fff7d6; border: 2px dashed #b38600; color: #3d2f00; border-radius: var(--radius); padding: 14px 16px; font-weight: 700; margin-bottom: 24px; }

/* Podnozje */
.site-footer { background: var(--ink); color: #c4d0da; padding: 32px 0; font-size: .92rem; }
.site-footer a { color: #fff; }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
