/* ==========================================================================
   Digital Momentum — site styles
   Single-theme brand site. Tokens first, then base, then components.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #12192B;          /* deep navy-black: hero, dark sections, headings */
  --ink-2: #1B2540;        /* raised surface on dark */
  --ink-3: #2A3556;        /* rules on dark */
  --paper: #F5F5F0;        /* warm off-white page ground */
  --paper-2: #ECECE5;      /* alternate section ground */
  --white: #FFFFFF;
  --line: #D6D6CD;         /* rules on light */
  --text: #1B2130;
  --muted: #5C6273;
  --muted-light: #AEB4C4;  /* muted on dark */
  --accent: #FFB020;       /* amber: fills and rules only, never text on light */
  --accent-deep: #E29A00;
  --focus: #FFB020;
  --error: #B42318;
  --success: #1B6B3A;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-0: 0.8125rem;
  --fs-1: 0.9375rem;
  --fs-2: 1.0625rem;
  --fs-3: 1.25rem;
  --fs-4: 1.5rem;
  --fs-5: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --fs-6: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);

  /* Layout */
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 5vw + 32px, 104px);
  --radius: 4px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-6); font-weight: 800; }
h2 { font-size: var(--fs-5); }
h3 { font-size: var(--fs-3); letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration-color: var(--accent); }

ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

.skip {
  position: absolute; left: 16px; top: -100px;
  padding: 8px 12px; background: var(--ink); color: var(--paper);
  border-radius: var(--radius); z-index: 100;
}
.skip:focus { top: 16px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head-row > div { max-width: 720px; }
.section-intro { font-size: var(--fs-3); color: var(--muted); line-height: 1.5; }
.section-dark .section-intro { color: var(--muted-light); }
.section-foot { margin-top: 40px; }

.eyebrow {
  font-size: var(--fs-0);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 3px; background: var(--accent); flex: none; }
.eyebrow-light { color: var(--muted-light); }

.text-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: currentColor; }
.text-link-light { color: var(--white); }

.list-title {
  font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}

.list-title-light { color: var(--muted-light); }
.mt-lg { margin-top: 28px; }

.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist li { position: relative; padding-left: 22px; font-size: var(--fs-1); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 12px; height: 3px; background: var(--accent);
}
.checklist-lg li { font-size: var(--fs-2); padding-left: 26px; }
.checklist-lg li::before { width: 14px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: var(--fs-1);
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn-sm { padding: 10px 16px; font-size: var(--fs-0); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost-light { background: transparent; border-color: var(--ink-3); color: var(--paper); }
.btn-ghost-light:hover { border-color: var(--paper); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { flex: none; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex; gap: 0.18em;
}
.brand-word-a { font-weight: 500; }
.brand-word-b { font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 16px; }
.site-nav ul a {
  text-decoration: none; font-weight: 500; font-size: var(--fs-1); white-space: nowrap;
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.site-nav .btn { white-space: nowrap; }
.site-nav ul a:hover { border-bottom-color: var(--accent); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.08em;
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; cursor: pointer;
  font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-toggle-bar { width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    flex-direction: column; align-items: stretch; gap: 16px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-2); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--accent); }
  .nav-actions { justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(56px, 7vw, 112px) clamp(48px, 6vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 24px; }
.lead { font-size: var(--fs-3); line-height: 1.5; color: var(--muted-light); max-width: 52ch; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note { font-size: var(--fs-1); color: var(--muted-light); max-width: 48ch; }

.pipeline {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}
.pipeline-title {
  font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-light); margin-bottom: 16px;
}
.pipeline-list { counter-reset: stage; }
.pipeline-list li {
  counter-increment: stage;
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-areas: "n stage" "n how" "n kpi";
  column-gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--ink-3);
}
.pipeline-list li::before {
  content: counter(stage);
  grid-area: n;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-1);
  color: var(--muted-light);
  line-height: 1.5;
}
.pipeline-list li.is-final::before { color: var(--accent); }
.pipeline-list .stage { grid-area: stage; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); color: var(--white); line-height: 1.2; }
.pipeline-list .how { grid-area: how; font-size: var(--fs-1); color: var(--muted-light); margin-top: 2px; }
.pipeline-list .kpi { grid-area: kpi; font-size: var(--fs-0); color: var(--paper); margin-top: 6px; }
.pipeline-list .kpi::before { color: var(--muted-light); }
:lang(hr) .pipeline-list .kpi::before { content: "Mjerimo: "; }
:lang(en) .pipeline-list .kpi::before { content: "Measured: "; }
.pipeline-list li.is-final .stage { color: var(--accent); }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px);
}
.page-hero h1 { max-width: 18ch; margin-bottom: 20px; }
.lead-dark { font-size: var(--fs-3); line-height: 1.5; color: var(--muted); max-width: 58ch; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a {
  font-size: var(--fs-0); font-weight: 600; text-decoration: none;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius);
}
.jump a:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Industries strip
   -------------------------------------------------------------------------- */
.industries { border-bottom: 1px solid var(--line); background: var(--white); }
.industries-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  padding-block: 18px;
}
.industries-label { font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.industries-list { display: flex; flex-wrap: wrap; gap: 8px 0; }
.industries-list li { font-size: var(--fs-1); font-weight: 500; }
.industries-list li + li::before { content: "·"; color: var(--accent); margin-inline: 12px; font-weight: 700; }

/* ---- Client logo strip ------------------------------------------------ */
.clients { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.clients::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); }
.clients-row { padding-block: clamp(40px, 5vw, 64px); }
.clients-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 36px); }
.clients-head h2 { font-size: var(--fs-4); margin: 0; max-width: 24ch; }
.clients-head p { font-size: var(--fs-1); color: var(--muted); max-width: 48ch; margin: 6px 0 0; }
.clients-label { font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.clients-label::before { content: ""; width: 20px; height: 3px; background: var(--accent); flex: none; }
.clients-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.clients-list a {
  display: grid; place-items: center; min-height: 148px; padding: 24px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.clients-list a:hover, .clients-list a:focus-visible { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 25, 43, 0.10); }
.clients-list img { height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.clients-list li span { display: block; margin-top: 12px; font-size: var(--fs-0); color: var(--muted); text-align: center; }
.clients-more { font-size: var(--fs-1); font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) {
  .clients-list { grid-template-columns: 1fr; }
  .clients-list a { min-height: 112px; padding: 18px; }
  .clients-list img { height: 64px; }
}
/* Case study link to the live site */
.case-link { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Services (overview grid + detail sections)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}
.service { border-top: 2px solid var(--ink); padding-top: 20px; }
.service h3 { margin-bottom: 10px; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.service p { font-size: var(--fs-1); color: var(--muted); }
.outcome { margin-top: 14px; color: var(--text); font-weight: 500; }
.outcome span {
  display: block;
  font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}

.service-detail { padding-block: clamp(48px, 5vw, 80px); }
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.service-detail-side { border-top: 2px solid var(--ink); padding-top: 18px; }
.service-detail-side .outcome { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Why / principles / questions
   -------------------------------------------------------------------------- */
.why-grid, .principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}
.principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why, .principle { border-top: 1px solid var(--line); padding-top: 18px; }
.why p, .principle p { font-size: var(--fs-1); color: var(--muted); }

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.approach-copy p { color: var(--text); }
.approach-copy .text-link { margin-top: 8px; }

/* Seven questions: numbered grid, one short answer each */
.questions-grid {
  counter-reset: q;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 64px);
}
.question {
  counter-increment: q;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.question::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-4);
  color: var(--ink); line-height: 1.1; letter-spacing: -0.02em;
}
.question h3 { grid-column: 2; margin-bottom: 6px; }
.question p { grid-column: 2; font-size: var(--fs-1); color: var(--muted); }

/* Growth package: four parts and a flow of how they work together */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.package-item { border-top: 2px solid var(--accent); padding-top: 16px; }
.package-item h3 { color: var(--white); margin-bottom: 8px; }
.package-item p { font-size: var(--fs-1); color: var(--muted-light); }
.flow {
  counter-reset: f;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.flow li {
  counter-increment: f;
  position: relative;
  padding-top: 14px;
  border-top: 1px solid var(--ink-3);
  font-size: var(--fs-1); color: var(--paper);
}
.flow li::before {
  content: counter(f);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-bottom: 10px;
  background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-1);
}
.package-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--ink-3);
}
.package-foot .list-title { color: var(--muted-light); }
.package-foot .checklist li { color: var(--paper); }
.package-foot p { font-size: var(--fs-1); color: var(--muted-light); }

.measure { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benchmarks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.benchmarks .measure-table td:nth-child(2) { color: var(--muted); }
.benchmarks .measure-table td:nth-child(3) { font-weight: 600; }
.benchmarks-note { margin-top: 20px; font-size: var(--fs-1); color: var(--muted); }
@media (max-width: 900px) { .benchmarks { grid-template-columns: 1fr; } }
.measure-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); margin-bottom: 12px; letter-spacing: -0.01em; }
.measure-table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); font-variant-numeric: tabular-nums; }
.measure-table th {
  text-align: left; font-size: var(--fs-0); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 8px 0; border-bottom: 2px solid var(--ink);
}
.measure-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.measure-table td:first-child { font-weight: 600; padding-right: 16px; width: 48%; }
.measure-table td:last-child { color: var(--muted); }
.measure-table tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.step-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-3);
}
.process-detail { display: flex; flex-direction: column; }
.process-detail li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 5vw, 80px);
  padding-block: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.process-detail li:last-child { border-bottom: 1px solid var(--line); }
.process-detail-head { display: flex; gap: 16px; align-items: flex-start; }
.process-detail-head h2 { margin-bottom: 4px; }
.step-meta { font-size: var(--fs-1); color: var(--muted); }
.process-detail-body p:first-child { margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   Breadcrumbs, related links, price box (service and location pages)
   -------------------------------------------------------------------------- */
.breadcrumbs { background: var(--white); border-bottom: 1px solid var(--line); font-size: var(--fs-0); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 10px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }
.breadcrumbs + .page-hero { border-top: 0; }

.related { border-top: 2px solid var(--ink); padding-top: 18px; }
.related ul { display: flex; flex-direction: column; gap: 10px; }
.related a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.related a:hover { border-bottom-color: currentColor; }

.price-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price-box .price { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-5); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; }
.price-box .price-note { font-size: var(--fs-1); color: var(--muted); }
.price-box .checklist { margin-top: 16px; }

.area-list a { text-decoration: none; }
.area-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   Illustrations and service icons
   -------------------------------------------------------------------------- */
.illus { width: 100%; height: auto; display: block; }
.photo {
  aspect-ratio: 4 / 3; object-fit: cover; height: auto;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(18, 25, 43, 0.18);
}
.page-hero-grid .photo { max-width: 560px; }
.contact-side .photo { aspect-ratio: 3 / 2; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.page-hero-grid .illus { max-width: 520px; margin-inline: auto; }
.illus-phone { max-width: 300px; margin-inline: auto; }
.local-illus { margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.case-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.service-detail h2 { display: flex; align-items: center; gap: 14px; }
.service-detail h2::before {
  content: ""; width: 48px; height: 48px; flex: none;
  background: no-repeat center / contain;
}
#web h2::before { background-image: url("img/icon-web.svg"); }
#google-profil h2::before, #google-profile h2::before { background-image: url("img/icon-gbp.svg"); }
#meta h2::before { background-image: url("img/icon-meta.svg"); }
#seo h2::before { background-image: url("img/icon-seo.svg"); }
#oglasavanje h2::before, #ads h2::before { background-image: url("img/icon-ads.svg"); }
#analitika h2::before, #analytics h2::before { background-image: url("img/icon-analytics.svg"); }
#konverzije h2::before, #cro h2::before { background-image: url("img/icon-cro.svg"); }

/* --------------------------------------------------------------------------
   Local section / service area
   -------------------------------------------------------------------------- */
.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.local-grid a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li {
  font-size: var(--fs-1); font-weight: 500;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.area-title { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Featured result / case study / testimonials
   -------------------------------------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.case-head { margin-bottom: clamp(28px, 3vw, 40px); }
.case-sub { color: var(--muted); font-size: var(--fs-1); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.case-col { border-top: 2px solid var(--ink); padding-top: 18px; }
.case-col p { color: var(--muted); font-size: var(--fs-1); }
.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: clamp(32px, 4vw, 48px) 0;
  padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.case-numbers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px;
  margin: clamp(28px, 4vw, 40px) 0 12px;
}
.case-numbers li {
  padding: 22px 24px; background: var(--ink); color: var(--paper); border-radius: var(--radius);
  border-top: 4px solid var(--accent); display: flex; flex-direction: column; gap: 4px;
}
.case-numbers strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.case-numbers span { font-weight: 600; font-size: var(--fs-1); }
.case-numbers small { font-size: var(--fs-0); color: var(--muted-light); }
.case-numbers-note { font-size: var(--fs-0); color: var(--muted); max-width: 70ch; margin-bottom: 0; }
@media (max-width: 720px) { .case-numbers { grid-template-columns: 1fr; } }
.case-facts div { margin: 0; }
.case-facts dt { font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.case-facts dd { margin: 0; font-weight: 500; font-size: var(--fs-1); }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.testimonial {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--accent);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-3);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: none;
}
.testimonial footer { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-1); color: var(--muted-light); margin-top: auto; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--paper); }
.testimonial-featured p { font-size: var(--fs-4); }
.testimonial-inline { max-width: 760px; }
.testimonial-inline p { color: var(--text); font-size: var(--fs-4); }
.testimonial-inline footer { color: var(--muted); }
.testimonial-inline cite { color: var(--text); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-3);
  letter-spacing: -0.01em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-weight: 600; color: var(--muted);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--ink); color: var(--paper); padding-block: clamp(48px, 6vw, 80px); }
.cta-band-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band-copy p { color: var(--muted-light); }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-band-phone { color: var(--paper); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--ink-3); }
.cta-band-phone:hover { border-bottom-color: var(--accent); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-section { padding-top: clamp(40px, 5vw, 72px); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-form-col h1 { font-size: var(--fs-5); }
.lead-form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-1); font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 120ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.45); }
.field textarea { resize: vertical; min-height: 96px; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field .error { font-size: var(--fs-0); color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-privacy { font-size: var(--fs-0); color: var(--muted); max-width: 30ch; }
.form-status { font-weight: 500; min-height: 1.5em; }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }

.contact-side { display: flex; flex-direction: column; gap: 24px; }
.nap { border-top: 2px solid var(--ink); padding-top: 18px; }
.nap-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); margin-bottom: 8px; }
.nap address, .nap p { margin-bottom: 6px; }
.nap a { font-weight: 600; }
.hours { color: var(--muted); font-size: var(--fs-1); }

.map {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; position: relative; z-index: 1; }
/* Shown behind the iframe: visible only where an embedding host blocks third-party frames. */
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px);
}
.map-fallback strong { font-family: var(--font-display); font-size: var(--fs-3); }
.map-fallback p { margin: 0; font-size: var(--fs-1); color: var(--muted); }
.map-wide { aspect-ratio: 21 / 9; }
.map-caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius); font-size: var(--fs-1);
}
.map-caption p { margin: 0; color: var(--muted); }
.map-caption strong { color: var(--text); }
.map-block .map { border-radius: var(--radius) var(--radius) 0 0; }
.map-block-home { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 640px) { .map-wide { aspect-ratio: 4 / 3; } }
.map-facade {
  height: 100%;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px);
}
.map-facade-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); }
.map-facade-text { font-size: var(--fs-1); color: var(--muted); max-width: 32ch; }
.map-facade-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }

.next-steps { border-top: 1px solid var(--line); padding-top: 18px; }
.steps-inline { counter-reset: s; display: flex; flex-direction: column; gap: 8px; }
.steps-inline li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: var(--fs-1); color: var(--muted); }
.steps-inline li::before { content: counter(s) "."; font-weight: 700; color: var(--text); font-family: var(--font-display); }

/* ---- Thank-you page --------------------------------------------------- */
.thanks-hero { text-align: center; max-width: 62ch; margin: 0 auto; }
.thanks-hero .eyebrow { justify-content: center; }
.thanks-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 22px; }
.thanks-icon svg { width: 36px; height: 36px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks-hero .cta-row { justify-content: center; margin-top: 28px; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.thanks-next { max-width: 720px; margin: 48px auto 0; border-top: 1px solid var(--line); padding-top: 24px; }

/* ---- About page ------------------------------------------------------- */
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.about-fact { border-top: 2px solid var(--accent); padding-top: 12px; }
.about-fact strong { display: block; font-family: var(--font-display); font-size: var(--fs-4); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.about-fact span { font-size: var(--fs-0); color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-grid .photo { aspect-ratio: 3 / 2; }
.about-story p { max-width: 58ch; }
@media (max-width: 800px) {
  .about-facts { grid-template-columns: 1fr; gap: 14px; }
  .about-grid { grid-template-columns: 1fr; }
}

/* ---- Mobile call bar --------------------------------------------------
   Phones only. Two thumb-sized actions that follow the visitor down the
   page; hidden while the cookie banner needs the same space. */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid var(--ink-3);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 12px; border-radius: var(--radius);
    font-weight: 600; font-size: var(--fs-1); text-decoration: none; white-space: nowrap;
  }
  .mobile-bar-call { background: transparent; color: var(--paper); border: 2px solid var(--ink-3); }
  .mobile-bar-call::before {
    content: ""; width: 18px; height: 18px; flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F5F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .mobile-bar-cta { background: var(--accent); color: var(--ink); }
  .cookie:not([hidden]) ~ .mobile-bar { display: none; }
  .cookie { z-index: 70; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding-block: 56px 24px; font-size: var(--fs-1); }
.footer-head a { color: inherit; text-decoration: none; }
.footer-head a:hover, .footer-head a:focus-visible { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1.1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-3);
}
.brand-footer { color: var(--white); margin-bottom: 14px; }
.footer-tag { max-width: 34ch; }
.footer-head { color: var(--white); font-weight: 600; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: var(--fs-0); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* --------------------------------------------------------------------------
   Cookie consent banner
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -8px 30px rgba(18, 25, 43, 0.25);
}
.cookie-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-block: 18px;
}
.cookie-copy { max-width: 720px; }
.cookie-copy p { font-size: var(--fs-1); color: var(--muted-light); }
.cookie-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-2); color: var(--white); margin-bottom: 4px; }
.cookie-copy a { color: var(--paper); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Legal page prose */
.legal { max-width: 760px; }
.legal h2 { font-size: var(--fs-4); margin-top: 40px; }
.legal h3 { margin-top: 24px; }
.legal p, .legal li { max-width: 70ch; }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); margin-top: 12px; }
.legal th, .legal td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-size: var(--fs-0); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.legal .table-wrap { overflow-x: auto; }

/* --------------------------------------------------------------------------
   Design polish: depth, identity and rhythm
   -------------------------------------------------------------------------- */

/* Header gets a soft shadow once the page scrolls */
.site-header { transition: box-shadow 160ms ease; }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(18, 25, 43, 0.10); }

/* Hero: large brand mark in the background, tighter headline */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; right: -140px; top: -120px;
  width: 620px; height: 620px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg transform='translate(7 0) skewX(-12)' fill='%23F5F5F0'%3E%3Crect x='4' y='28' width='9' height='14' rx='2'/%3E%3Crect x='17' y='17' width='9' height='25' rx='2'/%3E%3Crect x='30' y='6' width='9' height='36' rx='2'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { line-height: 1.04; letter-spacing: -0.028em; }
.hero-note { padding-left: 14px; border-left: 2px solid var(--accent); }

/* Pipeline: numbered nodes joined by a line */
.pipeline { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.pipeline-list { position: relative; }
.pipeline-list::before {
  content: ""; position: absolute; left: 11px; top: 24px; bottom: 24px;
  width: 1px; background: var(--ink-3);
}
.pipeline-list li::before {
  position: relative; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  font-size: var(--fs-0); line-height: 1;
}
.pipeline-list li.is-final::before { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Buttons: a touch of lift on the primary action */
.btn { transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease, box-shadow 120ms ease; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 176, 32, 0.30); }
.btn-accent:active { transform: translateY(0); box-shadow: none; }

/* Home service cards and reasons get an icon */
.services-grid .service::before {
  content: ""; display: block; width: 40px; height: 40px; margin-bottom: 14px;
  background: no-repeat center / contain;
}
.service:has(a[href*="izrada-web-stranica"])::before, .service:has(a[href*="web-design"])::before { background-image: url("img/icon-web.svg"); }
.service:has(a[href*="google-poslovni-profil"])::before, .service:has(a[href*="google-business-profile"])::before { background-image: url("img/icon-gbp.svg"); }
.service:has(a[href*="facebook-instagram"])::before { background-image: url("img/icon-meta.svg"); }
.service:has(a[href*="seo-optimizacija"])::before, .service:has(a[href$="services/seo.html"])::before, .service:has(a[href$="services/seo"])::before { background-image: url("img/icon-seo.svg"); }
.service:has(a[href*="google-ads-meta"])::before { background-image: url("img/icon-ads.svg"); }
.service:has(a[href*="analitika-i-konverzije"])::before, .service:has(a[href*="analytics-conversion"])::before { background-image: url("img/icon-analytics.svg"); }
.services-grid .service:hover { border-top-color: var(--accent); }
.services-grid .service { transition: border-color 120ms ease; }

.why-grid-home .why::before {
  content: ""; display: block; width: 40px; height: 40px; margin-bottom: 14px;
  background: no-repeat center / contain;
}
.why-grid-home .why:nth-child(1)::before { background-image: url("img/icon-system.svg"); }
.why-grid-home .why:nth-child(2)::before { background-image: url("img/icon-analytics.svg"); }
.why-grid-home .why:nth-child(3)::before { background-image: url("img/icon-gbp.svg"); }

/* Testimonials on dark sections sit on a raised surface */
.section-dark .testimonial, .testimonial-featured {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 24px 22px 26px;
}
.section-dark .testimonial p::before, .testimonial-featured p::before {
  content: "“"; display: block;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 0.6;
  color: var(--accent); margin-bottom: 10px;
}

/* Section heads breathe a little more; inner page heroes get a brand mark */
.section-head h2 { margin-bottom: 0.55em; }
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -110px;
  width: 360px; height: 360px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg transform='translate(7 0) skewX(-12)' fill='%2312192B'%3E%3Crect x='4' y='28' width='9' height='14' rx='2'/%3E%3Crect x='17' y='17' width='9' height='25' rx='2'/%3E%3Crect x='30' y='6' width='9' height='36' rx='2'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.035;
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }

/* Process steps: a line ties the four numbers together on desktop */
.process { position: relative; }
.process::before {
  content: ""; position: absolute; left: 0; right: 0; top: 40px;
  height: 1px; background: var(--line);
}
.process li { position: relative; }
.process .step-num { position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper); }
.section-alt .process .step-num { box-shadow: 0 0 0 8px var(--paper-2); }

/* Form fields: a little larger and calmer */
.field input, .field select, .field textarea { padding: 14px 16px; background: var(--white); }
.field label { font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.lead-form { gap: 20px; }

/* Measure tables and price boxes: subtle lift */
.measure, .price-box { box-shadow: 0 10px 30px rgba(18, 25, 43, 0.06); }

/* --------------------------------------------------------------------------
   Icon system (inline SVG data URIs, no extra requests)
   -------------------------------------------------------------------------- */
:root {
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23FFB020'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%2312192B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-question: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2312192B'/%3E%3Cpath d='M9 9.5a3 3 0 1 1 4.2 2.7c-.8.4-1.2 1-1.2 1.8v.5' fill='none' stroke='%23FFB020' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.5' r='1.3' fill='%23FFB020'/%3E%3C/svg%3E");
  --ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a7 7 0 0 0-7 7c0 5 7 12 7 12s7-7 7-12a7 7 0 0 0-7-7z' fill='none' stroke='%2312192B' stroke-width='2'/%3E%3Ccircle cx='12' cy='9.5' r='2.6' fill='%23FFB020'/%3E%3C/svg%3E");
  --ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5h4l1.8 4.5-2.3 1.7a12 12 0 0 0 5.8 5.8l1.7-2.3 4.5 1.8v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5.5a2 2 0 0 1 2-2z' fill='none' stroke='%2312192B' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-phone-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5h4l1.8 4.5-2.3 1.7a12 12 0 0 0 5.8 5.8l1.7-2.3 4.5 1.8v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5.5a2 2 0 0 1 2-2z' fill='none' stroke='%23FFB020' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5' fill='none' stroke='%2312192B' stroke-width='2'/%3E%3Cpath d='M4 7l8 6 8-6' fill='none' stroke='%23FFB020' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%2312192B' stroke-width='2'/%3E%3Cpath d='M12 7v5.5l3.5 2' fill='none' stroke='%23FFB020' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23FFB020' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%2312192B' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%2312192B' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='1.8' fill='%23FFB020'/%3E%3C/svg%3E");
}

/* Checklists: amber check circles instead of dashes */
.checklist li { padding-left: 30px; }
.checklist li::before { width: 19px; height: 19px; top: 0.2em; background: var(--ico-check) no-repeat center / contain; }
.checklist-lg li { padding-left: 34px; }
.checklist-lg li::before { width: 22px; height: 22px; top: 0.18em; }

/* FAQ questions */
.faq summary { padding-left: 38px; }
.faq summary::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; background: var(--ico-question) no-repeat center / contain;
}

/* Contact details: pin, phone, mail, clock */
.nap address, .nap p, .nap .hours { position: relative; padding-left: 28px; }
.nap address::before, .nap p::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px;
  background: var(--ico-pin) no-repeat center / contain;
}
.nap p:has(a[href^="tel:"])::before { background-image: var(--ico-phone); }
.nap p:has(a[href^="mailto:"])::before { background-image: var(--ico-mail); }
.nap p.hours::before { background-image: var(--ico-clock); }
.nap .nap-name { padding-left: 0; }
.nap .nap-name::before, .nap .area-title::before { display: none; }
.nap .list-title { padding-left: 0; }

.footer-links a[href^="tel:"]::before, .footer-links a[href^="mailto:"]::before {
  content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px;
  background: var(--ico-phone-light) no-repeat center / contain;
}
.footer-links a[href^="mailto:"]::before { background-image: var(--ico-mail); filter: invert(1) hue-rotate(180deg) brightness(1.4); }

/* Related links and outcomes */
.related a::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -3px; background: var(--ico-arrow) no-repeat center / contain; }
.outcome span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--ico-target) no-repeat center / contain; }
.step-meta::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--ico-clock) no-repeat center / contain; }
.cta-band-phone::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; background: var(--ico-phone-light) no-repeat center / contain; }

/* Principles (Approach) and package parts (Services) */
.principle::before {
  content: ""; display: block; width: 40px; height: 40px; margin-bottom: 14px;
  background: no-repeat center / contain;
}
.principles .principle:nth-child(1)::before { background-image: url("img/icon-cro.svg"); }
.principles .principle:nth-child(2)::before { background-image: url("img/icon-simple.svg"); }
.principles .principle:nth-child(3)::before { background-image: url("img/icon-analytics.svg"); }
.principles .principle:nth-child(4)::before { background-image: url("img/icon-key.svg"); }

.package-item::before {
  content: ""; display: block; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%;
  background: var(--paper) no-repeat center / 60%;
}
.package-grid .package-item:nth-child(1)::before { background-image: url("img/icon-web.svg"); }
.package-grid .package-item:nth-child(2)::before { background-image: url("img/icon-gbp.svg"); }
.package-grid .package-item:nth-child(3)::before { background-image: url("img/icon-meta.svg"); }
.package-grid .package-item:nth-child(4)::before { background-image: url("img/icon-analytics.svg"); }

/* Industry and location reason cards get a small amber marker */
.why-grid:not(.why-grid-home) .why::before {
  content: ""; display: block; width: 28px; height: 4px; background: var(--accent); margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .services-grid, .why-grid, .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process::before { display: none; }
  .process .step-num { box-shadow: none; }
  .hero::before { width: 420px; height: 420px; right: -160px; top: -100px; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonials { grid-template-columns: 1fr; gap: 28px; }
  .case-facts { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 820px) {
  .hero-grid, .approach-grid, .faq-grid, .contact-grid, .service-detail-grid,
  .featured-grid, .cta-band-row, .process-detail li, .case-grid,
  .questions-grid, .package-foot, .local-grid, .page-hero-grid, .case-head { grid-template-columns: 1fr; }
  .page-hero-grid .illus { max-width: 440px; margin-inline: 0; }
  .illus-phone { max-width: 240px; margin-inline: 0; }
  .hero h1, .page-hero h1 { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .principles { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .services-grid, .why-grid, .field-row, .footer-grid, .package-grid, .flow { grid-template-columns: 1fr; }
  .industries-row { align-items: flex-start; }
  .cta-row .btn, .cta-band-actions .btn { width: 100%; }
}
