/* Marmed Logistika — site.css
   Lane: teretni manifest / carinska deklaracija. Tokens per DESIGN.md. */

:root {
  --ink-950: oklch(13% 0.012 80);
  --ink-900: oklch(18% 0.012 80);
  --ink-850: oklch(21% 0.012 80);
  --ink-800: oklch(24% 0.012 80);
  --ink-700: oklch(34% 0.012 80);
  --ink-500: oklch(55% 0.01 80);
  --paper: oklch(97.5% 0.008 90);
  --paper-2: oklch(94% 0.012 90);
  --paper-3: oklch(89% 0.014 90);
  /* Gold: one source of truth = #D2A94B, sampled from the client logo (F0 05.10.2026).
     Derived tints share its hue (85.4) in OKLCH; hex in comments = rendered sRGB. */
  --gold: oklch(75.42% 0.1212 85.4);      /* #D2A94B logo */
  --gold-2: oklch(83.1% 0.0975 85.4);     /* #E4C37C lighter (hover) */
  --gold-deep: oklch(61.3% 0.107 85.4);   /* #A17F2C decorative on light, 3:1 large text only */
  --gold-text: oklch(49% 0.095 85.4);     /* #795B0E gold TEXT on paper/paper-2 (5.97 / 5.33:1) */
  --error: #A4231B;                       /* form errors on paper (6.98:1) */
  --line-gold: color-mix(in oklch, var(--gold) 55%, transparent);
  --line-gold-soft: color-mix(in oklch, var(--gold) 28%, transparent);
  --line-ink: color-mix(in oklch, var(--ink-950) 18%, transparent);
  --text-on-dark: oklch(92% 0.01 90);
  --muted-on-dark: oklch(72% 0.012 90);
  --text-on-paper: var(--ink-950);
  --muted-on-paper: var(--ink-700);

  --font-display: "Big Shoulders Display", "Archivo Narrow", Impact, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-on-paper);
  background: var(--paper);
  font-feature-settings: "tnum" 1, "kern" 1;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; max-width: 64ch; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 0.95; letter-spacing: -0.005em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 8.5vw, 7.5rem); font-weight: 900; text-transform: uppercase; line-height: 0.9; }
h2 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; line-height: 1.3; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 58ch; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink-950); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; }
.section.is-dark { background: var(--ink-950); color: var(--text-on-dark); }
.section.is-dark p { line-height: 1.68; }
.section.is-dark-2 { background: var(--ink-900); color: var(--text-on-dark); }
.section.is-paper { background: var(--paper); }
.section.is-paper-2 { background: var(--paper-2); }
.section.is-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.is-dark .muted, .is-dark-2 .muted { color: var(--muted-on-dark); }
.muted { color: var(--muted-on-paper); }
.page-head .muted, .hero .muted, .band .muted { color: var(--muted-on-dark); }
.is-paper .stamp, .is-paper-2 .stamp { color: var(--gold-deep); }

.grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split.is-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split.is-rev { grid-template-columns: 1fr; } }

/* field label: "01 / ŠPEDICIJA" */
.field-label {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.25rem;
}
.is-dark .field-label, .is-dark-2 .field-label { color: var(--gold); }
.field-label::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .7; }
.field-label.no-rule::before { display: none; }

.hairline { border: 0; border-top: 1px solid var(--line-gold-soft); margin: 0; }
.is-paper .hairline, .is-paper-2 .hairline { border-color: var(--line-ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .95em 1.6em; border: 1px solid var(--gold); color: var(--ink-950); background: var(--gold);
  text-decoration: none; cursor: pointer; transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn.is-ghost { background: transparent; color: var(--gold); }
.btn.is-ghost:hover { background: color-mix(in oklch, var(--gold) 12%, transparent); }
.is-paper .btn.is-ghost, .is-paper-2 .btn.is-ghost { color: var(--gold-deep); border-color: var(--gold-deep); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .5em; align-items: center; }
.link-arrow .arrow { transition: transform .35s var(--ease-out); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--ink-950) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-gold-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--gold); }
.brand svg { height: 2.1rem; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .6rem; letter-spacing: .2em; color: var(--muted-on-dark); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .02em; padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .4s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: .65em 1.2em; font-size: .8rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-gold); color: var(--gold); width: 2.75rem; height: 2.75rem; cursor: pointer; }
.nav-toggle span { display: block; width: 1.25rem; height: 2px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease-out), opacity .3s; }
.nav-phone { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 4.75rem 0 0 0; background: var(--ink-950); flex-direction: column; align-items: flex-start; padding: 2rem var(--gutter); gap: 1.25rem; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; border-top: 1px solid var(--line-gold-soft); overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
  .nav a { font-size: 1.35rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
  .nav .btn { font-family: var(--font-body); font-size: .85rem; margin-top: .5rem; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .brand-name small { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink-950); color: var(--text-on-dark); position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklch, var(--ink-950) 92%, transparent) 0%, color-mix(in oklch, var(--ink-950) 70%, transparent) 55%, color-mix(in oklch, var(--ink-950) 35%, transparent) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(180deg, transparent, var(--ink-950)); }
.hero .container { min-height: min(88vh, 900px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; padding-block: clamp(5rem, 12vh, 8rem) clamp(3rem, 6vw, 5rem); gap: 1.5rem; }
.hero h1 { max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: var(--muted-on-dark); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-facts { display: grid; gap: 0; border-top: 1px solid var(--line-gold-soft); }
.hero-facts div { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line-gold-soft); font-size: .95rem; }
.hero-facts b { font-family: var(--font-display); color: var(--gold); font-size: 1.2rem; font-weight: 700; }
.hero-facts span { color: var(--muted-on-dark); }
.hero-facts span strong { color: var(--text-on-dark); font-weight: 600; }

/* ticker: routes */
.ticker { overflow: hidden; border-block: 1px solid var(--line-gold-soft); background: var(--ink-900); color: var(--gold); padding: .7rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 3rem; padding-left: 3rem; animation: ticker 48s linear infinite; }
.ticker-track span::after { content: "\2022"; margin-left: 3rem; opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- services list (row form) ---------- */
.svc-list { border-top: 1px solid var(--line-gold-soft); }
.is-paper .svc-list, .is-paper-2 .svc-list { border-color: var(--line-ink); }
.svc-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1.1fr) minmax(0, 1.6fr) 3rem; gap: clamp(1rem, 3vw, 3rem); align-items: start; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line-gold-soft); text-decoration: none; color: inherit; position: relative; }
.is-paper .svc-row, .is-paper-2 .svc-row { border-color: var(--line-ink); }
.svc-row .num { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--gold); letter-spacing: .04em; padding-top: .2rem; }
.is-paper .svc-row .num, .is-paper-2 .svc-row .num { color: var(--gold-deep); }
.svc-row h3 { margin: 0; text-transform: uppercase; font-size: clamp(1.6rem, 2.8vw, 2.4rem); transition: color .35s var(--ease-out); }
.svc-row p { margin: 0; color: var(--muted-on-dark); }
.is-paper .svc-row p, .is-paper-2 .svc-row p { color: var(--muted-on-paper); }
.svc-row .arrow { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); justify-self: end; transition: transform .4s var(--ease-out); line-height: 1; }
.svc-row:hover h3 { color: var(--gold); }
.is-paper .svc-row:hover h3, .is-paper-2 .svc-row:hover h3 { color: var(--gold-deep); }
.svc-row:hover .arrow { transform: translateX(6px); }
@media (max-width: 760px) { .svc-row { grid-template-columns: 3rem minmax(0, 1fr) 2rem; } .svc-row p { grid-column: 2; } .svc-row .arrow { grid-row: 1; grid-column: 3; } }

/* ---------- declaration form look (info blocks) ---------- */
.decl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border: 1px solid var(--line-gold-soft); }
.is-paper .decl, .is-paper-2 .decl { border-color: var(--line-ink); }
.decl-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.decl > div { padding: 1.4rem 1.5rem; border-right: 1px solid var(--line-gold-soft); border-bottom: 1px solid var(--line-gold-soft); }
.is-paper .decl > div, .is-paper-2 .decl-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.decl > div { border-color: var(--line-ink); }
.decl small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem; font-weight: 600; }
.is-dark .decl small, .is-dark-2 .decl small { color: var(--gold); }
.decl strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.05; }
.decl p { margin: .35rem 0 0; font-size: .95rem; }

/* step list */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem 0; border-top: 1px solid var(--line-gold-soft); }
.is-paper .steps li, .is-paper-2 .steps li { border-color: var(--line-ink); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.is-paper .steps li::before, .is-paper-2 .steps li::before { color: var(--gold-deep); }
.steps h4 { margin: .2rem 0 .35rem; }
.steps p { margin: 0; }

/* doc checklist */
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; align-items: start; }
.check li::before { content: ""; width: .9rem; height: .9rem; border: 1px solid var(--gold); margin-top: .4rem; background: linear-gradient(135deg, var(--gold) 50%, transparent 50%); }

/* stamp */
.stamp { width: clamp(9rem, 14vw, 12rem); aspect-ratio: 1; color: var(--gold); transform: rotate(-8deg); }
.stamp svg { width: 100%; height: 100%; }
.stamp text { font-family: var(--font-body); font-weight: 600; letter-spacing: .28em; font-size: 9.5px; text-transform: uppercase; fill: currentColor; }
.stamp .stamp-sub { letter-spacing: .2em; }
.stamp .stamp-big { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .06em; }

/* image blocks */
.figure { margin: 0; position: relative; overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.is-tall { aspect-ratio: 4 / 5; }
.figure.is-wide { aspect-ratio: 16 / 9; }
.figure.is-square { aspect-ratio: 1; }
.figure figcaption { position: absolute; left: 0; bottom: 0; padding: .75rem 1rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: color-mix(in oklch, var(--ink-950) 80%, transparent); }
.figure.is-offset { margin-top: clamp(2rem, 6vw, 5rem); }

/* image band with text overlay */
.band { position: relative; isolation: isolate; color: var(--text-on-dark); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink-950), color-mix(in oklch, var(--ink-950) 55%, transparent) 50%, var(--ink-950)); }

/* ---------- locations ---------- */
.locs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line-gold-soft); }
.is-paper .locs, .is-paper-2 .locs { border-color: var(--line-ink); }
.loc { padding: 2rem 0; border-bottom: 1px solid var(--line-gold-soft); padding-right: clamp(1rem, 3vw, 3rem); }
.is-paper .loc, .is-paper-2 .loc { border-color: var(--line-ink); }
.loc + .loc { padding-left: clamp(1rem, 3vw, 3rem); border-left: 1px solid var(--line-gold-soft); }
.is-paper .loc + .loc, .is-paper-2 .loc + .loc { border-color: var(--line-ink); }
@media (max-width: 900px) { .loc + .loc { padding-left: 0; border-left: 0; } .loc { padding-right: 0; } }
.loc h3 { text-transform: uppercase; margin-bottom: .75rem; }
.loc address { font-style: normal; line-height: 1.55; }
.loc address a { text-decoration: none; }
.loc .loc-tag { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; display: block; margin-bottom: .6rem; }
.is-dark .loc .loc-tag, .is-dark-2 .loc .loc-tag { color: var(--gold); }
.loc-meta { margin-top: 1rem; display: grid; gap: .3rem; font-size: .95rem; }
.loc-meta span { color: var(--muted-on-paper); }
.is-dark .loc-meta span, .is-dark-2 .loc-meta span { color: var(--muted-on-dark); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-ink); }
.is-dark .faq, .is-dark-2 .faq { border-color: var(--line-gold-soft); }
.faq details { border-bottom: 1px solid var(--line-ink); }
.is-dark .faq details, .is-dark-2 .faq details { border-color: var(--line-gold-soft); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 2rem; gap: 1rem; align-items: center; padding: 1.35rem 0; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-deep); justify-self: end; transition: transform .4s var(--ease-out); line-height: 1; }
.is-dark .faq summary::after, .is-dark-2 .faq summary::after { color: var(--gold); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 3rem 1.5rem 0; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- form ---------- */
.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.is-dark .field label, .is-dark-2 .field label { color: var(--gold); }
.field input, .field select, .field textarea { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line-gold); padding: .7rem 0; border-radius: 0; width: 100%; transition: border-color .3s; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.is-paper .field input, .is-paper .field select, .is-paper .field textarea, .is-paper-2 .field input, .is-paper-2 .field select, .is-paper-2 .field textarea { border-bottom-color: var(--line-ink); }
.is-paper .field input:focus, .is-paper .field textarea:focus, .is-paper .field select:focus { border-bottom-color: var(--gold-deep); }
.field select option { color: var(--ink-950); }
.form-note { font-size: .85rem; color: var(--muted-on-dark); max-width: 60ch; }
.is-paper .form-note { color: var(--muted-on-paper); }

/* ---------- CTA block ---------- */
.cta-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4rem) 0; border-top: 1px solid var(--line-gold-soft); border-bottom: 1px solid var(--line-gold-soft); }
.cta-block h2 { margin: 0; }
@media (max-width: 760px) { .cta-block { grid-template-columns: 1fr; } }
.contact-line { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; font-variant-numeric: tabular-nums; }
.contact-line a { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--gold); letter-spacing: .02em; }
.is-paper .contact-line a { color: var(--gold-deep); }
.contact-line small { display: block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 600; margin-bottom: .25rem; }
.is-paper .contact-line small { color: var(--muted-on-paper); }

/* ---------- breadcrumb / page head ---------- */
.page-head { background: var(--ink-950); color: var(--text-on-dark); padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 5rem); position: relative; isolation: isolate; overflow: hidden; }
.page-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink-950) 30%, color-mix(in oklch, var(--ink-950) 45%, transparent)); }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 14ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; letter-spacing: .06em; color: var(--muted-on-dark); margin-bottom: 1.5rem; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- side nav for service pages ---------- */
.subnav { display: grid; gap: 0; border-top: 1px solid var(--line-ink); position: sticky; top: 6rem; }
.subnav a { padding: .8rem 0; border-bottom: 1px solid var(--line-ink); text-decoration: none; display: grid; grid-template-columns: 2.5rem 1fr; font-weight: 500; }
.subnav a b { font-family: var(--font-display); color: var(--gold-deep); font-weight: 700; }
.subnav a[aria-current="page"] { font-weight: 700; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose ul { max-width: 64ch; }
.prose li { margin-bottom: .35em; }

/* ---------- references ---------- */
.refs { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; letter-spacing: .03em; color: var(--muted-on-dark); }
.refs span { position: relative; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); color: var(--muted-on-dark); border-top: 1px solid var(--line-gold-soft); font-size: .92rem; }
.site-footer .container { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-gold-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; }
.footer-legal p { margin: 0; max-width: none; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand svg { width: 9rem; color: var(--gold); }
.footer-ids { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-variant-numeric: tabular-nums; }
.footer-ids dt { color: var(--gold); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .2rem; }
.footer-ids dd { margin: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* number strip (three facts, not hero-metric: labels lead) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line-gold-soft); border-bottom: 1px solid var(--line-gold-soft); }
.facts div { padding: 1.5rem 1.5rem 1.5rem 0; }
.facts div + div { border-left: 1px solid var(--line-gold-soft); padding-left: 1.5rem; }
@media (max-width: 700px) { .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-gold-soft); } }
.facts small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .4rem; }
.facts strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.05; display: block; }

.text-gold { color: var(--gold); }
.is-paper .text-gold, .is-paper-2 .text-gold { color: var(--gold-deep); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.maxw { max-width: 64ch; }
.stack { display: grid; gap: 1.25rem; }


/* ---- Marmed: Elementor + Astra integration ---- */
:root { --marmed-gold: var(--gold); --marmed-ink: #14110C; --marmed-paper: #FAF8F3; }

body, .ast-container { font-family: "Archivo", system-ui, sans-serif; }
h1, h2, h3, .elementor-heading-title {
  font-family: "Big Shoulders Display", "Archivo Narrow", system-ui, sans-serif;
  letter-spacing: -0.01em; line-height: 1.04; text-transform: uppercase;
}
/* Dino 26.09.: more air between headline lines, especially the 3-line mobile hero. */
h1, .elementor-widget-heading h1.elementor-heading-title { line-height: 1.06 !important; }
h2, .elementor-widget-heading h2.elementor-heading-title { line-height: 1.06 !important; }
@media (max-width: 767px) {
  h1, .elementor-widget-heading h1.elementor-heading-title { line-height: 1.1 !important; }
}

/* Astra chrome that must not appear over the design (our own .site-header stays) */
.ast-page-header, .entry-header, .ast-archive-description,
.ast-above-header, .ast-below-header { display: none !important; }
.site-content .ast-container { max-width: 100% !important; padding: 0 !important; }
.ast-separate-container .ast-article-single { padding: 0 !important; border: 0 !important; }
#content, .site-content { margin: 0 !important; padding: 0 !important; background: transparent; }

/* Elementor section internals inherit the prototype spacing */
.elementor-section .elementor-container { max-width: 1240px; }
.elementor-widget:not(:last-child) { margin-bottom: 0; }
.elementor-widget-html { width: 100%; }

/* Text colour must follow the section, not Astra's global link colour */
.elementor-section a { color: inherit; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* The prototype hides .reveal until its IntersectionObserver adds .is-in.
   That script is not shipped to WP, so without this every revealed heading and
   paragraph renders at opacity 0 - the page looks empty apart from images. */
.reveal, .reveal[data-delay] {
  opacity: 1 !important; transform: none !important; transition: none !important;
}

/* Hero legibility: the prototype darkens its background image with .hero::before
   gradients. Those only apply to its own markup, so the Elementor sections that
   carry a background image get the equivalent scrim here. */
.elementor-section[data-settings*="background_overlay"] > .elementor-background-overlay,
.elementor-section.marmed-head > .elementor-background-overlay {
  background: linear-gradient(90deg,
      rgba(20,17,12,0.94) 0%, rgba(20,17,12,0.80) 55%, rgba(20,17,12,0.55) 100%) !important;
  opacity: 1 !important;
}
.elementor-section > .elementor-container { position: relative; z-index: 2; }

/* Any section sitting on a photo is a dark section: force the on-dark palette
   regardless of what Elementor wrote into the per-widget colour settings.
   Without this the headline renders near-black over a dark image. */
.marmed-head, .marmed-head .elementor-heading-title,
.marmed-head .elementor-widget-text-editor,
.marmed-head .elementor-widget-text-editor p,
.marmed-head h1, .marmed-head h2, .marmed-head h3, .marmed-head p, .marmed-head li,
.marmed-head strong, .marmed-head small, .marmed-head b {
  color: #FAF8F3 !important;
}
.marmed-head em { color: var(--gold) !important; font-style: normal; }
.marmed-head .field-label, .marmed-head .num, .marmed-head .hero-facts b {
  color: var(--gold) !important;
}
.marmed-head { background-color: #14110C; }
.marmed-head .elementor-background-overlay {
  background-image: linear-gradient(90deg,
      rgba(20,17,12,0.93) 0%, rgba(20,17,12,0.78) 55%, rgba(20,17,12,0.52) 100%) !important;
  opacity: 1 !important;
}
/* Mobile: an Elementor min-height on the hero (set via the section's own height
   option) leaves a wall of empty space under a short headline; let it hug content. */
@media (max-width: 480px) {
  .marmed-head, .marmed-head > .elementor-container { min-height: auto !important; }
}

/* ---- CF7 form, styled like the prototype's underline inputs ---- */
.mm-form-wrap .wpcf7-form p { margin: 0 0 1.4rem; }
.mm-form-wrap label {
  display: block; font-family: "Archivo", sans-serif; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .5rem;
}
.mm-form-wrap input[type=text], .mm-form-wrap input[type=email],
.mm-form-wrap input[type=tel], .mm-form-wrap select, .mm-form-wrap textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(20,17,12,.28);
  border-radius: 0; padding: .65rem 0; font-family: "Archivo", sans-serif; font-size: 16px;
  min-height: 44px; color: #14110C; box-shadow: none;
}
.mm-form-wrap textarea { min-height: 130px; resize: vertical; }
.mm-form-wrap input:focus, .mm-form-wrap select:focus, .mm-form-wrap textarea:focus {
  outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold);
}
.mm-form-wrap input[type=submit] {
  background: var(--gold); color: #14110C; border: 0; border-radius: 0; min-height: 44px;
  padding: 1.05rem 2.1rem; font-family: "Archivo", sans-serif; font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.mm-form-wrap input[type=submit]:hover { background: var(--gold-2); }
.marmed-head .mm-form-wrap label { color: var(--gold); }
.marmed-head .mm-form-wrap input, .marmed-head .mm-form-wrap select,
.marmed-head .mm-form-wrap textarea {
  color: #FAF8F3; border-bottom-color: rgba(250,248,243,.3);
}

/* ---- Buttons: 44px minimum tap height everywhere ---- */
.btn, .nav .btn, .elementor-button, .mm-form-wrap input[type=submit] { min-height: 44px; }

/* ---- Header nav: wp_nav_menu wraps items in <ul class="nav-list"><li><a>,
   the prototype's own .nav a / .nav a::after rules already colour and underline
   any <a> inside .nav (descendant selector) - this just lays the <ul>/<li> out
   the same way the prototype's flat <a> row was, and adds the dropdown. ---- */
.nav .nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav .nav-list li { list-style: none; margin: 0; position: relative; }
.nav .nav-list li.menu-item-has-children > a { padding-right: 1.1rem; }
.nav .nav-list li.menu-item-has-children > a::before {
  content: "\25BE"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: .85em; line-height: 1; color: var(--gold);
}
.nav .nav-list li.current-menu-item > a::after, .nav .nav-list li.current-menu-ancestor > a::after { right: 0; }
.nav .sub-menu { list-style: none; margin: 0; padding: 0; }

@media (min-width: 961px) {
  .nav .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px; margin-top: .6rem;
    background: var(--ink-950); border: 1px solid var(--line-gold-soft);
    padding: .5rem 0; display: none; z-index: 40;
  }
  .nav .nav-list li.menu-item-has-children:hover > .sub-menu,
  .nav .nav-list li.menu-item-has-children:focus-within > .sub-menu { display: block; }
  .nav .sub-menu li a { display: block; padding: .55rem 1.1rem; font-size: .85rem; white-space: nowrap; }
  .nav .sub-menu li a::after { display: none; }
  .nav .sub-menu li a:hover { color: var(--gold); background: rgba(210,169,75,.08); }
}
@media (max-width: 960px) {
  .nav .nav-list { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .nav .nav-list > li { width: 100%; }
  .nav .sub-menu {
    padding-left: 1.1rem; margin: .1rem 0 .6rem; border-left: 1px solid var(--line-gold-soft);
  }
  .nav .sub-menu li a {
    font-size: 1rem; font-family: var(--font-body); font-weight: 500;
    text-transform: none; letter-spacing: 0; padding: .4rem 0;
  }
}

/* ---- Sections given .is-dark / .is-paper / .is-paper-2 by page content:
   the prototype's own rules only fire on ".section.is-dark" or on prototype-
   specific classes (.field-label, .svc-row, ...); Elementor sections carry
   "elementor-section is-dark" (no ".section"), and their text lives inside
   generic .elementor-widget-html tags the prototype never had to style. ---- */
.elementor-section.is-dark { background: #14110C; color: #FAF8F3; }
.elementor-section.is-paper { background: #FAF8F3; color: #14110C; }
.elementor-section.is-paper-2 { background: #F0EBE0; color: #14110C; }
.is-dark .elementor-widget-html h1, .is-dark .elementor-widget-html h2,
.is-dark .elementor-widget-html h3, .is-dark .elementor-widget-html h4,
.is-dark .elementor-widget-html li, .is-dark .elementor-widget-html p,
.is-dark .elementor-widget-html strong, .is-dark .elementor-widget-html summary,
.is-dark .svc-list * { color: #FAF8F3 !important; }
.svc-row .u { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.is-dark .elementor-widget-html .muted, .is-dark .svc-row p { color: #C9C2B4 !important; }
.is-dark .elementor-widget-html a { color: inherit; }
.is-paper .elementor-widget-html h1, .is-paper .elementor-widget-html h2,
.is-paper-2 .elementor-widget-html h1, .is-paper-2 .elementor-widget-html h2,
.is-paper .elementor-widget-html h3, .is-paper .elementor-widget-html h4,
.is-paper .elementor-widget-html li, .is-paper .elementor-widget-html p,
.is-paper-2 .elementor-widget-html h3, .is-paper-2 .elementor-widget-html h4,
.is-paper-2 .elementor-widget-html li, .is-paper-2 .elementor-widget-html p {
  color: #14110C !important;
}

/* ---- Rhythm: gold field-label directly above a heading, and the lede under
   the H1, both need the breathing room the prototype gave them via sibling
   markup - Elementor stacks each as its own widget with zero shared context. ---- */
.elementor-widget-heading + .elementor-widget-heading { margin-top: 14px; }
.elementor-widget-heading + .elementor-widget-text-editor { margin-top: 22px; }
/* Same rhythm inside HTML widgets (hero-grid, split blocks): label, headline, lede. */
.field-label + h1, .field-label + h2 { margin-top: 14px; }
.elementor-widget-heading + .elementor-widget-html h1:first-child { margin-top: 14px; }
h1 + .lede, h2 + .lede, h1 + p, h2 + p { margin-top: 22px; }
/* Big Shoulders at line-height .95 clips carons (Š, Č) on the first line and
   lets them touch the label above; give the glyphs their ascent back. */
h1, h2, .elementor-heading-title { padding-top: .08em; }

/* ---- Image widget followed by text: the prototype kept its photos in a
   split column, Elementor stacks them, so give the photo room to breathe. ---- */
.elementor-widget-image { margin-bottom: 40px !important; }
.elementor-widget-image:last-child { margin-bottom: 0 !important; }
.elementor-widget-image img { display: block; width: 100%; height: auto; }

/* ---- Stamp: WP strips inline <svg> from HTML widgets (kses), so the circular
   text ships as a CSS background; the raw text inside stays for screen readers only. ---- */
.stamp {
  width: clamp(9rem, 14vw, 12rem); aspect-ratio: 1; transform: rotate(-8deg);
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20200%22%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2296%22%20fill%3D%22none%22%20stroke%3D%22%23D2A94B%22%20stroke-width%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2284%22%20fill%3D%22none%22%20stroke%3D%22%23D2A94B%22%20stroke-width%3D%221%22%2F%3E%3Cdefs%3E%3Cpath%20id%3D%22a%22%20d%3D%22M100%2C100%20m-70%2C0%20a70%2C70%200%201%2C1%20140%2C0%20a70%2C70%200%201%2C1%20-140%2C0%22%2F%3E%3C%2Fdefs%3E%3Ctext%20font-family%3D%22Archivo%2CHelvetica%2CArial%2Csans-serif%22%20font-weight%3D%22600%22%20font-size%3D%229.5%22%20letter-spacing%3D%222.6%22%20fill%3D%22%23D2A94B%22%3E%3CtextPath%20href%3D%22%23a%22%3EMARMED%20LOGISTIKA%20%C2%B7%20ZAGREB%20%C2%B7%20PLO%C4%8CE%20%C2%B7%20OSIJEK%20%C2%B7%3C%2FtextPath%3E%3C%2Ftext%3E%3Ctext%20x%3D%22100%22%20y%3D%2294%22%20text-anchor%3D%22middle%22%20font-family%3D%22Big%20Shoulders%20Display%2CImpact%2Csans-serif%22%20font-weight%3D%22800%22%20font-size%3D%2218%22%20letter-spacing%3D%221%22%20fill%3D%22%23D2A94B%22%3ECARINJENO%3C%2Ftext%3E%3Ctext%20x%3D%22100%22%20y%3D%22114%22%20text-anchor%3D%22middle%22%20font-family%3D%22Archivo%2CHelvetica%2CArial%2Csans-serif%22%20font-weight%3D%22600%22%20font-size%3D%229.5%22%20letter-spacing%3D%222%22%20fill%3D%22%23D2A94B%22%3E%C5%A0PEDICIJA%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat;
  color: transparent; font-size: 0; line-height: 0; overflow: hidden;
}
.stamp svg { display: none; }

/* ---- Mobile: the fixed off-canvas nav is translated 100% to the right; keep
   that off the scrollable area (body.scrollWidth was 2x the viewport). ---- */
html, body { overflow-x: clip; }
/* The header's backdrop-filter makes it the containing block of the fixed nav
   (Chrome), so "inset: 4.75rem 0 0 0" collapsed the panel to 59px. Size it
   explicitly instead of relying on bottom: 0. */
@media (max-width: 960px) {
  .nav { width: 100vw; max-width: 100vw; height: calc(100vh - 4.75rem); height: calc(100dvh - 4.75rem); left: 0; top: 4.75rem; }
  .nav .nav-list > li > a { font-size: 1.35rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; display: block; padding: .5rem 0; }
  .nav .nav-phone { margin-top: .5rem; }
}
/* ---- One accent, one ink. Astra's global palette (blue links #046bd2, navy
   headings #1e293b) must never surface: remap its variables and make every
   heading/link inherit the section colour. ---- */
body, :root {
  --ast-global-color-0: #A17F2C; --ast-global-color-1: var(--gold);
  --ast-global-color-2: #14110C; --ast-global-color-3: #14110C;
  --ast-global-color-4: #FAF8F3; --ast-global-color-5: #F0EBE0;
}
.site-content :is(h1, h2, h3, h4, h5, h6), .elementor-widget-html :is(h1, h2, h3, h4, h5, h6),
.site-content .elementor-widget-html a, .site-content p, .site-content li, .site-content strong, .site-content summary {
  color: inherit;
}
.elementor-section.is-dark, .elementor-section.marmed-head { color: #FAF8F3; }
.elementor-section.is-paper, .elementor-section.is-paper-2 { color: #14110C; }
.is-dark .muted, .marmed-head .muted { color: #C9C2B4 !important; }
.is-paper .muted, .is-paper-2 .muted { color: #443C2E !important; }
.contact-line a, .is-dark .contact-line a, .is-paper .contact-line a, .is-paper-2 .contact-line a { color: var(--gold) !important; }
.is-paper .contact-line a, .is-paper-2 .contact-line a { color: var(--gold-deep) !important; }
.site-content a:hover { color: var(--gold); }
.is-paper a:hover, .is-paper-2 a:hover { color: var(--gold-deep); }
/* WP/CF7/Astra focus rings and buttons: gold, never blue */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold) !important; box-shadow: 0 1px 0 0 var(--gold) !important; }

/* ---- Split blocks: text and figure vertically centred, the offset figure
   no longer sinks below the text; references and FAQ centred against their
   headline (Dino 26.09.). ---- */
.split { align-items: start; }
.split:has(> .figure), .split:has(.refs), .split:has(.faq) { align-items: center; }
.split .figure.is-offset { margin-top: 0; }
.split .figure { width: 100%; }
/* Elementor's ".elementor img { height: auto }" beats the prototype's
   ".figure img { height: 100% }", so a landscape photo inside a 4:5 frame left
   a gap under it and the caption floated away. */
.figure img, .elementor .figure img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
@media (max-width: 1024px) {
  .decl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
}
.refs { align-items: center; justify-content: flex-start; gap: 1rem 2.25rem; font-size: clamp(1.15rem, 1.7vw, 1.6rem); color: #C9C2B4; }
.refs span { white-space: nowrap; }
.refs { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.refs .ref-logo { display: inline-flex; align-items: center; height: 36px; }
.refs img { height: 36px !important; width: auto !important; max-width: 200px; object-fit: contain; opacity: .92; }
.refs span:not(.ref-logo) { line-height: 36px; }
@media (max-width: 860px) { .refs .ref-logo, .refs img { height: 30px !important; } .refs span:not(.ref-logo) { line-height: 30px; } }
.refs img:hover { opacity: 1; }
@media (max-width: 860px) { .refs { gap: .6rem 1.5rem; } }
.faq summary { font-size: 1.05rem; }

/* Astra paints every <button> in its accent blue; the hamburger is ours. */
.nav-toggle, .nav-toggle:hover, .nav-toggle:focus {
  background: none !important; border: 1px solid var(--line-gold) !important;
  color: var(--gold) !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}

/* =====================================================================
   F0 fixes 05.10.2026 (audit A+B, Dino comments 02.10.). Class-level only;
   page structure lives in _elementor_data and is not touched from here.
   ===================================================================== */

/* ---- Self-hosted fonts (latin + latin-ext, variable weight). Files ship in
   wp-content/plugins/marmed-fonts/ because the remote deploy path can only
   write text files into the theme. Replaces every fonts.googleapis.com call. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../../../plugins/marmed-fonts/fonts/archivo-var-latin-ext-v2.woff2") format("woff2");
}
@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url("../../../plugins/marmed-fonts/fonts/big-shoulders-display-var-latin-ext-v2.woff2") format("woff2");
}

/* ---- Focus: one visible 2px ring everywhere (Astra ships 1px dotted).
   Ink on light surfaces, gold on dark ones: both >= 3:1 against the surface. */
:root { --focus: var(--ink-950); }
.is-dark, .marmed-head, .site-header, .site-footer, .hero, .page-head, .marmed-404 { --focus: var(--gold); }
.is-paper, .is-paper-2 { --focus: var(--ink-950); }
html body :is(a, button, summary, [tabindex], input[type=submit]):focus-visible {
  outline: 2px solid var(--focus) !important; outline-offset: 3px !important; box-shadow: none;
}
.mm-form-wrap input:focus-visible, .mm-form-wrap select:focus-visible, .mm-form-wrap textarea:focus-visible { outline: none !important; }

/* ---- Primary button: ink label on gold in every state (was paper text 2.12:1,
   hover gold-on-gold 1.37:1). Hover only where hover exists. */
html body .btn:not(.is-ghost), html body .btn:not(.is-ghost):visited {
  color: var(--ink-950) !important; background: var(--gold); border-color: var(--gold);
}
.btn:hover { transform: none; }
@media (hover: hover) {
  html body .btn:not(.is-ghost):hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink-950) !important; transform: translateY(-1px); }
  html body .btn.is-ghost:hover { transform: translateY(-1px); }
}
html body .btn:not(.is-ghost):active { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ink-950) !important; transform: none; }
html body .btn.is-ghost:active { transform: none; }
.is-paper .btn.is-ghost, .is-paper-2 .btn.is-ghost { color: var(--gold-text) !important; border-color: var(--gold-text); }
@media (prefers-reduced-motion: reduce) { html body .btn:hover { transform: none !important; } }

/* ---- Gold TEXT on light surfaces uses --gold-text (>= 4.5:1); decorative gold
   and gold on dark stay --gold. Small labels never below 12px. */
:is(.is-paper, .is-paper-2) :is(.decl small, .loc .loc-tag, .subnav a b, .text-gold),
:is(.is-paper, .is-paper-2) .elementor-widget-heading div.elementor-heading-title { color: var(--gold-text) !important; }
.is-paper a:hover, .is-paper-2 a:hover, .is-paper .site-content a:hover { color: var(--gold-text); }
.elementor-widget-heading div.elementor-heading-title { font-size: 13px !important; line-height: 1.5 !important; letter-spacing: .16em; }
.field-label { font-size: 13px; }
.decl small, .loc .loc-tag, .contact-line small, .facts small, .footer-ids dt, .site-footer h4, .figure figcaption { font-size: 12px; }
.brand-name small { font-size: 12px; letter-spacing: .12em; }
.mm-form-wrap label { font-size: 12px; color: var(--gold-text); }
.marmed-head .mm-form-wrap label, .is-dark .mm-form-wrap label { color: var(--gold); }

/* ---- Container edge: header/footer share the Elementor content edge
   (boxed 1240 + 10px column padding = 1220 content; 24px section padding,
   16px on mobile). Was 10px (desktop) / 7.8px (mobile) to the left. */
.site-header .container, .site-footer .container { width: min(100% - 68px, 1220px); }
@media (max-width: 767px) { .site-header .container, .site-footer .container { width: calc(100% - 52px); } }

/* ---- Vertical rhythm: one scale. Content sections 96px desktop / 64px mobile;
   two neighbours on the same surface share one gap instead of stacking two. */
/* "content section" = holds a heading or one of the layout blocks; thin text strips
   (privacy page footer bands) keep their own 40px. */
.elementor-top-section:not(.marmed-head):not(:has(h1)):has(h2, .decl, .svc-list, .locs, .split, .grid) { padding-top: 80px !important; padding-bottom: 80px !important; }
:is(.is-paper + .is-paper, .is-paper-2 + .is-paper-2, .is-dark:not(.marmed-head) + .is-dark:not(.marmed-head)).elementor-top-section:not(:has(h1)):has(h2, .decl, .svc-list, .locs, .split, .grid) { padding-top: 0 !important; }
@media (max-width: 767px) {
  .elementor-top-section:not(.marmed-head):not(:has(h1)):has(h2, .decl, .svc-list, .locs, .split, .grid) { padding-top: 64px !important; padding-bottom: 64px !important; }
  :is(.is-paper + .is-paper, .is-paper-2 + .is-paper-2, .is-dark:not(.marmed-head) + .is-dark:not(.marmed-head)).elementor-top-section:not(:has(h1)):has(h2, .decl, .svc-list, .locs, .split, .grid) { padding-top: 0 !important; }
}
.split.mt-3 { margin-top: 48px; }

/* ---- Lists: bullets hang on the text edge of the heading above (Astra adds
   3em margin-left to every ul; one page also padded its h2 by 1.2em). */
.site-content .prose ul, .site-content .elementor-widget-html ul:not([class]), .site-content .elementor-widget-text-editor ul {
  margin-left: 0 !important; padding-left: 1.15em !important; text-align: left;
}
.site-content .prose h2 { padding-left: 0 !important; margin-left: 0 !important; }

/* ---- Service side nav: the left column now spans the full row so .subnav can
   actually stick (its parent was exactly as tall as the nav). A stamp sharing
   that column moves above the nav, so the sticky nav never slides over it, and
   the column ends with its section, so the nav never reaches the footer. */
@media (min-width: 861px) {
  .split > div:has(> .subnav) { align-self: stretch; display: flex; flex-direction: column; }
  .split > div:has(> .subnav) > :has(.stamp) { order: -1; margin: 0 0 48px; }
  .subnav { top: 96px; }
}
@media (max-width: 860px) {
  .split > div:has(> .subnav) { min-width: 0; }
  .subnav { position: static; max-width: 100%; display: flex; gap: 8px; overflow-x: auto; border-top: 0; padding-bottom: 4px; scrollbar-width: thin; }
  .subnav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-ink); white-space: nowrap; grid-template-columns: none; }
  .subnav a b { font-size: .9em; }
  .split > div:has(> .subnav) .stamp { display: none; }
  .split > div:has(> .subnav) > .mt-3:has(.stamp) { display: none; }
}

/* ---- Grids: .grid-2 is two columns (auto-fit with 320px minimum collapsed it
   to one column inside a 661px column). Office cards stay two-up on phones. */
@media (min-width: 600px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 599px) {
  .grid-2:has(> div > h3 .link-arrow) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .grid-2:has(> div > h3 .link-arrow) h3 { font-size: 22px; }
  .grid-2:has(> div > h3 .link-arrow) p { font-size: 14px; }
}
/* .split whose first cell is empty (stamp removed earlier): one full-width column. */
@media (min-width: 861px) {
  .split:has(> div:first-child:empty) { grid-template-columns: minmax(0, 1fr); }
  .split:has(> div:first-child:empty) .prose { max-width: none; }
  .split:has(> div:first-child:empty) .prose :is(p, ul) { max-width: 78ch; }
}
.split > div:first-child:empty { display: none; }

/* ---- Lede top-aligned with the H2 next to it (Dino #2): label and H2 become
   grid items of the split, the lede sits in the H2 row. */
@media (min-width: 861px) {
  .split:has(> div:first-child > .field-label + h2):has(> .lede) { row-gap: 0; }
  .split:has(> div:first-child > .field-label + h2):has(> .lede) > div:first-child { display: contents; }
  .split:has(> div:first-child > .field-label + h2):has(> .lede) > div:first-child > .field-label { grid-column: 1; grid-row: 1; align-self: start; }
  .split:has(> div:first-child > .field-label + h2):has(> .lede) > div:first-child > h2 { grid-column: 1; grid-row: 2; margin-top: 0; }
  .split:has(> div:first-child > .field-label + h2):has(> .lede) > .lede { grid-column: 2; grid-row: 2; margin-top: 0; padding-top: .3em; }
  /* Declaration card centred against the prose next to it (Dino #19, #21, #24). */
  body:not(.page-id-48) .split:has(> div > .decl):has(> .prose) { align-items: center; }
  /* Privacy: long text next to a short card -> the card follows the reader. */
  .page-id-48 .split > div:has(> .decl) { position: sticky; top: 110px; align-self: start; }
}

/* ---- Offices: air between heading and the rule; map / detail links apart and tappable. */
.locs { margin-top: 32px; }
@media (max-width: 767px) { .locs { margin-top: 24px; } }
.loc p:has(> .link-arrow + .link-arrow) { display: flex; flex-wrap: wrap; gap: 4px 24px; }
@media (max-width: 960px), (pointer: coarse) {
  .link-arrow { min-height: 44px; }
  .loc-meta a { display: inline-flex; align-items: center; min-height: 44px; }
}
.loc .loc-tag { letter-spacing: .1em; }

/* ---- CTA phone / e-mail: 44px targets. */
.contact-line a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Contact form: label sits 8px above its field, 24px between groups;
   CF7 errors in the site's own style, inside the form width. */
.mm-form-wrap .mm-form p > br, .mm-form-wrap .wpcf7-form p > label + br { display: none; }
.mm-form-wrap .wpcf7-form p { margin: 0 0 24px; max-width: none; }
.mm-form-wrap label { margin-bottom: 8px; line-height: 1.4; }
/* Filled fields: the field is a visible box right under its label (an underline alone
   read as belonging to the label below it); 3:1 bottom edge. */
.mm-form-wrap :is(input[type=text], input[type=email], input[type=tel], select, textarea) {
  background: var(--paper-2) !important; border: 0 !important; border-bottom: 1px solid var(--ink-500) !important;
  padding: 10px 12px !important; min-height: 44px; box-shadow: none;
}
.mm-form-wrap textarea { height: 160px; min-height: 120px; }
.marmed-head .mm-form-wrap :is(input[type=text], input[type=email], input[type=tel], select, textarea),
.is-dark .mm-form-wrap :is(input[type=text], input[type=email], input[type=tel], select, textarea) {
  background: color-mix(in oklch, var(--paper) 8%, transparent) !important; border-bottom-color: color-mix(in oklch, var(--paper) 55%, transparent) !important;
}
.mm-form-wrap .wpcf7-form-control-wrap { display: block; }
.mm-form-wrap select { padding-right: 32px !important; }
.mm-form-wrap form { width: 100%; }
.mm-form-wrap input:focus, .mm-form-wrap select:focus, .mm-form-wrap textarea:focus {
  border-bottom: 2px solid var(--gold-text) !important; box-shadow: none !important; color: var(--ink-950);
}
.marmed-head .mm-form-wrap input:focus, .marmed-head .mm-form-wrap select:focus, .marmed-head .mm-form-wrap textarea:focus { border-bottom-color: var(--gold) !important; color: var(--paper); }
.mm-form-wrap :is(input, select, textarea).wpcf7-not-valid { border-bottom: 2px solid var(--error) !important; }
.mm-form-wrap .wpcf7-not-valid-tip { color: var(--error); font-size: 13px; font-weight: 600; margin-top: 6px; display: block; }
.mm-form-wrap .wpcf7 form .wpcf7-response-output {
  margin: 8px 0 0; padding: 12px 16px; max-width: 100%; box-sizing: border-box;
  border: 1px solid var(--error); border-left-width: 4px; background: #FBF1EF; color: var(--error); font-size: 15px; line-height: 1.5;
}
.mm-form-wrap .wpcf7 form.sent .wpcf7-response-output { border-color: var(--gold-text); background: var(--paper-2); color: var(--ink-950); }

/* ---- Phones: declaration cards in one column keep only the outer frame
   (cell border-right doubled the frame line); stacked hero buttons share one width. */
@media (max-width: 600px) {
  .decl > div { border-right: 0; }
  .decl > div:last-child { border-bottom: 0; }
  .marmed-head .btn-row .btn, .marmed-404 .btn-row .btn { width: 100%; justify-content: center; }
}

/* ---- Images: a frame that has not loaded yet is a dark tile, not a blank hole. */
.figure { background: var(--ink-850); }

/* ---- Header / mobile nav touch targets. */
.nav-toggle { width: 44px !important; height: 44px !important; flex: 0 0 44px; }
.nav .dropdown-menu-toggle, .nav .ast-header-navigation-arrow { display: none !important; }
@media (max-width: 960px) {
  .nav .sub-menu li a { display: flex; align-items: center; width: fit-content; min-height: 44px; padding: 0; font-size: 16px; }
  .nav .nav-list > li > a { min-height: 44px; }
  .nav .nav-phone, .nav .btn { min-height: 44px; display: inline-flex; align-items: center; }
  /* Closed off-canvas: no offscreen box widening the page (body.scrollWidth was 2x);
     the panel wipes in from the right instead of sliding from beyond the edge. */
  .nav { transform: none !important; clip-path: inset(0 0 0 100%); transition: clip-path .45s var(--ease-out), visibility 0s .45s; }
  .nav.is-open { clip-path: inset(0); transition: clip-path .45s var(--ease-out), visibility 0s; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .nav, .nav.is-open { transition: none; } }

/* ---- Footer: brand lockup as in the header (truck + live name), legible;
   44px link targets on touch screens; 15px body on phones. */
.footer-brand .brand { color: var(--gold); text-decoration: none; }
.footer-brand .brand svg { height: 2.6rem; width: auto; }
.footer-brand .brand-name { font-size: 1.5rem; color: var(--gold); }
.footer-brand .brand-name small { display: block; color: var(--muted-on-dark); }
@media (max-width: 960px) {
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 767px) { .site-footer { font-size: 15px; } }
.footer-legal { font-size: 13px; }

/* ---- Stamp: ring text closed (textLength) and >= 12px at render size
   (13/200 of a 192px stamp = 12.5px; was 9.5 -> 9.1px); hidden on phones
   where it only pushed content down. Same words as before. */
.stamp { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20200%22%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2296%22%20fill%3D%22none%22%20stroke%3D%22%23D2A94B%22%20stroke-width%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2284%22%20fill%3D%22none%22%20stroke%3D%22%23D2A94B%22%20stroke-width%3D%221%22%2F%3E%3Cdefs%3E%3Cpath%20id%3D%22a%22%20d%3D%22M100%2C100%20m-68%2C0%20a68%2C68%200%201%2C1%20136%2C0%20a68%2C68%200%201%2C1%20-136%2C0%22%2F%3E%3C%2Fdefs%3E%3Ctext%20font-family%3D%22Archivo%2CHelvetica%2CArial%2Csans-serif%22%20font-weight%3D%22700%22%20font-size%3D%2213%22%20fill%3D%22%23D2A94B%22%3E%3CtextPath%20href%3D%22%23a%22%20textLength%3D%22422%22%20lengthAdjust%3D%22spacing%22%3EMARMED%20LOGISTIKA%20%C2%B7%20ZAGREB%20%C2%B7%20PLO%C4%8CE%20%C2%B7%20OSIJEK%20%C2%B7%3C%2FtextPath%3E%3C%2Ftext%3E%3Ctext%20x%3D%22100%22%20y%3D%2297%22%20text-anchor%3D%22middle%22%20font-family%3D%22Big%20Shoulders%20Display%2CImpact%2CArial%20Narrow%2Csans-serif%22%20font-weight%3D%22800%22%20font-size%3D%2222%22%20textLength%3D%22104%22%20lengthAdjust%3D%22spacingAndGlyphs%22%20fill%3D%22%23D2A94B%22%3ECARINJENO%3C%2Ftext%3E%3Ctext%20x%3D%22100%22%20y%3D%22118%22%20text-anchor%3D%22middle%22%20font-family%3D%22Archivo%2CHelvetica%2CArial%2Csans-serif%22%20font-weight%3D%22700%22%20font-size%3D%2213%22%20letter-spacing%3D%221.5%22%20fill%3D%22%23D2A94B%22%3E%C5%A0PEDICIJA%3C%2Ftext%3E%3C%2Fsvg%3E"); }
@media (max-width: 860px) { .stamp { display: none; } }

/* ---- Astra scroll-to-top: 44px, brand colours; off on phones (it covered text). */
#ast-scroll-top { width: 44px !important; height: 44px !important; line-height: 44px; background: var(--gold) !important; color: var(--ink-950) !important; right: 24px; bottom: 24px; }
#ast-scroll-top .ast-icon svg { fill: currentColor; }
@media (max-width: 767px) { #ast-scroll-top { display: none !important; } }

/* ---- 404 (child theme 404.php). */
.marmed-404 { background: var(--ink-950); color: var(--text-on-dark); padding-block: 96px; width: 100%; flex: 1 1 100%; }
.marmed-404 .container { width: min(100% - 68px, 1220px); }
.marmed-404 h1 { color: var(--paper); max-width: 16ch; margin: 14px 0 24px; font-size: clamp(2.6rem, 6vw, 5rem); }
.marmed-404 p { color: var(--muted-on-dark); font-size: 1.15rem; max-width: 52ch; margin: 0 0 32px; }
.marmed-404 p.field-label { color: var(--gold); font-size: 13px; margin: 0; }
.marmed-404 .btn-row { gap: 16px; }
.marmed-404 .btn.is-ghost { color: var(--gold); border-color: var(--gold); }
@media (max-width: 767px) { .marmed-404 { padding-block: 64px; } .marmed-404 .container { width: calc(100% - 52px); } }

/* =====================================================================
   F0b 05.10.2026: rules moved out of page data (<style> in HTML widgets
   is stripped by kses on some write paths and then shows as text).
   ===================================================================== */
/* Home hero (was widget 3efc7a6). */
.hero-grid { align-items: flex-start !important; }
.hero-facts { margin-top: 0 !important; }
/* References as an even 2x2 grid (was widget 034d594; Dino #4). */
.refs.refs-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-gold-soft); border-left: 1px solid var(--line-gold-soft); }
.refs.refs-4 > span { display: flex; align-items: center; justify-content: center; min-height: 128px; padding: 20px 16px; border-right: 1px solid var(--line-gold-soft); border-bottom: 1px solid var(--line-gold-soft); line-height: 1.1; text-align: center; white-space: normal; }
.refs.refs-4 .ref-logo { height: auto; }
.refs.refs-4 img { height: 34px !important; width: auto !important; max-width: 100%; object-fit: contain; }
@media (max-width: 860px) { .refs.refs-4 > span { min-height: 96px; padding: 16px 10px; } .refs.refs-4 img { height: 24px !important; } }
/* Kontakt hero on phones (F0b P4): text on solid ink, the truck photo sits below it at full
   width instead of under a 93% scrim (worst-pixel contrast of hero text 17.7:1). */
@media (max-width:767px){html body.page-id-44 .marmed-head{background-size:100% auto!important;background-position:center bottom!important;background-repeat:no-repeat!important;padding-bottom:170px!important} html body.page-id-44 .marmed-head > .elementor-background-overlay{background:linear-gradient(180deg, #14110C 0%, #14110C 63%, rgba(20,17,12,.5) 74%, rgba(20,17,12,.12) 90%, rgba(20,17,12,.45) 100%)!important;opacity:1!important}}
/* Phones (F0b P2): caption under the photo, not over its bottom quarter. The image keeps
   the frame's ratio (wide 16:9, tall 4:5, square 1:1). */
@media (max-width: 600px) {
  html body .figure:has(figcaption) { aspect-ratio: auto; background: none; overflow: visible; }
  html body .figure:has(figcaption) img { height: auto !important; aspect-ratio: 16 / 9; }
  html body .figure.is-tall:has(figcaption) img { aspect-ratio: 4 / 5; }
  html body .figure.is-square:has(figcaption) img { aspect-ratio: 1; }
  html body .figure figcaption { position: static; background: none; padding: 10px 0 0; }
  html body :is(.is-paper, .is-paper-2) .figure figcaption { color: var(--gold-text); }
}
/* F0b P3 ---------------------------------------------------------------
   Kontakt: the intro column stays in view next to the long form (B-kontakt-d-03). */
@media (min-width: 768px) {
  .page-id-44 .elementor-element-186e712 > .elementor-widget-wrap { position: sticky; top: 110px; align-self: flex-start; }
}
/* CTA in the last section: no closing rule above the footer (B-zagreb-jankomir-d-04). */
.elementor-top-section:last-child .cta-block, .elementor-top-section:last-of-type .cta-block { border-bottom: 0; }
/* Hero H1 on phones: 'pretty' keeps a one-letter conjunction off the line end
   ('Ploce, luka i / koridor' -> 'Ploce, luka i koridor / prema Bosni'); 'balance' (already set) did not. */
@media (max-width: 767px) { html body .marmed-head h1, html body .marmed-head h1.elementor-heading-title { text-wrap: pretty; } }


/* 2026-10-08 dorada izgleda i responzivnosti ---------------------------------
   After the strict text cut (copy only from the client's mail). */

/* Astra's customizer sets html{font-size:91.2%} below 921px, so rem-based body
   copy dropped to ~15.5px on tablet and phone. Restore the 16px root there. */
@media (max-width: 921px) {
  html { font-size: 100% !important; }
}

/* Header logo link: 44px tap target. */
.site-header .brand { min-height: 44px; }

/* Office card labels on light surfaces: text gold (>= 4.5:1), dark bands keep --gold. */
.loc .loc-tag { color: var(--gold-text); }

/* Office cards: one column below 900px instead of 2 + orphaned third card on tablet. */
@media (max-width: 900px) {
  .locs { grid-template-columns: 1fr; }
}

/* Office pages: a .split left with a single child, or with an empty .prose
   column after the narrative was removed, collapses to one column. */
.split > .prose:empty { display: none; }
@media (min-width: 861px) {
  .split:has(> div:only-child),
  .split:has(> .prose:empty) { grid-template-columns: minmax(0, 1fr); }
}

/* Logistika: the page is hero + CTA only; the CTA band uses the 64px step. */
.elementor-40 .elementor-element-82aa697.elementor-top-section { padding-top: 64px !important; padding-bottom: 64px !important; }

/* 2026-10-08 v5: tighter rhythm between images, text and CTA bands */
/* CTA band: its own block already has 64px inner padding and a top rule, so the section adds less. */
.elementor-top-section:not(.marmed-head):not(:has(h1)):has(.cta-block):has(h2) { padding-top: 40px !important; }
@media (max-width: 767px) {
  .elementor-top-section:not(.marmed-head):not(:has(h1)):has(.cta-block):has(h2) { padding-top: 24px !important; }
}
/* Špedicija: the hero has no photo, so the dark body section below merges with it; drop its top padding. */
html body .elementor-38 .elementor-element-55a5205.elementor-top-section { padding-top: 0 !important; }
/* Špedicija hero without photo: shorter bottom padding so the text sits closer to the photo below. */
html body .elementor-38 .elementor-element-3875059.elementor-top-section { padding-bottom: 64px !important; }
@media (max-width: 767px) { html body .elementor-38 .elementor-element-3875059.elementor-top-section { padding-bottom: 40px !important; } }

/* 2026-10-08 v6: inline links inside body copy (e.g. Uvoz -> Carinjenje) must look like links */
.split p.muted a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.is-paper .split p.muted a:not(.btn), .is-paper-2 .split p.muted a:not(.btn) { color: var(--gold-deep); }

/* 2026-10-08 v7: pocetna, visi hero s fotkom, kartice usluga sa slikama, Jankomir, upit ----- */
::selection { background: var(--gold); color: var(--ink-950); }
/* Hero: taller, photo visible on the right, text vertically centred. */
html body .elementor-35 .elementor-element.elementor-element-c035957 { padding-top: 0 !important; padding-bottom: 0 !important; }
html body .elementor-35 .elementor-element-c035957 > .elementor-container { min-height: clamp(560px, 78vh, 820px); }
html body .elementor-35 .elementor-element-c035957 > .elementor-container > .elementor-column > .elementor-widget-wrap { align-content: center !important; align-items: center !important; }
/* Text stays left of the cab windscreen (no text over the driver): H1 breaks after "Špedicija i". */
html body .elementor-35 .elementor-element-c035957 h1 { max-width: 7.2em; }
html body .elementor-35 .elementor-element-c035957 > .elementor-background-overlay {
  background-image: linear-gradient(90deg, rgba(20,17,12,.94) 0%, rgba(20,17,12,.78) 42%, rgba(20,17,12,.22) 100%) !important; opacity: 1 !important;
}
.marmed-head .hero-sub { color: #E7E4DD !important; max-width: 30ch; margin: 24px 0 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.marmed-head .hero-actions { margin-top: 32px; }
.marmed-head .btn.is-ghost { color: var(--gold) !important; border-color: var(--gold); }
/* Tablets and phones: text on solid dark, the whole photo under it (no text over the cab). */
@media (max-width: 1024px) {
  html body .elementor-35 .elementor-element.elementor-element-c035957 {
    background-size: 100% auto !important; background-position: center bottom !important; background-repeat: no-repeat !important;
    padding-top: 56px !important; padding-bottom: calc(56.25vw + 8px) !important;
  }
  html body .elementor-35 .elementor-element-c035957 > .elementor-container { min-height: 0 !important; }
  html body .elementor-35 .elementor-element-c035957 > .elementor-background-overlay {
    background-image: linear-gradient(180deg, #14110C 0%, #14110C calc(100% - 56.25vw - 32px), rgba(20,17,12,0) calc(100% - 56.25vw + 24px)) !important;
  }
}
/* Service cards with photos. */
.svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-cards { grid-template-columns: 1fr; gap: 16px; } }
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--ink-850); border: 1px solid var(--line-gold-soft); transition: border-color .35s var(--ease-out); }
.svc-card .figure { aspect-ratio: 4 / 3; }
.svc-card .figure img, .home-jankomir .figure img { filter: saturate(.85) contrast(1.05); }
.svc-card .figure img { transition: transform .6s var(--ease-out); }
.svc-card-body { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; row-gap: 10px; padding: 20px 20px 24px; }
.svc-card .num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold) !important; }
.svc-card h3 { margin: 0; text-transform: uppercase; font-size: clamp(1.5rem, 2.1vw, 1.9rem); transition: color .35s var(--ease-out); }
.svc-card p { grid-column: 1 / -1; margin: 0; font-size: .95rem; line-height: 1.5; }
.is-dark .svc-card p { color: #C9C2B4 !important; }
.svc-card .arrow { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--gold) !important; justify-self: end; transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .svc-card:hover { border-color: var(--gold); }
  .svc-card:hover .figure img { transform: scale(1.04); }
  .svc-card:hover .arrow { transform: translateX(4px); }
  html body .is-dark .svc-card:hover h3 { color: var(--gold) !important; }
}
/* Jankomir: photo left, text right. */
.home-jankomir .split { align-items: center; }
.home-jankomir h2 { margin-top: 0; }
.home-jankomir .link-arrow { color: var(--gold-text); }
/* What to send for a quote. */
.ask-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-gold-soft); }
.ask-list li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-gold-soft);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.ask-list .num { font-size: 1.1rem; color: var(--gold) !important; }
@media (max-width: 600px) { .svc-card .figure { aspect-ratio: 16 / 9; } }
/* Contact form: privacy note above the submit button. */
.mm-form .form-note { font-size: 13px; line-height: 1.5; margin: 8px 0 16px; color: var(--muted-on-paper); }
.mm-form .form-note a { color: var(--gold-text); text-decoration: underline; text-underline-offset: .2em; }
.is-dark .mm-form .form-note, .marmed-head .mm-form .form-note { color: #C9C2B4; }
.is-dark .mm-form .form-note a, .marmed-head .mm-form .form-note a { color: var(--gold); }
