/* Plexico: precizna, svijetla tema. Jedan font (Hanken Grotesk), jedna akcentna boja. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #091015;
  --surface: #0f181f;
  --ink: #f1f5f7;
  --muted: #98a6af;
  --line: #22303a;
  --accent: #ffcd05;
  --accent-dark: #e6b800;
  --btn: #ffcd05;
  --deep: #060b0f;
  --edge: #ffcd05;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --section: clamp(72px, 10vw, 128px);
  --gutter: 16px;
  --header-h: 68px;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1264px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: #fff;
  color: #091015;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Tipografija ---------- */

h1, h2, h3 { font-weight: 600; text-wrap: balance; }

.h1, h1 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h3, .h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.muted { color: var(--muted); }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.section-note { color: var(--muted); font-size: 1rem; }

.text-link {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  font-weight: 500;
  transition: text-decoration-color 250ms var(--ease);
}
.text-link:hover { text-decoration-color: var(--accent); }

/* ---------- Dugmad ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.btn-primary { background: var(--btn); color: #14110a; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #091015; }
.btn-light { background: #fff; color: #091015; }
.btn-light:hover { background: #ffe066; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Zaglavlje ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease), background-color 250ms var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(9, 16, 21, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 30px; width: auto; }
.site-footer .brand img { height: 34px; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 28px; }
.nav-desktop a:not(.btn) {
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
}
.nav-desktop a:not(.btn):hover { color: var(--ink); }
.nav-desktop a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.menu-toggle {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--white);
  padding: 0 var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
.mobile-nav ul { margin-top: 24px; border-top: 1px solid var(--line); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a {
  display: block;
  padding: 20px 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-nav li a[aria-current="page"] { color: var(--accent); }
.mobile-nav .btn { margin-top: 32px; width: 100%; }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Okviri za fotografije ---------- */

.frame {
  position: relative;
  aspect-ratio: var(--r, 4 / 3);
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.04);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.frame:hover img { transform: scale(1.03); }

.frame .c {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--muted);
  border-style: solid;
  border-width: 0;
  opacity: 0.7;
}
.frame .tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.frame .tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.frame .bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.frame .br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }

.frame .dim {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 52px;
  height: 9px;
  border-left: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  opacity: 0.55;
}
.frame .dim::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
  background: var(--muted);
}
.frame .cap {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 22px;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--muted);
}
.frame.has-image .c,
.frame.has-image .dim,
.frame.has-image .cap { display: none; }
.frame.has-image {
  background: var(--white);
  background-image: none;
  box-shadow: none;
  border: 1px solid var(--line);
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 7vw, 96px) 0 0; }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 28px; }
.hero .btn-row { margin-top: 36px; }

.wm-band {
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wm {
  width: 100%;
  height: auto;
  overflow: visible;
}
.wm-line { stroke: var(--muted); stroke-width: 3; fill: none; }
.wm-main path {
  fill: url(#acrylic);
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.wm-edge path { fill: var(--edge); stroke: none; }
.wm-edge { transform: translate(-6px, 8px); }

@media (min-width: 768px) {
  .wm-line, .wm-main path { stroke-width: 1.8; }
  .wm-edge { transform: translate(-4px, 5px); }
}
@media (min-width: 1200px) {
  .wm-line, .wm-main path { stroke-width: 1.2; }
  .wm-edge { transform: translate(-3px, 4px); }
}

@keyframes wm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wm-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
@keyframes wm-edge { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .wm-main path {
    animation:
      wm-draw 1.6s var(--ease) calc(0.2s + var(--i) * 0.11s) both,
      wm-fill 0.7s ease-out 1.9s both;
  }
  .wm-edge { animation: wm-edge 0.9s ease-out 2.3s both; }
  .wm-line { animation: wm-edge 0.8s ease-out 0.1s both; }
}

/* ---------- Sekcije ---------- */

.section { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 30ch; }
.section.alt { background: var(--surface); }

.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.page-head .lede { margin-top: 24px; }

/* Koraci narudžbe (stvarni slijed) */
.steps { display: grid; gap: 40px; }
.step { border-top: 1px solid var(--ink); padding-top: 20px; }
.step .n {
  display: block;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 28px;
}
.step p { max-width: 34ch; }
.step h3 { margin-bottom: 10px; }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* Šta radimo: asimetrična mreža */
.work-grid { display: grid; gap: 64px 32px; }
.work { display: block; }
.work .rule { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.work h3 { font-size: 1.75rem; margin-bottom: 8px; }
.work ul { color: var(--muted); }
.work li + li { margin-top: 2px; }

@media (min-width: 900px) {
  .work-grid { grid-template-columns: repeat(12, 1fr); gap: 96px 40px; }
  .work.w1 { grid-column: 1 / span 7; }
  .work.w2 { grid-column: 8 / span 5; margin-top: 120px; }
  .work.w3 { grid-column: 1 / span 5; }
  .work.w4 { grid-column: 6 / span 7; margin-top: 64px; }
}

.more { margin-top: clamp(48px, 7vw, 80px); }

/* Završna traka */
.cta-band {
  position: relative;
  background: var(--deep);
  color: #fff;
  padding: var(--section) 0;
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band.has-bg { clip-path: inset(0); }
.cta-band.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(14, 26, 33, 0.80), rgba(14, 26, 33, 0.88));
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--edge), transparent);
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { margin-top: 20px; color: #b4c3cc; max-width: 52ch; font-size: 1.1875rem; }
.cta-band .btn { margin-top: 36px; }

/* ---------- Radovi ---------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }

.gallery { columns: 1; column-gap: 24px; }
.gallery .tile { break-inside: avoid; margin-bottom: 24px; }
.gallery .tile[hidden] { display: none; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; column-gap: 32px; } .gallery .tile { margin-bottom: 32px; } }

/* ---------- Usluge ---------- */

.service-row {
  display: grid;
  gap: 32px;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.service-row h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 20px; }
.service-row li { padding: 10px 0; border-top: 1px solid var(--line); }
.service-row li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .service-row.rev .service-text { order: 2; }
}

.todo-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.todo-list li:last-child { border-bottom: 1px solid var(--line); }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 7fr; gap: 80px; } }

.check-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list strong { font-weight: 600; }

/* ---------- Kako naručiti ---------- */

.how-steps { display: grid; gap: 0; }
.how-step {
  display: grid;
  gap: 12px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.how-step .n { font-size: 3rem; line-height: 1; font-weight: 300; color: var(--muted); letter-spacing: -0.04em; }
.how-step p { max-width: 54ch; }
@media (min-width: 768px) {
  .how-step { grid-template-columns: 160px 1fr 1.4fr; gap: 40px; align-items: start; }
}

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; gap: 64px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 96px; } }

.form { display: grid; gap: 28px; }
.form .pair { display: grid; gap: 28px; }
@media (min-width: 640px) { .form .pair { grid-template-columns: 1fr 1fr; gap: 32px; } }

.field label { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 2px; }
.field label .req { color: var(--ink); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #c9d0d5;
  border-radius: 0;
  background: transparent;
  font-size: 1.125rem;
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.field textarea { height: auto; min-height: 128px; padding: 14px 0; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-bottom-color: #b3261e; box-shadow: 0 1px 0 0 #b3261e; }
.field .err { display: block; margin-top: 6px; font-size: 0.875rem; color: #b3261e; min-height: 0; }
.field .err:empty { display: none; }
.field .hint { margin-top: 6px; font-size: 0.875rem; color: var(--muted); }

.field input[type="file"] {
  width: 100%;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--muted);
}
.field input[type="file"]::file-selector-button {
  height: 40px;
  padding: 0 16px;
  margin-right: 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 250ms var(--ease), color 250ms var(--ease);
}
.field input[type="file"]::file-selector-button:hover { background: var(--ink); color: #091015; }

.form-actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.form-notice {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  background: var(--surface);
  max-width: 60ch;
}
.form-notice[hidden] { display: none; }

.contact-details { display: grid; gap: 0; margin-bottom: 40px; }
.contact-details > div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-details > div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt { font-size: 0.875rem; color: var(--muted); margin-bottom: 2px; }
.contact-details dd { margin: 0; font-size: 1.125rem; }
.placeholder-text { color: var(--muted); }

/* ---------- Podnožje ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 0; }
.footer-grid { display: grid; gap: 40px; }
.footer-grid h2 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 12px; }
.footer-grid li { padding: 3px 0; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 64px; } }

/* ---------- Donja traka na mobitelu ---------- */

.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(9, 16, 21, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { height: 48px; padding: 0 8px; font-size: 0.9375rem; }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}


/* ---------- Parallax (JS): slika se pomjera sporije od stranice ---------- */

.parallax-band {
  position: relative;
  height: clamp(380px, 70vh, 720px);
  background: var(--deep);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.parallax-band::after, .hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(6,11,15,.45), rgba(6,11,15,.6));
}
.parallax-bg {
  position: absolute;
  left: 0; width: 100%;
  top: -18%; height: 136%;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--deep);
  will-change: transform;
}
.cta-band.has-bg { clip-path: none; overflow: hidden; }
.cta-band.has-bg .parallax-bg { z-index: 0; }
.band-text { position: relative; z-index: 2; color: #fff; }
.band-text h2 { max-width: 16ch; font-size: clamp(2.25rem, 5.5vw, 4.75rem); line-height: 1.04; letter-spacing: -0.03em; }

.eyebrow { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--edge); margin-bottom: 20px; font-weight: 500; }

/* ulazne animacije */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-inner > * { opacity: 0; transform: translateY(24px); animation: rise 1000ms var(--ease) forwards; }
.js .hero-inner > *:nth-child(2) { animation-delay: 120ms; }
.js .hero-inner > *:nth-child(3) { animation-delay: 240ms; }
.js .hero-inner > *:nth-child(4) { animation-delay: 360ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero-inner > * { opacity: 1; transform: none; animation: none; }
  .parallax-bg { top: 0; height: 100%; }
}

/* Hero s fotografijom */
.hero-photo { position: relative; padding: 0; min-height: clamp(600px, 92vh, 940px); display: flex; align-items: center; color: #fff; background: var(--deep); overflow: hidden; }
.hero-bg { position: absolute; left:0; width:100%; top:-12%; height:124%; background-size: cover; background-position: 50% 45%; background-repeat: no-repeat; will-change: transform; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,11,15,.92) 0%, rgba(6,11,15,.7) 50%, rgba(6,11,15,.35) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.hero-photo h1, .hero-photo .lede { color: #fff; }
.hero-photo .lede { opacity: .88; max-width: 52ch; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 60ch; }
.hero-photo h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); max-width: 18ch; }

/* tamna tema: finese */
.site-footer { background: var(--deep); }
.section.alt { background: var(--surface); }
.frame.has-image { border-color: var(--line); }
.work h3, .step h3 { color: var(--ink); }
.step { border-top-color: var(--line); }
.step .n { color: var(--accent); }
.field input, .field textarea { color: var(--ink); }
.text-link { text-decoration-color: var(--accent); }
::selection { background: var(--btn); color: #14110a; }

/* Šta radimo: ujednačene kartice */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.svc-card { position: relative; overflow: hidden; border-radius: 6px; min-height: 440px; background: var(--deep); isolation: isolate; border: 1px solid var(--line); }
@media (min-width: 760px) { .svc-card { min-height: 520px; } }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,11,15,.05) 20%, rgba(6,11,15,.9) 82%); }
.svc-card:hover img { transform: scale(1.05); }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 32px); color: #fff; }
.svc-n { display: block; font-size: .8125rem; letter-spacing: .16em; color: var(--accent); margin-bottom: 10px; font-weight: 500; }
.svc-body h3 { color: #fff; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; max-width: 22ch; }
.svc-body ul { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-wrap: wrap; gap: 6px 18px; color: rgba(255,255,255,.82); font-size: .9375rem; }
.svc-body li { position: relative; }
.svc-body li + li::before { content: ""; position: absolute; left: -10px; top: .7em; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

/* Hero: specifikacije */
.hero-photo h1 { font-size: clamp(2.75rem, 7vw, 6rem); max-width: 14ch; }
.hero-photo .lede { margin-top: 20px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); }
.hero-specs { margin: 32px 0 0; max-width: 680px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-specs > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); }
.hero-specs dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 3px; font-weight: 500; }
.hero-specs dd { margin: 0; color: rgba(255,255,255,.9); font-size: .9688rem; display: flex; flex-wrap: wrap; gap: 4px 0; }
.hero-specs dd { gap: 6px; }
.hero-specs dd span { padding: 3px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .875rem; line-height: 1.5; background: rgba(6,11,15,.35); }
@media (max-width: 560px) {
  .hero-specs > div { grid-template-columns: 1fr; gap: 4px; }
}
.js .hero-inner > *:nth-child(5) { animation-delay: 480ms; }

/* Koraci: broj pored naslova */
.step { display: grid; grid-template-columns: auto 1fr; gap: 0 20px; align-items: start; }
.step .n { font-size: 3rem; margin: 0; line-height: .9; color: var(--accent); }
.step h3 { margin: 4px 0 8px; }

/* Hero: kvadratna slika desno, tekst lijevo */
.hero-split .hero-bg { background-position: 50% 55%; }
@media (min-width: 1000px) {
  .hero-split .hero-bg { left: 40%; width: 60%; background-size: cover; background-position: 40% 55%; }
  .hero-split::after { background: linear-gradient(90deg, var(--deep) 0%, var(--deep) 40%, rgba(6,11,15,.55) 52%, rgba(6,11,15,.05) 72%, rgba(6,11,15,0) 100%); }
  .hero-split::before { background: none; }
}
@media (max-width: 999px) {
  .hero-split::after { background: linear-gradient(180deg, rgba(6,11,15,.55) 0%, rgba(6,11,15,.88) 45%, rgba(6,11,15,.95) 100%); }
}
@media (min-width: 1000px) {
  .hero-split .hero-bg { left: 32%; width: 68%; background-position: 100% 55%; }
  .hero-split::after { background: linear-gradient(90deg, var(--deep) 0%, var(--deep) 33%, rgba(6,11,15,.7) 45%, rgba(6,11,15,.1) 62%, rgba(6,11,15,0) 100%); }
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact-details a, .footer-grid a[href^="tel"], .footer-grid a[href^="mailto"] { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-details a:hover, .footer-grid a:hover { border-bottom-color: var(--accent); }
.form-notice a { color: inherit; }

/* Završni blok s objektom: natpis lijevo vidljiv, tekst desno */
.cta-objekat { min-height: clamp(560px, 80vh, 760px); display: flex; align-items: center; }
.cta-objekat .parallax-bg { top: -10%; height: 120%; background-position: 80% 30%; }
.cta-objekat.has-bg::after { background: linear-gradient(90deg, rgba(6,11,15,.10) 0%, rgba(6,11,15,.15) 40%, rgba(6,11,15,.72) 62%, rgba(6,11,15,.85) 100%); }
.cta-objekat > .container { display: flex; flex-direction: column; align-items: flex-start; padding-left: max(var(--gutter), 52%); }
.cta-objekat h2, .cta-objekat p { text-shadow: 0 1px 16px rgba(0,0,0,.35); }
@media (max-width: 899px) {
  .cta-objekat { align-items: flex-end; min-height: 640px; }
  .cta-objekat .parallax-bg { background-position: 42% 0%; }
  .cta-objekat.has-bg::after { background: linear-gradient(180deg, rgba(6,11,15,.05) 0%, rgba(6,11,15,.1) 35%, rgba(6,11,15,.85) 62%, rgba(6,11,15,.95) 100%); }
  .cta-objekat > .container { padding-left: var(--gutter); }
}
.parallax-band::after { background: linear-gradient(90deg, rgba(6,11,15,.82) 0%, rgba(6,11,15,.6) 45%, rgba(6,11,15,.25) 100%); }
@media (max-width: 767px) { .parallax-band::after { background: rgba(6,11,15,.62); } }
