﻿:root {
      --bg: #05060a;
      --gold: #c4b07a;
      --gold-soft: #e8dcc0;
      --line: rgba(196, 176, 122, 0.35);
      --white: #f4f6fa;
      --muted: rgba(244, 246, 250, 0.8);
      --font-display: "Cormorant Garamond", Georgia, serif;
      --font-body: "Outfit", sans-serif;
      --text-xs: 0.75rem;
      --text-sm: 0.85rem;
      --text-body: 0.95rem;
      --text-md: 1rem;
      --text-lead: 1.05rem;
      --text-title: clamp(2rem, 4.5vw, 2.85rem);
      --text-hero: clamp(2.4rem, 8vw, 5.2rem);
      --title-tracking: 0.16em;
      --heading-size: clamp(1.2rem, 2.2vw, 1.45rem);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }
    body {
      font-family: var(--font-body);
      font-size: var(--text-body);
      line-height: 1.55;
      background: var(--bg);
      color: var(--white);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }

    .nav {
      position: absolute;
      top: 0; left: 0; right: 0;
      z-index: 40;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem clamp(1.25rem, 4vw, 3rem);
    }
    .nav-brand {
      font-family: var(--font-display);
      letter-spacing: 0.28em;
      color: var(--gold-soft);
      font-size: var(--text-md);
      font-weight: 600;
      min-width: 0;
    }
    .nav-tagline {
      margin-left: 1.1rem;
      font-size: var(--text-xs);
      font-weight: 300;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--muted);
      white-space: nowrap;
    }
    .nav-tagline strong {
      color: var(--gold-soft);
      font-weight: 600;
    }
    .nav-left {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      min-width: 0;
    }
    .nav-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-shrink: 0;
    }
    .nav-toggle {
      appearance: none;
      border: 1px solid var(--line);
      background: rgba(5, 6, 10, 0.35);
      width: 2.55rem;
      height: 2.55rem;
      border-radius: 10px;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.28rem;
      cursor: pointer;
      flex-shrink: 0;
      transition: border-color 0.2s ease, background 0.2s ease;
    }
    .nav-toggle:hover {
      border-color: var(--gold);
      background: rgba(196, 176, 122, 0.08);
    }
    .nav-toggle span {
      display: block;
      width: 1.05rem;
      height: 1.5px;
      background: var(--gold-soft);
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(5px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-5px) rotate(-45deg);
    }
    .lang-switch {
      display: inline-flex;
      align-items: stretch;
      gap: 0;
      margin: 0;
      padding: 0.18rem;
      border: 1px solid rgba(196, 176, 122, 0.45);
      background: rgba(196, 176, 122, 0.06);
      box-shadow: inset 0 0 0 1px rgba(232, 220, 192, 0.06);
    }
    .lang-btn {
      appearance: none;
      border: none;
      background: transparent;
      color: rgba(244, 246, 250, 0.55);
      font-family: var(--font-body);
      font-size: var(--text-xs);
      font-weight: 500;
      letter-spacing: 0.06em;
      padding: 0.42rem 0.55rem;
      cursor: pointer;
      transition: color 0.2s ease, background 0.2s ease;
      white-space: nowrap;
      position: relative;
    }
    .lang-btn + .lang-btn::before {
      content: "";
      position: absolute;
      left: 0;
      top: 22%;
      bottom: 22%;
      width: 1px;
      background: rgba(196, 176, 122, 0.28);
    }
    .lang-btn:hover {
      color: var(--gold-soft);
      background: rgba(196, 176, 122, 0.1);
    }
    .lang-btn.is-active {
      color: #120e05;
      background: linear-gradient(135deg, #a8986a, #e8dcc0 55%, #8a7b55);
      font-weight: 600;
    }
    .lang-btn.is-active + .lang-btn::before,
    .lang-btn.is-active::before {
      opacity: 0;
    }

    .nav-backdrop {
      position: fixed;
      inset: 0;
      z-index: 50;
      background: rgba(2, 3, 6, 0.62);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.28s ease;
    }
    .nav-backdrop.is-open {
      opacity: 1;
      pointer-events: auto;
    }
    .site-menu {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 60;
      width: min(20rem, 88vw);
      height: 100svh;
      background: linear-gradient(180deg, #0a0c12 0%, #05060a 100%);
      border-right: 1px solid rgba(196, 176, 122, 0.18);
      box-shadow: 18px 0 48px rgba(0, 0, 0, 0.45);
      padding: 1.25rem 1.25rem 2rem;
      transform: translateX(-105%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .site-menu.is-open {
      transform: translateX(0);
    }
    .site-menu-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(196, 176, 122, 0.14);
    }
    .site-menu-brand {
      font-family: var(--font-display);
      letter-spacing: 0.22em;
      color: var(--gold-soft);
      font-size: 0.95rem;
      font-weight: 600;
    }
    .nav-close {
      appearance: none;
      border: 1px solid var(--line);
      background: transparent;
      color: var(--gold-soft);
      width: 2.2rem;
      height: 2.2rem;
      border-radius: 10px;
      font-size: 1.35rem;
      line-height: 1;
      cursor: pointer;
      transition: border-color 0.2s ease, background 0.2s ease;
    }
    .nav-close:hover {
      border-color: var(--gold);
      background: rgba(196, 176, 122, 0.08);
    }
    .site-menu-links {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }
    .site-menu-links a {
      display: block;
      padding: 0.85rem 1rem;
      border: 1px solid transparent;
      border-radius: 10px;
      font-size: var(--text-sm);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }
    .site-menu-links a:hover {
      color: var(--gold-soft);
      border-color: rgba(196, 176, 122, 0.28);
      background: rgba(196, 176, 122, 0.06);
    }
    .site-menu-links a.is-current {
      color: var(--gold-soft);
      border-color: rgba(196, 176, 122, 0.35);
      background: rgba(196, 176, 122, 0.08);
    }
    .site-menu-links a.menu-cta {
      margin-top: 0.35rem;
      border-color: transparent;
      background: linear-gradient(135deg, #a8986a, #e8dcc0 55%, #8a7b55);
      color: #120e05;
      font-weight: 500;
      text-align: center;
    }
    .site-menu-links a.menu-cta:hover {
      color: #120e05;
      border-color: transparent;
      box-shadow: 0 0 20px rgba(196, 176, 122, 0.28);
    }
    .site-menu-links a.menu-cta.is-current {
      color: #120e05;
      border-color: transparent;
    }
    body.menu-open {
      overflow: hidden;
    }

    .hero {
      position: relative;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 4rem 1.25rem 1.75rem;
      overflow-x: clip;
      overflow-y: visible;
      text-align: center;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      background: var(--bg) url("bg.png") center center / cover no-repeat;
    }

    .hero-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg,
          rgba(5, 6, 10, 0.72) 0%,
          rgba(5, 6, 10, 0.28) 28%,
          rgba(5, 6, 10, 0.12) 50%,
          rgba(5, 6, 10, 0.55) 78%,
          rgba(5, 6, 10, 0.92) 100%);
    }

    .hero > *:not(.hero-bg) { position: relative; z-index: 1; }

    .logo {
      width: 88px;
      height: 74px;
      margin: 0 auto 0.35rem;
      filter: drop-shadow(0 0 16px rgba(196, 176, 122, 0.45));
    }

    .brand {
      font-family: var(--font-display);
      font-size: var(--text-hero);
      font-weight: 600;
      letter-spacing: 0.24em;
      text-indent: 0.24em;
      line-height: 1;
      color: var(--gold-soft);
      margin-bottom: 0.9rem;
      max-width: 100%;
      text-transform: uppercase;
      text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
      font-variant-ligatures: none;
      font-kerning: none;
    }

    .lead {
      width: auto;
      max-width: min(42rem, 100%);
      margin: 0 auto 0.55rem;
      font-size: var(--text-lead);
      font-weight: 300;
      color: var(--muted);
      line-height: 1.55;
      white-space: normal;
      text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
      padding: 0 0.5rem;
    }

    .lead em {
      font-style: normal;
      color: var(--gold-soft);
      font-weight: 500;
    }

    .tagline {
      width: auto;
      max-width: min(40rem, 100%);
      margin: 0 auto 0;
      font-size: var(--text-lead);
      font-weight: 300;
      color: var(--white);
      line-height: 1.55;
      white-space: normal;
      text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
      padding: 0 0.5rem;
    }

    .tagline span {
      color: var(--gold-soft);
      font-weight: 500;
    }

    @media (min-width: 901px) {
      .lead,
      .tagline {
        width: max-content;
        max-width: 96vw;
        white-space: nowrap;
        padding: 0;
      }
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 11.5rem;
      padding: 0.9rem 1.4rem;
      font-size: var(--text-xs);
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      border: 1px solid transparent;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary {
      background: linear-gradient(135deg, #a8986a, #e8dcc0 55%, #8a7b55);
      color: #120e05;
      box-shadow: 0 0 26px rgba(196, 176, 122, 0.3);
    }
    .btn-ghost {
      border-color: var(--line);
      background: rgba(5, 6, 10, 0.4);
      backdrop-filter: blur(4px);
    }
    .btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

    /* Ispod žutog i plavog polukruga */
    .services {
      width: min(1080px, 100%);
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      margin-top: auto;
      margin-bottom: 0.35rem;
      padding-top: clamp(2.5rem, 8vh, 5rem);
      gap: 0.5rem;
    }

    .hero-impact {
      display: none;
    }

    .service {
      padding: 0.5rem 0.85rem;
    }

    .service-icon {
      width: 46px;
      height: 46px;
      margin: 0 auto 0.75rem;
      border: 1px solid var(--line);
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: var(--gold-soft);
    }

    /* Desna strana kao na slici â€” plavo samo ikone */
    .service:nth-child(3) .service-icon,
    .service:nth-child(4) .service-icon {
      border-color: rgba(64, 192, 255, 0.45);
      color: #5ec8ff;
    }
    .service-icon svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .service h3 {
      font-family: var(--font-display);
      font-size: var(--heading-size);
      letter-spacing: 0.035em;
      text-transform: none;
      font-weight: 500;
      margin-bottom: 0.45rem;
      color: var(--gold-soft);
      font-variant-ligatures: none;
      font-kerning: none;
    }
    .service p {
      font-size: var(--text-body);
      font-weight: 300;
      color: var(--muted);
      line-height: 1.45;
    }

    /* Detaljne usluge â€” #usluge */
    .offer {
      background: var(--bg);
      padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
      border-top: 1px solid rgba(196, 176, 122, 0.12);
    }
    .offer-inner {
      width: min(980px, 100%);
      margin: 0 auto;
    }
    .offer-head {
      text-align: center;
      margin-bottom: clamp(2rem, 5vw, 3rem);
    }
.offer-head h1,
.offer-head h2,
.page .offer-head h1,
.page .process-page-title,
.page .contact h1,
.page .contact h2,
.about-inner h1,
.inquiry h2 {
  font-family: var(--font-display);
  color: var(--gold-soft);
  font-size: var(--text-title);
  letter-spacing: var(--title-tracking);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 400;
  font-style: italic;
  font-variant-ligatures: none;
  font-kerning: none;
}
.page .offer-head p,
.page .process > p,
.page .contact-intro,
.about-copy p {
  font-weight: 300;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.78);
}
.page .offer-item h2,
.offer-item h2,
.page .process-step h2,
.work-body h2 {
  font-family: var(--font-display);
  font-size: var(--heading-size);
  letter-spacing: 0.035em;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--gold-soft);
  text-transform: none;
  font-variant-ligatures: none;
  font-kerning: none;
  white-space: normal;
}
.page .offer-item .meta,
.page .process-step .meta,
.work-body .meta,
.about-role {
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 220, 192, 0.7);
}
    .offer-head p {
      color: var(--muted);
      font-weight: 300;
      font-size: var(--text-lead);
      max-width: 36rem;
      margin: 0 auto;
      line-height: 1.55;
    }

    .offer-list {
      display: grid;
      gap: 1.35rem;
      margin-bottom: clamp(2.75rem, 6vw, 4rem);
    }
    .offer-item {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1rem 1.25rem;
      align-items: start;
      padding-bottom: 1.35rem;
      border-bottom: 1px solid rgba(196, 176, 122, 0.14);
    }
    .offer-item:last-child { border-bottom: none; padding-bottom: 0; }
    .offer-item .service-icon { margin: 0; }
    .offer-item h3 {
      font-size: var(--text-md);
      letter-spacing: 0.04em;
      font-weight: 600;
      margin-bottom: 0.35rem;
      color: var(--white);
      text-transform: none;
    }
    .offer-item .meta {
      display: block;
      font-size: var(--text-sm);
      color: var(--gold-soft);
      font-weight: 400;
      letter-spacing: 0.04em;
      margin-bottom: 0.45rem;
    }
    .offer-item p {
      font-size: var(--text-body);
      font-weight: 300;
      color: var(--muted);
      line-height: 1.55;
    }
    .offer-item .tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 0.85rem;
    }
    .offer-item .tech-tags span {
      font-size: var(--text-xs);
      font-weight: 400;
      letter-spacing: 0.04em;
      color: var(--white);
      padding: 0.3rem 0.6rem;
      border: 1px solid rgba(196, 176, 122, 0.28);
      background: rgba(196, 176, 122, 0.06);
    }

    .process {
      margin-bottom: 0;
    }
    .process h3 {
      font-family: var(--font-display);
      color: var(--gold-soft);
      font-size: var(--text-title);
      letter-spacing: var(--title-tracking);
      text-transform: uppercase;
      margin-bottom: 0.55rem;
      text-align: center;
      font-weight: 400;
      font-style: italic;
      font-variant-ligatures: none;
      font-kerning: none;
    }
    .process > p {
      text-align: center;
      color: var(--muted);
      font-weight: 300;
      margin-bottom: 1.75rem;
      font-size: var(--text-lead);
      max-width: 32rem;
      margin-left: auto;
      margin-right: auto;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
    }
    .process-step {
      text-align: center;
    }
    .process-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2rem;
      height: 2rem;
      margin-bottom: 0.7rem;
      border: 1px solid var(--line);
      border-radius: 50%;
      color: var(--gold-soft);
      font-size: var(--text-sm);
      font-weight: 500;
    }
.process-step h2,
.process-step h4 {
  font-family: var(--font-display);
  font-size: var(--heading-size);
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--gold-soft);
  letter-spacing: 0.035em;
  text-transform: none;
  font-variant-ligatures: none;
  font-kerning: none;
  white-space: normal;
}
    .process-step p {
      font-size: var(--text-body);
      font-weight: 300;
      color: var(--muted);
      line-height: 1.5;
    }

    .contact {
      text-align: center;
      padding: 3rem 1.25rem 4rem;
      background: var(--bg);
      border-top: 1px solid rgba(196, 176, 122, 0.12);
    }
    .contact h2 {
      font-family: var(--font-display);
      color: var(--gold-soft);
      font-size: var(--text-title);
      letter-spacing: var(--title-tracking);
      text-transform: uppercase;
      margin-bottom: 0.65rem;
      font-weight: 400;
      font-style: italic;
      font-variant-ligatures: none;
      font-kerning: none;
    }
    .contact p {
      color: var(--muted);
      font-weight: 300;
      font-size: var(--text-lead);
      margin-bottom: 1.4rem;
    }

    footer {
      text-align: center;
      padding: 1.2rem 1.5rem;
      font-size: var(--text-xs);
      line-height: 1.65;
      color: rgba(244, 246, 250, 0.35);
      letter-spacing: 0.04em;
      border-top: 1px solid rgba(196, 176, 122, 0.1);
      background: var(--bg);
    }
    footer .footer-admin {
      margin-left: 0.65rem;
      color: rgba(232, 220, 192, 0.45);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-size: 0.68rem;
      border-bottom: 1px solid transparent;
      transition: color 0.2s ease, border-color 0.2s ease;
    }
    footer .footer-admin:hover {
      color: var(--gold-soft);
      border-bottom-color: rgba(196, 176, 122, 0.45);
    }

    @media (max-width: 900px) {
      .services {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 0.75rem;
      }
      .process-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
      .nav-tagline { display: none; }
      .brand {
        letter-spacing: 0.1em;
        text-indent: 0;
        font-size: clamp(1.85rem, 6.5vw, 3rem);
      }
      .hero {
        padding: 4.25rem 1.1rem 1.35rem;
      }
      .services {
        margin-top: 1.5rem;
        padding-top: 1rem;
      }
    }

    @media (max-width: 700px) {
      :root {
        --text-xs: 0.72rem;
        --text-sm: 0.82rem;
        --text-body: 0.92rem;
        --text-md: 0.95rem;
        --text-lead: 0.95rem;
        --text-title: clamp(1.75rem, 6vw, 2.2rem);
        --heading-size: 1.2rem;
        --title-tracking: 0.12em;
      }
      .hero {
        padding: max(3.1rem, calc(env(safe-area-inset-top) + 2.6rem)) 1rem max(1rem, env(safe-area-inset-bottom));
        min-height: 100svh;
        min-height: 100dvh;
        justify-content: flex-start;
        overflow: hidden;
      }
      .hero-bg {
        background-position: center 28%;
        background-size: cover;
      }
      .hero-bg::after {
        background:
          linear-gradient(180deg,
            rgba(5, 6, 10, 0.55) 0%,
            rgba(5, 6, 10, 0.18) 32%,
            rgba(5, 6, 10, 0.2) 55%,
            rgba(5, 6, 10, 0.72) 100%);
      }
      .logo {
        width: 56px;
        height: 48px;
        margin-bottom: 0.2rem;
      }
      .brand {
        letter-spacing: 0.04em;
        text-indent: 0;
        font-size: clamp(1.45rem, 7vw, 2rem);
        margin-bottom: 0.45rem;
        padding-inline: 0.15rem;
        box-sizing: border-box;
      }
      .lead {
        margin-bottom: 0.35rem;
        font-size: 0.9rem;
        line-height: 1.45;
      }
      .tagline {
        font-size: 0.9rem;
        line-height: 1.45;
        margin-bottom: 0;
      }
      .nav {
        padding: 0.7rem 0.75rem;
        padding-top: max(0.7rem, env(safe-area-inset-top));
        gap: 0.35rem;
      }
      .nav-left {
        gap: 0.45rem;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
      }
      .nav-brand {
        display: none;
      }
      .nav-tagline { display: none; }
      .lang-switch {
        gap: 0;
      }
      .lang-btn {
        padding: 0.35rem 0.22rem;
        font-size: 0.62rem;
        letter-spacing: 0.02em;
      }
      .services {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem 0.45rem;
        margin-top: 0.85rem;
        padding-top: 0.35rem;
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
      }
      .service { padding: 0.25rem 0.15rem; }
      .service-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.4rem;
      }
      .service-icon svg {
        width: 15px;
        height: 15px;
      }
      .service h3 { font-size: 0.78rem; margin-bottom: 0.25rem; }
      .service p {
        font-size: 0.78rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .hero-impact {
        display: block;
        margin-top: auto;
        width: 100%;
        padding: 1.35rem 0.35rem 0.15rem;
        font-family: var(--font-display);
        font-size: clamp(1.05rem, 4.8vw, 1.4rem);
        font-weight: 400;
        font-style: italic;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: rgba(244, 246, 250, 0.78);
        text-align: center;
        font-variant-ligatures: none;
        font-kerning: none;
        text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
      }
      .hero-impact strong {
        color: var(--gold-soft);
        font-weight: 600;
        font-style: italic;
      }
      .process-grid { grid-template-columns: 1fr; gap: 1.1rem; }
      .offer-item { grid-template-columns: 1fr; justify-items: center; text-align: center; }
      .offer-item .tech-tags { justify-content: center; }
      .page .offer-item:hover,
      .page .process-step:hover {
        transform: none;
      }
    }

/* Subpages */
.nav-solid {
  position: relative;
  z-index: 40;
  background: rgba(5, 6, 10, 0.98);
  border-bottom: 1px solid rgba(196, 176, 122, 0.12);
}
body:has(.page) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* Bočne zlatno-biserne hairline linije — samo unutrašnje stranice, desktop */
body:has(.page)::before,
body:has(.page)::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(196, 176, 122, 0.3);
  box-shadow: 0 0 0 1px rgba(232, 220, 192, 0.06);
  -webkit-mask-image: linear-gradient(
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transform: scaleY(1);
  transform-origin: center;
  opacity: 0.85;
  animation:
    side-rule-draw 1.35s cubic-bezier(0.22, 1, 0.36, 1) both,
    side-rule-breathe 11s ease-in-out 1.4s infinite;
}
body:has(.page)::before {
  left: clamp(1.35rem, 3.8vw, 3.5rem);
}
body:has(.page)::after {
  right: clamp(1.35rem, 3.8vw, 3.5rem);
}

@keyframes side-rule-draw {
  from { transform: scaleY(0); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 0.88; }
}
@keyframes side-rule-breathe {
  0%, 100% { opacity: 0.72; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 1023px) {
  body:has(.page)::before,
  body:has(.page)::after {
    left: auto;
    right: auto;
    width: 1px;
    opacity: 0.55;
    animation: none;
    box-shadow: none;
    background: rgba(196, 176, 122, 0.22);
    -webkit-mask-image: linear-gradient(
      transparent 0%,
      #000 18%,
      #000 82%,
      transparent 100%
    );
    mask-image: linear-gradient(
      transparent 0%,
      #000 18%,
      #000 82%,
      transparent 100%
    );
  }
  body:has(.page)::before {
    left: max(0.55rem, env(safe-area-inset-left));
  }
  body:has(.page)::after {
    right: max(0.55rem, env(safe-area-inset-right));
  }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  body:has(.page)::before,
  body:has(.page)::after {
    opacity: 0.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:has(.page)::before,
  body:has(.page)::after {
    transform: none;
    opacity: 0.85;
    animation: none;
  }
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  padding: clamp(1.5rem, 3.5vh, 2.75rem) 0 1rem;
}
.page:has(.contact) {
  justify-content: flex-start;
  padding-top: clamp(1.25rem, 3vh, 2rem);
}
.page .offer {
  border-top: none;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.page .offer-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}
.page .offer-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4.5vh, 3.25rem);
}
.page .offer-head p {
  font-size: var(--text-lead);
  max-width: 40rem;
  margin: 0 auto;
}
.page .offer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.15rem, 2.5vh, 1.75rem) clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 0;
}
.page .offer-item {
  position: relative;
  gap: 0.95rem 1.15rem;
  align-items: start;
  padding: 1.35rem 1.35rem 1.4rem;
  border: 1px solid rgba(196, 176, 122, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, rgba(196, 176, 122, 0.03) 45%, rgba(5, 6, 10, 0.2) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.page .offer-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, transparent, rgba(232, 220, 192, 0.7), transparent);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.page .offer-item:hover {
  border-color: rgba(196, 176, 122, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(196, 176, 122, 0.08);
  transform: translateY(-3px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(196, 176, 122, 0.055) 45%, rgba(5, 6, 10, 0.15) 100%);
}
.page .offer-item:hover::before {
  opacity: 1;
}
.page .offer-item:nth-last-child(-n+2),
.page .offer-item:last-child {
  border-bottom: 1px solid rgba(196, 176, 122, 0.18);
  padding-bottom: 1.4rem;
}
.page .offer-item .service-icon {
  width: 2.7rem;
  height: 2.7rem;
  background: rgba(196, 176, 122, 0.08);
}
.page .offer-item .service-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.page .offer-item .meta {
  margin-bottom: 0.5rem;
}
.page .offer-item p {
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--muted);
}
.page .offer-item .tech-tags {
  margin-top: 0.85rem;
  gap: 0.4rem;
}
.page .offer-item .tech-tags span {
  font-size: var(--text-xs);
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 176, 122, 0.22);
  background: rgba(196, 176, 122, 0.08);
}

.page .process-block {
  padding: 0 clamp(1.25rem, 4vw, 3rem) 0.25rem;
}
.page .process-block .offer-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}
.page .process {
  text-align: center;
}
.page .process-page-title {
  text-align: center;
}
.page .process > p {
  font-size: var(--text-lead);
  margin: 0 auto clamp(2rem, 4.5vh, 3rem);
  max-width: 36rem;
}
.page .process-grid {
  gap: clamp(1rem, 2vw, 1.35rem);
}
.page .process-step {
  position: relative;
  padding: 1.35rem 1rem 1.45rem;
  border: 1px solid rgba(196, 176, 122, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, rgba(196, 176, 122, 0.03) 45%, rgba(5, 6, 10, 0.2) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.page .process-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, transparent, rgba(232, 220, 192, 0.7), transparent);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.page .process-step:hover {
  border-color: rgba(196, 176, 122, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(196, 176, 122, 0.08);
  transform: translateY(-3px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(196, 176, 122, 0.055) 45%, rgba(5, 6, 10, 0.15) 100%);
}
.page .process-step:hover::before {
  opacity: 1;
}
.page .process-num {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  font-size: var(--text-sm);
  background: rgba(196, 176, 122, 0.08);
}
.page .process-step h2 {
  margin-bottom: 0.4rem;
}
.page .process-step p {
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--muted);
}
.page .contact {
  padding: clamp(1.5rem, 3.5vh, 2.25rem) 1.25rem 1rem;
  border-top: 1px solid rgba(196, 176, 122, 0.1);
}
.page .contact h2,
.page .contact h1 {
  margin-bottom: 0.55rem;
  letter-spacing: var(--title-tracking);
  text-transform: uppercase;
  font-variant-ligatures: none;
  font-kerning: none;
}
.inquiry h2 {
  margin-bottom: 0.85rem;
}
.page-contact-only {
  justify-content: center;
}
.page .contact-only {
  position: relative;
  width: min(32rem, calc(100% - 2.5rem));
  margin: 0 auto;
  border-top: none;
  border: 1px solid rgba(196, 176, 122, 0.28);
  border-radius: 16px;
  padding: clamp(2rem, 5vh, 2.75rem) clamp(1.35rem, 4vw, 2.25rem) clamp(1.75rem, 4vh, 2.35rem);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, rgba(196, 176, 122, 0.04) 45%, rgba(5, 6, 10, 0.18) 100%);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}
.page .contact-only::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, rgba(232, 220, 192, 0.75), transparent);
  opacity: 0.7;
  pointer-events: none;
}
.page .contact-only .contact-details {
  margin-bottom: 0;
}
.page .contact-intro {
  max-width: 34rem;
  margin: 0 auto 1.35rem;
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}
.page .contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto 1.75rem;
  padding: 0;
}
.page .contact-details li {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
}
.page .contact-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 246, 250, 0.55);
}
.page .contact-details a {
  font-size: var(--text-lead);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #f4f6fa;
  border-bottom: 1px solid rgba(232, 220, 192, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.page .contact-details a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.page .contact-form-section {
  padding: clamp(2rem, 5vh, 3.25rem) 1.25rem 1.5rem;
}
.inquiry {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(196, 176, 122, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(196, 176, 122, 0.035) 42%, rgba(5, 6, 10, 0.35) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
  text-align: center;
}
.inquiry-kicker {
  margin: 0 0 0.55rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 220, 192, 0.85);
}
.inquiry .contact-intro {
  max-width: 36rem;
  margin: 0 auto 1.1rem;
  line-height: 1.6;
}
.inquiry-reply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(196, 176, 122, 0.35);
  border-radius: 999px;
  background: rgba(196, 176, 122, 0.08);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.inquiry-tips {
  text-align: left;
  margin: 0 auto 1.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(196, 176, 122, 0.14);
  border-radius: 12px;
  background: rgba(5, 6, 10, 0.35);
}
.inquiry-tips-title {
  margin: 0 0 0.65rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 246, 250, 0.55);
}
.inquiry-tips ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.inquiry-tips li {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.45;
}
.inquiry .contact-form {
  width: 100%;
}
.contact-form {
  width: min(520px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  text-align: left;
}
.form-note {
  margin: 0.15rem 0 0;
  font-size: var(--text-xs);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(244, 246, 250, 0.45);
  text-align: center;
}
.contact-form .honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-row label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 246, 250, 0.6);
}
.form-row label span {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: rgba(244, 246, 250, 0.4);
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 176, 122, 0.22);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form-row textarea {
  min-height: 12.5rem;
}
.form-row input[type="file"] {
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  color: rgba(244, 246, 250, 0.7);
}
.form-row input[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg-deep, #03060f);
  background: linear-gradient(135deg, #e4c65a, #c9a227);
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  margin-right: 0.85rem;
  cursor: pointer;
}
.file-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 176, 122, 0.22);
  border-radius: 12px;
  padding: 0.45rem 0.75rem;
}
.file-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.file-picker-btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg-deep, #03060f);
  background: linear-gradient(135deg, #e4c65a, #c9a227);
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.file-picker-btn:focus-visible {
  outline: 2px solid rgba(196, 176, 122, 0.7);
  outline-offset: 2px;
}
.file-picker-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--text-body);
  font-weight: 300;
  color: rgba(244, 246, 250, 0.7);
}
.form-hint {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(244, 246, 250, 0.4);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(244, 246, 250, 0.35);
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(196, 176, 122, 0.5);
  background: rgba(196, 176, 122, 0.05);
  box-shadow: 0 0 0 3px rgba(196, 176, 122, 0.08);
}
.contact-form .btn {
  margin-top: 0.25rem;
  width: 100%;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
}
.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-status {
  margin: 0.15rem 0 0;
  font-size: var(--text-sm);
  text-align: center;
  line-height: 1.45;
}
.form-status.is-pending { color: var(--muted); }
.form-status.is-ok { color: var(--gold-soft); }
.form-status.is-err { color: #ff8f8f; }

/* O meni */
.about {
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.about-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  grid-template-areas:
    "heading heading"
    "photo body";
  column-gap: clamp(1.5rem, 4vw, 2.75rem);
  row-gap: 1.15rem;
  align-items: start;
  text-align: left;
}
.about-heading {
  grid-area: heading;
}
.about-photo {
  grid-area: photo;
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.about-body {
  grid-area: body;
  min-width: 0;
}
.about-kicker {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 246, 250, 0.55);
  margin-bottom: 0.65rem;
}
.about-inner h1 {
  margin-bottom: 0;
  text-align: left;
}
.about-role {
  margin: 0 0 1.5rem;
  text-align: left;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}
.about-copy p {
  font-size: var(--text-lead);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(244, 246, 250, 0.9);
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}
.about-actions .btn {
  min-width: 10rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  padding: 0.75rem 1.25rem;
}
.about-actions .btn-ghost {
  border-color: var(--line);
  color: var(--muted);
}
.about-actions .btn-ghost:hover {
  color: var(--gold-soft);
}

@media (max-width: 760px) {
  .about-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "photo"
      "body";
    justify-items: center;
    text-align: center;
    row-gap: 1rem;
  }
  .about-photo {
    width: min(200px, 52vw);
  }
  .about-heading {
    width: 100%;
  }
  .about-body {
    width: 100%;
  }
  .about-inner h1,
  .about-role {
    text-align: center;
  }
  .about-copy {
    text-align: left;
  }
  .about-actions {
    justify-content: center;
  }
}

/* Portfolio / Radovi */
.page .works .offer-head {
  margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
}
.works-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.15rem, 2.5vh, 1.75rem);
}
@media (min-width: 901px) {
  .works-list {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin: 0 auto;
  }
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(196, 176, 122, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, rgba(196, 176, 122, 0.03) 45%, rgba(5, 6, 10, 0.2) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.work-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  z-index: 1;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, transparent, rgba(232, 220, 192, 0.7), transparent);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.work-card:hover {
  border-color: rgba(196, 176, 122, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(196, 176, 122, 0.08);
  transform: translateY(-3px);
}
.work-card:hover::before {
  opacity: 1;
}
.work-preview {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(196, 176, 122, 0.12);
  background: #0a0c14;
}
.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.work-card:hover .work-preview img {
  transform: scale(1.03);
}
.work-preview-video {
  background: #05060a;
  aspect-ratio: 2 / 3;
  max-height: min(70vh, 560px);
  margin-inline: auto;
  width: min(100%, 360px);
}
.work-preview-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #05060a;
}
.work-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  padding: 3px;
  background: rgba(196, 176, 122, 0.12);
}
.work-preview-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.work-preview-grid img.mist-award {
  object-fit: contain;
  object-position: center;
  background: #f4f6fa;
  padding: 4px;
  box-sizing: border-box;
}
.work-card:hover .work-preview-grid img {
  transform: none;
  opacity: 0.92;
}
.work-card:hover .work-preview-grid img:hover {
  opacity: 1;
  transform: scale(1.04);
  z-index: 1;
}
.work-preview-sport,
.work-preview-book {
  display: none;
}
.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.3rem 1.35rem;
  text-align: left;
}
.work-body .meta {
  display: block;
  margin-bottom: 0.35rem;
}
.work-body h2 {
  margin-bottom: 0.45rem;
}
.work-body p {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.work-body .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.work-body .tech-tags span {
  font-size: var(--text-xs);
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 176, 122, 0.22);
  background: rgba(196, 176, 122, 0.08);
  color: var(--white);
}
.work-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #120e05;
  background: linear-gradient(135deg, #a8986a, #e8dcc0 55%, #8a7b55);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.work-link:hover {
  box-shadow: 0 0 18px rgba(196, 176, 122, 0.35);
  transform: translateY(-1px);
}

/* Recenzije */
.testimonials {
  width: min(820px, 100%);
  margin: clamp(2.5rem, 6vh, 3.75rem) auto 0;
  padding-top: clamp(1.75rem, 4vh, 2.5rem);
  border-top: 1px solid rgba(196, 176, 122, 0.18);
}
.testimonials h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-title);
  letter-spacing: var(--title-tracking);
  text-transform: uppercase;
  color: var(--gold-soft);
  text-align: center;
  margin-bottom: clamp(1.5rem, 3.5vh, 2.25rem);
  font-variant-ligatures: none;
  font-kerning: none;
}
.testimonials-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.35rem, 3vh, 1.85rem);
}
.testimonial {
  margin: 0;
  padding: 0 0 0 1.15rem;
  border-left: 2px solid var(--gold-soft);
}
.testimonial-stars {
  display: flex;
  gap: 0.12rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  line-height: 1;
}
.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: rgba(244, 246, 250, 0.9);
  margin: 0 0 0.85rem;
}
.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.testimonial cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}
.testimonial footer span {
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(244, 246, 250, 0.55);
}

@media (min-width: 901px) {
  .testimonials-list {
    gap: 1.75rem;
  }
}

@media (max-width: 700px) {
  .testimonial {
    padding-left: 0.9rem;
  }
  .testimonial p {
    font-size: 1.02rem;
  }
}

.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(1040px, 100%);
  margin: 0.5rem auto 0;
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.25rem;
}
.page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.65rem 1.05rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.page-nav a:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
  background: rgba(196, 176, 122, 0.08);
}
.page-nav a.page-nav-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #a8986a, #e8dcc0 55%, #8a7b55);
  color: #120e05;
}
.page-nav a.page-nav-primary:hover {
  color: #120e05;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(196, 176, 122, 0.3);
}

.clip-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
}

.clip-toolbar {
  margin-bottom: 1.25rem;
}

.clip-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: 1.1rem;
  width: fit-content;
}

.clip-stage h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  color: var(--gold-soft);
  text-align: center;
  margin: 0 0 1rem;
}

.clip-player {
  background: #05060a;
  border: 1px solid rgba(196, 176, 122, 0.28);
  aspect-ratio: 2 / 3;
  max-height: min(78vh, 720px);
  margin: 0 auto;
  width: min(100%, 420px);
  overflow: hidden;
}

.clip-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #05060a;
}

@media (max-width: 640px) {
  .clip-page {
    width: 100%;
    max-width: none;
    padding: 0.75rem 0.85rem max(1.5rem, env(safe-area-inset-bottom));
  }

  .clip-toolbar {
    position: sticky;
    top: 0;
    z-index: 15;
    margin: 0 0 0.75rem;
    padding: 0.45rem 0 0.65rem;
    background: linear-gradient(180deg, rgba(5, 6, 10, 0.98) 70%, rgba(5, 6, 10, 0));
  }

  .clip-back {
    width: 100%;
    min-height: 3rem;
    font-size: 0.95rem;
  }

  .clip-stage h1 {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
    margin-bottom: 0.75rem;
    padding-inline: 0.25rem;
  }

  .clip-player {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    height: min(68dvh, calc(100dvh - 11.5rem));
    max-height: none;
    border-radius: 2px;
  }
}

@media (max-width: 900px) {
  .page {
    justify-content: flex-start;
    padding: 1.5rem 0 1rem;
  }
  .page .offer,
  .page .process-block {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .page .offer-list {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .works-list {
    grid-template-columns: 1fr;
  }
  .page .process-step h2 {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .nav-solid {
    padding: 0.65rem 0;
  }
  .nav-brand {
    display: none;
  }
  .nav-toggle {
    width: 2.4rem;
    height: 2.4rem;
  }
  .lang-btn {
    padding: 0.45rem 0.35rem;
    font-size: 0.68rem;
  }
  .page {
    padding: 1.15rem 0 0.75rem;
  }
  .page:has(.contact),
  .page:has(.about) {
    padding-top: 1rem;
  }
  .page .offer,
  .page .process-block,
  .about {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .page .offer-head {
    margin-bottom: 1.35rem;
  }
  .page .offer-head p,
  .page .process > p {
    font-size: var(--text-body);
    padding: 0;
  }
  .page .process > p {
    margin-bottom: 1.35rem;
  }
  .page .offer-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1.15rem 1rem 1.2rem;
  }
  .page .offer-item .tech-tags {
    justify-content: center;
  }
  .page .process-step {
    padding: 1.15rem 0.85rem 1.25rem;
  }
  .page .process-step h2 {
    white-space: normal;
  }
  .page .contact {
    padding: 1.35rem 1rem 1rem;
  }
  .page .contact-details {
    gap: 0.9rem;
    margin-bottom: 1.35rem;
  }
  .page .contact-only {
    width: min(32rem, calc(100% - 1.5rem));
    border-radius: 14px;
    padding: 1.55rem 1.1rem 1.45rem;
  }
  .page .contact-details li {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }
  .page .contact-details a {
    font-size: var(--text-md);
    word-break: break-word;
    text-align: center;
  }
  .contact-form {
    width: 100%;
  }
  .form-row input,
  .form-row textarea {
    font-size: 1rem;
    padding: 0.85rem 0.95rem;
  }
  .form-row textarea {
    min-height: 9.5rem;
  }
  .form-row input[type="file"] {
    font-size: 0.85rem;
    padding: 0.55rem 0.65rem;
  }
  .form-row input[type="file"]::file-selector-button {
    padding: 0.5rem 0.75rem;
    margin-right: 0.65rem;
  }
  .file-picker {
    gap: 0.65rem;
    padding: 0.4rem 0.6rem;
  }
  .file-picker-btn {
    padding: 0.5rem 0.75rem;
  }
  .file-picker-name {
    font-size: 0.85rem;
  }
  .form-hint {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .inquiry .contact-intro {
    font-size: var(--text-body);
    padding: 0 0.15rem;
  }
  .inquiry-tips {
    padding: 0.85rem 0.9rem;
  }
  .about-copy {
    text-align: left;
  }
  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .about-actions .btn {
    width: 100%;
  }
  .page:has(.about) {
    justify-content: flex-start;
    padding-top: 0.85rem;
  }
  .inquiry {
    padding: 1.15rem 1rem 1.25rem;
  }
  .works-list {
    gap: 1.15rem;
  }
  .work-body {
    padding: 1rem 0.15rem 0.25rem;
  }
  .work-body h2 {
    font-size: 1.15rem;
  }
  .work-card {
    transform: none;
  }
  .work-card:hover {
    transform: none;
  }
  .work-preview {
    aspect-ratio: 16 / 11;
  }
  .page-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
    padding: 1rem 1rem 1.35rem;
    padding-bottom: max(1.35rem, env(safe-area-inset-bottom));
  }
  .page-nav a {
    justify-content: center;
    min-height: 2.75rem;
  }
  .site-menu {
    width: min(18.5rem, 92vw);
    padding: 1.1rem 1rem 1.75rem;
    padding-top: max(1.1rem, env(safe-area-inset-top));
  }
  .site-menu-links a {
    padding: 0.9rem 0.95rem;
    min-height: 2.75rem;
  }
}
